diff --git a/contracts/lendingpool/LendingPoolConfigurator.sol b/contracts/lendingpool/LendingPoolConfigurator.sol index cf7c37e0..8182681c 100644 --- a/contracts/lendingpool/LendingPoolConfigurator.sol +++ b/contracts/lendingpool/LendingPoolConfigurator.sol @@ -32,6 +32,8 @@ contract LendingPoolConfigurator is VersionedInitializable { event ReserveInitialized( address indexed _reserve, address indexed _aToken, + address _stableDebtToken, + address _variableDebtToken, address _interestRateStrategyAddress ); @@ -139,6 +141,32 @@ contract LendingPoolConfigurator is VersionedInitializable { **/ event ReserveInterestRateStrategyChanged(address _reserve, address _strategy); + + /** + * @dev emitted when an aToken implementation is upgraded + * @param _reserve the address of the reserve + * @param _proxy the aToken proxy address + * @param _implementation the new aToken implementation + **/ + event ATokenUpgraded(address _reserve, address _proxy, address _implementation); + + /** + * @dev emitted when the implementation of a stable debt token is upgraded + * @param _reserve the address of the reserve + * @param _proxy the stable debt token proxy address + * @param _implementation the new aToken implementation + **/ + event StableDebtTokenUpgraded(address _reserve, address _proxy, address _implementation); + + /** + * @dev emitted when the implementation of a variable debt token is upgraded + * @param _reserve the address of the reserve + * @param _proxy the variable debt token proxy address + * @param _implementation the new aToken implementation + **/ + event VariableDebtTokenUpgraded(address _reserve, address _proxy, address _implementation); + + LendingPoolAddressesProvider public poolAddressesProvider; LendingPool public pool; @@ -168,36 +196,45 @@ contract LendingPoolConfigurator is VersionedInitializable { * @dev initializes a reserve * @param _reserve the address of the reserve to be initialized * @param _aTokenImpl the address of the aToken contract implementation - * @param _stableDebtTokenAddress the address of the stable debt token contract - * @param _variableDebtTokenAddress the address of the variable debt token contract + * @param _stableDebtTokenImpl the address of the stable debt token contract + * @param _variableDebtTokenImpl the address of the variable debt token contract * @param _underlyingAssetDecimals the decimals of the reserve underlying asset * @param _interestRateStrategyAddress the address of the interest rate strategy contract for this reserve **/ function initReserve( address _reserve, address _aTokenImpl, - address _stableDebtTokenAddress, - address _variableDebtTokenAddress, + address _stableDebtTokenImpl, + address _variableDebtTokenImpl, uint8 _underlyingAssetDecimals, address _interestRateStrategyAddress ) public onlyLendingPoolManager { - - InitializableAdminUpgradeabilityProxy aTokenProxy = new InitializableAdminUpgradeabilityProxy(); - - bytes memory params = abi.encodeWithSignature( - 'initialize(uint8,string,string)', + address aTokenProxyAddress = _initWithProxy( + _aTokenImpl, _underlyingAssetDecimals, IERC20Detailed(_aTokenImpl).name(), IERC20Detailed(_aTokenImpl).symbol() ); - aTokenProxy.initialize(_aTokenImpl, address(this), params); + address stableDebtTokenProxyAddress = _initWithProxy( + _stableDebtTokenImpl, + _underlyingAssetDecimals, + IERC20Detailed(_stableDebtTokenImpl).name(), + IERC20Detailed(_stableDebtTokenImpl).symbol() + ); + + address variableDebtTokenProxyAddress = _initWithProxy( + _variableDebtTokenImpl, + _underlyingAssetDecimals, + IERC20Detailed(_variableDebtTokenImpl).name(), + IERC20Detailed(_variableDebtTokenImpl).symbol() + ); pool.initReserve( _reserve, - address(aTokenProxy), - _stableDebtTokenAddress, - _variableDebtTokenAddress, + aTokenProxyAddress, + stableDebtTokenProxyAddress, + variableDebtTokenProxyAddress, _interestRateStrategyAddress ); @@ -210,7 +247,13 @@ contract LendingPoolConfigurator is VersionedInitializable { pool.setConfiguration(_reserve, currentConfig.data); - emit ReserveInitialized(_reserve, address(aTokenProxy), _interestRateStrategyAddress); + emit ReserveInitialized( + _reserve, + aTokenProxyAddress, + stableDebtTokenProxyAddress, + variableDebtTokenProxyAddress, + _interestRateStrategyAddress + ); } /** @@ -223,18 +266,64 @@ contract LendingPoolConfigurator is VersionedInitializable { (uint256 decimals, , , , , , , , , ) = pool.getReserveConfigurationData(_reserve); - InitializableAdminUpgradeabilityProxy aTokenProxy = InitializableAdminUpgradeabilityProxy( - payable(aTokenAddress) - ); - - bytes memory params = abi.encodeWithSignature( - 'initialize(uint8,string,string)', + _upgradeImplementation( + aTokenAddress, + _implementation, uint8(decimals), IERC20Detailed(_implementation).name(), IERC20Detailed(_implementation).symbol() ); - aTokenProxy.upgradeToAndCall(_implementation, params); + emit ATokenUpgraded(_reserve, aTokenAddress, _implementation); + } + + /** + * @dev updates the stable debt token implementation for the _reserve + * @param _reserve the address of the reserve to be updated + * @param _implementation the address of the new aToken implementation + **/ + function updateStableDebtToken(address _reserve, address _implementation) + external + onlyLendingPoolManager + { + (, address stableDebtToken, ) = pool.getReserveTokensAddresses(_reserve); + + (uint256 decimals, , , , , , , , , ) = pool.getReserveConfigurationData(_reserve); + + _upgradeImplementation( + stableDebtToken, + _implementation, + uint8(decimals), + IERC20Detailed(_implementation).name(), + IERC20Detailed(_implementation).symbol() + ); + + emit StableDebtTokenUpgraded(_reserve, stableDebtToken, _implementation); + + } + + /** + * @dev updates the variable debt token implementation for the _reserve + * @param _reserve the address of the reserve to be updated + * @param _implementation the address of the new aToken implementation + **/ + function updateVariableDebtToken(address _reserve, address _implementation) + external + onlyLendingPoolManager + { + (, , address variableDebtToken) = pool.getReserveTokensAddresses(_reserve); + + (uint256 decimals, , , , , , , , , ) = pool.getReserveConfigurationData(_reserve); + + _upgradeImplementation( + variableDebtToken, + _implementation, + uint8(decimals), + IERC20Detailed(_implementation).name(), + IERC20Detailed(_implementation).symbol() + ); + + emit VariableDebtTokenUpgraded(_reserve, variableDebtToken, _implementation); } /** @@ -488,4 +577,49 @@ contract LendingPoolConfigurator is VersionedInitializable { pool.setReserveInterestRateStrategyAddress(_reserve, _rateStrategyAddress); emit ReserveInterestRateStrategyChanged(_reserve, _rateStrategyAddress); } + + /** + * + * + **/ + function _initWithProxy( + address _implementation, + uint8 _decimals, + string memory _name, + string memory _symbol + ) internal returns (address) { + InitializableAdminUpgradeabilityProxy proxy = new InitializableAdminUpgradeabilityProxy(); + + bytes memory params = abi.encodeWithSignature( + 'initialize(uint8,string,string)', + _decimals, + _name, + _symbol + ); + + proxy.initialize(_implementation, address(this), params); + + return address(proxy); + } + + function _upgradeImplementation( + address _proxy, + address _implementation, + uint8 _decimals, + string memory _name, + string memory _symbol + ) internal returns (address) { + InitializableAdminUpgradeabilityProxy proxy = InitializableAdminUpgradeabilityProxy( + payable(_proxy) + ); + + bytes memory params = abi.encodeWithSignature( + 'initialize(uint8,string,string)', + _decimals, + _name, + _symbol + ); + + proxy.upgradeToAndCall(_implementation, params); + } } diff --git a/contracts/mocks/upgradeability/MockStableDebtToken.sol b/contracts/mocks/upgradeability/MockStableDebtToken.sol new file mode 100644 index 00000000..f97cc1bc --- /dev/null +++ b/contracts/mocks/upgradeability/MockStableDebtToken.sol @@ -0,0 +1,19 @@ +pragma solidity ^0.6.8; + +import {StableDebtToken} from '../../tokenization/StableDebtToken.sol'; +import {LendingPool} from '../../lendingpool/LendingPool.sol'; +import '@nomiclabs/buidler/console.sol'; + +contract MockStableDebtToken is StableDebtToken { + constructor( + address _pool, + address _underlyingAssetAddress, + string memory _tokenName, + string memory _tokenSymbol + ) public StableDebtToken(_pool, _underlyingAssetAddress, _tokenName, _tokenSymbol) {} + + function getRevision() internal override pure returns (uint256) { + return 0x2; + } + +} diff --git a/contracts/mocks/upgradeability/MockVariableDebtToken.sol b/contracts/mocks/upgradeability/MockVariableDebtToken.sol new file mode 100644 index 00000000..53478761 --- /dev/null +++ b/contracts/mocks/upgradeability/MockVariableDebtToken.sol @@ -0,0 +1,19 @@ +pragma solidity ^0.6.8; + +import {VariableDebtToken} from '../../tokenization/VariableDebtToken.sol'; +import {LendingPool} from '../../lendingpool/LendingPool.sol'; +import '@nomiclabs/buidler/console.sol'; + +contract MockVariableDebtToken is VariableDebtToken { + constructor( + address _pool, + address _underlyingAssetAddress, + string memory _tokenName, + string memory _tokenSymbol + ) public VariableDebtToken(_pool, _underlyingAssetAddress, _tokenName, _tokenSymbol) {} + + function getRevision() internal override pure returns (uint256) { + return 0x2; + } + +} diff --git a/contracts/tokenization/StableDebtToken.sol b/contracts/tokenization/StableDebtToken.sol index 0de11dcb..6fc51b6f 100644 --- a/contracts/tokenization/StableDebtToken.sol +++ b/contracts/tokenization/StableDebtToken.sol @@ -24,6 +24,7 @@ contract StableDebtToken is IStableDebtToken, DebtTokenBase { using WadRayMath for uint256; using Address for address; + uint256 public constant DEBT_TOKEN_REVISION = 0x1; struct UserData { uint256 currentRate; uint40 lastUpdateTimestamp; @@ -67,10 +68,20 @@ contract StableDebtToken is IStableDebtToken, DebtTokenBase { uint256 _balanceIncrease ); - constructor(address _pool, address _underlyingAsset) - public - DebtTokenBase(_pool, _underlyingAsset) - {} + constructor( + address _pool, + address _underlyingAsset, + string memory _name, + string memory _symbol + ) public DebtTokenBase(_pool, _underlyingAsset, _name, _symbol) {} + + /** + * @dev gets the revision of the stable debt token implementation + * @return the debt token implementation revision + **/ + function getRevision() internal virtual override pure returns (uint256) { + return DEBT_TOKEN_REVISION; + } /** * @dev returns the average stable rate across all the stable rate debt diff --git a/contracts/tokenization/VariableDebtToken.sol b/contracts/tokenization/VariableDebtToken.sol index b3c2d7a5..1e25ebfe 100644 --- a/contracts/tokenization/VariableDebtToken.sol +++ b/contracts/tokenization/VariableDebtToken.sol @@ -20,6 +20,8 @@ contract VariableDebtToken is DebtTokenBase, IVariableDebtToken { using WadRayMath for uint256; using Address for address; + uint256 public constant DEBT_TOKEN_REVISION = 0x1; + mapping(address => uint256) private userIndexes; /** @@ -58,10 +60,20 @@ contract VariableDebtToken is DebtTokenBase, IVariableDebtToken { uint256 _index ); - constructor(address _pool, address _underlyingAsset) - public - DebtTokenBase(_pool, _underlyingAsset) - {} + constructor( + address _pool, + address _underlyingAsset, + string memory _name, + string memory _symbol + ) public DebtTokenBase(_pool, _underlyingAsset, _name, _symbol) {} + + /** + * @dev gets the revision of the stable debt token implementation + * @return the debt token implementation revision + **/ + function getRevision() internal virtual override pure returns (uint256) { + return DEBT_TOKEN_REVISION; + } /** * @dev calculates the accumulated debt balance of the user diff --git a/contracts/tokenization/base/DebtTokenBase.sol b/contracts/tokenization/base/DebtTokenBase.sol index 8d0f8e91..d2f4b064 100644 --- a/contracts/tokenization/base/DebtTokenBase.sol +++ b/contracts/tokenization/base/DebtTokenBase.sol @@ -6,6 +6,9 @@ import {SafeMath} from '@openzeppelin/contracts/math/SafeMath.sol'; import {Address} from '@openzeppelin/contracts/utils/Address.sol'; import {ILendingPoolAddressesProvider} from '../../interfaces/ILendingPoolAddressesProvider.sol'; import {LendingPool} from '../../lendingpool/LendingPool.sol'; +import { + VersionedInitializable +} from '../../libraries/openzeppelin-upgradeability/VersionedInitializable.sol'; /** * @title contract DebtTokenBase @@ -13,7 +16,7 @@ import {LendingPool} from '../../lendingpool/LendingPool.sol'; * @notice base contract for StableDebtToken and VariableDebtToken */ -abstract contract DebtTokenBase is IERC20 { +abstract contract DebtTokenBase is IERC20, VersionedInitializable { using SafeMath for uint256; using Address for address; @@ -35,21 +38,29 @@ abstract contract DebtTokenBase is IERC20 { _; } - constructor(address _pool, address _underlyingAssetAddress) public { + constructor( + address _pool, + address _underlyingAssetAddress, + string memory _name, + string memory _symbol + ) public { pool = LendingPool(payable(_pool)); - underlyingAssetAddress = _underlyingAssetAddress; + underlyingAssetAddress = _underlyingAssetAddress; + name = _name; + symbol = _symbol; } + /** * @dev initializes the debt token. * @param _name the name of the token * @param _symbol the symbol of the token * @param _decimals the decimals of the token */ - function init( + function initialize( + uint8 _decimals, string memory _name, - string memory _symbol, - uint8 _decimals - ) public { + string memory _symbol + ) public initializer { name = _name; symbol = _symbol; decimals = _decimals; diff --git a/deployed-contracts.json b/deployed-contracts.json index 4d470127..b0c89b14 100644 --- a/deployed-contracts.json +++ b/deployed-contracts.json @@ -5,7 +5,7 @@ "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0x4da11393102f7c324f7Bfd07B58773264986e211", + "address": "0x666D47050E77ADB0B04076fB35DDcb74e95D1d7C", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -15,7 +15,7 @@ "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0x479182FBD6270898bf472583876527667dE6aC04", + "address": "0x1FB61ED838A993b8885Ceb08936524F742F525cf", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -25,7 +25,7 @@ "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0x4cC8D5649e9d91a4bD054667691aebeC69B69FfB", + "address": "0xcBf7A8f676Bf5fa60339ba8dFab867D4a074c604", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -34,7 +34,7 @@ "address": "0xD9273d497eDBC967F39d419461CfcF382a0A822e" }, "localhost": { - "address": "0x0f2cE53B3410a2007d6C4ad8940Ffa5AdCC2916C" + "address": "0x26aBe949b24C10cc9b1d33100Cd7fF3Aa5e4C698" } }, "LendingPoolParametersProvider": { @@ -52,7 +52,7 @@ "address": "0x9EC0480CF106d6dc1c7849BA141a56F874170F97" }, "localhost": { - "address": "0x0ca5E5B6F09C97f30Ed6e5E99be65A38eE7edfaB" + "address": "0xaD0FdA3C2D467DEE48DFc3b4C123240F6e90D3c2" } }, "LendingPoolDataProvider": { @@ -65,7 +65,7 @@ "address": "0x6642B57e4265BAD868C17Fc1d1F4F88DBBA04Aa8" }, "localhost": { - "address": "0x7FE8419fACf45dFa93d471644e87122923EC9D94" + "address": "0x29c1e17Ac4aAf9fEE3091A8DdAAf5B7798bcC4b9" } }, "PriceOracle": { @@ -74,7 +74,7 @@ "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0xEDf104A35B3293F4BdB987be9D57EFe3b69C19c7", + "address": "0xfdAF4f6e47e854c05bE158993d32872e784F0502", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -84,7 +84,7 @@ "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0x4CAf641bceba759b352e07B2aE3A079B5F409dA6", + "address": "0x8d0FF86F21174b33f86A2673E96e8D7a472659A3", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -94,7 +94,7 @@ "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0xCb9cdF2CfeE567b43FD654f8b831528c2d54D901", + "address": "0xf6fFAbB561D5b265127459cB7e43c89f58b7cAbe", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -104,17 +104,17 @@ "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0xeB3E3b080821399daF535D0C52f642b8f14993AC", + "address": "0x5DAe571bb5B70f9851eeef12E3a43f548dCF923c", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, "DefaultReserveInterestRateStrategy": { "buidlerevm": { - "address": "0x09d7cb7a0606a7f10DC8a37b3e0E420F39f0FAF1", + "address": "0x830bceA96E56DBC1F8578f75fBaC0AF16B32A07d", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0x3888B5ac0089C12cDF21DD8B0234029f80645324", + "address": "0x5a3343A0CF72dC6933362676Bb5831784CaA0014", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -146,37 +146,37 @@ }, "TokenDistributor": { "buidlerevm": { - "address": "0x22B37db37e9992728245A7dD0536892AF9bA1baB" + "address": "0x2cfcA5785261fbC88EFFDd46fCFc04c22525F9e4" }, "localhost": { - "address": "0x39f713653d31a8e0D7a51061F1159861290e65Fd" + "address": "0x61751f72Fa303F3bB256707dD3cD368c89E82f1b" } }, "InitializableAdminUpgradeabilityProxy": { "buidlerevm": { - "address": "0x22B37db37e9992728245A7dD0536892AF9bA1baB", + "address": "0x2cfcA5785261fbC88EFFDd46fCFc04c22525F9e4", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0x39f713653d31a8e0D7a51061F1159861290e65Fd", + "address": "0x61751f72Fa303F3bB256707dD3cD368c89E82f1b", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, "MockFlashLoanReceiver": { "buidlerevm": { - "address": "0x850Fae11E1313e6C23Db7c2410Ec0985d9Ea325A" + "address": "0x3bDA11B584dDff7F66E0cFe1da1562c92B45db60" }, "localhost": { - "address": "0xC4e948241c7A63d1f21fD98D652aE4B59180e07F" + "address": "0xdF19a9539Fdd701D8334299C6Dd04931e4022303" } }, "WalletBalanceProvider": { "buidlerevm": { - "address": "0x22058276Dd278bD037591805E62E797012d666f6", + "address": "0x392E5355a0e88Bd394F717227c752670fb3a8020", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0x5361A119A2b3daFB88585b24997aAB2232C655a3", + "address": "0xBe6d8642382C241c9B4B50c89574DbF3f4181E7D", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -186,7 +186,7 @@ "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0xeb544bEfD42128e6b08A821aCCc5562c395E8c9d", + "address": "0x8733AfE8174BA7c04c6CD694bD673294079b7E10", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -196,7 +196,7 @@ "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0xe3353ddEc0cf8aA6761a3C21D896D04ebd59bDe2", + "address": "0xA8083d78B6ABC328b4d3B714F76F384eCC7147e1", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -206,7 +206,7 @@ "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0xa7B8e0F888D416d7e08bD12029c6ec8b8Ed18373", + "address": "0xa497f1Ed4edeA8151fECe457aa26e1D6A4318B6A", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -216,7 +216,7 @@ "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0x7dF045e4721203EBEDD3436b15391f32A375Cbc4", + "address": "0xB7b9568073C9e745acD84eEb30F1c32F74Ba4946", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -226,7 +226,7 @@ "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0xbcd58cEF3F429f99CA32Dc06F28Ca7F7ea6aC5bB", + "address": "0x64999a4272342C910FB8f6a71C2Ca50b878a8658", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -236,7 +236,7 @@ "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0xb528f2371502B38d87af537292e88721F4728915", + "address": "0xFB6800f1BB30e235587b574F8Ce6c7bba2242276", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -246,7 +246,7 @@ "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0xC2CC8DD97D4680FCfE2338117D23fa7E4858E09B", + "address": "0x832D8fDeeE7Df842796582bC7F804802c2c666fd", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -256,7 +256,7 @@ "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0xfC6d9227413D021f7a50EF3AAdF9545aA4ebb439", + "address": "0x8628E920E86DA923A79A57Ab4282CC9f89E12CEf", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -266,7 +266,7 @@ "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0xdc006C4186148C29B57f52A8ad7694542ad4E675", + "address": "0x04C90bD686E03782737C3f4C6bDC88dc3C92bDec", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -276,7 +276,7 @@ "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0x77488a02Baf7a80a5E7D1Da37921D0554C112c7F", + "address": "0x002164e9C8425D2F0c7dcde98E63317D305302C5", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -286,7 +286,7 @@ "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0x107Aa2cc3FE981E78140424C3d4DD55aF00Ab24C", + "address": "0xAe407A0bD891d02E495D3E79cE577C17BB61f366", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -296,7 +296,7 @@ "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0x512555303417D50E8E2a3BE333896f5f8c54205c", + "address": "0x96cf3831338c19F309121D48C12C3aB489FE7D5A", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -306,7 +306,7 @@ "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0x8cD1B99Ff499438BC9B5A41F558E41e3Df10ff08", + "address": "0xfd1346a9ee71839D6103C76Bb63d1592971C23aE", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -316,7 +316,7 @@ "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0x66F7097B8204A7a93850D5D29eAcdA6E2AA09A06", + "address": "0x9884cF2d612CdD7031cCaa12dd3Bc69D754fc701", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -326,7 +326,7 @@ "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0xAfD2Ac057dA78019436cbc59E08a4567E1FDCB02", + "address": "0x48fc85A6fcD880e2421586f4F9116f14e854E109", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -336,7 +336,7 @@ "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0xc989A9cB29D1e65F5fD1f5e54306D81EC2aae2d4", + "address": "0x1bfF9DBd010EF644863918f77aCF79BD35721c13", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -346,7 +346,7 @@ "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0x5D5492e4659e8c26A86a4cB2122b59d3fC8afA23", + "address": "0xB42D37cB0E78aaCC5980eC6B2EcB98CBeCeB9df7", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -356,7 +356,7 @@ "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0x67863e08EBA141fe927605A9A4C614751d550416", + "address": "0x8051CFC72E5c27fD752834a854eDD306c254D3b1", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -366,7 +366,7 @@ "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0x83eDd07E49dFaBc288AF2215C9dC534C52AB549f", + "address": "0x2F16C47532625acE7C652FC5EE7E9a9080B352f5", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -376,7 +376,7 @@ "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0x02D4086e063Ef6cc8d8e6e811bFc596Ed4aa7F0f", + "address": "0x7483ADEC5d3dA2203CCB2Fc5F837c6F8a1A92099", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -386,7 +386,7 @@ "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0x1865BF8d8F8392a823D9063f55beC6D450c6756A", + "address": "0xe6688b6Cc79268D2e39f799C08673034a5350F13", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -396,7 +396,7 @@ "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0x2f2abb208a543B0A076aF58cc806a899dE9EFfAC", + "address": "0xFa58524E6B3E432fb10B41A9fea95BAD32A608eF", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -406,51 +406,55 @@ "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0x4da11393102f7c324f7Bfd07B58773264986e211", + "address": "0x666D47050E77ADB0B04076fB35DDcb74e95D1d7C", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, "AaveProtocolTestHelpers": { "buidlerevm": { - "address": "0x6D3540a9F1a769bfd91A4A33169a8361aa82dC0F" + "address": "0x3b050AFb4ac4ACE646b31fF3639C1CD43aC31460" }, "localhost": { - "address": "0x26af54A97F214dB563711B0670c4FbA2Eb935E37" + "address": "0x02BB514187B830d6A2111197cd7D8cb60650B970" } }, "StableDebtToken": { "buidlerevm": { - "address": "0x5Ea694f66BD0CBd08FC7967af01b67Dcef68cC5c", + "address": "0xA0AB1cB92A4AF81f84dCd258155B5c25D247b54E", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0xB76Ea4df0263F99daf33765541b1933AD5bB4410", + "address": "0xbC15a5eEA769cfB4BA6d7574c9942f0b8C40Ae03", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, "VariableDebtToken": { "buidlerevm": { - "address": "0xd4e934C2749CA8C1618659D02E7B28B074bf4df7", + "address": "0x5f7134cd38C826a7649f9Cc47dda24d834DD2967", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "localhost": { - "address": "0x7376e7b11aCE5dDa9068f770a27796826e66E305", + "address": "0x3c3AB51fF33032159e82E1FDEe6503dEd082F1d9", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, "AToken": { "localhost": { - "address": "0x2abb2787B4C39a5667E95f11E8a44c034a58aaac", + "address": "0x2d17b3E44e413F1fDa30E569895863EeD139CE6B", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" }, "buidlerevm": { - "address": "0x8280D40C9E9F04229D2435EAad6e0011309ce81B", + "address": "0xE91bBe8ee03560E3dda2786f95335F5399813Ca0", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, "MockAToken": { "buidlerevm": { - "address": "0x7f23223A2FAf869962B38f5eC4aAB7f37454A45e", + "address": "0xD4B5A49d5bA242572ec3f4A8E52B97a10AF2543a", + "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" + }, + "localhost": { + "address": "0xc2517909aE3cFacC0283EB8FB917EAe273a3aE9e", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } }, @@ -458,6 +462,22 @@ "buidlerevm": { "address": "0xf784709d2317D872237C4bC22f867d1BAe2913AB", "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" + }, + "localhost": { + "address": "0x501A498e8FDA589038d6526C2153a9fdc9d8eDD2", + "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" + } + }, + "MockStableDebtToken": { + "buidlerevm": { + "address": "0x6aaF7e94e099291a94ed8E245c90f4766CE9bB7C", + "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" + } + }, + "MockVariableDebtToken": { + "buidlerevm": { + "address": "0x40A939911b662656C0EE71c19B954DB1911Dc8e3", + "deployer": "0xc783df8a850f42e7F7e57013759C285caa701eB6" } } } \ No newline at end of file diff --git a/helpers/contracts-helpers.ts b/helpers/contracts-helpers.ts index 61a07b2e..b90cbdef 100644 --- a/helpers/contracts-helpers.ts +++ b/helpers/contracts-helpers.ts @@ -256,34 +256,32 @@ export const deployDefaultReserveInterestRateStrategy = async ([ export const deployStableDebtToken = async ([ name, symbol, - decimals, underlyingAsset, poolAddress, -]: [string, string, string, tEthereumAddress, tEthereumAddress]) => { +]: [string, string, tEthereumAddress, tEthereumAddress]) => { const token = await deployContract(eContractid.StableDebtToken, [ poolAddress, underlyingAsset, + name, + symbol ]); - await token.init(name, symbol, decimals); - return token; }; export const deployVariableDebtToken = async ([ name, symbol, - decimals, underlyingAsset, poolAddress, -]: [string, string, string, tEthereumAddress, tEthereumAddress]) => { +]: [string, string, tEthereumAddress, tEthereumAddress]) => { const token = await deployContract(eContractid.VariableDebtToken, [ poolAddress, underlyingAsset, + name, + symbol ]); - await token.init(name, symbol, decimals); - return token; }; diff --git a/helpers/types.ts b/helpers/types.ts index 873479ae..a2f8037d 100644 --- a/helpers/types.ts +++ b/helpers/types.ts @@ -38,6 +38,8 @@ export enum eContractid { WalletBalanceProvider = 'WalletBalanceProvider', AToken = 'AToken', MockAToken = 'MockAToken', + MockStableDebtToken = 'MockStableDebtToken', + MockVariableDebtToken = 'MockVariableDebtToken', AaveProtocolTestHelpers = 'AaveProtocolTestHelpers', IERC20Detailed = 'IERC20Detailed', StableDebtToken = 'StableDebtToken', diff --git a/test/__setup.spec.ts b/test/__setup.spec.ts index e3d0b358..04d7992c 100644 --- a/test/__setup.spec.ts +++ b/test/__setup.spec.ts @@ -224,7 +224,6 @@ const initReserves = async ( const stableDebtToken = await deployStableDebtToken([ `Aave stable debt bearing ${assetSymbol === "WETH" ? "ETH" : assetSymbol}`, `stableDebt${assetSymbol === "WETH" ? "ETH" : assetSymbol}`, - reserveDecimals, tokenAddress, lendingPool.address, ]); @@ -232,7 +231,6 @@ const initReserves = async ( const variableDebtToken = await deployVariableDebtToken([ `Aave variable debt bearing ${assetSymbol === "WETH" ? "ETH" : assetSymbol}`, `variableDebt${assetSymbol === "WETH" ? "ETH" : assetSymbol}`, - reserveDecimals, tokenAddress, lendingPool.address, ]); diff --git a/test/upgradeability.spec.ts b/test/upgradeability.spec.ts index 9a22c833..41fc60ea 100644 --- a/test/upgradeability.spec.ts +++ b/test/upgradeability.spec.ts @@ -1,12 +1,17 @@ import {expect} from 'chai'; import {makeSuite, TestEnv} from './helpers/make-suite'; import {ProtocolErrors, eContractid} from '../helpers/types'; -import {deployGenericAToken, getAToken, deployContract} from '../helpers/contracts-helpers'; +import {deployGenericAToken, getAToken, deployContract, getContract} from '../helpers/contracts-helpers'; import {MockAToken} from '../types/MockAToken'; +import { MockStableDebtToken } from '../types/MockStableDebtToken'; +import { MockVariableDebtToken } from '../types/MockVariableDebtToken'; makeSuite('Upgradeability', (testEnv: TestEnv) => { const {INVALID_POOL_MANAGER_CALLER_MSG} = ProtocolErrors; let newATokenAddress: string; + let newStableTokenAddress: string; + let newVariableTokenAddress: string; + before('deploying instances', async () => { const {dai, pool} = testEnv; @@ -17,7 +22,24 @@ makeSuite('Upgradeability', (testEnv: TestEnv) => { 'aDAI', ]); + const stableDebtTokenInstance = await deployContract(eContractid.MockStableDebtToken, [ + pool.address, + dai.address, + 'Aave stable debt bearing DAI updated', + 'stableDebtDAI', + ]); + + const variableDebtTokenInstance = await deployContract(eContractid.MockVariableDebtToken, [ + pool.address, + dai.address, + 'Aave variable debt bearing DAI updated', + 'variableDebtDAI', + ]); + newATokenAddress = aTokenInstance.address; + newVariableTokenAddress = variableDebtTokenInstance.address; + newStableTokenAddress = stableDebtTokenInstance.address; + }); it('Tries to update the DAI Atoken implementation with a different address than the lendingPoolManager', async () => { @@ -39,4 +61,53 @@ makeSuite('Upgradeability', (testEnv: TestEnv) => { expect(tokenName).to.be.eq('Aave Interest bearing DAI updated', 'Invalid token name'); }); + + it('Tries to update the DAI Stable debt token implementation with a different address than the lendingPoolManager', async () => { + const {dai, configurator, users} = testEnv; + + await expect( + configurator.connect(users[1].signer).updateStableDebtToken(dai.address, newStableTokenAddress) + ).to.be.revertedWith(INVALID_POOL_MANAGER_CALLER_MSG); + }); + + it('Upgrades the DAI stable debt token implementation ', async () => { + const {dai, configurator, pool} = testEnv; + + const name = await (await getAToken(newATokenAddress)).name(); + + await configurator.updateStableDebtToken(dai.address, newStableTokenAddress); + + const {stableDebtTokenAddress} = await pool.getReserveTokensAddresses(dai.address); + + const debtToken = await getContract(eContractid.MockStableDebtToken, stableDebtTokenAddress); + + const tokenName = await debtToken.name(); + + expect(tokenName).to.be.eq('Aave stable debt bearing DAI updated', 'Invalid token name'); + }); + + it('Tries to update the DAI variable debt token implementation with a different address than the lendingPoolManager', async () => { + const {dai, configurator, users} = testEnv; + + await expect( + configurator.connect(users[1].signer).updateVariableDebtToken(dai.address, newVariableTokenAddress) + ).to.be.revertedWith(INVALID_POOL_MANAGER_CALLER_MSG); + }); + + it('Upgrades the DAI variable debt token implementation ', async () => { + const {dai, configurator, pool} = testEnv; + + const name = await (await getAToken(newATokenAddress)).name(); + + await configurator.updateVariableDebtToken(dai.address, newVariableTokenAddress); + + const {variableDebtTokenAddress} = await pool.getReserveTokensAddresses(dai.address); + + const debtToken = await getContract(eContractid.MockStableDebtToken, variableDebtTokenAddress); + + const tokenName = await debtToken.name(); + + expect(tokenName).to.be.eq('Aave variable debt bearing DAI updated', 'Invalid token name'); + }); + }); diff --git a/tests.log b/tests.log new file mode 100644 index 00000000..e69de29b diff --git a/types/AToken.d.ts b/types/AToken.d.ts index e8b2d7d8..eb9a4b1f 100644 --- a/types/AToken.d.ts +++ b/types/AToken.d.ts @@ -69,7 +69,7 @@ interface ATokenInterface extends Interface { }>; mintOnDeposit: TypedFunctionDescription<{ - encode([_account, _amount]: [string, BigNumberish]): string; + encode([_user, _amount]: [string, BigNumberish]): string; }>; name: TypedFunctionDescription<{ encode([]: []): string }>; @@ -278,7 +278,7 @@ export class AToken extends Contract { isTransferAllowed(_user: string, _amount: BigNumberish): Promise; mintOnDeposit( - _account: string, + _user: string, _amount: BigNumberish, overrides?: TransactionOverrides ): Promise; @@ -391,7 +391,7 @@ export class AToken extends Contract { isTransferAllowed(_user: string, _amount: BigNumberish): Promise; mintOnDeposit( - _account: string, + _user: string, _amount: BigNumberish, overrides?: TransactionOverrides ): Promise; @@ -554,7 +554,7 @@ export class AToken extends Contract { isTransferAllowed(_user: string, _amount: BigNumberish): Promise; - mintOnDeposit(_account: string, _amount: BigNumberish): Promise; + mintOnDeposit(_user: string, _amount: BigNumberish): Promise; name(): Promise; diff --git a/types/ATokenFactory.ts b/types/ATokenFactory.ts index 4423809d..4cb268dd 100644 --- a/types/ATokenFactory.ts +++ b/types/ATokenFactory.ts @@ -1,12 +1,12 @@ /* Generated by ts-generator ver. 0.0.8 */ /* tslint:disable */ -import {Contract, ContractFactory, Signer} from 'ethers'; -import {Provider} from 'ethers/providers'; -import {UnsignedTransaction} from 'ethers/utils/transaction'; +import { Contract, ContractFactory, Signer } from "ethers"; +import { Provider } from "ethers/providers"; +import { UnsignedTransaction } from "ethers/utils/transaction"; -import {TransactionOverrides} from '.'; -import {AToken} from './AToken'; +import { TransactionOverrides } from "."; +import { AToken } from "./AToken"; export class ATokenFactory extends ContractFactory { constructor(signer?: Signer) { @@ -58,841 +58,841 @@ const _abi = [ { inputs: [ { - internalType: 'contract LendingPool', - name: '_pool', - type: 'address', + internalType: "contract LendingPool", + name: "_pool", + type: "address" }, { - internalType: 'address', - name: '_underlyingAssetAddress', - type: 'address', + internalType: "address", + name: "_underlyingAssetAddress", + type: "address" }, { - internalType: 'string', - name: '_tokenName', - type: 'string', + internalType: "string", + name: "_tokenName", + type: "string" }, { - internalType: 'string', - name: '_tokenSymbol', - type: 'string', - }, + internalType: "string", + name: "_tokenSymbol", + type: "string" + } ], - stateMutability: 'nonpayable', - type: 'constructor', + stateMutability: "nonpayable", + type: "constructor" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: 'owner', - type: 'address', + internalType: "address", + name: "owner", + type: "address" }, { indexed: true, - internalType: 'address', - name: 'spender', - type: 'address', + internalType: "address", + name: "spender", + type: "address" }, { indexed: false, - internalType: 'uint256', - name: 'value', - type: 'uint256', - }, + internalType: "uint256", + name: "value", + type: "uint256" + } ], - name: 'Approval', - type: 'event', + name: "Approval", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: '_from', - type: 'address', + internalType: "address", + name: "_from", + type: "address" }, { indexed: true, - internalType: 'address', - name: '_to', - type: 'address', + internalType: "address", + name: "_to", + type: "address" }, { indexed: false, - internalType: 'uint256', - name: '_value', - type: 'uint256', + internalType: "uint256", + name: "_value", + type: "uint256" }, { indexed: false, - internalType: 'uint256', - name: '_fromBalanceIncrease', - type: 'uint256', + internalType: "uint256", + name: "_fromBalanceIncrease", + type: "uint256" }, { indexed: false, - internalType: 'uint256', - name: '_toBalanceIncrease', - type: 'uint256', + internalType: "uint256", + name: "_toBalanceIncrease", + type: "uint256" }, { indexed: false, - internalType: 'uint256', - name: '_fromIndex', - type: 'uint256', + internalType: "uint256", + name: "_fromIndex", + type: "uint256" }, { indexed: false, - internalType: 'uint256', - name: '_toIndex', - type: 'uint256', - }, + internalType: "uint256", + name: "_toIndex", + type: "uint256" + } ], - name: 'BalanceTransfer', - type: 'event', + name: "BalanceTransfer", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: '_from', - type: 'address', + internalType: "address", + name: "_from", + type: "address" }, { indexed: false, - internalType: 'uint256', - name: '_value', - type: 'uint256', + internalType: "uint256", + name: "_value", + type: "uint256" }, { indexed: false, - internalType: 'uint256', - name: '_fromBalanceIncrease', - type: 'uint256', + internalType: "uint256", + name: "_fromBalanceIncrease", + type: "uint256" }, { indexed: false, - internalType: 'uint256', - name: '_fromIndex', - type: 'uint256', - }, + internalType: "uint256", + name: "_fromIndex", + type: "uint256" + } ], - name: 'BurnOnLiquidation', - type: 'event', + name: "BurnOnLiquidation", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: '_from', - type: 'address', + internalType: "address", + name: "_from", + type: "address" }, { indexed: true, - internalType: 'address', - name: '_to', - type: 'address', - }, + internalType: "address", + name: "_to", + type: "address" + } ], - name: 'InterestRedirectionAllowanceChanged', - type: 'event', + name: "InterestRedirectionAllowanceChanged", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: '_from', - type: 'address', + internalType: "address", + name: "_from", + type: "address" }, { indexed: true, - internalType: 'address', - name: '_to', - type: 'address', + internalType: "address", + name: "_to", + type: "address" }, { indexed: false, - internalType: 'uint256', - name: '_redirectedBalance', - type: 'uint256', + internalType: "uint256", + name: "_redirectedBalance", + type: "uint256" }, { indexed: false, - internalType: 'uint256', - name: '_fromBalanceIncrease', - type: 'uint256', + internalType: "uint256", + name: "_fromBalanceIncrease", + type: "uint256" }, { indexed: false, - internalType: 'uint256', - name: '_fromIndex', - type: 'uint256', - }, + internalType: "uint256", + name: "_fromIndex", + type: "uint256" + } ], - name: 'InterestStreamRedirected', - type: 'event', + name: "InterestStreamRedirected", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: '_from', - type: 'address', + internalType: "address", + name: "_from", + type: "address" }, { indexed: false, - internalType: 'uint256', - name: '_value', - type: 'uint256', + internalType: "uint256", + name: "_value", + type: "uint256" }, { indexed: false, - internalType: 'uint256', - name: '_fromBalanceIncrease', - type: 'uint256', + internalType: "uint256", + name: "_fromBalanceIncrease", + type: "uint256" }, { indexed: false, - internalType: 'uint256', - name: '_fromIndex', - type: 'uint256', - }, + internalType: "uint256", + name: "_fromIndex", + type: "uint256" + } ], - name: 'MintOnDeposit', - type: 'event', + name: "MintOnDeposit", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: '_from', - type: 'address', + internalType: "address", + name: "_from", + type: "address" }, { indexed: false, - internalType: 'uint256', - name: '_value', - type: 'uint256', + internalType: "uint256", + name: "_value", + type: "uint256" }, { indexed: false, - internalType: 'uint256', - name: '_fromBalanceIncrease', - type: 'uint256', + internalType: "uint256", + name: "_fromBalanceIncrease", + type: "uint256" }, { indexed: false, - internalType: 'uint256', - name: '_fromIndex', - type: 'uint256', - }, + internalType: "uint256", + name: "_fromIndex", + type: "uint256" + } ], - name: 'Redeem', - type: 'event', + name: "Redeem", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: '_targetAddress', - type: 'address', + internalType: "address", + name: "_targetAddress", + type: "address" }, { indexed: false, - internalType: 'uint256', - name: '_targetBalanceIncrease', - type: 'uint256', + internalType: "uint256", + name: "_targetBalanceIncrease", + type: "uint256" }, { indexed: false, - internalType: 'uint256', - name: '_targetIndex', - type: 'uint256', + internalType: "uint256", + name: "_targetIndex", + type: "uint256" }, { indexed: false, - internalType: 'uint256', - name: '_redirectedBalanceAdded', - type: 'uint256', + internalType: "uint256", + name: "_redirectedBalanceAdded", + type: "uint256" }, { indexed: false, - internalType: 'uint256', - name: '_redirectedBalanceRemoved', - type: 'uint256', - }, + internalType: "uint256", + name: "_redirectedBalanceRemoved", + type: "uint256" + } ], - name: 'RedirectedBalanceUpdated', - type: 'event', + name: "RedirectedBalanceUpdated", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: 'from', - type: 'address', + internalType: "address", + name: "from", + type: "address" }, { indexed: true, - internalType: 'address', - name: 'to', - type: 'address', + internalType: "address", + name: "to", + type: "address" }, { indexed: false, - internalType: 'uint256', - name: 'value', - type: 'uint256', - }, + internalType: "uint256", + name: "value", + type: "uint256" + } ], - name: 'Transfer', - type: 'event', + name: "Transfer", + type: "event" }, { inputs: [], - name: 'ATOKEN_REVISION', + name: "ATOKEN_REVISION", outputs: [ { - internalType: 'uint256', - name: '', - type: 'uint256', - }, + internalType: "uint256", + name: "", + type: "uint256" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [], - name: 'UINT_MAX_VALUE', + name: "UINT_MAX_VALUE", outputs: [ { - internalType: 'uint256', - name: '', - type: 'uint256', - }, + internalType: "uint256", + name: "", + type: "uint256" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_to', - type: 'address', - }, + internalType: "address", + name: "_to", + type: "address" + } ], - name: 'allowInterestRedirectionTo', + name: "allowInterestRedirectionTo", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: 'owner', - type: 'address', + internalType: "address", + name: "owner", + type: "address" }, { - internalType: 'address', - name: 'spender', - type: 'address', - }, + internalType: "address", + name: "spender", + type: "address" + } ], - name: 'allowance', + name: "allowance", outputs: [ { - internalType: 'uint256', - name: '', - type: 'uint256', - }, + internalType: "uint256", + name: "", + type: "uint256" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [ { - internalType: 'address', - name: 'spender', - type: 'address', + internalType: "address", + name: "spender", + type: "address" }, { - internalType: 'uint256', - name: 'amount', - type: 'uint256', - }, + internalType: "uint256", + name: "amount", + type: "uint256" + } ], - name: 'approve', + name: "approve", outputs: [ { - internalType: 'bool', - name: '', - type: 'bool', - }, + internalType: "bool", + name: "", + type: "bool" + } ], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_user', - type: 'address', - }, + internalType: "address", + name: "_user", + type: "address" + } ], - name: 'balanceOf', + name: "balanceOf", outputs: [ { - internalType: 'uint256', - name: '', - type: 'uint256', - }, + internalType: "uint256", + name: "", + type: "uint256" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_account', - type: 'address', + internalType: "address", + name: "_account", + type: "address" }, { - internalType: 'uint256', - name: '_value', - type: 'uint256', - }, + internalType: "uint256", + name: "_value", + type: "uint256" + } ], - name: 'burnOnLiquidation', + name: "burnOnLiquidation", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [], - name: 'decimals', + name: "decimals", outputs: [ { - internalType: 'uint8', - name: '', - type: 'uint8', - }, + internalType: "uint8", + name: "", + type: "uint8" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [ { - internalType: 'address', - name: 'spender', - type: 'address', + internalType: "address", + name: "spender", + type: "address" }, { - internalType: 'uint256', - name: 'subtractedValue', - type: 'uint256', - }, + internalType: "uint256", + name: "subtractedValue", + type: "uint256" + } ], - name: 'decreaseAllowance', + name: "decreaseAllowance", outputs: [ { - internalType: 'bool', - name: '', - type: 'bool', - }, + internalType: "bool", + name: "", + type: "bool" + } ], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_user', - type: 'address', - }, + internalType: "address", + name: "_user", + type: "address" + } ], - name: 'getInterestRedirectionAddress', + name: "getInterestRedirectionAddress", outputs: [ { - internalType: 'address', - name: '', - type: 'address', - }, + internalType: "address", + name: "", + type: "address" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_user', - type: 'address', - }, + internalType: "address", + name: "_user", + type: "address" + } ], - name: 'getRedirectedBalance', + name: "getRedirectedBalance", outputs: [ { - internalType: 'uint256', - name: '', - type: 'uint256', - }, + internalType: "uint256", + name: "", + type: "uint256" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_user', - type: 'address', - }, + internalType: "address", + name: "_user", + type: "address" + } ], - name: 'getUserIndex', + name: "getUserIndex", outputs: [ { - internalType: 'uint256', - name: '', - type: 'uint256', - }, + internalType: "uint256", + name: "", + type: "uint256" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [ { - internalType: 'address', - name: 'spender', - type: 'address', + internalType: "address", + name: "spender", + type: "address" }, { - internalType: 'uint256', - name: 'addedValue', - type: 'uint256', - }, + internalType: "uint256", + name: "addedValue", + type: "uint256" + } ], - name: 'increaseAllowance', + name: "increaseAllowance", outputs: [ { - internalType: 'bool', - name: '', - type: 'bool', - }, + internalType: "bool", + name: "", + type: "bool" + } ], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'uint8', - name: '_underlyingAssetDecimals', - type: 'uint8', + internalType: "uint8", + name: "_underlyingAssetDecimals", + type: "uint8" }, { - internalType: 'string', - name: '_tokenName', - type: 'string', + internalType: "string", + name: "_tokenName", + type: "string" }, { - internalType: 'string', - name: '_tokenSymbol', - type: 'string', - }, + internalType: "string", + name: "_tokenSymbol", + type: "string" + } ], - name: 'initialize', + name: "initialize", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_user', - type: 'address', + internalType: "address", + name: "_user", + type: "address" }, { - internalType: 'uint256', - name: '_amount', - type: 'uint256', - }, + internalType: "uint256", + name: "_amount", + type: "uint256" + } ], - name: 'isTransferAllowed', + name: "isTransferAllowed", outputs: [ { - internalType: 'bool', - name: '', - type: 'bool', - }, + internalType: "bool", + name: "", + type: "bool" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_account', - type: 'address', + internalType: "address", + name: "_user", + type: "address" }, { - internalType: 'uint256', - name: '_amount', - type: 'uint256', - }, + internalType: "uint256", + name: "_amount", + type: "uint256" + } ], - name: 'mintOnDeposit', + name: "mintOnDeposit", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [], - name: 'name', + name: "name", outputs: [ { - internalType: 'string', - name: '', - type: 'string', - }, + internalType: "string", + name: "", + type: "string" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_user', - type: 'address', - }, + internalType: "address", + name: "_user", + type: "address" + } ], - name: 'principalBalanceOf', + name: "principalBalanceOf", outputs: [ { - internalType: 'uint256', - name: '', - type: 'uint256', - }, + internalType: "uint256", + name: "", + type: "uint256" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [ { - internalType: 'uint256', - name: '_amount', - type: 'uint256', - }, + internalType: "uint256", + name: "_amount", + type: "uint256" + } ], - name: 'redeem', + name: "redeem", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_to', - type: 'address', - }, + internalType: "address", + name: "_to", + type: "address" + } ], - name: 'redirectInterestStream', + name: "redirectInterestStream", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_from', - type: 'address', + internalType: "address", + name: "_from", + type: "address" }, { - internalType: 'address', - name: '_to', - type: 'address', - }, + internalType: "address", + name: "_to", + type: "address" + } ], - name: 'redirectInterestStreamOf', + name: "redirectInterestStreamOf", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [], - name: 'symbol', + name: "symbol", outputs: [ { - internalType: 'string', - name: '', - type: 'string', - }, + internalType: "string", + name: "", + type: "string" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [], - name: 'totalSupply', + name: "totalSupply", outputs: [ { - internalType: 'uint256', - name: '', - type: 'uint256', - }, + internalType: "uint256", + name: "", + type: "uint256" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [ { - internalType: 'address', - name: 'recipient', - type: 'address', + internalType: "address", + name: "recipient", + type: "address" }, { - internalType: 'uint256', - name: 'amount', - type: 'uint256', - }, + internalType: "uint256", + name: "amount", + type: "uint256" + } ], - name: 'transfer', + name: "transfer", outputs: [ { - internalType: 'bool', - name: '', - type: 'bool', - }, + internalType: "bool", + name: "", + type: "bool" + } ], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: 'sender', - type: 'address', + internalType: "address", + name: "sender", + type: "address" }, { - internalType: 'address', - name: 'recipient', - type: 'address', + internalType: "address", + name: "recipient", + type: "address" }, { - internalType: 'uint256', - name: 'amount', - type: 'uint256', - }, + internalType: "uint256", + name: "amount", + type: "uint256" + } ], - name: 'transferFrom', + name: "transferFrom", outputs: [ { - internalType: 'bool', - name: '', - type: 'bool', - }, + internalType: "bool", + name: "", + type: "bool" + } ], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_from', - type: 'address', + internalType: "address", + name: "_from", + type: "address" }, { - internalType: 'address', - name: '_to', - type: 'address', + internalType: "address", + name: "_to", + type: "address" }, { - internalType: 'uint256', - name: '_value', - type: 'uint256', - }, + internalType: "uint256", + name: "_value", + type: "uint256" + } ], - name: 'transferOnLiquidation', + name: "transferOnLiquidation", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_target', - type: 'address', + internalType: "address", + name: "_target", + type: "address" }, { - internalType: 'uint256', - name: '_amount', - type: 'uint256', - }, + internalType: "uint256", + name: "_amount", + type: "uint256" + } ], - name: 'transferUnderlyingTo', + name: "transferUnderlyingTo", outputs: [ { - internalType: 'uint256', - name: '', - type: 'uint256', - }, + internalType: "uint256", + name: "", + type: "uint256" + } ], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [], - name: 'underlyingAssetAddress', + name: "underlyingAssetAddress", outputs: [ { - internalType: 'address', - name: '', - type: 'address', - }, + internalType: "address", + name: "", + type: "address" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { - stateMutability: 'payable', - type: 'receive', - }, + stateMutability: "payable", + type: "receive" + } ]; const _bytecode = - '0x60c0604052600080553480156200001557600080fd5b506040516200341338038062003413833981810160405260808110156200003b57600080fd5b815160208301516040808501805191519395929483019291846401000000008211156200006757600080fd5b9083019060208201858111156200007d57600080fd5b82516401000000008111828201881017156200009857600080fd5b82525081516020918201929091019080838360005b83811015620000c7578181015183820152602001620000ad565b50505050905090810190601f168015620000f55780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200011957600080fd5b9083019060208201858111156200012f57600080fd5b82516401000000008111828201881017156200014a57600080fd5b82525081516020918201929091019080838360005b83811015620001795781810151838201526020016200015f565b50505050905090810190601f168015620001a75780820380516001836020036101000a031916815260200191505b50604052505082518391508290620001c79060379060208501906200020e565b508051620001dd9060389060208401906200020e565b50506039805460ff191660121790555050506001600160601b0319606092831b811660a052911b16608052620002b3565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200025157805160ff191683800117855562000281565b8280016001018555821562000281579182015b828111156200028157825182559160200191906001019062000264565b506200028f92915062000293565b5090565b620002b091905b808211156200028f57600081556001016200029a565b90565b60805160601c60a05160601c6130eb6200032860003980610a705280610e165280610f495280611039528061119452806114c5528061162d5280611f4452806124525250806101c55280610a9f5280610fb25280610ffd528061116752806114ec5280611f73528061248152506130eb6000f3fe6080604052600436106101bb5760003560e01c80634efecaa5116100ec578063a9059cbb1161008a578063db006a7511610064578063db006a75146107e5578063dd62ed3e1461080f578063ee9907a41461084a578063f866c3191461087d5761022f565b8063a9059cbb14610764578063c634dfaa1461079d578063d0fc81d2146107d05761022f565b806389d1a0fc116100c657806389d1a0fc146106c857806394362e8b146106dd57806395d89b4114610716578063a457c2d71461072b5761022f565b80634efecaa5146106235780635eae177c1461065c57806370a08231146106955761022f565b806323b872dd11610159578063325a9b1311610133578063325a9b131461052757806339509351146105625780633edb7cb81461059b578063445e8010146105d45761022f565b806323b872dd146103e05780633118724e14610423578063313ce567146104fc5761022f565b80630e49072d116101955780630e49072d1461033257806312c87c2d1461036557806318160ddd146103985780631d51e7cf146103ad5761022f565b806306fdde0314610234578063095ea7b3146102be5780630bd7ad3b1461030b5761022f565b3661022f576101f27f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166108c0565b61022d5760405162461bcd60e51b8152600401808060200182810382526039815260200180612e206039913960400191505060405180910390fd5b005b600080fd5b34801561024057600080fd5b506102496108e6565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561028357818101518382015260200161026b565b50505050905090810190601f1680156102b05780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102ca57600080fd5b506102f7600480360360408110156102e157600080fd5b506001600160a01b03813516906020013561097d565b604080519115158252519081900360200190f35b34801561031757600080fd5b5061032061099b565b60408051918252519081900360200190f35b34801561033e57600080fd5b5061022d6004803603602081101561035557600080fd5b50356001600160a01b03166109a0565b34801561037157600080fd5b5061022d6004803603602081101561038857600080fd5b50356001600160a01b03166109ad565b3480156103a457600080fd5b50610320610a4c565b3480156103b957600080fd5b50610320600480360360208110156103d057600080fd5b50356001600160a01b0316610b50565b3480156103ec57600080fd5b506102f76004803603606081101561040357600080fd5b506001600160a01b03813581169160208101359091169060400135610b6b565b34801561042f57600080fd5b5061022d6004803603606081101561044657600080fd5b60ff823516919081019060408101602082013564010000000081111561046b57600080fd5b82018360208201111561047d57600080fd5b8035906020019184600183028401116401000000008311171561049f57600080fd5b9193909290916020810190356401000000008111156104bd57600080fd5b8201836020820111156104cf57600080fd5b803590602001918460018302840111640100000000831117156104f157600080fd5b509092509050610bf8565b34801561050857600080fd5b50610511610d48565b6040805160ff9092168252519081900360200190f35b34801561053357600080fd5b5061022d6004803603604081101561054a57600080fd5b506001600160a01b0381358116916020013516610d51565b34801561056e57600080fd5b506102f76004803603604081101561058557600080fd5b506001600160a01b038135169060200135610db7565b3480156105a757600080fd5b5061022d600480360360408110156105be57600080fd5b506001600160a01b038135169060200135610e0b565b3480156105e057600080fd5b50610607600480360360208110156105f757600080fd5b50356001600160a01b0316610f1e565b604080516001600160a01b039092168252519081900360200190f35b34801561062f57600080fd5b506103206004803603604081101561064657600080fd5b506001600160a01b038135169060200135610f3c565b34801561066857600080fd5b506102f76004803603604081101561067f57600080fd5b506001600160a01b038135169060200135610fe5565b3480156106a157600080fd5b50610320600480360360208110156106b857600080fd5b50356001600160a01b03166110b2565b3480156106d457600080fd5b50610607611165565b3480156106e957600080fd5b5061022d6004803603604081101561070057600080fd5b506001600160a01b038135169060200135611189565b34801561072257600080fd5b5061024961127c565b34801561073757600080fd5b506102f76004803603604081101561074e57600080fd5b506001600160a01b0381351690602001356112dd565b34801561077057600080fd5b506102f76004803603604081101561078757600080fd5b506001600160a01b03813516906020013561134b565b3480156107a957600080fd5b50610320600480360360208110156107c057600080fd5b50356001600160a01b031661135f565b3480156107dc57600080fd5b5061032061136a565b3480156107f157600080fd5b5061022d6004803603602081101561080857600080fd5b5035611370565b34801561081b57600080fd5b506103206004803603604081101561083257600080fd5b506001600160a01b03813581169160200135166115dc565b34801561085657600080fd5b506103206004803603602081101561086d57600080fd5b50356001600160a01b0316611607565b34801561088957600080fd5b5061022d600480360360608110156108a057600080fd5b506001600160a01b03813581169160208101359091169060400135611622565b6001600160a01b03811673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee145b919050565b60378054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109725780601f1061094757610100808354040283529160200191610972565b820191906000526020600020905b81548152906001019060200180831161095557829003601f168201915b505050505090505b90565b600061099161098a611699565b848461169d565b5060015b92915050565b600181565b6109aa3382611789565b50565b6001600160a01b0381163314156109f55760405162461bcd60e51b8152600401808060200182810382526025815260200180612e596025913960400191505060405180910390fd5b336000818152603d602052604080822080546001600160a01b0319166001600160a01b03861690811790915590519092917fc2d6a42a9d5273283f73009a07aacfb043f2f91173a8d9d33b504afe898db08b91a350565b600080610a57611978565b905080610a6857600091505061097a565b610b4a610b457f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d15e00537f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610b0457600080fd5b505afa158015610b18573d6000803e3d6000fd5b505050506040513d6020811015610b2e57600080fd5b5051610b398461197e565b9063ffffffff61199416565b6119df565b91505090565b6001600160a01b03166000908152603c602052604090205490565b6000610b788484846119f8565b610bee84610b84611699565b610be985604051806060016040528060288152602001612e9f602891396001600160a01b038a16600090815260356020526040812090610bc2611699565b6001600160a01b03168152602081019190915260400160002054919063ffffffff611a6716565b61169d565b5060019392505050565b610c2b6040518060400160405280601281526020017124b739b4b2329034b734ba34b0b634bd32b960711b815250611afe565b6000610c35611c34565b9050610c676040518060400160405280600e81526020016d5265766973696f6e20697320257360901b81525082611c39565b610c9160405180604001604052806008815260200167546869733a20257360c01b81525030611d8e565b60015460ff1680610ca55750610ca5611e87565b80610cb1575060005481115b610cec5760405162461bcd60e51b815260040180806020018281038252602e815260200180612ef1602e913960400191505060405180910390fd5b60015460ff16158015610d0b576001805460ff19168117905560008290555b610d1760378787612cc8565b50610d2460388585612cc8565b50610d2e87611e8d565b8015610d3f576001805460ff191690555b50505050505050565b60395460ff1690565b6001600160a01b038281166000908152603d6020526040902054163314610da95760405162461bcd60e51b815260040180806020018281038252603a81526020018061307c603a913960400191505060405180910390fd5b610db38282611789565b5050565b6000610991610dc4611699565b84610be98560356000610dd5611699565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff611ea316565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610e725760405162461bcd60e51b81526004018080602001828103825260328152602001806130256032913960400191505060405180910390fd5b6000806000610e8085611efd565b93509350935050610e9285838661202f565b610e9c858561212f565b6000610eae848663ffffffff61223716565b610ebe57610ebb86612279565b90505b856001600160a01b03167f90e5d3d68ec162d9c7de393037a3ede04dd44f68e051bf2ace4a73c299dbc4db868584610ef65785610ef9565b60005b60408051938452602084019290925282820152519081900360600190a2505050505050565b6001600160a01b039081166000908152603b60205260409020541690565b6000336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610fa55760405162461bcd60e51b81526004018080602001828103825260328152602001806130256032913960400191505060405180910390fd5b610fdf6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016848463ffffffff61232b16565b50919050565b604080516376e9d61560e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116600483015284811660248301526044820184905291516000927f000000000000000000000000000000000000000000000000000000000000000016916376e9d615916064808301926020929190829003018186803b15801561107f57600080fd5b505afa158015611093573d6000803e3d6000fd5b505050506040513d60208110156110a957600080fd5b50519392505050565b6000806110be83612404565b6001600160a01b0384166000908152603c6020526040902054909150811580156110e6575080155b156110f6576000925050506108e1565b6001600160a01b038481166000908152603b6020526040902054166111475761113e816111328661112d868463ffffffff611ea316565b61241f565b9063ffffffff61223716565b925050506108e1565b61113e61115882611132878561241f565b839063ffffffff611ea316565b7f000000000000000000000000000000000000000000000000000000000000000081565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146111f05760405162461bcd60e51b81526004018080602001828103825260328152602001806130256032913960400191505060405180910390fd5b6000806111fc84611efd565b935093505050611220846112198585611ea390919063ffffffff16565b600061202f565b61122a8484612527565b604080518481526020810184905280820183905290516001600160a01b038616917fbe7799898ca2d813ff902b487c1b434ab45b47edd8f38b77ad5e99aae8341b7a919081900360600190a250505050565b60388054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109725780601f1061094757610100808354040283529160200191610972565b60006109916112ea611699565b84610be9856040518060600160405280602581526020016130576025913960356000611314611699565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff611a6716565b6000610991611358611699565b84846119f8565b600061099582612404565b60001981565b600081116113c5576040805162461bcd60e51b815260206004820181905260248201527f416d6f756e7420746f2072656465656d206e6565647320746f206265203e2030604482015290519081900360640190fd5b60008060006113d333611efd565b919550935091508490506000198114156113ea5750825b838111156114295760405162461bcd60e51b8152600401808060200182810382526032815260200180612da66032913960400191505060405180910390fd5b6114333382610fe5565b611484576040805162461bcd60e51b815260206004820152601b60248201527f5472616e736665722063616e6e6f7420626520616c6c6f7765642e0000000000604482015290519081900360640190fd5b61148f33848361202f565b611499338261212f565b60006114ab858363ffffffff61223716565b6114bb576114b833612279565b90505b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016639895e3d87f0000000000000000000000000000000000000000000000000000000000000000338561151d8a8263ffffffff61223716565b6040518563ffffffff1660e01b815260040180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b03168152602001838152602001828152602001945050505050600060405180830381600087803b15801561158c57600080fd5b505af11580156115a0573d6000803e3d6000fd5b50505050336001600160a01b03167fbd5034ffbd47e4e72a94baa2cdb74c6fad73cb3bcdc13036b72ec8306f5a7646838684610ef65786610ef9565b6001600160a01b03918216600090815260356020908152604080832093909416825291909152205490565b6001600160a01b03166000908152603a602052604090205490565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146116895760405162461bcd60e51b81526004018080602001828103825260328152602001806130256032913960400191505060405180910390fd5b611694838383612625565b505050565b3390565b6001600160a01b0383166116e25760405162461bcd60e51b8152600401808060200182810382526024815260200180612fd76024913960400191505060405180910390fd5b6001600160a01b0382166117275760405162461bcd60e51b8152600401808060200182810382526022815260200180612dd86022913960400191505060405180910390fd5b6001600160a01b03808416600081815260356020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038083166000908152603b602052604090205481169082168114156117e65760405162461bcd60e51b815260040180806020018281038252602a815260200180612ec7602a913960400191505060405180910390fd5b6000806000806117f587611efd565b93509350935093506000831161183c5760405162461bcd60e51b8152600401808060200182810382526042815260200180612f1f6042913960600191505060405180910390fd5b6001600160a01b03851615611857576118578760008661202f565b866001600160a01b0316866001600160a01b031614156118e3576001600160a01b0387166000818152603b6020908152604080832080546001600160a01b03191690558051878152918201869052818101859052519192917f5e3cad45b1fe24159d1cb39788d82d0f69cc15770aa96fba1d3d1a73487355949181900360600190a35050505050610db3565b6001600160a01b038781166000908152603b6020526040812080546001600160a01b0319169289169290921790915561191f908890859061202f565b604080518481526020810184905280820183905290516001600160a01b0380891692908a16917f5e3cad45b1fe24159d1cb39788d82d0f69cc15770aa96fba1d3d1a73487355949181900360600190a350505050505050565b60365490565b600061099582633b9aca0063ffffffff61277416565b60006119d86b033b2e3c9fd0803ce80000006119cc6119b9868663ffffffff61277416565b6b019d971e4fe8401e7400000090611ea3565b9063ffffffff6127cd16565b9392505050565b6000631dcd65006119d8633b9aca006119cc8386611ea3565b8281611a048282610fe5565b611a55576040805162461bcd60e51b815260206004820152601b60248201527f5472616e736665722063616e6e6f7420626520616c6c6f7765642e0000000000604482015290519081900360640190fd5b611a60858585612625565b5050505050565b60008184841115611af65760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611abb578181015183820152602001611aa3565b50505050905090810190601f168015611ae85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6040516020602482018181528351604484015283516000936a636f6e736f6c652e6c6f67938693928392606401918501908083838a5b83811015611b4c578181015183820152602001611b34565b50505050905090810190601f168015611b795780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b031663104c13eb60e21b178152905182519295509350839250908083835b60208310611bd45780518252601f199092019160209182019101611bb5565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114611a60576040519150601f19603f3d011682016040523d82523d6000602084013e611a60565b600190565b60006a636f6e736f6c652e6c6f676001600160a01b031683836040516024018080602001838152602001828103825284818151815260200191508051906020019080838360005b83811015611c98578181015183820152602001611c80565b50505050905090810190601f168015611cc55780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b03166309710a9d60e41b17815290518251929650945084935091508083835b60208310611d215780518252601f199092019160209182019101611d02565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114611d81576040519150601f19603f3d011682016040523d82523d6000602084013e611d86565b606091505b505050505050565b60006a636f6e736f6c652e6c6f676001600160a01b031683836040516024018080602001836001600160a01b03166001600160a01b03168152602001828103825284818151815260200191508051906020019080838360005b83811015611dff578181015183820152602001611de7565b50505050905090810190601f168015611e2c5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b031663319af33360e01b178152905182519296509450849350915080838360208310611d215780518252601f199092019160209182019101611d02565b303b1590565b6039805460ff191660ff92909216919091179055565b6000828201838110156119d8576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000806000806000611f0e866110b2565b90506000808215611f4057611f2288612404565b9050611f34838263ffffffff61223716565b9150611f408883612527565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d15e00537f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015611fd857600080fd5b505afa158015611fec573d6000803e3d6000fd5b505050506040513d602081101561200257600080fd5b50516001600160a01b03999099166000908152603a60205260409020899055509791969095509350915050565b6001600160a01b038084166000908152603b602052604090205416806120555750611694565b60008061206183611efd565b6001600160a01b0387166000908152603c602052604090205491955093506120979250869150611132908863ffffffff611ea316565b6001600160a01b038085166000908152603c6020908152604080832094909455603b905291909120541680156120d3576120d38484600061202f565b60408051848152602081018490528082018890526060810187905290516001600160a01b038616917f70ff8cf632603e2bfd1afb7e4061acce53d95356b1be9726b99fa22ba733b01f919081900360800190a250505050505050565b6001600160a01b0382166121745760405162461bcd60e51b8152600401808060200182810382526021815260200180612f916021913960400191505060405180910390fd5b61218082600083611694565b6121c381604051806060016040528060228152602001612d84602291396001600160a01b038516600090815260346020526040902054919063ffffffff611a6716565b6001600160a01b0383166000908152603460205260409020556036546121ef908263ffffffff61223716565b6036556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b60006119d883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611a67565b6001600160a01b0381166000818152603b6020908152604080832080546001600160a01b03191690558051838152918201839052818101839052519192839290917f5e3cad45b1fe24159d1cb39788d82d0f69cc15770aa96fba1d3d1a7348735594919081900360600190a36001600160a01b0382166000908152603c602052604090205461232357506001600160a01b0381166000908152603a602052604081205560016108e1565b5060006108e1565b8061233557611694565b61233e836108c0565b156123ea576040516000906001600160a01b0384169061c35090849084818181858888f193505050503d8060008114612393576040519150601f19603f3d011682016040523d82523d6000602084013e612398565b606091505b50509050806123e4576040805162461bcd60e51b815260206004820152601360248201527211551217d514905394d1915497d19052531151606a1b604482015290519081900360640190fd5b50611694565b6116946001600160a01b038416838363ffffffff61280f16565b6001600160a01b031660009081526034602052604090205490565b60006119d8610b45603a6000866001600160a01b03166001600160a01b031681526020019081526020016000205461251b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d15e00537f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b1580156124e657600080fd5b505afa1580156124fa573d6000803e3d6000fd5b505050506040513d602081101561251057600080fd5b5051610b398761197e565b9063ffffffff61286116565b6001600160a01b038216612582576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61258e60008383611694565b6036546125a1908263ffffffff611ea316565b6036556001600160a01b0382166000908152603460205260409020546125cd908263ffffffff611ea316565b6001600160a01b03831660008181526034602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600081116126645760405162461bcd60e51b8152600401808060200182810382526030815260200180612f616030913960400191505060405180910390fd5b600080600061267286611efd565b9350935093505060008061268587611efd565b93509350505061269688858861202f565b6126aa87611219848963ffffffff611ea316565b6126b5888888612899565b60006126c7868863ffffffff61223716565b1580156126e65750876001600160a01b0316896001600160a01b031614155b156126f7576126f489612279565b90505b876001600160a01b0316896001600160a01b03167f89a178eaa27e0cd201bd795ca8ff716ac0df9618494510ca79771cfc66ffcde88988878661273a578961273d565b60005b60408051948552602085019390935283830191909152606083015260808201879052519081900360a00190a3505050505050505050565b60008261278357506000610995565b8282028284828161279057fe5b04146119d85760405162461bcd60e51b8152600401808060200182810382526021815260200180612e7e6021913960400191505060405180910390fd5b60006119d883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612a02565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611694908490612a67565b600060028204612891836119cc612884876b033b2e3c9fd0803ce8000000612774565b849063ffffffff611ea316565b949350505050565b6001600160a01b0383166128de5760405162461bcd60e51b8152600401808060200182810382526025815260200180612fb26025913960400191505060405180910390fd5b6001600160a01b0382166129235760405162461bcd60e51b8152600401808060200182810382526023815260200180612d616023913960400191505060405180910390fd5b61292e838383611694565b61297181604051806060016040528060268152602001612dfa602691396001600160a01b038616600090815260346020526040902054919063ffffffff611a6716565b6001600160a01b0380851660009081526034602052604080822093909355908416815220546129a6908263ffffffff611ea316565b6001600160a01b0380841660008181526034602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008183612a515760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611abb578181015183820152602001611aa3565b506000838581612a5d57fe5b0495945050505050565b6060612abc826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612b189092919063ffffffff16565b80519091501561169457808060200190516020811015612adb57600080fd5b50516116945760405162461bcd60e51b815260040180806020018281038252602a815260200180612ffb602a913960400191505060405180910390fd5b606061289184846000856060612b2d85612c8f565b612b7e576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612bbd5780518252601f199092019160209182019101612b9e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612c1f576040519150601f19603f3d011682016040523d82523d6000602084013e612c24565b606091505b50915091508115612c385791506128919050565b805115612c485780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315611abb578181015183820152602001611aa3565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590612891575050151592915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612d095782800160ff19823516178555612d36565b82800160010185558215612d36579182015b82811115612d36578235825591602001919060010190612d1b565b50612d42929150612d46565b5090565b61097a91905b80821115612d425760008155600101612d4c56fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e6365557365722063616e6e6f742072656465656d206d6f7265207468616e2074686520617661696c61626c652062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63655472616e736665727320617265206f6e6c7920616c6c6f7765642069662074686520756e6465726c79696e6720617373657420697320455448557365722063616e6e6f74206769766520616c6c6f77616e636520746f2068696d73656c66536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365496e74657265737420697320616c7265616479207265646972656374656420746f207468652075736572436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a6564496e7465726573742073747265616d2063616e206f6e6c79206265207265646972656374656420696620746865726520697320612076616c69642062616c616e63655472616e7366657272656420616d6f756e74206e6565647320746f2062652067726561746572207468616e207a65726f45524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645468652063616c6c6572206f6620746869732066756e6374696f6e206d7573742062652061206c656e64696e6720706f6f6c45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f43616c6c6572206973206e6f7420616c6c6f77656420746f2072656469726563742074686520696e746572657374206f66207468652075736572a2646970667358221220a73b18e0c6d93893805537b7fac37aa96e5e50bc6de6284247ebbf05def49dda64736f6c63430006080033'; + "0x60c0604052600080553480156200001557600080fd5b506040516200309e3803806200309e833981810160405260808110156200003b57600080fd5b815160208301516040808501805191519395929483019291846401000000008211156200006757600080fd5b9083019060208201858111156200007d57600080fd5b82516401000000008111828201881017156200009857600080fd5b82525081516020918201929091019080838360005b83811015620000c7578181015183820152602001620000ad565b50505050905090810190601f168015620000f55780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200011957600080fd5b9083019060208201858111156200012f57600080fd5b82516401000000008111828201881017156200014a57600080fd5b82525081516020918201929091019080838360005b83811015620001795781810151838201526020016200015f565b50505050905090810190601f168015620001a75780820380516001836020036101000a031916815260200191505b50604052505082518391508290620001c79060379060208501906200020e565b508051620001dd9060389060208401906200020e565b50506039805460ff191660121790555050506001600160601b0319606092831b811660a052911b16608052620002b3565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200025157805160ff191683800117855562000281565b8280016001018555821562000281579182015b828111156200028157825182559160200191906001019062000264565b506200028f92915062000293565b5090565b620002b091905b808211156200028f57600081556001016200029a565b90565b60805160601c60a05160601c612d6762000337600039806109e25280610d005280610e335280610f23528061107e52806110ed52806114c0528061159f52806117195280611c8d5280612116525080610a115280610e9c5280610ee75280611051528061111c52806114ef52806115c65280611cbc52806121455250612d676000f3fe6080604052600436106101bb5760003560e01c80634efecaa5116100ec578063a9059cbb1161008a578063db006a7511610064578063db006a751461077d578063dd62ed3e146107a7578063ee9907a4146107e2578063f866c31914610815576101c5565b8063a9059cbb146106fc578063c634dfaa14610735578063d0fc81d214610768576101c5565b806389d1a0fc116100c657806389d1a0fc1461066057806394362e8b1461067557806395d89b41146106ae578063a457c2d7146106c3576101c5565b80634efecaa5146105bb5780635eae177c146105f457806370a082311461062d576101c5565b806323b872dd11610159578063325a9b1311610133578063325a9b13146104bf57806339509351146104fa5780633edb7cb814610533578063445e80101461056c576101c5565b806323b872dd146103785780633118724e146103bb578063313ce56714610494576101c5565b80630e49072d116101955780630e49072d146102c857806312c87c2d146102fd57806318160ddd146103305780631d51e7cf14610345576101c5565b806306fdde03146101ca578063095ea7b3146102545780630bd7ad3b146102a1576101c5565b366101c557600080fd5b600080fd5b3480156101d657600080fd5b506101df610858565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610219578181015183820152602001610201565b50505050905090810190601f1680156102465780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561026057600080fd5b5061028d6004803603604081101561027757600080fd5b506001600160a01b0381351690602001356108ef565b604080519115158252519081900360200190f35b3480156102ad57600080fd5b506102b661090d565b60408051918252519081900360200190f35b3480156102d457600080fd5b506102fb600480360360208110156102eb57600080fd5b50356001600160a01b0316610912565b005b34801561030957600080fd5b506102fb6004803603602081101561032057600080fd5b50356001600160a01b031661091f565b34801561033c57600080fd5b506102b66109be565b34801561035157600080fd5b506102b66004803603602081101561036857600080fd5b50356001600160a01b0316610ac2565b34801561038457600080fd5b5061028d6004803603606081101561039b57600080fd5b506001600160a01b03813581169160208101359091169060400135610ae1565b3480156103c757600080fd5b506102fb600480360360608110156103de57600080fd5b60ff823516919081019060408101602082013564010000000081111561040357600080fd5b82018360208201111561041557600080fd5b8035906020019184600183028401116401000000008311171561043757600080fd5b91939092909160208101903564010000000081111561045557600080fd5b82018360208201111561046757600080fd5b8035906020019184600183028401116401000000008311171561048957600080fd5b509092509050610b6e565b3480156104a057600080fd5b506104a9610c32565b6040805160ff9092168252519081900360200190f35b3480156104cb57600080fd5b506102fb600480360360408110156104e257600080fd5b506001600160a01b0381358116916020013516610c3b565b34801561050657600080fd5b5061028d6004803603604081101561051d57600080fd5b506001600160a01b038135169060200135610ca1565b34801561053f57600080fd5b506102fb6004803603604081101561055657600080fd5b506001600160a01b038135169060200135610cf5565b34801561057857600080fd5b5061059f6004803603602081101561058f57600080fd5b50356001600160a01b0316610e08565b604080516001600160a01b039092168252519081900360200190f35b3480156105c757600080fd5b506102b6600480360360408110156105de57600080fd5b506001600160a01b038135169060200135610e26565b34801561060057600080fd5b5061028d6004803603604081101561061757600080fd5b506001600160a01b038135169060200135610ecf565b34801561063957600080fd5b506102b66004803603602081101561065057600080fd5b50356001600160a01b0316610f9c565b34801561066c57600080fd5b5061059f61104f565b34801561068157600080fd5b506102fb6004803603604081101561069857600080fd5b506001600160a01b038135169060200135611073565b3480156106ba57600080fd5b506101df611250565b3480156106cf57600080fd5b5061028d600480360360408110156106e657600080fd5b506001600160a01b0381351690602001356112b1565b34801561070857600080fd5b5061028d6004803603604081101561071f57600080fd5b506001600160a01b03813516906020013561131f565b34801561074157600080fd5b506102b66004803603602081101561075857600080fd5b50356001600160a01b0316611333565b34801561077457600080fd5b506102b661133e565b34801561078957600080fd5b506102fb600480360360208110156107a057600080fd5b5035611344565b3480156107b357600080fd5b506102b6600480360360408110156107ca57600080fd5b506001600160a01b03813581169160200135166116c8565b3480156107ee57600080fd5b506102b66004803603602081101561080557600080fd5b50356001600160a01b03166116f3565b34801561082157600080fd5b506102fb6004803603606081101561083857600080fd5b506001600160a01b0381358116916020810135909116906040013561170e565b60378054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108e45780601f106108b9576101008083540402835291602001916108e4565b820191906000526020600020905b8154815290600101906020018083116108c757829003601f168201915b505050505090505b90565b60006109036108fc611785565b8484611789565b5060015b92915050565b600181565b61091c3382611875565b50565b6001600160a01b0381163314156109675760405162461bcd60e51b8152600401808060200182810382526025815260200180612ad56025913960400191505060405180910390fd5b336000818152603d602052604080822080546001600160a01b0319166001600160a01b03861690811790915590519092917fc2d6a42a9d5273283f73009a07aacfb043f2f91173a8d9d33b504afe898db08b91a350565b6000806109c9611a64565b9050806109da5760009150506108ec565b610abc610ab77f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d15e00537f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610a7657600080fd5b505afa158015610a8a573d6000803e3d6000fd5b505050506040513d6020811015610aa057600080fd5b5051610aab84611a6a565b9063ffffffff611a8016565b611acb565b91505090565b6001600160a01b0381166000908152603c60205260409020545b919050565b6000610aee848484611ae4565b610b6484610afa611785565b610b5f85604051806060016040528060288152602001612b1b602891396001600160a01b038a16600090815260356020526040812090610b38611785565b6001600160a01b03168152602081019190915260400160002054919063ffffffff611b5316565b611789565b5060019392505050565b6000610b78611bea565b60015490915060ff1680610b8f5750610b8f611bef565b80610b9b575060005481115b610bd65760405162461bcd60e51b815260040180806020018281038252602e815260200180612b6d602e913960400191505060405180910390fd5b60015460ff16158015610bf5576001805460ff19168117905560008290555b610c016037878761297d565b50610c0e6038858561297d565b50610c1887611bf5565b8015610c29576001805460ff191690555b50505050505050565b60395460ff1690565b6001600160a01b038281166000908152603d6020526040902054163314610c935760405162461bcd60e51b815260040180806020018281038252603a815260200180612cf8603a913960400191505060405180910390fd5b610c9d8282611875565b5050565b6000610903610cae611785565b84610b5f8560356000610cbf611785565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff611c0b16565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610d5c5760405162461bcd60e51b8152600401808060200182810382526032815260200180612ca16032913960400191505060405180910390fd5b6000806000610d6a85611c65565b93509350935050610d7c858386611d7a565b610d868585611e7a565b6000610d98848663ffffffff611f8216565b610da857610da586611fc4565b90505b856001600160a01b03167f90e5d3d68ec162d9c7de393037a3ede04dd44f68e051bf2ace4a73c299dbc4db868584610de05785610de3565b60005b60408051938452602084019290925282820152519081900360600190a2505050505050565b6001600160a01b039081166000908152603b60205260409020541690565b6000336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610e8f5760405162461bcd60e51b8152600401808060200182810382526032815260200180612ca16032913960400191505060405180910390fd5b610ec96001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016848463ffffffff61207616565b50919050565b604080516376e9d61560e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116600483015284811660248301526044820184905291516000927f000000000000000000000000000000000000000000000000000000000000000016916376e9d615916064808301926020929190829003018186803b158015610f6957600080fd5b505afa158015610f7d573d6000803e3d6000fd5b505050506040513d6020811015610f9357600080fd5b50519392505050565b600080610fa8836120c8565b6001600160a01b0384166000908152603c602052604090205490915081158015610fd0575080155b15610fe057600092505050610adc565b6001600160a01b038481166000908152603b602052604090205416611031576110288161101c86611017868463ffffffff611c0b16565b6120e3565b9063ffffffff611f8216565b92505050610adc565b6110286110428261101c87856120e3565b839063ffffffff611c0b16565b7f000000000000000000000000000000000000000000000000000000000000000081565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146110da5760405162461bcd60e51b8152600401808060200182810382526032815260200180612ca16032913960400191505060405180910390fd5b60006110e5836121eb565b9250505060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d15e00537f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561118157600080fd5b505afa158015611195573d6000803e3d6000fd5b505050506040513d60208110156111ab57600080fd5b50516001600160a01b0385166000908152603a6020526040902081905590506111e5846111de848663ffffffff611c0b16565b6000611d7a565b6111fe846111f9858563ffffffff611c0b16565b61222e565b604080518481526020810184905280820183905290516001600160a01b038616917fbe7799898ca2d813ff902b487c1b434ab45b47edd8f38b77ad5e99aae8341b7a919081900360600190a250505050565b60388054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108e45780601f106108b9576101008083540402835291602001916108e4565b60006109036112be611785565b84610b5f85604051806060016040528060258152602001612cd360259139603560006112e8611785565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff611b5316565b600061090361132c611785565b8484611ae4565b6000610907826120c8565b60001981565b60008111611399576040805162461bcd60e51b815260206004820181905260248201527f416d6f756e7420746f2072656465656d206e6565647320746f206265203e2030604482015290519081900360640190fd5b6000806113a5336121eb565b90935091508390506000198114156113ba5750815b828111156113f95760405162461bcd60e51b8152600401808060200182810382526032815260200180612a5b6032913960400191505060405180910390fd5b6114033382610ecf565b611454576040805162461bcd60e51b815260206004820152601b60248201527f5472616e736665722063616e6e6f7420626520616c6c6f7765642e0000000000604482015290519081900360640190fd5b61145f338383611d7a565b808211156114805761147b336111f9848463ffffffff611f8216565b611499565b61149933611494838563ffffffff611f8216565b611e7a565b60006114ab848363ffffffff611f8216565b6114be576114b833611fc4565b50611595565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d15e00537f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561155457600080fd5b505afa158015611568573d6000803e3d6000fd5b505050506040513d602081101561157e57600080fd5b5051336000908152603a6020526040902081905590505b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016639895e3d87f000000000000000000000000000000000000000000000000000000000000000033856115f7898263ffffffff611f8216565b6040518563ffffffff1660e01b815260040180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b03168152602001838152602001828152602001945050505050600060405180830381600087803b15801561166657600080fd5b505af115801561167a573d6000803e3d6000fd5b5050604080518581526020810187905280820185905290513393507fbd5034ffbd47e4e72a94baa2cdb74c6fad73cb3bcdc13036b72ec8306f5a764692509081900360600190a25050505050565b6001600160a01b03918216600090815260356020908152604080832093909416825291909152205490565b6001600160a01b03166000908152603a602052604090205490565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146117755760405162461bcd60e51b8152600401808060200182810382526032815260200180612ca16032913960400191505060405180910390fd5b61178083838361232c565b505050565b3390565b6001600160a01b0383166117ce5760405162461bcd60e51b8152600401808060200182810382526024815260200180612c536024913960400191505060405180910390fd5b6001600160a01b0382166118135760405162461bcd60e51b8152600401808060200182810382526022815260200180612a8d6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260356020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038083166000908152603b602052604090205481169082168114156118d25760405162461bcd60e51b815260040180806020018281038252602a815260200180612b43602a913960400191505060405180910390fd5b6000806000806118e187611c65565b9350935093509350600083116119285760405162461bcd60e51b8152600401808060200182810382526042815260200180612b9b6042913960600191505060405180910390fd5b6001600160a01b038516156119435761194387600086611d7a565b866001600160a01b0316866001600160a01b031614156119cf576001600160a01b0387166000818152603b6020908152604080832080546001600160a01b03191690558051878152918201869052818101859052519192917f5e3cad45b1fe24159d1cb39788d82d0f69cc15770aa96fba1d3d1a73487355949181900360600190a35050505050610c9d565b6001600160a01b038781166000908152603b6020526040812080546001600160a01b03191692891692909217909155611a0b9088908590611d7a565b604080518481526020810184905280820183905290516001600160a01b0380891692908a16917f5e3cad45b1fe24159d1cb39788d82d0f69cc15770aa96fba1d3d1a73487355949181900360600190a350505050505050565b60365490565b600061090782633b9aca0063ffffffff61247b16565b6000611ac46b033b2e3c9fd0803ce8000000611ab8611aa5868663ffffffff61247b16565b6b019d971e4fe8401e7400000090611c0b565b9063ffffffff6124d416565b9392505050565b6000631dcd6500611ac4633b9aca00611ab88386611c0b565b8281611af08282610ecf565b611b41576040805162461bcd60e51b815260206004820152601b60248201527f5472616e736665722063616e6e6f7420626520616c6c6f7765642e0000000000604482015290519081900360640190fd5b611b4c85858561232c565b5050505050565b60008184841115611be25760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611ba7578181015183820152602001611b8f565b50505050905090810190601f168015611bd45780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600190565b303b1590565b6039805460ff191660ff92909216919091179055565b600082820183811015611ac4576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000806000806000806000611c79886121eb565b925092509250611c89888261222e565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d15e00537f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015611d2157600080fd5b505afa158015611d35573d6000803e3d6000fd5b505050506040513d6020811015611d4b57600080fd5b50516001600160a01b03999099166000908152603a602052604090208990555091979096919550909350915050565b6001600160a01b038084166000908152603b60205260409020541680611da05750611780565b600080611dac83611c65565b6001600160a01b0387166000908152603c60205260409020549195509350611de2925086915061101c908863ffffffff611c0b16565b6001600160a01b038085166000908152603c6020908152604080832094909455603b90529190912054168015611e1e57611e1e84846000611d7a565b60408051848152602081018490528082018890526060810187905290516001600160a01b038616917f70ff8cf632603e2bfd1afb7e4061acce53d95356b1be9726b99fa22ba733b01f919081900360800190a250505050505050565b6001600160a01b038216611ebf5760405162461bcd60e51b8152600401808060200182810382526021815260200180612c0d6021913960400191505060405180910390fd5b611ecb82600083611780565b611f0e81604051806060016040528060228152602001612a39602291396001600160a01b038516600090815260346020526040902054919063ffffffff611b5316565b6001600160a01b038316600090815260346020526040902055603654611f3a908263ffffffff611f8216565b6036556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000611ac483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611b53565b6001600160a01b0381166000818152603b6020908152604080832080546001600160a01b03191690558051838152918201839052818101839052519192839290917f5e3cad45b1fe24159d1cb39788d82d0f69cc15770aa96fba1d3d1a7348735594919081900360600190a36001600160a01b0382166000908152603c602052604090205461206e57506001600160a01b0381166000908152603a60205260408120556001610adc565b506000610adc565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611780908490612516565b6001600160a01b031660009081526034602052604090205490565b6000611ac4610ab7603a6000866001600160a01b03166001600160a01b03168152602001908152602001600020546121df7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d15e00537f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b1580156121aa57600080fd5b505afa1580156121be573d6000803e3d6000fd5b505050506040513d60208110156121d457600080fd5b5051610aab87611a6a565b9063ffffffff6125c716565b6000806000806121fa85610f9c565b905060008082156122235761220e876120c8565b9050612220838263ffffffff611f8216565b91505b969195509350915050565b6001600160a01b038216612289576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61229560008383611780565b6036546122a8908263ffffffff611c0b16565b6036556001600160a01b0382166000908152603460205260409020546122d4908263ffffffff611c0b16565b6001600160a01b03831660008181526034602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000811161236b5760405162461bcd60e51b8152600401808060200182810382526030815260200180612bdd6030913960400191505060405180910390fd5b600080600061237986611c65565b9350935093505060008061238c87611c65565b93509350505061239d888588611d7a565b6123b1876111de848963ffffffff611c0b16565b6123bc8888886125ff565b60006123ce868863ffffffff611f8216565b1580156123ed5750876001600160a01b0316896001600160a01b031614155b156123fe576123fb89611fc4565b90505b876001600160a01b0316896001600160a01b03167f89a178eaa27e0cd201bd795ca8ff716ac0df9618494510ca79771cfc66ffcde8898887866124415789612444565b60005b60408051948552602085019390935283830191909152606083015260808201879052519081900360a00190a3505050505050505050565b60008261248a57506000610907565b8282028284828161249757fe5b0414611ac45760405162461bcd60e51b8152600401808060200182810382526021815260200180612afa6021913960400191505060405180910390fd5b6000611ac483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612768565b606061256b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166127cd9092919063ffffffff16565b8051909150156117805780806020019051602081101561258a57600080fd5b50516117805760405162461bcd60e51b815260040180806020018281038252602a815260200180612c77602a913960400191505060405180910390fd5b6000600282046125f783611ab86125ea876b033b2e3c9fd0803ce800000061247b565b849063ffffffff611c0b16565b949350505050565b6001600160a01b0383166126445760405162461bcd60e51b8152600401808060200182810382526025815260200180612c2e6025913960400191505060405180910390fd5b6001600160a01b0382166126895760405162461bcd60e51b8152600401808060200182810382526023815260200180612a166023913960400191505060405180910390fd5b612694838383611780565b6126d781604051806060016040528060268152602001612aaf602691396001600160a01b038616600090815260346020526040902054919063ffffffff611b5316565b6001600160a01b03808516600090815260346020526040808220939093559084168152205461270c908263ffffffff611c0b16565b6001600160a01b0380841660008181526034602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081836127b75760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611ba7578181015183820152602001611b8f565b5060008385816127c357fe5b0495945050505050565b60606125f7848460008560606127e285612944565b612833576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106128725780518252601f199092019160209182019101612853565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146128d4576040519150601f19603f3d011682016040523d82523d6000602084013e6128d9565b606091505b509150915081156128ed5791506125f79050565b8051156128fd5780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315611ba7578181015183820152602001611b8f565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906125f7575050151592915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106129be5782800160ff198235161785556129eb565b828001600101855582156129eb579182015b828111156129eb5782358255916020019190600101906129d0565b506129f79291506129fb565b5090565b6108ec91905b808211156129f75760008155600101612a0156fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e6365557365722063616e6e6f742072656465656d206d6f7265207468616e2074686520617661696c61626c652062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365557365722063616e6e6f74206769766520616c6c6f77616e636520746f2068696d73656c66536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365496e74657265737420697320616c7265616479207265646972656374656420746f207468652075736572436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a6564496e7465726573742073747265616d2063616e206f6e6c79206265207265646972656374656420696620746865726520697320612076616c69642062616c616e63655472616e7366657272656420616d6f756e74206e6565647320746f2062652067726561746572207468616e207a65726f45524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645468652063616c6c6572206f6620746869732066756e6374696f6e206d7573742062652061206c656e64696e6720706f6f6c45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f43616c6c6572206973206e6f7420616c6c6f77656420746f2072656469726563742074686520696e746572657374206f66207468652075736572a2646970667358221220258e8c9ec7d12c303bbae0e567d6f58b851271b041b595753e427ecd117c6ce464736f6c63430006080033"; diff --git a/types/AaveProtocolTestHelpersFactory.ts b/types/AaveProtocolTestHelpersFactory.ts index ef7c2ce8..b3abebb2 100644 --- a/types/AaveProtocolTestHelpersFactory.ts +++ b/types/AaveProtocolTestHelpersFactory.ts @@ -1,12 +1,12 @@ /* Generated by ts-generator ver. 0.0.8 */ /* tslint:disable */ -import {Contract, ContractFactory, Signer} from 'ethers'; -import {Provider} from 'ethers/providers'; -import {UnsignedTransaction} from 'ethers/utils/transaction'; +import { Contract, ContractFactory, Signer } from "ethers"; +import { Provider } from "ethers/providers"; +import { UnsignedTransaction } from "ethers/utils/transaction"; -import {TransactionOverrides} from '.'; -import {AaveProtocolTestHelpers} from './AaveProtocolTestHelpers'; +import { TransactionOverrides } from "."; +import { AaveProtocolTestHelpers } from "./AaveProtocolTestHelpers"; export class AaveProtocolTestHelpersFactory extends ContractFactory { constructor(signer?: Signer) { @@ -17,7 +17,9 @@ export class AaveProtocolTestHelpersFactory extends ContractFactory { addressesProvider: string, overrides?: TransactionOverrides ): Promise { - return super.deploy(addressesProvider, overrides) as Promise; + return super.deploy(addressesProvider, overrides) as Promise< + AaveProtocolTestHelpers + >; } getDeployTransaction( addressesProvider: string, @@ -31,8 +33,15 @@ export class AaveProtocolTestHelpersFactory extends ContractFactory { connect(signer: Signer): AaveProtocolTestHelpersFactory { return super.connect(signer) as AaveProtocolTestHelpersFactory; } - static connect(address: string, signerOrProvider: Signer | Provider): AaveProtocolTestHelpers { - return new Contract(address, _abi, signerOrProvider) as AaveProtocolTestHelpers; + static connect( + address: string, + signerOrProvider: Signer | Provider + ): AaveProtocolTestHelpers { + return new Contract( + address, + _abi, + signerOrProvider + ) as AaveProtocolTestHelpers; } } @@ -40,78 +49,78 @@ const _abi = [ { inputs: [ { - internalType: 'contract ILendingPoolAddressesProvider', - name: 'addressesProvider', - type: 'address', - }, + internalType: "contract ILendingPoolAddressesProvider", + name: "addressesProvider", + type: "address" + } ], - stateMutability: 'nonpayable', - type: 'constructor', + stateMutability: "nonpayable", + type: "constructor" }, { inputs: [], - name: 'ADDRESSES_PROVIDER', + name: "ADDRESSES_PROVIDER", outputs: [ { - internalType: 'contract ILendingPoolAddressesProvider', - name: '', - type: 'address', - }, + internalType: "contract ILendingPoolAddressesProvider", + name: "", + type: "address" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [], - name: 'getAllATokens', + name: "getAllATokens", outputs: [ { components: [ { - internalType: 'string', - name: 'symbol', - type: 'string', + internalType: "string", + name: "symbol", + type: "string" }, { - internalType: 'address', - name: 'tokenAddress', - type: 'address', - }, + internalType: "address", + name: "tokenAddress", + type: "address" + } ], - internalType: 'struct AaveProtocolTestHelpers.TokenData[]', - name: '', - type: 'tuple[]', - }, + internalType: "struct AaveProtocolTestHelpers.TokenData[]", + name: "", + type: "tuple[]" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [], - name: 'getAllReservesTokens', + name: "getAllReservesTokens", outputs: [ { components: [ { - internalType: 'string', - name: 'symbol', - type: 'string', + internalType: "string", + name: "symbol", + type: "string" }, { - internalType: 'address', - name: 'tokenAddress', - type: 'address', - }, + internalType: "address", + name: "tokenAddress", + type: "address" + } ], - internalType: 'struct AaveProtocolTestHelpers.TokenData[]', - name: '', - type: 'tuple[]', - }, + internalType: "struct AaveProtocolTestHelpers.TokenData[]", + name: "", + type: "tuple[]" + } ], - stateMutability: 'view', - type: 'function', - }, + stateMutability: "view", + type: "function" + } ]; const _bytecode = - '0x60a060405234801561001057600080fd5b506040516109e23803806109e283398101604081905261002f91610044565b60601b6001600160601b031916608052610072565b600060208284031215610055578081fd5b81516001600160a01b038116811461006b578182fd5b9392505050565b60805160601c61094b610097600039806083528060ab528061035f525061094b6000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80630542975c14610046578063b316ff8914610064578063f561ae4114610079575b600080fd5b61004e610081565b60405161005b91906107fa565b60405180910390f35b61006c6100a5565b60405161005b919061080e565b61006c610359565b7f000000000000000000000000000000000000000000000000000000000000000081565b606060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316630261bf8b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561010257600080fd5b505afa158015610116573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061013a9190610648565b90506060816001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160006040518083038186803b15801561017757600080fd5b505afa15801561018b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101b391908101906106b6565b90506060815167ffffffffffffffff811180156101cf57600080fd5b5060405190808252806020026020018201604052801561020957816020015b6101f6610613565b8152602001906001900390816101ee5790505b50905060005b825181101561035157604051806040016040528084838151811061022f57fe5b60200260200101516001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b0316146102f05784838151811061026f57fe5b60200260200101516001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b1580156102af57600080fd5b505afa1580156102c3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526102eb9190810190610761565b61030d565b6040518060400160405280600381526020016208aa8960eb1b8152505b815260200184838151811061031e57fe5b60200260200101516001600160a01b031681525082828151811061033e57fe5b602090810291909101015260010161020f565b509250505090565b606060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316630261bf8b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156103b657600080fd5b505afa1580156103ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ee9190610648565b90506060816001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160006040518083038186803b15801561042b57600080fd5b505afa15801561043f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261046791908101906106b6565b90506060815167ffffffffffffffff8111801561048357600080fd5b506040519080825280602002602001820160405280156104bd57816020015b6104aa610613565b8152602001906001900390816104a25790505b50905060005b8251811015610351576000846001600160a01b031663d2493b6c8584815181106104e957fe5b60200260200101516040518263ffffffff1660e01b815260040161050d91906107fa565b60606040518083038186803b15801561052557600080fd5b505afa158015610539573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055d919061066a565b505090506040518060400160405280826001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b1580156105a557600080fd5b505afa1580156105b9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105e19190810190610761565b8152602001826001600160a01b03168152508383815181106105ff57fe5b6020908102919091010152506001016104c3565b60408051808201909152606081526000602082015290565b80516001600160a01b038116811461064257600080fd5b92915050565b600060208284031215610659578081fd5b610663838361062b565b9392505050565b60008060006060848603121561067e578182fd5b8351610689816108fd565b602085015190935061069a816108fd565b60408501519092506106ab816108fd565b809150509250925092565b600060208083850312156106c8578182fd5b825167ffffffffffffffff808211156106df578384fd5b81850186601f8201126106f0578485fd5b8051925081831115610700578485fd5b83830291506107108483016108a6565b8381528481019082860184840187018a101561072a578788fd5b8794505b85851015610754576107408a8261062b565b83526001949094019391860191860161072e565b5098975050505050505050565b600060208284031215610772578081fd5b815167ffffffffffffffff80821115610789578283fd5b81840185601f82011261079a578384fd5b80519250818311156107aa578384fd5b6107bd601f8401601f19166020016108a6565b91508282528560208483010111156107d3578384fd5b6107e48360208401602084016108cd565b50949350505050565b6001600160a01b03169052565b6001600160a01b0391909116815260200190565b60208082528251828201819052600091906040908185019080840286018301878501865b8381101561089857603f1989840301855281518051878552805180898701526060610862828289018d86016108cd565b8a84015192506108748b8801846107ed565b978a0197601f91909101601f19169590950190940193505090860190600101610832565b509098975050505050505050565b60405181810167ffffffffffffffff811182821017156108c557600080fd5b604052919050565b60005b838110156108e85781810151838201526020016108d0565b838111156108f7576000848401525b50505050565b6001600160a01b038116811461091257600080fd5b5056fea264697066735822122002fd380ba8451ebdd050e0ae0f7369cd2895f03f63ba573449a2fc6b903037b864736f6c63430006080033'; + "0x60a060405234801561001057600080fd5b506040516109df3803806109df83398101604081905261002f91610044565b60601b6001600160601b031916608052610072565b600060208284031215610055578081fd5b81516001600160a01b038116811461006b578182fd5b9392505050565b60805160601c610948610097600039806083528060ab528061035f52506109486000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80630542975c14610046578063b316ff8914610064578063f561ae4114610079575b600080fd5b61004e610081565b60405161005b91906107ed565b60405180910390f35b61006c6100a5565b60405161005b9190610801565b61006c610359565b7f000000000000000000000000000000000000000000000000000000000000000081565b606060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316630261bf8b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561010257600080fd5b505afa158015610116573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061013a9190610648565b90506060816001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160006040518083038186803b15801561017757600080fd5b505afa15801561018b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101b391908101906106b6565b90506060815167ffffffffffffffff811180156101cf57600080fd5b5060405190808252806020026020018201604052801561020957816020015b6101f6610613565b8152602001906001900390816101ee5790505b50905060005b825181101561035157604051806040016040528084838151811061022f57fe5b60200260200101516001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b0316146102f05784838151811061026f57fe5b60200260200101516001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b1580156102af57600080fd5b505afa1580156102c3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526102eb9190810190610761565b61030d565b6040518060400160405280600381526020016208aa8960eb1b8152505b815260200184838151811061031e57fe5b60200260200101516001600160a01b031681525082828151811061033e57fe5b602090810291909101015260010161020f565b509250505090565b606060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316630261bf8b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156103b657600080fd5b505afa1580156103ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ee9190610648565b90506060816001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160006040518083038186803b15801561042b57600080fd5b505afa15801561043f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261046791908101906106b6565b90506060815167ffffffffffffffff8111801561048357600080fd5b506040519080825280602002602001820160405280156104bd57816020015b6104aa610613565b8152602001906001900390816104a25790505b50905060005b8251811015610351576000846001600160a01b031663d2493b6c8584815181106104e957fe5b60200260200101516040518263ffffffff1660e01b815260040161050d91906107ed565b60606040518083038186803b15801561052557600080fd5b505afa158015610539573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055d919061066a565b505090506040518060400160405280826001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b1580156105a557600080fd5b505afa1580156105b9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105e19190810190610761565b8152602001826001600160a01b03168152508383815181106105ff57fe5b6020908102919091010152506001016104c3565b60408051808201909152606081526000602082015290565b80516001600160a01b038116811461064257600080fd5b92915050565b600060208284031215610659578081fd5b610663838361062b565b9392505050565b60008060006060848603121561067e578182fd5b8351610689816108fa565b602085015190935061069a816108fa565b60408501519092506106ab816108fa565b809150509250925092565b600060208083850312156106c8578182fd5b825167ffffffffffffffff808211156106df578384fd5b81850186601f8201126106f0578485fd5b8051925081831115610700578485fd5b838302915061071084830161089a565b8381528481019082860184840187018a101561072a578788fd5b8794505b85851015610754576107408a8261062b565b83526001949094019391860191860161072e565b5098975050505050505050565b600060208284031215610772578081fd5b815167ffffffffffffffff80821115610789578283fd5b81840185601f82011261079a578384fd5b80519250818311156107aa578384fd5b6107bd601f8401601f191660200161089a565b91508282528560208483010111156107d3578384fd5b6107e48360208401602084016108ca565b50949350505050565b6001600160a01b0391909116815260200190565b60208082528251828201819052600091906040908185019080840286018301878501865b8381101561088c57888303603f1901855281518051878552805161084b818a88016108c1565b61085882828d86016108ca565b928a01516001600160a01b0316958a01959095525094870194601f93909301601f1916929092019190860190600101610825565b509098975050505050505050565b60405181810167ffffffffffffffff811182821017156108b957600080fd5b604052919050565b90815260200190565b60005b838110156108e55781810151838201526020016108cd565b838111156108f4576000848401525b50505050565b6001600160a01b038116811461090f57600080fd5b5056fea26469706673582212204882c43ff36f44dd061d94d4edb41f8db47ade6e4862ffb0445bd1ae59410c2364736f6c63430006080033"; diff --git a/types/AdminUpgradeabilityProxyFactory.ts b/types/AdminUpgradeabilityProxyFactory.ts index 81c185e5..98938278 100644 --- a/types/AdminUpgradeabilityProxyFactory.ts +++ b/types/AdminUpgradeabilityProxyFactory.ts @@ -1,13 +1,13 @@ /* Generated by ts-generator ver. 0.0.8 */ /* tslint:disable */ -import {Contract, ContractFactory, Signer} from 'ethers'; -import {Provider} from 'ethers/providers'; -import {UnsignedTransaction} from 'ethers/utils/transaction'; -import {Arrayish} from 'ethers/utils'; +import { Contract, ContractFactory, Signer } from "ethers"; +import { Provider } from "ethers/providers"; +import { UnsignedTransaction } from "ethers/utils/transaction"; +import { Arrayish } from "ethers/utils"; -import {TransactionOverrides} from '.'; -import {AdminUpgradeabilityProxy} from './AdminUpgradeabilityProxy'; +import { TransactionOverrides } from "."; +import { AdminUpgradeabilityProxy } from "./AdminUpgradeabilityProxy"; export class AdminUpgradeabilityProxyFactory extends ContractFactory { constructor(signer?: Signer) { @@ -20,7 +20,9 @@ export class AdminUpgradeabilityProxyFactory extends ContractFactory { _data: Arrayish, overrides?: TransactionOverrides ): Promise { - return super.deploy(_logic, _admin, _data, overrides) as Promise; + return super.deploy(_logic, _admin, _data, overrides) as Promise< + AdminUpgradeabilityProxy + >; } getDeployTransaction( _logic: string, @@ -36,8 +38,15 @@ export class AdminUpgradeabilityProxyFactory extends ContractFactory { connect(signer: Signer): AdminUpgradeabilityProxyFactory { return super.connect(signer) as AdminUpgradeabilityProxyFactory; } - static connect(address: string, signerOrProvider: Signer | Provider): AdminUpgradeabilityProxy { - return new Contract(address, _abi, signerOrProvider) as AdminUpgradeabilityProxy; + static connect( + address: string, + signerOrProvider: Signer | Provider + ): AdminUpgradeabilityProxy { + return new Contract( + address, + _abi, + signerOrProvider + ) as AdminUpgradeabilityProxy; } } @@ -45,131 +54,131 @@ const _abi = [ { inputs: [ { - internalType: 'address', - name: '_logic', - type: 'address', + internalType: "address", + name: "_logic", + type: "address" }, { - internalType: 'address', - name: '_admin', - type: 'address', + internalType: "address", + name: "_admin", + type: "address" }, { - internalType: 'bytes', - name: '_data', - type: 'bytes', - }, + internalType: "bytes", + name: "_data", + type: "bytes" + } ], - stateMutability: 'payable', - type: 'constructor', + stateMutability: "payable", + type: "constructor" }, { anonymous: false, inputs: [ { indexed: false, - internalType: 'address', - name: 'previousAdmin', - type: 'address', + internalType: "address", + name: "previousAdmin", + type: "address" }, { indexed: false, - internalType: 'address', - name: 'newAdmin', - type: 'address', - }, + internalType: "address", + name: "newAdmin", + type: "address" + } ], - name: 'AdminChanged', - type: 'event', + name: "AdminChanged", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: 'implementation', - type: 'address', - }, + internalType: "address", + name: "implementation", + type: "address" + } ], - name: 'Upgraded', - type: 'event', + name: "Upgraded", + type: "event" }, { - stateMutability: 'payable', - type: 'fallback', + stateMutability: "payable", + type: "fallback" }, { inputs: [], - name: 'admin', + name: "admin", outputs: [ { - internalType: 'address', - name: '', - type: 'address', - }, + internalType: "address", + name: "", + type: "address" + } ], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: 'newAdmin', - type: 'address', - }, + internalType: "address", + name: "newAdmin", + type: "address" + } ], - name: 'changeAdmin', + name: "changeAdmin", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [], - name: 'implementation', + name: "implementation", outputs: [ { - internalType: 'address', - name: '', - type: 'address', - }, + internalType: "address", + name: "", + type: "address" + } ], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: 'newImplementation', - type: 'address', - }, + internalType: "address", + name: "newImplementation", + type: "address" + } ], - name: 'upgradeTo', + name: "upgradeTo", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: 'newImplementation', - type: 'address', + internalType: "address", + name: "newImplementation", + type: "address" }, { - internalType: 'bytes', - name: 'data', - type: 'bytes', - }, + internalType: "bytes", + name: "data", + type: "bytes" + } ], - name: 'upgradeToAndCall', + name: "upgradeToAndCall", outputs: [], - stateMutability: 'payable', - type: 'function', - }, + stateMutability: "payable", + type: "function" + } ]; const _bytecode = - '0x608060405260405162000e8138038062000e81833981810160405260608110156200002957600080fd5b815160208301516040808501805191519395929483019291846401000000008211156200005557600080fd5b9083019060208201858111156200006b57600080fd5b82516401000000008111828201881017156200008657600080fd5b82525081516020918201929091019080838360005b83811015620000b55781810151838201526020016200009b565b50505050905090810190601f168015620000e35780820380516001836020036101000a031916815260200191505b5060408181527f656970313936372e70726f78792e696d706c656d656e746174696f6e0000000082525190819003601c01902086935084925060008051602062000e268339815191526000199091011490506200013c57fe5b62000150826001600160e01b036200027d16565b8051156200020e576000826001600160a01b0316826040518082805190602001908083835b60208310620001965780518252601f19909201916020918201910162000175565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114620001f8576040519150601f19603f3d011682016040523d82523d6000602084013e620001fd565b606091505b50509050806200020c57600080fd5b505b5050604080517f656970313936372e70726f78792e61646d696e000000000000000000000000008152905190819003601301902060008051602062000e06833981519152600019909101146200026057fe5b62000274826001600160e01b03620002e316565b50505062000333565b6200029381620002f660201b620004781760201c565b620002d05760405162461bcd60e51b815260040180806020018281038252603b81526020018062000e46603b913960400191505060405180910390fd5b60008051602062000e2683398151915255565b60008051602062000e0683398151915255565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906200032b57508115155b949350505050565b610ac380620003436000396000f3fe60806040526004361061004a5760003560e01c80633659cfe6146100545780634f1ef286146100875780635c60da1b146101075780638f28397014610138578063f851a4401461016b575b610052610180565b005b34801561006057600080fd5b506100526004803603602081101561007757600080fd5b50356001600160a01b031661019a565b6100526004803603604081101561009d57600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156100c857600080fd5b8201836020820111156100da57600080fd5b803590602001918460018302840111640100000000831117156100fc57600080fd5b5090925090506101d4565b34801561011357600080fd5b5061011c610356565b604080516001600160a01b039092168252519081900360200190f35b34801561014457600080fd5b506100526004803603602081101561015b57600080fd5b50356001600160a01b0316610393565b34801561017757600080fd5b5061011c61044d565b6101886104b4565b6101986101936104bc565b6104e1565b565b6101a2610505565b6001600160a01b0316336001600160a01b031614156101c9576101c48161052a565b6101d1565b6101d1610180565b50565b6101dc610505565b6001600160a01b0316336001600160a01b03161415610349576102336040518060400160405280601781526020017f496e736964652075706772616465546f416e6443616c6c00000000000000000081525061056a565b61023c8361052a565b61026560405180604001604052806008815260200167155c19dc9859195960c21b81525061056a565b6102946040518060400160405280600d81526020016c4164647265737320697320257360981b815250846106ac565b6000836001600160a01b031683836040518083838082843760405192019450600093509091505080830381855af49150503d80600081146102f1576040519150601f19603f3d011682016040523d82523d6000602084013e6102f6565b606091505b505090506103396040518060400160405280601d81526020017f44656c65676174652063616c6c20646f6e652c20726573756c7420257300000081525082610813565b8061034357600080fd5b50610351565b610351610180565b505050565b6000610360610505565b6001600160a01b0316336001600160a01b03161415610388576103816104bc565b9050610390565b610390610180565b90565b61039b610505565b6001600160a01b0316336001600160a01b031614156101c9576001600160a01b0381166103f95760405162461bcd60e51b8152600401808060200182810382526036815260200180610a1d6036913960400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f610422610505565b604080516001600160a01b03928316815291841660208301528051918290030190a16101c4816108fe565b6000610457610505565b6001600160a01b0316336001600160a01b0316141561038857610381610505565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906104ac57508115155b949350505050565b610198610922565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e808015610500573d6000f35b3d6000fd5b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b61053381610982565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6040516020602482018181528351604484015283516000936a636f6e736f6c652e6c6f67938693928392606401918501908083838a5b838110156105b85781810151838201526020016105a0565b50505050905090810190601f1680156105e55780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b031663104c13eb60e21b178152905182519295509350839250908083835b602083106106405780518252601f199092019160209182019101610621565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d80600081146106a0576040519150601f19603f3d011682016040523d82523d6000602084013e6106a5565b606091505b5050505050565b60006a636f6e736f6c652e6c6f676001600160a01b031683836040516024018080602001836001600160a01b03166001600160a01b03168152602001828103825284818151815260200191508051906020019080838360005b8381101561071d578181015183820152602001610705565b50505050905090810190601f16801561074a5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b031663319af33360e01b17815290518251929650945084935091508083835b602083106107a65780518252601f199092019160209182019101610787565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114610806576040519150601f19603f3d011682016040523d82523d6000602084013e61080b565b606091505b505050505050565b60006a636f6e736f6c652e6c6f676001600160a01b03168383604051602401808060200183151515158152602001828103825284818151815260200191508051906020019080838360005b8381101561087657818101518382015260200161085e565b50505050905090810190601f1680156108a35780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b031663c3b5563560e01b1781529051825192965094508493509150808383602083106107a65780518252601f199092019160209182019101610787565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b61092a610505565b6001600160a01b0316336001600160a01b0316141561097a5760405162461bcd60e51b81526004018080602001828103825260328152602001806109eb6032913960400191505060405180910390fd5b610198610198565b61098b81610478565b6109c65760405162461bcd60e51b815260040180806020018281038252603b815260200180610a53603b913960400191505060405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5556fe43616e6e6f742063616c6c2066616c6c6261636b2066756e6374696f6e2066726f6d207468652070726f78792061646d696e43616e6e6f74206368616e6765207468652061646d696e206f6620612070726f787920746f20746865207a65726f206164647265737343616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a264697066735822122000d97367533270801ac16c594782f89c01c5ada03b1a984f36d7af83c142944364736f6c63430006080033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc43616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373'; + "0x60806040526040516109f73803806109f78339818101604052606081101561002657600080fd5b8151602083015160408085018051915193959294830192918464010000000082111561005157600080fd5b90830190602082018581111561006657600080fd5b825164010000000081118282018810171561008057600080fd5b82525081516020918201929091019080838360005b838110156100ad578181015183820152602001610095565b50505050905090810190601f1680156100da5780820380516001836020036101000a031916815260200191505b5060408181527f656970313936372e70726f78792e696d706c656d656e746174696f6e0000000082525190819003601c01902086935084925060008051602061099c83398151915260001990910114905061013157fe5b610143826001600160e01b0361026516565b8051156101fb576000826001600160a01b0316826040518082805190602001908083835b602083106101865780518252601f199092019160209182019101610167565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146101e6576040519150601f19603f3d011682016040523d82523d6000602084013e6101eb565b606091505b50509050806101f957600080fd5b505b5050604080517f656970313936372e70726f78792e61646d696e000000000000000000000000008152905190819003601301902060008051602061097c8339815191526000199091011461024b57fe5b61025d826001600160e01b036102c516565b505050610313565b610278816102d760201b6103a31760201c565b6102b35760405162461bcd60e51b815260040180806020018281038252603b8152602001806109bc603b913960400191505060405180910390fd5b60008051602061099c83398151915255565b60008051602061097c83398151915255565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061030b57508115155b949350505050565b61065a806103226000396000f3fe60806040526004361061004a5760003560e01c80633659cfe6146100545780634f1ef286146100875780635c60da1b146101075780638f28397014610138578063f851a4401461016b575b610052610180565b005b34801561006057600080fd5b506100526004803603602081101561007757600080fd5b50356001600160a01b031661019a565b6100526004803603604081101561009d57600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156100c857600080fd5b8201836020820111156100da57600080fd5b803590602001918460018302840111640100000000831117156100fc57600080fd5b5090925090506101d4565b34801561011357600080fd5b5061011c610281565b604080516001600160a01b039092168252519081900360200190f35b34801561014457600080fd5b506100526004803603602081101561015b57600080fd5b50356001600160a01b03166102be565b34801561017757600080fd5b5061011c610378565b6101886103df565b6101986101936103e7565b61040c565b565b6101a2610430565b6001600160a01b0316336001600160a01b031614156101c9576101c481610455565b6101d1565b6101d1610180565b50565b6101dc610430565b6001600160a01b0316336001600160a01b03161415610274576101fe83610455565b6000836001600160a01b031683836040518083838082843760405192019450600093509091505080830381855af49150503d806000811461025b576040519150601f19603f3d011682016040523d82523d6000602084013e610260565b606091505b505090508061026e57600080fd5b5061027c565b61027c610180565b505050565b600061028b610430565b6001600160a01b0316336001600160a01b031614156102b3576102ac6103e7565b90506102bb565b6102bb610180565b90565b6102c6610430565b6001600160a01b0316336001600160a01b031614156101c9576001600160a01b0381166103245760405162461bcd60e51b81526004018080602001828103825260368152602001806105b46036913960400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61034d610430565b604080516001600160a01b03928316815291841660208301528051918290030190a16101c481610495565b6000610382610430565b6001600160a01b0316336001600160a01b031614156102b3576102ac610430565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906103d757508115155b949350505050565b6101986104b9565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e80801561042b573d6000f35b3d6000fd5b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b61045e81610519565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b6104c1610430565b6001600160a01b0316336001600160a01b031614156105115760405162461bcd60e51b81526004018080602001828103825260328152602001806105826032913960400191505060405180910390fd5b610198610198565b610522816103a3565b61055d5760405162461bcd60e51b815260040180806020018281038252603b8152602001806105ea603b913960400191505060405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5556fe43616e6e6f742063616c6c2066616c6c6261636b2066756e6374696f6e2066726f6d207468652070726f78792061646d696e43616e6e6f74206368616e6765207468652061646d696e206f6620612070726f787920746f20746865207a65726f206164647265737343616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a2646970667358221220ab2d41e63cbe522ce3aa66ed2dc31ddf58bbba61391748206b6c58e7214fb2e264736f6c63430006080033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc43616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373"; diff --git a/types/BaseAdminUpgradeabilityProxyFactory.ts b/types/BaseAdminUpgradeabilityProxyFactory.ts index 560e5ca8..047a140b 100644 --- a/types/BaseAdminUpgradeabilityProxyFactory.ts +++ b/types/BaseAdminUpgradeabilityProxyFactory.ts @@ -1,19 +1,21 @@ /* Generated by ts-generator ver. 0.0.8 */ /* tslint:disable */ -import {Contract, ContractFactory, Signer} from 'ethers'; -import {Provider} from 'ethers/providers'; -import {UnsignedTransaction} from 'ethers/utils/transaction'; +import { Contract, ContractFactory, Signer } from "ethers"; +import { Provider } from "ethers/providers"; +import { UnsignedTransaction } from "ethers/utils/transaction"; -import {TransactionOverrides} from '.'; -import {BaseAdminUpgradeabilityProxy} from './BaseAdminUpgradeabilityProxy'; +import { TransactionOverrides } from "."; +import { BaseAdminUpgradeabilityProxy } from "./BaseAdminUpgradeabilityProxy"; export class BaseAdminUpgradeabilityProxyFactory extends ContractFactory { constructor(signer?: Signer) { super(_abi, _bytecode, signer); } - deploy(overrides?: TransactionOverrides): Promise { + deploy( + overrides?: TransactionOverrides + ): Promise { return super.deploy(overrides) as Promise; } getDeployTransaction(overrides?: TransactionOverrides): UnsignedTransaction { @@ -29,7 +31,11 @@ export class BaseAdminUpgradeabilityProxyFactory extends ContractFactory { address: string, signerOrProvider: Signer | Provider ): BaseAdminUpgradeabilityProxy { - return new Contract(address, _abi, signerOrProvider) as BaseAdminUpgradeabilityProxy; + return new Contract( + address, + _abi, + signerOrProvider + ) as BaseAdminUpgradeabilityProxy; } } @@ -39,108 +45,108 @@ const _abi = [ inputs: [ { indexed: false, - internalType: 'address', - name: 'previousAdmin', - type: 'address', + internalType: "address", + name: "previousAdmin", + type: "address" }, { indexed: false, - internalType: 'address', - name: 'newAdmin', - type: 'address', - }, + internalType: "address", + name: "newAdmin", + type: "address" + } ], - name: 'AdminChanged', - type: 'event', + name: "AdminChanged", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: 'implementation', - type: 'address', - }, + internalType: "address", + name: "implementation", + type: "address" + } ], - name: 'Upgraded', - type: 'event', + name: "Upgraded", + type: "event" }, { - stateMutability: 'payable', - type: 'fallback', + stateMutability: "payable", + type: "fallback" }, { inputs: [], - name: 'admin', + name: "admin", outputs: [ { - internalType: 'address', - name: '', - type: 'address', - }, + internalType: "address", + name: "", + type: "address" + } ], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: 'newAdmin', - type: 'address', - }, + internalType: "address", + name: "newAdmin", + type: "address" + } ], - name: 'changeAdmin', + name: "changeAdmin", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [], - name: 'implementation', + name: "implementation", outputs: [ { - internalType: 'address', - name: '', - type: 'address', - }, + internalType: "address", + name: "", + type: "address" + } ], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: 'newImplementation', - type: 'address', - }, + internalType: "address", + name: "newImplementation", + type: "address" + } ], - name: 'upgradeTo', + name: "upgradeTo", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: 'newImplementation', - type: 'address', + internalType: "address", + name: "newImplementation", + type: "address" }, { - internalType: 'bytes', - name: 'data', - type: 'bytes', - }, + internalType: "bytes", + name: "data", + type: "bytes" + } ], - name: 'upgradeToAndCall', + name: "upgradeToAndCall", outputs: [], - stateMutability: 'payable', - type: 'function', - }, + stateMutability: "payable", + type: "function" + } ]; const _bytecode = - '0x608060405234801561001057600080fd5b50610abb806100206000396000f3fe60806040526004361061004a5760003560e01c80633659cfe6146100545780634f1ef286146100875780635c60da1b146101075780638f28397014610138578063f851a4401461016b575b610052610180565b005b34801561006057600080fd5b506100526004803603602081101561007757600080fd5b50356001600160a01b031661019a565b6100526004803603604081101561009d57600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156100c857600080fd5b8201836020820111156100da57600080fd5b803590602001918460018302840111640100000000831117156100fc57600080fd5b5090925090506101d4565b34801561011357600080fd5b5061011c610356565b604080516001600160a01b039092168252519081900360200190f35b34801561014457600080fd5b506100526004803603602081101561015b57600080fd5b50356001600160a01b0316610393565b34801561017757600080fd5b5061011c61044d565b610188610478565b6101986101936104d8565b6104fd565b565b6101a2610521565b6001600160a01b0316336001600160a01b031614156101c9576101c481610546565b6101d1565b6101d1610180565b50565b6101dc610521565b6001600160a01b0316336001600160a01b03161415610349576102336040518060400160405280601781526020017f496e736964652075706772616465546f416e6443616c6c000000000000000000815250610586565b61023c83610546565b61026560405180604001604052806008815260200167155c19dc9859195960c21b815250610586565b6102946040518060400160405280600d81526020016c4164647265737320697320257360981b815250846106c8565b6000836001600160a01b031683836040518083838082843760405192019450600093509091505080830381855af49150503d80600081146102f1576040519150601f19603f3d011682016040523d82523d6000602084013e6102f6565b606091505b505090506103396040518060400160405280601d81526020017f44656c65676174652063616c6c20646f6e652c20726573756c742025730000008152508261082f565b8061034357600080fd5b50610351565b610351610180565b505050565b6000610360610521565b6001600160a01b0316336001600160a01b03161415610388576103816104d8565b9050610390565b610390610180565b90565b61039b610521565b6001600160a01b0316336001600160a01b031614156101c9576001600160a01b0381166103f95760405162461bcd60e51b8152600401808060200182810382526036815260200180610a156036913960400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f610422610521565b604080516001600160a01b03928316815291841660208301528051918290030190a16101c48161091a565b6000610457610521565b6001600160a01b0316336001600160a01b0316141561038857610381610521565b610480610521565b6001600160a01b0316336001600160a01b031614156104d05760405162461bcd60e51b81526004018080602001828103825260328152602001806109e36032913960400191505060405180910390fd5b610198610198565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e80801561051c573d6000f35b3d6000fd5b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b61054f8161093e565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6040516020602482018181528351604484015283516000936a636f6e736f6c652e6c6f67938693928392606401918501908083838a5b838110156105d45781810151838201526020016105bc565b50505050905090810190601f1680156106015780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b031663104c13eb60e21b178152905182519295509350839250908083835b6020831061065c5780518252601f19909201916020918201910161063d565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d80600081146106bc576040519150601f19603f3d011682016040523d82523d6000602084013e6106c1565b606091505b5050505050565b60006a636f6e736f6c652e6c6f676001600160a01b031683836040516024018080602001836001600160a01b03166001600160a01b03168152602001828103825284818151815260200191508051906020019080838360005b83811015610739578181015183820152602001610721565b50505050905090810190601f1680156107665780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b031663319af33360e01b17815290518251929650945084935091508083835b602083106107c25780518252601f1990920191602091820191016107a3565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114610822576040519150601f19603f3d011682016040523d82523d6000602084013e610827565b606091505b505050505050565b60006a636f6e736f6c652e6c6f676001600160a01b03168383604051602401808060200183151515158152602001828103825284818151815260200191508051906020019080838360005b8381101561089257818101518382015260200161087a565b50505050905090810190601f1680156108bf5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b031663c3b5563560e01b1781529051825192965094508493509150808383602083106107c25780518252601f1990920191602091820191016107a3565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b610947816109a6565b6109825760405162461bcd60e51b815260040180806020018281038252603b815260200180610a4b603b913960400191505060405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906109da57508115155b94935050505056fe43616e6e6f742063616c6c2066616c6c6261636b2066756e6374696f6e2066726f6d207468652070726f78792061646d696e43616e6e6f74206368616e6765207468652061646d696e206f6620612070726f787920746f20746865207a65726f206164647265737343616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a2646970667358221220acabc3a51e169aa7f114b007c6360dd892f5eb1229216ebc4891281a8205fe7264736f6c63430006080033'; + "0x608060405234801561001057600080fd5b50610652806100206000396000f3fe60806040526004361061004a5760003560e01c80633659cfe6146100545780634f1ef286146100875780635c60da1b146101075780638f28397014610138578063f851a4401461016b575b610052610180565b005b34801561006057600080fd5b506100526004803603602081101561007757600080fd5b50356001600160a01b031661019a565b6100526004803603604081101561009d57600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156100c857600080fd5b8201836020820111156100da57600080fd5b803590602001918460018302840111640100000000831117156100fc57600080fd5b5090925090506101d4565b34801561011357600080fd5b5061011c610281565b604080516001600160a01b039092168252519081900360200190f35b34801561014457600080fd5b506100526004803603602081101561015b57600080fd5b50356001600160a01b03166102be565b34801561017757600080fd5b5061011c610378565b6101886103a3565b610198610193610403565b610428565b565b6101a261044c565b6001600160a01b0316336001600160a01b031614156101c9576101c481610471565b6101d1565b6101d1610180565b50565b6101dc61044c565b6001600160a01b0316336001600160a01b03161415610274576101fe83610471565b6000836001600160a01b031683836040518083838082843760405192019450600093509091505080830381855af49150503d806000811461025b576040519150601f19603f3d011682016040523d82523d6000602084013e610260565b606091505b505090508061026e57600080fd5b5061027c565b61027c610180565b505050565b600061028b61044c565b6001600160a01b0316336001600160a01b031614156102b3576102ac610403565b90506102bb565b6102bb610180565b90565b6102c661044c565b6001600160a01b0316336001600160a01b031614156101c9576001600160a01b0381166103245760405162461bcd60e51b81526004018080602001828103825260368152602001806105ac6036913960400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61034d61044c565b604080516001600160a01b03928316815291841660208301528051918290030190a16101c4816104b1565b600061038261044c565b6001600160a01b0316336001600160a01b031614156102b3576102ac61044c565b6103ab61044c565b6001600160a01b0316336001600160a01b031614156103fb5760405162461bcd60e51b815260040180806020018281038252603281526020018061057a6032913960400191505060405180910390fd5b610198610198565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e808015610447573d6000f35b3d6000fd5b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b61047a816104d5565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b6104de8161053d565b6105195760405162461bcd60e51b815260040180806020018281038252603b8152602001806105e2603b913960400191505060405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061057157508115155b94935050505056fe43616e6e6f742063616c6c2066616c6c6261636b2066756e6374696f6e2066726f6d207468652070726f78792061646d696e43616e6e6f74206368616e6765207468652061646d696e206f6620612070726f787920746f20746865207a65726f206164647265737343616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a264697066735822122080fb7a29d20b62c9d75049f213e628259458033ab4be1b0f43737441acf9ee3064736f6c63430006080033"; diff --git a/types/ChainlinkProxyPriceProviderFactory.ts b/types/ChainlinkProxyPriceProviderFactory.ts index fb390122..deb86f3f 100644 --- a/types/ChainlinkProxyPriceProviderFactory.ts +++ b/types/ChainlinkProxyPriceProviderFactory.ts @@ -267,4 +267,4 @@ const _abi = [ ]; const _bytecode = - "0x60806040523480156200001157600080fd5b5060405162000e3538038062000e35833981810160405260608110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82518660208202830111640100000000821117156200008c57600080fd5b82525081516020918201928201910280838360005b83811015620000bb578181015183820152602001620000a1565b5050505090500160405260200180516040519392919084640100000000821115620000e557600080fd5b908301906020820185811115620000fb57600080fd5b82518660208202830111640100000000821117156200011957600080fd5b82525081516020918201928201910280838360005b83811015620001485781810151838201526020016200012e565b50505050919091016040525060200151915060009050620001716001600160e01b03620001ed16565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620001cf816001600160e01b03620001f116565b620001e483836001600160e01b036200023b16565b50505062000387565b3390565b600280546001600160a01b0319166001600160a01b0383169081179091556040517fce7a780d33665b1ea097af5f155e3821b809ecbaa839d3b33aa83ba28168cefb90600090a250565b805182511462000292576040805162461bcd60e51b815260206004820152601a60248201527f494e434f4e53495354454e545f504152414d535f4c454e475448000000000000604482015290519081900360640190fd5b60005b82518110156200038257818181518110620002ac57fe5b602002602001015160016000858481518110620002c557fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b031602179055508181815181106200031e57fe5b60200260200101516001600160a01b03168382815181106200033c57fe5b60200260200101516001600160a01b03167f22c5b7b2d8561d39f7f210b6b326a1aa69f15311163082308ac4877db6339dc160405160405180910390a360010162000295565b505050565b610a9e80620003976000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c806392bf2be01161006657806392bf2be0146100f45780639d23d9f21461011a578063abfd5310146101da578063b3596f071461029c578063f2fde38b146102d457610093565b8063170aee73146100985780636210308c146100c0578063715018a6146100e45780638da5cb5b146100ec575b600080fd5b6100be600480360360208110156100ae57600080fd5b50356001600160a01b03166102fa565b005b6100c861035e565b604080516001600160a01b039092168252519081900360200190f35b6100be61036d565b6100c861040f565b6100c86004803603602081101561010a57600080fd5b50356001600160a01b031661041e565b61018a6004803603602081101561013057600080fd5b81019060208101813564010000000081111561014b57600080fd5b82018360208201111561015d57600080fd5b8035906020019184602083028401116401000000008311171561017f57600080fd5b50909250905061043f565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156101c65781810151838201526020016101ae565b505050509050019250505060405180910390f35b6100be600480360360408110156101f057600080fd5b81019060208101813564010000000081111561020b57600080fd5b82018360208201111561021d57600080fd5b8035906020019184602083028401116401000000008311171561023f57600080fd5b91939092909160208101903564010000000081111561025d57600080fd5b82018360208201111561026f57600080fd5b8035906020019184602083028401116401000000008311171561029157600080fd5b5090925090506104dc565b6102c2600480360360208110156102b257600080fd5b50356001600160a01b03166105a7565b60408051918252519081900360200190f35b6100be600480360360208110156102ea57600080fd5b50356001600160a01b0316610772565b61030261086a565b6000546001600160a01b03908116911614610352576040805162461bcd60e51b81526020600482018190526024820152600080516020610a49833981519152604482015290519081900360640190fd5b61035b8161086e565b50565b6002546001600160a01b031690565b61037561086a565b6000546001600160a01b039081169116146103c5576040805162461bcd60e51b81526020600482018190526024820152600080516020610a49833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6001600160a01b03808216600090815260016020526040902054165b919050565b6060808267ffffffffffffffff8111801561045957600080fd5b50604051908082528060200260200182016040528015610483578160200160208202803683370190505b50905060005b838110156104d4576104b58585838181106104a057fe5b905060200201356001600160a01b03166105a7565b8282815181106104c157fe5b6020908102919091010152600101610489565b509392505050565b6104e461086a565b6000546001600160a01b03908116911614610534576040805162461bcd60e51b81526020600482018190526024820152600080516020610a49833981519152604482015290519081900360640190fd5b6105a1848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040805160208088028281018201909352878252909350879250869182918501908490808284376000920191909152506108b892505050565b50505050565b6001600160a01b03808216600081815260016020526040812054909216906105ce906109fd565b156105e457670de0b6b3a764000091505061043a565b6001600160a01b038116610674576002546040805163b3596f0760e01b81526001600160a01b0386811660048301529151919092169163b3596f07916024808301926020929190829003018186803b15801561063f57600080fd5b505afa158015610653573d6000803e3d6000fd5b505050506040513d602081101561066957600080fd5b5051915061043a9050565b6000816001600160a01b03166350d25bcd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156106af57600080fd5b505afa1580156106c3573d6000803e3d6000fd5b505050506040513d60208110156106d957600080fd5b5051905060008113156106ef57915061043a9050565b6002546040805163b3596f0760e01b81526001600160a01b0387811660048301529151919092169163b3596f07916024808301926020929190829003018186803b15801561073c57600080fd5b505afa158015610750573d6000803e3d6000fd5b505050506040513d602081101561076657600080fd5b5051925061043a915050565b61077a61086a565b6000546001600160a01b039081169116146107ca576040805162461bcd60e51b81526020600482018190526024820152600080516020610a49833981519152604482015290519081900360640190fd5b6001600160a01b03811661080f5760405162461bcd60e51b8152600401808060200182810382526026815260200180610a236026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b600280546001600160a01b0319166001600160a01b0383169081179091556040517fce7a780d33665b1ea097af5f155e3821b809ecbaa839d3b33aa83ba28168cefb90600090a250565b805182511461090e576040805162461bcd60e51b815260206004820152601a60248201527f494e434f4e53495354454e545f504152414d535f4c454e475448000000000000604482015290519081900360640190fd5b60005b82518110156109f85781818151811061092657fe5b60200260200101516001600085848151811061093e57fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b0316021790555081818151811061099657fe5b60200260200101516001600160a01b03168382815181106109b357fe5b60200260200101516001600160a01b03167f22c5b7b2d8561d39f7f210b6b326a1aa69f15311163082308ac4877db6339dc160405160405180910390a3600101610911565b505050565b6001600160a01b03811673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1491905056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220beb59e0ee54ed1ee1c6a54ddf3c7f0462a22dba0d07fbdf4672b6c5e9d6ddea064736f6c63430006080033"; + "0x60806040523480156200001157600080fd5b5060405162000de738038062000de7833981810160405260608110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82518660208202830111640100000000821117156200008c57600080fd5b82525081516020918201928201910280838360005b83811015620000bb578181015183820152602001620000a1565b5050505090500160405260200180516040519392919084640100000000821115620000e557600080fd5b908301906020820185811115620000fb57600080fd5b82518660208202830111640100000000821117156200011957600080fd5b82525081516020918201928201910280838360005b83811015620001485781810151838201526020016200012e565b50505050919091016040525060200151915060009050620001716001600160e01b03620001ed16565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620001cf816001600160e01b03620001f116565b620001e483836001600160e01b036200023b16565b50505062000387565b3390565b600280546001600160a01b0319166001600160a01b0383169081179091556040517fce7a780d33665b1ea097af5f155e3821b809ecbaa839d3b33aa83ba28168cefb90600090a250565b805182511462000292576040805162461bcd60e51b815260206004820152601a60248201527f494e434f4e53495354454e545f504152414d535f4c454e475448000000000000604482015290519081900360640190fd5b60005b82518110156200038257818181518110620002ac57fe5b602002602001015160016000858481518110620002c557fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b031602179055508181815181106200031e57fe5b60200260200101516001600160a01b03168382815181106200033c57fe5b60200260200101516001600160a01b03167f22c5b7b2d8561d39f7f210b6b326a1aa69f15311163082308ac4877db6339dc160405160405180910390a360010162000295565b505050565b610a5080620003976000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c806392bf2be01161006657806392bf2be0146100f45780639d23d9f21461011a578063abfd5310146101da578063b3596f071461029c578063f2fde38b146102d457610093565b8063170aee73146100985780636210308c146100c0578063715018a6146100e45780638da5cb5b146100ec575b600080fd5b6100be600480360360208110156100ae57600080fd5b50356001600160a01b03166102fa565b005b6100c861035e565b604080516001600160a01b039092168252519081900360200190f35b6100be61036d565b6100c861040f565b6100c86004803603602081101561010a57600080fd5b50356001600160a01b031661041e565b61018a6004803603602081101561013057600080fd5b81019060208101813564010000000081111561014b57600080fd5b82018360208201111561015d57600080fd5b8035906020019184602083028401116401000000008311171561017f57600080fd5b50909250905061043f565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156101c65781810151838201526020016101ae565b505050509050019250505060405180910390f35b6100be600480360360408110156101f057600080fd5b81019060208101813564010000000081111561020b57600080fd5b82018360208201111561021d57600080fd5b8035906020019184602083028401116401000000008311171561023f57600080fd5b91939092909160208101903564010000000081111561025d57600080fd5b82018360208201111561026f57600080fd5b8035906020019184602083028401116401000000008311171561029157600080fd5b5090925090506104dc565b6102c2600480360360208110156102b257600080fd5b50356001600160a01b03166105a7565b60408051918252519081900360200190f35b6100be600480360360208110156102ea57600080fd5b50356001600160a01b0316610749565b610302610841565b6000546001600160a01b03908116911614610352576040805162461bcd60e51b815260206004820181905260248201526000805160206109fb833981519152604482015290519081900360640190fd5b61035b81610845565b50565b6002546001600160a01b031690565b610375610841565b6000546001600160a01b039081169116146103c5576040805162461bcd60e51b815260206004820181905260248201526000805160206109fb833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6001600160a01b03808216600090815260016020526040902054165b919050565b6060808267ffffffffffffffff8111801561045957600080fd5b50604051908082528060200260200182016040528015610483578160200160208202803683370190505b50905060005b838110156104d4576104b58585838181106104a057fe5b905060200201356001600160a01b03166105a7565b8282815181106104c157fe5b6020908102919091010152600101610489565b509392505050565b6104e4610841565b6000546001600160a01b03908116911614610534576040805162461bcd60e51b815260206004820181905260248201526000805160206109fb833981519152604482015290519081900360640190fd5b6105a18484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060408051602080880282810182019093528782529093508792508691829185019084908082843760009201919091525061088f92505050565b50505050565b6001600160a01b038082166000908152600160205260408120549091168061064b576002546040805163b3596f0760e01b81526001600160a01b0386811660048301529151919092169163b3596f07916024808301926020929190829003018186803b15801561061657600080fd5b505afa15801561062a573d6000803e3d6000fd5b505050506040513d602081101561064057600080fd5b5051915061043a9050565b6000816001600160a01b03166350d25bcd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561068657600080fd5b505afa15801561069a573d6000803e3d6000fd5b505050506040513d60208110156106b057600080fd5b5051905060008113156106c657915061043a9050565b6002546040805163b3596f0760e01b81526001600160a01b0387811660048301529151919092169163b3596f07916024808301926020929190829003018186803b15801561071357600080fd5b505afa158015610727573d6000803e3d6000fd5b505050506040513d602081101561073d57600080fd5b5051925061043a915050565b610751610841565b6000546001600160a01b039081169116146107a1576040805162461bcd60e51b815260206004820181905260248201526000805160206109fb833981519152604482015290519081900360640190fd5b6001600160a01b0381166107e65760405162461bcd60e51b81526004018080602001828103825260268152602001806109d56026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b600280546001600160a01b0319166001600160a01b0383169081179091556040517fce7a780d33665b1ea097af5f155e3821b809ecbaa839d3b33aa83ba28168cefb90600090a250565b80518251146108e5576040805162461bcd60e51b815260206004820152601a60248201527f494e434f4e53495354454e545f504152414d535f4c454e475448000000000000604482015290519081900360640190fd5b60005b82518110156109cf578181815181106108fd57fe5b60200260200101516001600085848151811061091557fe5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b0316021790555081818151811061096d57fe5b60200260200101516001600160a01b031683828151811061098a57fe5b60200260200101516001600160a01b03167f22c5b7b2d8561d39f7f210b6b326a1aa69f15311163082308ac4877db6339dc160405160405180910390a36001016108e8565b50505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220513d2a1e63d559551b6af759c27b18b943c83fb981100ec59b8acb3ab4b27c3f64736f6c63430006080033"; diff --git a/types/DebtTokenBase.d.ts b/types/DebtTokenBase.d.ts index 23d262bd..ed359996 100644 --- a/types/DebtTokenBase.d.ts +++ b/types/DebtTokenBase.d.ts @@ -32,11 +32,11 @@ interface DebtTokenBaseInterface extends Interface { encode([spender, addedValue]: [string, BigNumberish]): string; }>; - init: TypedFunctionDescription<{ - encode([_name, _symbol, _decimals]: [ + initialize: TypedFunctionDescription<{ + encode([_decimals, _name, _symbol]: [ + BigNumberish, string, - string, - BigNumberish + string ]): string; }>; @@ -127,10 +127,10 @@ export class DebtTokenBase extends Contract { overrides?: TransactionOverrides ): Promise; - init( + initialize( + _decimals: BigNumberish, _name: string, _symbol: string, - _decimals: BigNumberish, overrides?: TransactionOverrides ): Promise; @@ -182,10 +182,10 @@ export class DebtTokenBase extends Contract { overrides?: TransactionOverrides ): Promise; - init( + initialize( + _decimals: BigNumberish, _name: string, _symbol: string, - _decimals: BigNumberish, overrides?: TransactionOverrides ): Promise; @@ -241,10 +241,10 @@ export class DebtTokenBase extends Contract { addedValue: BigNumberish ): Promise; - init( + initialize( + _decimals: BigNumberish, _name: string, - _symbol: string, - _decimals: BigNumberish + _symbol: string ): Promise; name(): Promise; diff --git a/types/DebtTokenBaseFactory.ts b/types/DebtTokenBaseFactory.ts index a2a39c77..9a0e1c1c 100644 --- a/types/DebtTokenBaseFactory.ts +++ b/types/DebtTokenBaseFactory.ts @@ -27,6 +27,16 @@ const _abi = [ internalType: "address", name: "_underlyingAssetAddress", type: "address" + }, + { + internalType: "string", + name: "_name", + type: "string" + }, + { + internalType: "string", + name: "_symbol", + type: "string" } ], stateMutability: "nonpayable", @@ -212,6 +222,11 @@ const _abi = [ }, { inputs: [ + { + internalType: "uint8", + name: "_decimals", + type: "uint8" + }, { internalType: "string", name: "_name", @@ -221,14 +236,9 @@ const _abi = [ internalType: "string", name: "_symbol", type: "string" - }, - { - internalType: "uint8", - name: "_decimals", - type: "uint8" } ], - name: "init", + name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" diff --git a/types/DefaultReserveInterestRateStrategyFactory.ts b/types/DefaultReserveInterestRateStrategyFactory.ts index 50f1ae4d..9eecd2f4 100644 --- a/types/DefaultReserveInterestRateStrategyFactory.ts +++ b/types/DefaultReserveInterestRateStrategyFactory.ts @@ -1,13 +1,13 @@ /* Generated by ts-generator ver. 0.0.8 */ /* tslint:disable */ -import {Contract, ContractFactory, Signer} from 'ethers'; -import {Provider} from 'ethers/providers'; -import {UnsignedTransaction} from 'ethers/utils/transaction'; -import {BigNumberish} from 'ethers/utils'; +import { Contract, ContractFactory, Signer } from "ethers"; +import { Provider } from "ethers/providers"; +import { UnsignedTransaction } from "ethers/utils/transaction"; +import { BigNumberish } from "ethers/utils"; -import {TransactionOverrides} from '.'; -import {DefaultReserveInterestRateStrategy} from './DefaultReserveInterestRateStrategy'; +import { TransactionOverrides } from "."; +import { DefaultReserveInterestRateStrategy } from "./DefaultReserveInterestRateStrategy"; export class DefaultReserveInterestRateStrategyFactory extends ContractFactory { constructor(signer?: Signer) { @@ -62,7 +62,11 @@ export class DefaultReserveInterestRateStrategyFactory extends ContractFactory { address: string, signerOrProvider: Signer | Provider ): DefaultReserveInterestRateStrategy { - return new Contract(address, _abi, signerOrProvider) as DefaultReserveInterestRateStrategy; + return new Contract( + address, + _abi, + signerOrProvider + ) as DefaultReserveInterestRateStrategy; } } @@ -70,193 +74,193 @@ const _abi = [ { inputs: [ { - internalType: 'contract LendingPoolAddressesProvider', - name: '_provider', - type: 'address', + internalType: "contract LendingPoolAddressesProvider", + name: "_provider", + type: "address" }, { - internalType: 'uint256', - name: '_baseVariableBorrowRate', - type: 'uint256', + internalType: "uint256", + name: "_baseVariableBorrowRate", + type: "uint256" }, { - internalType: 'uint256', - name: '_variableRateSlope1', - type: 'uint256', + internalType: "uint256", + name: "_variableRateSlope1", + type: "uint256" }, { - internalType: 'uint256', - name: '_variableRateSlope2', - type: 'uint256', + internalType: "uint256", + name: "_variableRateSlope2", + type: "uint256" }, { - internalType: 'uint256', - name: '_stableRateSlope1', - type: 'uint256', + internalType: "uint256", + name: "_stableRateSlope1", + type: "uint256" }, { - internalType: 'uint256', - name: '_stableRateSlope2', - type: 'uint256', - }, + internalType: "uint256", + name: "_stableRateSlope2", + type: "uint256" + } ], - stateMutability: 'nonpayable', - type: 'constructor', + stateMutability: "nonpayable", + type: "constructor" }, { inputs: [], - name: 'EXCESS_UTILIZATION_RATE', + name: "EXCESS_UTILIZATION_RATE", outputs: [ { - internalType: 'uint256', - name: '', - type: 'uint256', - }, + internalType: "uint256", + name: "", + type: "uint256" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [], - name: 'OPTIMAL_UTILIZATION_RATE', + name: "OPTIMAL_UTILIZATION_RATE", outputs: [ { - internalType: 'uint256', - name: '', - type: 'uint256', - }, + internalType: "uint256", + name: "", + type: "uint256" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [], - name: 'addressesProvider', + name: "addressesProvider", outputs: [ { - internalType: 'contract LendingPoolAddressesProvider', - name: '', - type: 'address', - }, + internalType: "contract LendingPoolAddressesProvider", + name: "", + type: "address" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { - internalType: 'uint256', - name: '_availableLiquidity', - type: 'uint256', + internalType: "uint256", + name: "_availableLiquidity", + type: "uint256" }, { - internalType: 'uint256', - name: '_totalBorrowsStable', - type: 'uint256', + internalType: "uint256", + name: "_totalBorrowsStable", + type: "uint256" }, { - internalType: 'uint256', - name: '_totalBorrowsVariable', - type: 'uint256', + internalType: "uint256", + name: "_totalBorrowsVariable", + type: "uint256" }, { - internalType: 'uint256', - name: '_averageStableBorrowRate', - type: 'uint256', - }, + internalType: "uint256", + name: "_averageStableBorrowRate", + type: "uint256" + } ], - name: 'calculateInterestRates', + name: "calculateInterestRates", outputs: [ { - internalType: 'uint256', - name: 'currentLiquidityRate', - type: 'uint256', + internalType: "uint256", + name: "currentLiquidityRate", + type: "uint256" }, { - internalType: 'uint256', - name: 'currentStableBorrowRate', - type: 'uint256', + internalType: "uint256", + name: "currentStableBorrowRate", + type: "uint256" }, { - internalType: 'uint256', - name: 'currentVariableBorrowRate', - type: 'uint256', - }, + internalType: "uint256", + name: "currentVariableBorrowRate", + type: "uint256" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [], - name: 'getBaseVariableBorrowRate', + name: "getBaseVariableBorrowRate", outputs: [ { - internalType: 'uint256', - name: '', - type: 'uint256', - }, + internalType: "uint256", + name: "", + type: "uint256" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [], - name: 'getStableRateSlope1', + name: "getStableRateSlope1", outputs: [ { - internalType: 'uint256', - name: '', - type: 'uint256', - }, + internalType: "uint256", + name: "", + type: "uint256" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [], - name: 'getStableRateSlope2', + name: "getStableRateSlope2", outputs: [ { - internalType: 'uint256', - name: '', - type: 'uint256', - }, + internalType: "uint256", + name: "", + type: "uint256" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [], - name: 'getVariableRateSlope1', + name: "getVariableRateSlope1", outputs: [ { - internalType: 'uint256', - name: '', - type: 'uint256', - }, + internalType: "uint256", + name: "", + type: "uint256" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [], - name: 'getVariableRateSlope2', + name: "getVariableRateSlope2", outputs: [ { - internalType: 'uint256', - name: '', - type: 'uint256', - }, + internalType: "uint256", + name: "", + type: "uint256" + } ], - stateMutability: 'view', - type: 'function', - }, + stateMutability: "view", + type: "function" + } ]; const _bytecode = - '0x61014060405234801561001157600080fd5b50604051610a77380380610a77833981810160405260c081101561003457600080fd5b5080516020820151604083015160608085015160808087015160a0978801516001600160601b03199790941b9690961690529290945260c05260e052610100526101205260805160601c60a05160c05160e05161010051610120516109866100f16000398061018852806103845250806103b5528061049c52806105aa5250806103f552806105ce525080610164528061044652806104de5250806101bb52806104255280610527525080610232528061058652506109866000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c806357e37af01161006657806357e37af0146100ca578063a15f30ac14610126578063c72c4d101461012e578063d5cd739114610152578063f42024091461015a57610093565b80630b3429a21461009857806314e32da4146100b257806317319873146100ba57806334762ca5146100c2575b600080fd5b6100a0610162565b60408051918252519081900360200190f35b6100a0610186565b6100a06101aa565b6100a06101b9565b610108600480360360a08110156100e057600080fd5b506001600160a01b0381351690602081013590604081013590606081013590608001356101dd565b60408051938452602084019290925282820152519081900360600190f35b6100a0610574565b610136610584565b604080516001600160a01b039092168252519081900360200190f35b6100a06105a8565b6100a06105cc565b7f000000000000000000000000000000000000000000000000000000000000000090565b7f000000000000000000000000000000000000000000000000000000000000000090565b6aa56fa5b99019a5c800000081565b7f000000000000000000000000000000000000000000000000000000000000000090565b60008080806101f2878763ffffffff6105f016565b9050600081158015610202575088155b61022b576102266102198a8463ffffffff6105f016565b839063ffffffff61065316565b61022e565b60005b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316633618abba6040518163ffffffff1660e01b815260040160206040518083038186803b15801561028957600080fd5b505afa15801561029d573d6000803e3d6000fd5b505050506040513d60208110156102b357600080fd5b50516040805163bb85c0bb60e01b81526001600160a01b038d811660048301529151919092169163bb85c0bb916024808301926020929190829003018186803b1580156102ff57600080fd5b505afa158015610313573d6000803e3d6000fd5b505050506040513d602081101561032957600080fd5b505193506b0295be96e64066972000000081111561047857600061037a6aa56fa5b99019a5c800000061036e846b0295be96e64066972000000063ffffffff61069716565b9063ffffffff61065316565b90506103eb6103af7f00000000000000000000000000000000000000000000000000000000000000008363ffffffff6106d916565b6103df877f000000000000000000000000000000000000000000000000000000000000000063ffffffff6105f016565b9063ffffffff6105f016565b94506104706104207f00000000000000000000000000000000000000000000000000000000000000008363ffffffff6106d916565b6103df7f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000063ffffffff6105f016565b935050610555565b6104d46104c761049a836b0295be96e64066972000000063ffffffff61065316565b7f00000000000000000000000000000000000000000000000000000000000000009063ffffffff6106d916565b859063ffffffff6105f016565b93506105526105257f0000000000000000000000000000000000000000000000000000000000000000610519846b0295be96e64066972000000063ffffffff61065316565b9063ffffffff6106d916565b7f00000000000000000000000000000000000000000000000000000000000000009063ffffffff6105f016565b92505b610565816105198a8a878b610711565b94505050955095509592505050565b6b0295be96e64066972000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000090565b7f000000000000000000000000000000000000000000000000000000000000000090565b60008282018381101561064a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b60006002820461068f83610683610676876b033b2e3c9fd0803ce8000000610782565b849063ffffffff6105f016565b9063ffffffff6107db16565b949350505050565b600061064a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061081d565b600061064a6b033b2e3c9fd0803ce80000006106836106fe868663ffffffff61078216565b6b019d971e4fe8401e74000000906105f0565b600080610724868663ffffffff6105f016565b90508061073557600091505061068f565b600061074485610519886108b4565b90506000610755856105198a6108b4565b90506000610775610765856108b4565b61036e858563ffffffff6105f016565b9998505050505050505050565b6000826107915750600061064d565b8282028284828161079e57fe5b041461064a5760405162461bcd60e51b81526004018080602001828103825260218152602001806109306021913960400191505060405180910390fd5b600061064a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506108ca565b600081848411156108ac5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610871578181015183820152602001610859565b50505050905090810190601f16801561089e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600061064d82633b9aca0063ffffffff61078216565b600081836109195760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610871578181015183820152602001610859565b50600083858161092557fe5b049594505050505056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a264697066735822122052d4ce246a727bac469b26854000a5f6c4e35f412dde26f41ad6e24ea4ec4d7164736f6c63430006080033'; + "0x61014060405234801561001157600080fd5b50604051610a77380380610a77833981810160405260c081101561003457600080fd5b5080516020820151604083015160608085015160808087015160a0978801516001600160601b03199790941b9690961690529290945260c05260e052610100526101205260805160601c60a05160c05160e05161010051610120516109866100f16000398061018852806103845250806103b5528061049c52806105aa5250806103f552806105ce525080610164528061044652806104de5250806101bb52806104255280610527525080610232528061058652506109866000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c806357e37af01161006657806357e37af0146100ca578063a15f30ac14610126578063c72c4d101461012e578063d5cd739114610152578063f42024091461015a57610093565b80630b3429a21461009857806314e32da4146100b257806317319873146100ba57806334762ca5146100c2575b600080fd5b6100a0610162565b60408051918252519081900360200190f35b6100a0610186565b6100a06101aa565b6100a06101b9565b610108600480360360a08110156100e057600080fd5b506001600160a01b0381351690602081013590604081013590606081013590608001356101dd565b60408051938452602084019290925282820152519081900360600190f35b6100a0610574565b610136610584565b604080516001600160a01b039092168252519081900360200190f35b6100a06105a8565b6100a06105cc565b7f000000000000000000000000000000000000000000000000000000000000000090565b7f000000000000000000000000000000000000000000000000000000000000000090565b6aa56fa5b99019a5c800000081565b7f000000000000000000000000000000000000000000000000000000000000000090565b60008080806101f2878763ffffffff6105f016565b9050600081158015610202575088155b61022b576102266102198a8463ffffffff6105f016565b839063ffffffff61065316565b61022e565b60005b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316633618abba6040518163ffffffff1660e01b815260040160206040518083038186803b15801561028957600080fd5b505afa15801561029d573d6000803e3d6000fd5b505050506040513d60208110156102b357600080fd5b50516040805163bb85c0bb60e01b81526001600160a01b038d811660048301529151919092169163bb85c0bb916024808301926020929190829003018186803b1580156102ff57600080fd5b505afa158015610313573d6000803e3d6000fd5b505050506040513d602081101561032957600080fd5b505193506b0295be96e64066972000000081111561047857600061037a6aa56fa5b99019a5c800000061036e846b0295be96e64066972000000063ffffffff61069716565b9063ffffffff61065316565b90506103eb6103af7f00000000000000000000000000000000000000000000000000000000000000008363ffffffff6106d916565b6103df877f000000000000000000000000000000000000000000000000000000000000000063ffffffff6105f016565b9063ffffffff6105f016565b94506104706104207f00000000000000000000000000000000000000000000000000000000000000008363ffffffff6106d916565b6103df7f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000063ffffffff6105f016565b935050610555565b6104d46104c761049a836b0295be96e64066972000000063ffffffff61065316565b7f00000000000000000000000000000000000000000000000000000000000000009063ffffffff6106d916565b859063ffffffff6105f016565b93506105526105257f0000000000000000000000000000000000000000000000000000000000000000610519846b0295be96e64066972000000063ffffffff61065316565b9063ffffffff6106d916565b7f00000000000000000000000000000000000000000000000000000000000000009063ffffffff6105f016565b92505b610565816105198a8a878b610711565b94505050955095509592505050565b6b0295be96e64066972000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000090565b7f000000000000000000000000000000000000000000000000000000000000000090565b60008282018381101561064a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b60006002820461068f83610683610676876b033b2e3c9fd0803ce8000000610782565b849063ffffffff6105f016565b9063ffffffff6107db16565b949350505050565b600061064a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061081d565b600061064a6b033b2e3c9fd0803ce80000006106836106fe868663ffffffff61078216565b6b019d971e4fe8401e74000000906105f0565b600080610724868663ffffffff6105f016565b90508061073557600091505061068f565b600061074485610519886108b4565b90506000610755856105198a6108b4565b90506000610775610765856108b4565b61036e858563ffffffff6105f016565b9998505050505050505050565b6000826107915750600061064d565b8282028284828161079e57fe5b041461064a5760405162461bcd60e51b81526004018080602001828103825260218152602001806109306021913960400191505060405180910390fd5b600061064a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506108ca565b600081848411156108ac5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610871578181015183820152602001610859565b50505050905090810190601f16801561089e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600061064d82633b9aca0063ffffffff61078216565b600081836109195760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610871578181015183820152602001610859565b50600083858161092557fe5b049594505050505056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a2646970667358221220e8b44fb13f204c9ab669a5adc49456819f4a1c3605b3f3ea321c814cf1b811e364736f6c63430006080033"; diff --git a/types/FeeProviderFactory.ts b/types/FeeProviderFactory.ts index 3721edf4..4d06f2ae 100644 --- a/types/FeeProviderFactory.ts +++ b/types/FeeProviderFactory.ts @@ -1,12 +1,12 @@ /* Generated by ts-generator ver. 0.0.8 */ /* tslint:disable */ -import {Contract, ContractFactory, Signer} from 'ethers'; -import {Provider} from 'ethers/providers'; -import {UnsignedTransaction} from 'ethers/utils/transaction'; +import { Contract, ContractFactory, Signer } from "ethers"; +import { Provider } from "ethers/providers"; +import { UnsignedTransaction } from "ethers/utils/transaction"; -import {TransactionOverrides} from '.'; -import {FeeProvider} from './FeeProvider'; +import { TransactionOverrides } from "."; +import { FeeProvider } from "./FeeProvider"; export class FeeProviderFactory extends ContractFactory { constructor(signer?: Signer) { @@ -25,7 +25,10 @@ export class FeeProviderFactory extends ContractFactory { connect(signer: Signer): FeeProviderFactory { return super.connect(signer) as FeeProviderFactory; } - static connect(address: string, signerOrProvider: Signer | Provider): FeeProvider { + static connect( + address: string, + signerOrProvider: Signer | Provider + ): FeeProvider { return new Contract(address, _abi, signerOrProvider) as FeeProvider; } } @@ -33,81 +36,81 @@ export class FeeProviderFactory extends ContractFactory { const _abi = [ { inputs: [], - name: 'FEE_PROVIDER_REVISION', + name: "FEE_PROVIDER_REVISION", outputs: [ { - internalType: 'uint256', - name: '', - type: 'uint256', - }, + internalType: "uint256", + name: "", + type: "uint256" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_user', - type: 'address', + internalType: "address", + name: "_user", + type: "address" }, { - internalType: 'uint256', - name: '_amount', - type: 'uint256', - }, + internalType: "uint256", + name: "_amount", + type: "uint256" + } ], - name: 'calculateLoanOriginationFee', + name: "calculateLoanOriginationFee", outputs: [ { - internalType: 'uint256', - name: '', - type: 'uint256', - }, + internalType: "uint256", + name: "", + type: "uint256" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [], - name: 'getLoanOriginationFeePercentage', + name: "getLoanOriginationFeePercentage", outputs: [ { - internalType: 'uint256', - name: '', - type: 'uint256', - }, + internalType: "uint256", + name: "", + type: "uint256" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_addressesProvider', - type: 'address', - }, + internalType: "address", + name: "_addressesProvider", + type: "address" + } ], - name: 'initialize', + name: "initialize", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [], - name: 'originationFeePercentage', + name: "originationFeePercentage", outputs: [ { - internalType: 'uint256', - name: '', - type: 'uint256', - }, + internalType: "uint256", + name: "", + type: "uint256" + } ], - stateMutability: 'view', - type: 'function', - }, + stateMutability: "view", + type: "function" + } ]; const _bytecode = - '0x60806040526000805534801561001457600080fd5b5061082d806100246000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80639403ed3a1461005c578063b0d73d4e14610076578063c211f9a41461007e578063c4d66de814610086578063e563a7d0146100ae575b600080fd5b6100646100da565b60408051918252519081900360200190f35b6100646100e0565b6100646100e5565b6100ac6004803603602081101561009c57600080fd5b50356001600160a01b03166100eb565b005b610064600480360360408110156100c457600080fd5b506001600160a01b03813516906020013561021f565b60345481565b600181565b60345490565b61011e6040518060400160405280601281526020017124b739b4b2329034b734ba34b0b634bd32b960711b81525061023f565b6000610128610381565b905061015a6040518060400160405280600e81526020016d5265766973696f6e20697320257360901b81525082610386565b61018460405180604001604052806008815260200167546869733a20257360c01b815250306104db565b60015460ff168061019857506101986105d4565b806101a4575060005481115b6101df5760405162461bcd60e51b815260040180806020018281038252602e8152602001806107ca602e913960400191505060405180910390fd5b60015460ff161580156101fe576001805460ff19168117905560008290555b6608e1bc9bf04000603455801561021a576001805460ff191690555b505050565b6000610236603454836105da90919063ffffffff16565b90505b92915050565b6040516020602482018181528351604484015283516000936a636f6e736f6c652e6c6f67938693928392606401918501908083838a5b8381101561028d578181015183820152602001610275565b50505050905090810190601f1680156102ba5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b031663104c13eb60e21b178152905182519295509350839250908083835b602083106103155780518252601f1990920191602091820191016102f6565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114610375576040519150601f19603f3d011682016040523d82523d6000602084013e61037a565b606091505b5050505050565b600190565b60006a636f6e736f6c652e6c6f676001600160a01b031683836040516024018080602001838152602001828103825284818151815260200191508051906020019080838360005b838110156103e55781810151838201526020016103cd565b50505050905090810190601f1680156104125780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b03166309710a9d60e41b17815290518251929650945084935091508083835b6020831061046e5780518252601f19909201916020918201910161044f565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d80600081146104ce576040519150601f19603f3d011682016040523d82523d6000602084013e6104d3565b606091505b505050505050565b60006a636f6e736f6c652e6c6f676001600160a01b031683836040516024018080602001836001600160a01b03166001600160a01b03168152602001828103825284818151815260200191508051906020019080838360005b8381101561054c578181015183820152602001610534565b50505050905090810190601f1680156105795780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b031663319af33360e01b17815290518251929650945084935091508083836020831061046e5780518252601f19909201916020918201910161044f565b303b1590565b6000610236670de0b6b3a764000061060a6105fb868663ffffffff61061616565b6706f05b59d3b200009061066f565b9063ffffffff6106c916565b60008261062557506000610239565b8282028284828161063257fe5b04146102365760405162461bcd60e51b81526004018080602001828103825260218152602001806107a96021913960400191505060405180910390fd5b600082820183811015610236576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061023683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250600081836107925760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561075757818101518382015260200161073f565b50505050905090810190601f1680156107845780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161079e57fe5b049594505050505056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a6564a264697066735822122096e37c04d1727fcae260159451045b2fd3d49634fccba582da71becd432f644f64736f6c63430006080033'; + "0x60806040526000805534801561001457600080fd5b50610411806100246000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80639403ed3a1461005c578063b0d73d4e14610076578063c211f9a41461007e578063c4d66de814610086578063e563a7d0146100ae575b600080fd5b6100646100da565b60408051918252519081900360200190f35b6100646100e0565b6100646100e5565b6100ac6004803603602081101561009c57600080fd5b50356001600160a01b03166100eb565b005b610064600480360360408110156100c457600080fd5b506001600160a01b038135169060200135610193565b60345481565b600181565b60345490565b60006100f56101b3565b60015490915060ff168061010c575061010c6101b8565b80610118575060005481115b6101535760405162461bcd60e51b815260040180806020018281038252602e8152602001806103ae602e913960400191505060405180910390fd5b60015460ff16158015610172576001805460ff19168117905560008290555b6608e1bc9bf04000603455801561018e576001805460ff191690555b505050565b60006101aa603454836101be90919063ffffffff16565b90505b92915050565b600190565b303b1590565b60006101aa670de0b6b3a76400006101ee6101df868663ffffffff6101fa16565b6706f05b59d3b2000090610253565b9063ffffffff6102ad16565b600082610209575060006101ad565b8282028284828161021657fe5b04146101aa5760405162461bcd60e51b815260040180806020018281038252602181526020018061038d6021913960400191505060405180910390fd5b6000828201838110156101aa576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60006101aa83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250600081836103765760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561033b578181015183820152602001610323565b50505050905090810190601f1680156103685780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161038257fe5b049594505050505056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a6564a26469706673582212204d77e8d34c5af357117493d51adeef06b96bfc607557f6e85a417e94e7bb28fe64736f6c63430006080033"; diff --git a/types/GenericLogicFactory.ts b/types/GenericLogicFactory.ts index 2bda854d..9bff2d7d 100644 --- a/types/GenericLogicFactory.ts +++ b/types/GenericLogicFactory.ts @@ -1,12 +1,12 @@ /* Generated by ts-generator ver. 0.0.8 */ /* tslint:disable */ -import {Contract, ContractFactory, Signer} from 'ethers'; -import {Provider} from 'ethers/providers'; -import {UnsignedTransaction} from 'ethers/utils/transaction'; +import { Contract, ContractFactory, Signer } from "ethers"; +import { Provider } from "ethers/providers"; +import { UnsignedTransaction } from "ethers/utils/transaction"; -import {TransactionOverrides} from '.'; -import {GenericLogic} from './GenericLogic'; +import { TransactionOverrides } from "."; +import { GenericLogic } from "./GenericLogic"; export class GenericLogicFactory extends ContractFactory { constructor(signer?: Signer) { @@ -25,7 +25,10 @@ export class GenericLogicFactory extends ContractFactory { connect(signer: Signer): GenericLogicFactory { return super.connect(signer) as GenericLogicFactory; } - static connect(address: string, signerOrProvider: Signer | Provider): GenericLogic { + static connect( + address: string, + signerOrProvider: Signer | Provider + ): GenericLogic { return new Contract(address, _abi, signerOrProvider) as GenericLogic; } } @@ -33,47 +36,47 @@ export class GenericLogicFactory extends ContractFactory { const _abi = [ { inputs: [], - name: 'HEALTH_FACTOR_LIQUIDATION_THRESHOLD', + name: "HEALTH_FACTOR_LIQUIDATION_THRESHOLD", outputs: [ { - internalType: 'uint256', - name: '', - type: 'uint256', - }, + internalType: "uint256", + name: "", + type: "uint256" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [ { - internalType: 'uint256', - name: 'collateralBalanceETH', - type: 'uint256', + internalType: "uint256", + name: "collateralBalanceETH", + type: "uint256" }, { - internalType: 'uint256', - name: 'borrowBalanceETH', - type: 'uint256', + internalType: "uint256", + name: "borrowBalanceETH", + type: "uint256" }, { - internalType: 'uint256', - name: 'ltv', - type: 'uint256', - }, + internalType: "uint256", + name: "ltv", + type: "uint256" + } ], - name: 'calculateAvailableBorrowsETH', + name: "calculateAvailableBorrowsETH", outputs: [ { - internalType: 'uint256', - name: '', - type: 'uint256', - }, + internalType: "uint256", + name: "", + type: "uint256" + } ], - stateMutability: 'view', - type: 'function', - }, + stateMutability: "view", + type: "function" + } ]; const _bytecode = - '0x610e85610026600b82828239805160001a60731461001957fe5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061004b5760003560e01c8063865cb0ce14610050578063c3525c2814610079578063d609bd1b1461008e575b600080fd5b61006361005e366004610c0b565b6100a1565b6040516100709190610d70565b60405180910390f35b610081610326565b6040516100709190610e46565b61008161009c366004610d31565b610332565b60006100ba6100b536879003870187610cdc565b610374565b158061010857506001600160a01b03891660009081526020879052604090206009015461010690600160d01b900460ff166100fa36889003880188610cdc565b9063ffffffff61039c16565b155b156101155750600161031a565b61011d610af7565b6001600160a01b038a166000908152602088905260409020610141906005016103b4565b845250506020820181905261015a57600191505061031a565b6101a9898861016e368a90038a018a610cdc565b8888808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508a92506103fb915050565b506080850152506060830181905260408301919091526101cd57600191505061031a565b6102708160000151600a0a6102648a866001600160a01b031663b3596f078f6040518263ffffffff1660e01b81526004016102089190610d5c565b60206040518083038186803b15801561022057600080fd5b505afa158015610234573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102589190610d19565b9063ffffffff6108fb16565b9063ffffffff61093e16565b60c08201819052604082015161028b9163ffffffff61098016565b60e082018190526102a057600091505061031a565b6102eb8160e001516102646102c68460a001518560c001516108fb90919063ffffffff16565b608085015160408601516102df9163ffffffff6108fb16565b9063ffffffff61098016565b610100820181905260e0820151606083015160009261030b9291906109c2565b670de0b6b3a764000010925050505b98975050505050505050565b670de0b6b3a764000081565b600080610345858463ffffffff6109fa16565b90508381101561035957600091505061036d565b610369818563ffffffff61098016565b9150505b9392505050565b517f555555555555555555555555555555555555555555555555555555555555555516151590565b815160016002830281019190911c1615155b92915050565b54670fffffffffff000019811691601082901c650fffffff0001600160f01b031691602081901c630fff0001600160e01b03169160309190911c610f01600160d01b031690565b600080600080600061040b610b53565b61041489610a1e565b1561043157506000945084935083925082915060001990506108ee565b600060e08201525b87518160e0015110156108415760e081015161045c908a9063ffffffff610a2316565b61046557610831565b878160e001518151811061047557fe5b6020908102919091018101516001600160a01b031661020083018190526000908152908b9052604090206104ab600582016103b4565b6080860181905260c08601929092525060a0840191909152600a0a602083015261020082015160405163b3596f0760e01b81526001600160a01b038a169163b3596f07916104fc9190600401610d5c565b60206040518083038186803b15801561051457600080fd5b505afa158015610528573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054c9190610d19565b825260a082015115801590610572575060e0820151610572908b9063ffffffff61039c16565b156106a35760068101546040516370a0823160e01b81526001600160a01b03909116906370a08231906105a9908f90600401610d5c565b60206040518083038186803b1580156105c157600080fd5b505afa1580156105d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f99190610d19565b604083018190526020830151835160009261061e92916102649163ffffffff6108fb16565b610120840151909150610637908263ffffffff610a3316565b61012084015260a08301516106699061065790839063ffffffff6108fb16565b6101808501519063ffffffff610a3316565b61018084015260c083015161069b9061068990839063ffffffff6108fb16565b6101a08501519063ffffffff610a3316565b6101a0840152505b60e08201516106b9908b9063ffffffff610a5816565b1561082f5760078101546040516370a0823160e01b81526001600160a01b03909116906370a08231906106f0908f90600401610d5c565b60206040518083038186803b15801561070857600080fd5b505afa15801561071c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107409190610d19565b8260600181815250506107f08160080160009054906101000a90046001600160a01b03166001600160a01b03166370a082318e6040518263ffffffff1660e01b815260040161078f9190610d5c565b60206040518083038186803b1580156107a757600080fd5b505afa1580156107bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107df9190610d19565b60608401519063ffffffff610a3316565b60608301819052602083015183516108289261081692916102649163ffffffff6108fb16565b6101408401519063ffffffff610a3316565b6101408301525b505b60e0810180516001019052610439565b600081610120015111610855576000610870565b6101208101516101808201516108709163ffffffff61093e16565b6101808201526101208101516108875760006108a2565b6101208101516101a08201516108a29163ffffffff61093e16565b6101a082018190526101208201516101408301516108bf926109c2565b61010082018190526101208201516101408301516101808401516101a090940151919850965091945090925090505b9550955095509550959050565b60008261090a575060006103ae565b8282028284828161091757fe5b041461036d5760405162461bcd60e51b815260040161093590610e05565b60405180910390fd5b600061036d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610a68565b600061036d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610a9f565b6000826109d2575060001961036d565b6109f2836109e6868563ffffffff6109fa16565b9063ffffffff610acb16565b949350505050565b600061036d612710610264610a15868663ffffffff6108fb16565b61138890610a33565b511590565b9051600360029092021c16151590565b60008282018381101561036d5760405162461bcd60e51b815260040161093590610dce565b9051600160029092021c16151590565b60008183610a895760405162461bcd60e51b81526004016109359190610d7b565b506000838581610a9557fe5b0495945050505050565b60008184841115610ac35760405162461bcd60e51b81526004016109359190610d7b565b505050900390565b6000600282046109f283610264610aea87670de0b6b3a76400006108fb565b849063ffffffff610a3316565b604051806101600160405280600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000151581525090565b60405180610260016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160001515815260200160006001600160a01b031681526020016000151581526020016000151581525090565b80356001600160a01b03811681146103ae57600080fd5b600080600080600080600080888a0360e0811215610c27578485fd5b610c318b8b610bf4565b9850610c408b60208c01610bf4565b975060408a0135965060608a013595506020607f1982011215610c61578485fd5b5060808901935060a089013567ffffffffffffffff80821115610c82578485fd5b818b018c601f820112610c93578586fd5b8035925081831115610ca3578586fd5b8c60208085028301011115610cb6578586fd5b6020019450909250610ccd90508a60c08b01610bf4565b90509295985092959890939650565b600060208284031215610ced578081fd5b6040516020810181811067ffffffffffffffff82111715610d0c578283fd5b6040529135825250919050565b600060208284031215610d2a578081fd5b5051919050565b600080600060608486031215610d45578283fd5b505081359360208301359350604090920135919050565b6001600160a01b0391909116815260200190565b901515815260200190565b6000602080835283518082850152825b81811015610da757858101830151858201604001528201610d8b565b81811115610db85783604083870101525b50601f01601f1916929092016040019392505050565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b9081526020019056fea264697066735822122013de44bbcb2905d31c33d018309ffd832873bd3203d4ab8043140ffa6b577b9364736f6c63430006080033'; + "0x610e9f610026600b82828239805160001a60731461001957fe5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061004b5760003560e01c8063865cb0ce14610050578063c3525c2814610079578063d609bd1b1461008e575b600080fd5b61006361005e366004610c0b565b6100a1565b6040516100709190610d72565b60405180910390f35b610081610326565b6040516100709190610e48565b61008161009c366004610d33565b610332565b60006100ba6100b536879003870187610cde565b610374565b158061010857506001600160a01b03891660009081526020879052604090206009015461010690600160d01b900460ff166100fa36889003880188610cde565b9063ffffffff61039c16565b155b156101155750600161031a565b61011d610af7565b6001600160a01b038a166000908152602088905260409020610141906005016103b4565b845250506020820181905261015a57600191505061031a565b6101a9898861016e368a90038a018a610cde565b8888808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508a92506103fb915050565b506080850152506060830181905260408301919091526101cd57600191505061031a565b6102708160000151600a0a6102648a866001600160a01b031663b3596f078f6040518263ffffffff1660e01b81526004016102089190610d5e565b60206040518083038186803b15801561022057600080fd5b505afa158015610234573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102589190610d1b565b9063ffffffff6108fb16565b9063ffffffff61093e16565b60c08201819052604082015161028b9163ffffffff61098016565b60e082018190526102a057600091505061031a565b6102eb8160e001516102646102c68460a001518560c001516108fb90919063ffffffff16565b608085015160408601516102df9163ffffffff6108fb16565b9063ffffffff61098016565b610100820181905260e0820151606083015160009261030b9291906109c2565b670de0b6b3a764000010925050505b98975050505050505050565b670de0b6b3a764000081565b600080610345858463ffffffff6109fa16565b90508381101561035957600091505061036d565b610369818563ffffffff61098016565b9150505b9392505050565b517f555555555555555555555555555555555555555555555555555555555555555516151590565b815160016002830281019190911c1615155b92915050565b54670fffffffffff000019811691601082901c650fffffff0001600160f01b031691602081901c630fff0001600160e01b03169160309190911c610f01600160d01b031690565b600080600080600061040b610b53565b61041489610a1e565b1561043157506000945084935083925082915060001990506108ee565b600060e08201525b87518160e0015110156108415760e081015161045c908a9063ffffffff610a2316565b61046557610831565b878160e001518151811061047557fe5b6020908102919091018101516001600160a01b031661020083018190526000908152908b9052604090206104ab600582016103b4565b6080860181905260c08601929092525060a0840191909152600a0a602083015261020082015160405163b3596f0760e01b81526001600160a01b038a169163b3596f07916104fc9190600401610d5e565b60206040518083038186803b15801561051457600080fd5b505afa158015610528573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054c9190610d1b565b825260a082015115801590610572575060e0820151610572908b9063ffffffff61039c16565b156106a35760068101546040516370a0823160e01b81526001600160a01b03909116906370a08231906105a9908f90600401610d5e565b60206040518083038186803b1580156105c157600080fd5b505afa1580156105d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f99190610d1b565b604083018190526020830151835160009261061e92916102649163ffffffff6108fb16565b610120840151909150610637908263ffffffff610a3316565b61012084015260a08301516106699061065790839063ffffffff6108fb16565b6101808501519063ffffffff610a3316565b61018084015260c083015161069b9061068990839063ffffffff6108fb16565b6101a08501519063ffffffff610a3316565b6101a0840152505b60e08201516106b9908b9063ffffffff610a5816565b1561082f5760078101546040516370a0823160e01b81526001600160a01b03909116906370a08231906106f0908f90600401610d5e565b60206040518083038186803b15801561070857600080fd5b505afa15801561071c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107409190610d1b565b8260600181815250506107f08160080160009054906101000a90046001600160a01b03166001600160a01b03166370a082318e6040518263ffffffff1660e01b815260040161078f9190610d5e565b60206040518083038186803b1580156107a757600080fd5b505afa1580156107bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107df9190610d1b565b60608401519063ffffffff610a3316565b60608301819052602083015183516108289261081692916102649163ffffffff6108fb16565b6101408401519063ffffffff610a3316565b6101408301525b505b60e0810180516001019052610439565b600081610120015111610855576000610870565b6101208101516101808201516108709163ffffffff61093e16565b6101808201526101208101516108875760006108a2565b6101208101516101a08201516108a29163ffffffff61093e16565b6101a082018190526101208201516101408301516108bf926109c2565b61010082018190526101208201516101408301516101808401516101a090940151919850965091945090925090505b9550955095509550959050565b60008261090a575060006103ae565b8282028284828161091757fe5b041461036d5760405162461bcd60e51b815260040161093590610e07565b60405180910390fd5b600061036d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610a68565b600061036d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610a9f565b6000826109d2575060001961036d565b6109f2836109e6868563ffffffff6109fa16565b9063ffffffff610acb16565b949350505050565b600061036d612710610264610a15868663ffffffff6108fb16565b61138890610a33565b511590565b9051600360029092021c16151590565b60008282018381101561036d5760405162461bcd60e51b815260040161093590610dd0565b9051600160029092021c16151590565b60008183610a895760405162461bcd60e51b81526004016109359190610d7d565b506000838581610a9557fe5b0495945050505050565b60008184841115610ac35760405162461bcd60e51b81526004016109359190610d7d565b505050900390565b6000600282046109f283610264610aea87670de0b6b3a76400006108fb565b849063ffffffff610a3316565b604051806101600160405280600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000151581525090565b60405180610260016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160001515815260200160006001600160a01b031681526020016000151581526020016000151581525090565b80356001600160a01b03811681146103ae57600080fd5b600080600080600080600080888a0360e0811215610c27578485fd5b8935610c3281610e51565b985060208a0135610c4281610e51565b975060408a0135965060608a013595506020607f1982011215610c63578485fd5b5060808901935060a089013567ffffffffffffffff80821115610c84578485fd5b818b018c601f820112610c95578586fd5b8035925081831115610ca5578586fd5b8c60208085028301011115610cb8578586fd5b6020019450909250610ccf90508a60c08b01610bf4565b90509295985092959890939650565b600060208284031215610cef578081fd5b6040516020810181811067ffffffffffffffff82111715610d0e578283fd5b6040529135825250919050565b600060208284031215610d2c578081fd5b5051919050565b600080600060608486031215610d47578283fd5b505081359360208301359350604090920135919050565b6001600160a01b0391909116815260200190565b901515815260200190565b6000602080835283518082850152825b81811015610da957858101830151858201604001528201610d8d565b81811115610dba5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b90815260200190565b6001600160a01b0381168114610e6657600080fd5b5056fea264697066735822122009015608c3565ded56e95d2ab918e32bdc984d1bcb12594bd99e167dd271df5e64736f6c63430006080033"; diff --git a/types/InitializableAdminUpgradeabilityProxyFactory.ts b/types/InitializableAdminUpgradeabilityProxyFactory.ts index cb97afe8..0703e4b7 100644 --- a/types/InitializableAdminUpgradeabilityProxyFactory.ts +++ b/types/InitializableAdminUpgradeabilityProxyFactory.ts @@ -1,20 +1,24 @@ /* Generated by ts-generator ver. 0.0.8 */ /* tslint:disable */ -import {Contract, ContractFactory, Signer} from 'ethers'; -import {Provider} from 'ethers/providers'; -import {UnsignedTransaction} from 'ethers/utils/transaction'; +import { Contract, ContractFactory, Signer } from "ethers"; +import { Provider } from "ethers/providers"; +import { UnsignedTransaction } from "ethers/utils/transaction"; -import {TransactionOverrides} from '.'; -import {InitializableAdminUpgradeabilityProxy} from './InitializableAdminUpgradeabilityProxy'; +import { TransactionOverrides } from "."; +import { InitializableAdminUpgradeabilityProxy } from "./InitializableAdminUpgradeabilityProxy"; export class InitializableAdminUpgradeabilityProxyFactory extends ContractFactory { constructor(signer?: Signer) { super(_abi, _bytecode, signer); } - deploy(overrides?: TransactionOverrides): Promise { - return super.deploy(overrides) as Promise; + deploy( + overrides?: TransactionOverrides + ): Promise { + return super.deploy(overrides) as Promise< + InitializableAdminUpgradeabilityProxy + >; } getDeployTransaction(overrides?: TransactionOverrides): UnsignedTransaction { return super.getDeployTransaction(overrides); @@ -23,13 +27,19 @@ export class InitializableAdminUpgradeabilityProxyFactory extends ContractFactor return super.attach(address) as InitializableAdminUpgradeabilityProxy; } connect(signer: Signer): InitializableAdminUpgradeabilityProxyFactory { - return super.connect(signer) as InitializableAdminUpgradeabilityProxyFactory; + return super.connect( + signer + ) as InitializableAdminUpgradeabilityProxyFactory; } static connect( address: string, signerOrProvider: Signer | Provider ): InitializableAdminUpgradeabilityProxy { - return new Contract(address, _abi, signerOrProvider) as InitializableAdminUpgradeabilityProxy; + return new Contract( + address, + _abi, + signerOrProvider + ) as InitializableAdminUpgradeabilityProxy; } } @@ -39,149 +49,149 @@ const _abi = [ inputs: [ { indexed: false, - internalType: 'address', - name: 'previousAdmin', - type: 'address', + internalType: "address", + name: "previousAdmin", + type: "address" }, { indexed: false, - internalType: 'address', - name: 'newAdmin', - type: 'address', - }, + internalType: "address", + name: "newAdmin", + type: "address" + } ], - name: 'AdminChanged', - type: 'event', + name: "AdminChanged", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: 'implementation', - type: 'address', - }, + internalType: "address", + name: "implementation", + type: "address" + } ], - name: 'Upgraded', - type: 'event', + name: "Upgraded", + type: "event" }, { - stateMutability: 'payable', - type: 'fallback', + stateMutability: "payable", + type: "fallback" }, { inputs: [], - name: 'admin', + name: "admin", outputs: [ { - internalType: 'address', - name: '', - type: 'address', - }, + internalType: "address", + name: "", + type: "address" + } ], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: 'newAdmin', - type: 'address', - }, + internalType: "address", + name: "newAdmin", + type: "address" + } ], - name: 'changeAdmin', + name: "changeAdmin", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [], - name: 'implementation', + name: "implementation", outputs: [ { - internalType: 'address', - name: '', - type: 'address', - }, + internalType: "address", + name: "", + type: "address" + } ], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_logic', - type: 'address', + internalType: "address", + name: "_logic", + type: "address" }, { - internalType: 'address', - name: '_admin', - type: 'address', + internalType: "address", + name: "_admin", + type: "address" }, { - internalType: 'bytes', - name: '_data', - type: 'bytes', - }, + internalType: "bytes", + name: "_data", + type: "bytes" + } ], - name: 'initialize', + name: "initialize", outputs: [], - stateMutability: 'payable', - type: 'function', + stateMutability: "payable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_logic', - type: 'address', + internalType: "address", + name: "_logic", + type: "address" }, { - internalType: 'bytes', - name: '_data', - type: 'bytes', - }, + internalType: "bytes", + name: "_data", + type: "bytes" + } ], - name: 'initialize', + name: "initialize", outputs: [], - stateMutability: 'payable', - type: 'function', + stateMutability: "payable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: 'newImplementation', - type: 'address', - }, + internalType: "address", + name: "newImplementation", + type: "address" + } ], - name: 'upgradeTo', + name: "upgradeTo", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: 'newImplementation', - type: 'address', + internalType: "address", + name: "newImplementation", + type: "address" }, { - internalType: 'bytes', - name: 'data', - type: 'bytes', - }, + internalType: "bytes", + name: "data", + type: "bytes" + } ], - name: 'upgradeToAndCall', + name: "upgradeToAndCall", outputs: [], - stateMutability: 'payable', - type: 'function', - }, + stateMutability: "payable", + type: "function" + } ]; const _bytecode = - '0x608060405234801561001057600080fd5b50610e24806100206000396000f3fe6080604052600436106100705760003560e01c80638f2839701161004e5780638f2839701461015e578063cf7a1d7714610191578063d1f5789414610250578063f851a4401461030657610070565b80633659cfe61461007a5780634f1ef286146100ad5780635c60da1b1461012d575b61007861031b565b005b34801561008657600080fd5b506100786004803603602081101561009d57600080fd5b50356001600160a01b0316610335565b610078600480360360408110156100c357600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156100ee57600080fd5b82018360208201111561010057600080fd5b8035906020019184600183028401116401000000008311171561012257600080fd5b50909250905061036f565b34801561013957600080fd5b506101426104f1565b604080516001600160a01b039092168252519081900360200190f35b34801561016a57600080fd5b506100786004803603602081101561018157600080fd5b50356001600160a01b031661052e565b610078600480360360608110156101a757600080fd5b6001600160a01b0382358116926020810135909116918101906060810160408201356401000000008111156101db57600080fd5b8201836020820111156101ed57600080fd5b8035906020019184600183028401116401000000008311171561020f57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506105e8945050505050565b6100786004803603604081101561026657600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561029157600080fd5b8201836020820111156102a357600080fd5b803590602001918460018302840111640100000000831117156102c557600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061066e945050505050565b34801561031257600080fd5b506101426107ae565b6103236107d9565b61033361032e6107e1565b610806565b565b61033d61082a565b6001600160a01b0316336001600160a01b031614156103645761035f8161084f565b61036c565b61036c61031b565b50565b61037761082a565b6001600160a01b0316336001600160a01b031614156104e4576103ce6040518060400160405280601781526020017f496e736964652075706772616465546f416e6443616c6c00000000000000000081525061088f565b6103d78361084f565b61040060405180604001604052806008815260200167155c19dc9859195960c21b81525061088f565b61042f6040518060400160405280600d81526020016c4164647265737320697320257360981b815250846109d1565b6000836001600160a01b031683836040518083838082843760405192019450600093509091505080830381855af49150503d806000811461048c576040519150601f19603f3d011682016040523d82523d6000602084013e610491565b606091505b505090506104d46040518060400160405280601d81526020017f44656c65676174652063616c6c20646f6e652c20726573756c7420257300000081525082610b38565b806104de57600080fd5b506104ec565b6104ec61031b565b505050565b60006104fb61082a565b6001600160a01b0316336001600160a01b031614156105235761051c6107e1565b905061052b565b61052b61031b565b90565b61053661082a565b6001600160a01b0316336001600160a01b03161415610364576001600160a01b0381166105945760405162461bcd60e51b8152600401808060200182810382526036815260200180610d7e6036913960400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6105bd61082a565b604080516001600160a01b03928316815291841660208301528051918290030190a161035f81610c23565b60006105f26107e1565b6001600160a01b03161461060557600080fd5b61060f838261066e565b604080517232b4b8189c9b1b97383937bc3c9730b236b4b760691b815290519081900360130190207fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61036000199091011461066557fe5b6104ec82610c23565b60006106786107e1565b6001600160a01b03161461068b57600080fd5b604080517f656970313936372e70726f78792e696d706c656d656e746174696f6e000000008152905190819003601c0190207f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc600019909101146106eb57fe5b6106f482610c47565b8051156107aa576000826001600160a01b0316826040518082805190602001908083835b602083106107375780518252601f199092019160209182019101610718565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610797576040519150601f19603f3d011682016040523d82523d6000602084013e61079c565b606091505b50509050806104ec57600080fd5b5050565b60006107b861082a565b6001600160a01b0316336001600160a01b031614156105235761051c61082a565b610333610caf565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e808015610825573d6000f35b3d6000fd5b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b61085881610c47565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6040516020602482018181528351604484015283516000936a636f6e736f6c652e6c6f67938693928392606401918501908083838a5b838110156108dd5781810151838201526020016108c5565b50505050905090810190601f16801561090a5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b031663104c13eb60e21b178152905182519295509350839250908083835b602083106109655780518252601f199092019160209182019101610946565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d80600081146109c5576040519150601f19603f3d011682016040523d82523d6000602084013e6109ca565b606091505b5050505050565b60006a636f6e736f6c652e6c6f676001600160a01b031683836040516024018080602001836001600160a01b03166001600160a01b03168152602001828103825284818151815260200191508051906020019080838360005b83811015610a42578181015183820152602001610a2a565b50505050905090810190601f168015610a6f5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b031663319af33360e01b17815290518251929650945084935091508083835b60208310610acb5780518252601f199092019160209182019101610aac565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114610b2b576040519150601f19603f3d011682016040523d82523d6000602084013e610b30565b606091505b505050505050565b60006a636f6e736f6c652e6c6f676001600160a01b03168383604051602401808060200183151515158152602001828103825284818151815260200191508051906020019080838360005b83811015610b9b578181015183820152602001610b83565b50505050905090810190601f168015610bc85780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b031663c3b5563560e01b178152905182519296509450849350915080838360208310610acb5780518252601f199092019160209182019101610aac565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b610c5081610d0f565b610c8b5760405162461bcd60e51b815260040180806020018281038252603b815260200180610db4603b913960400191505060405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b610cb761082a565b6001600160a01b0316336001600160a01b03161415610d075760405162461bcd60e51b8152600401808060200182810382526032815260200180610d4c6032913960400191505060405180910390fd5b610333610333565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610d4357508115155b94935050505056fe43616e6e6f742063616c6c2066616c6c6261636b2066756e6374696f6e2066726f6d207468652070726f78792061646d696e43616e6e6f74206368616e6765207468652061646d696e206f6620612070726f787920746f20746865207a65726f206164647265737343616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a2646970667358221220993845a5381841a5ff0030eb7e233a5d9478e7017362cd04bced9e6a862fe56f64736f6c63430006080033'; + "0x608060405234801561001057600080fd5b506109bb806100206000396000f3fe6080604052600436106100705760003560e01c80638f2839701161004e5780638f2839701461015e578063cf7a1d7714610191578063d1f5789414610250578063f851a4401461030657610070565b80633659cfe61461007a5780634f1ef286146100ad5780635c60da1b1461012d575b61007861031b565b005b34801561008657600080fd5b506100786004803603602081101561009d57600080fd5b50356001600160a01b0316610335565b610078600480360360408110156100c357600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156100ee57600080fd5b82018360208201111561010057600080fd5b8035906020019184600183028401116401000000008311171561012257600080fd5b50909250905061036f565b34801561013957600080fd5b5061014261041c565b604080516001600160a01b039092168252519081900360200190f35b34801561016a57600080fd5b506100786004803603602081101561018157600080fd5b50356001600160a01b0316610459565b610078600480360360608110156101a757600080fd5b6001600160a01b0382358116926020810135909116918101906060810160408201356401000000008111156101db57600080fd5b8201836020820111156101ed57600080fd5b8035906020019184600183028401116401000000008311171561020f57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610513945050505050565b6100786004803603604081101561026657600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561029157600080fd5b8201836020820111156102a357600080fd5b803590602001918460018302840111640100000000831117156102c557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610599945050505050565b34801561031257600080fd5b506101426106d9565b610323610704565b61033361032e61070c565b610731565b565b61033d610755565b6001600160a01b0316336001600160a01b031614156103645761035f8161077a565b61036c565b61036c61031b565b50565b610377610755565b6001600160a01b0316336001600160a01b0316141561040f576103998361077a565b6000836001600160a01b031683836040518083838082843760405192019450600093509091505080830381855af49150503d80600081146103f6576040519150601f19603f3d011682016040523d82523d6000602084013e6103fb565b606091505b505090508061040957600080fd5b50610417565b61041761031b565b505050565b6000610426610755565b6001600160a01b0316336001600160a01b0316141561044e5761044761070c565b9050610456565b61045661031b565b90565b610461610755565b6001600160a01b0316336001600160a01b03161415610364576001600160a01b0381166104bf5760405162461bcd60e51b81526004018080602001828103825260368152602001806109156036913960400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6104e8610755565b604080516001600160a01b03928316815291841660208301528051918290030190a161035f816107ba565b600061051d61070c565b6001600160a01b03161461053057600080fd5b61053a8382610599565b604080517232b4b8189c9b1b97383937bc3c9730b236b4b760691b815290519081900360130190207fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61036000199091011461059057fe5b610417826107ba565b60006105a361070c565b6001600160a01b0316146105b657600080fd5b604080517f656970313936372e70726f78792e696d706c656d656e746174696f6e000000008152905190819003601c0190207f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc6000199091011461061657fe5b61061f826107de565b8051156106d5576000826001600160a01b0316826040518082805190602001908083835b602083106106625780518252601f199092019160209182019101610643565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146106c2576040519150601f19603f3d011682016040523d82523d6000602084013e6106c7565b606091505b505090508061041757600080fd5b5050565b60006106e3610755565b6001600160a01b0316336001600160a01b0316141561044e57610447610755565b610333610846565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e808015610750573d6000f35b3d6000fd5b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b610783816107de565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b6107e7816108a6565b6108225760405162461bcd60e51b815260040180806020018281038252603b81526020018061094b603b913960400191505060405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b61084e610755565b6001600160a01b0316336001600160a01b0316141561089e5760405162461bcd60e51b81526004018080602001828103825260328152602001806108e36032913960400191505060405180910390fd5b610333610333565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906108da57508115155b94935050505056fe43616e6e6f742063616c6c2066616c6c6261636b2066756e6374696f6e2066726f6d207468652070726f78792061646d696e43616e6e6f74206368616e6765207468652061646d696e206f6620612070726f787920746f20746865207a65726f206164647265737343616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a26469706673582212205332daad1efa09e03cc1b95b9d51cadb3cf32e2d57907a628c0b4a5a20d8051f64736f6c63430006080033"; diff --git a/types/LendingPoolAddressesProviderFactory.ts b/types/LendingPoolAddressesProviderFactory.ts index 49bdf6b2..b0b91f19 100644 --- a/types/LendingPoolAddressesProviderFactory.ts +++ b/types/LendingPoolAddressesProviderFactory.ts @@ -1,19 +1,21 @@ /* Generated by ts-generator ver. 0.0.8 */ /* tslint:disable */ -import {Contract, ContractFactory, Signer} from 'ethers'; -import {Provider} from 'ethers/providers'; -import {UnsignedTransaction} from 'ethers/utils/transaction'; +import { Contract, ContractFactory, Signer } from "ethers"; +import { Provider } from "ethers/providers"; +import { UnsignedTransaction } from "ethers/utils/transaction"; -import {TransactionOverrides} from '.'; -import {LendingPoolAddressesProvider} from './LendingPoolAddressesProvider'; +import { TransactionOverrides } from "."; +import { LendingPoolAddressesProvider } from "./LendingPoolAddressesProvider"; export class LendingPoolAddressesProviderFactory extends ContractFactory { constructor(signer?: Signer) { super(_abi, _bytecode, signer); } - deploy(overrides?: TransactionOverrides): Promise { + deploy( + overrides?: TransactionOverrides + ): Promise { return super.deploy(overrides) as Promise; } getDeployTransaction(overrides?: TransactionOverrides): UnsignedTransaction { @@ -29,7 +31,11 @@ export class LendingPoolAddressesProviderFactory extends ContractFactory { address: string, signerOrProvider: Signer | Provider ): LendingPoolAddressesProvider { - return new Contract(address, _abi, signerOrProvider) as LendingPoolAddressesProvider; + return new Contract( + address, + _abi, + signerOrProvider + ) as LendingPoolAddressesProvider; } } @@ -39,417 +45,417 @@ const _abi = [ inputs: [ { indexed: true, - internalType: 'address', - name: 'newAddress', - type: 'address', - }, + internalType: "address", + name: "newAddress", + type: "address" + } ], - name: 'EthereumAddressUpdated', - type: 'event', + name: "EthereumAddressUpdated", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: 'newAddress', - type: 'address', - }, + internalType: "address", + name: "newAddress", + type: "address" + } ], - name: 'FeeProviderUpdated', - type: 'event', + name: "FeeProviderUpdated", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: 'newAddress', - type: 'address', - }, + internalType: "address", + name: "newAddress", + type: "address" + } ], - name: 'LendingPoolConfiguratorUpdated', - type: 'event', + name: "LendingPoolConfiguratorUpdated", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: 'newAddress', - type: 'address', - }, + internalType: "address", + name: "newAddress", + type: "address" + } ], - name: 'LendingPoolLiquidationManagerUpdated', - type: 'event', + name: "LendingPoolLiquidationManagerUpdated", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: 'newAddress', - type: 'address', - }, + internalType: "address", + name: "newAddress", + type: "address" + } ], - name: 'LendingPoolManagerUpdated', - type: 'event', + name: "LendingPoolManagerUpdated", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: 'newAddress', - type: 'address', - }, + internalType: "address", + name: "newAddress", + type: "address" + } ], - name: 'LendingPoolUpdated', - type: 'event', + name: "LendingPoolUpdated", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: 'newAddress', - type: 'address', - }, + internalType: "address", + name: "newAddress", + type: "address" + } ], - name: 'LendingRateOracleUpdated', - type: 'event', + name: "LendingRateOracleUpdated", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: 'previousOwner', - type: 'address', + internalType: "address", + name: "previousOwner", + type: "address" }, { indexed: true, - internalType: 'address', - name: 'newOwner', - type: 'address', - }, + internalType: "address", + name: "newOwner", + type: "address" + } ], - name: 'OwnershipTransferred', - type: 'event', + name: "OwnershipTransferred", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: 'newAddress', - type: 'address', - }, + internalType: "address", + name: "newAddress", + type: "address" + } ], - name: 'PriceOracleUpdated', - type: 'event', + name: "PriceOracleUpdated", + type: "event" }, { anonymous: false, inputs: [ { indexed: false, - internalType: 'bytes32', - name: 'id', - type: 'bytes32', + internalType: "bytes32", + name: "id", + type: "bytes32" }, { indexed: true, - internalType: 'address', - name: 'newAddress', - type: 'address', - }, + internalType: "address", + name: "newAddress", + type: "address" + } ], - name: 'ProxyCreated', - type: 'event', + name: "ProxyCreated", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: 'newAddress', - type: 'address', - }, + internalType: "address", + name: "newAddress", + type: "address" + } ], - name: 'TokenDistributorUpdated', - type: 'event', + name: "TokenDistributorUpdated", + type: "event" }, { inputs: [ { - internalType: 'bytes32', - name: '_key', - type: 'bytes32', - }, + internalType: "bytes32", + name: "_key", + type: "bytes32" + } ], - name: 'getAddress', + name: "getAddress", outputs: [ { - internalType: 'address', - name: '', - type: 'address', - }, + internalType: "address", + name: "", + type: "address" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [], - name: 'getFeeProvider', + name: "getFeeProvider", outputs: [ { - internalType: 'address', - name: '', - type: 'address', - }, + internalType: "address", + name: "", + type: "address" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [], - name: 'getLendingPool', + name: "getLendingPool", outputs: [ { - internalType: 'address', - name: '', - type: 'address', - }, + internalType: "address", + name: "", + type: "address" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [], - name: 'getLendingPoolConfigurator', + name: "getLendingPoolConfigurator", outputs: [ { - internalType: 'address', - name: '', - type: 'address', - }, + internalType: "address", + name: "", + type: "address" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [], - name: 'getLendingPoolLiquidationManager', + name: "getLendingPoolLiquidationManager", outputs: [ { - internalType: 'address', - name: '', - type: 'address', - }, + internalType: "address", + name: "", + type: "address" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [], - name: 'getLendingPoolManager', + name: "getLendingPoolManager", outputs: [ { - internalType: 'address', - name: '', - type: 'address', - }, + internalType: "address", + name: "", + type: "address" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [], - name: 'getLendingRateOracle', + name: "getLendingRateOracle", outputs: [ { - internalType: 'address', - name: '', - type: 'address', - }, + internalType: "address", + name: "", + type: "address" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [], - name: 'getPriceOracle', + name: "getPriceOracle", outputs: [ { - internalType: 'address', - name: '', - type: 'address', - }, + internalType: "address", + name: "", + type: "address" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [], - name: 'getTokenDistributor', + name: "getTokenDistributor", outputs: [ { - internalType: 'address', - name: '', - type: 'address', - }, + internalType: "address", + name: "", + type: "address" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [], - name: 'owner', + name: "owner", outputs: [ { - internalType: 'address', - name: '', - type: 'address', - }, + internalType: "address", + name: "", + type: "address" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [], - name: 'renounceOwnership', + name: "renounceOwnership", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_feeProvider', - type: 'address', - }, + internalType: "address", + name: "_feeProvider", + type: "address" + } ], - name: 'setFeeProviderImpl', + name: "setFeeProviderImpl", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_configurator', - type: 'address', - }, + internalType: "address", + name: "_configurator", + type: "address" + } ], - name: 'setLendingPoolConfiguratorImpl', + name: "setLendingPoolConfiguratorImpl", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_pool', - type: 'address', - }, + internalType: "address", + name: "_pool", + type: "address" + } ], - name: 'setLendingPoolImpl', + name: "setLendingPoolImpl", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_manager', - type: 'address', - }, + internalType: "address", + name: "_manager", + type: "address" + } ], - name: 'setLendingPoolLiquidationManager', + name: "setLendingPoolLiquidationManager", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_lendingPoolManager', - type: 'address', - }, + internalType: "address", + name: "_lendingPoolManager", + type: "address" + } ], - name: 'setLendingPoolManager', + name: "setLendingPoolManager", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_lendingRateOracle', - type: 'address', - }, + internalType: "address", + name: "_lendingRateOracle", + type: "address" + } ], - name: 'setLendingRateOracle', + name: "setLendingRateOracle", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_priceOracle', - type: 'address', - }, + internalType: "address", + name: "_priceOracle", + type: "address" + } ], - name: 'setPriceOracle', + name: "setPriceOracle", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_tokenDistributor', - type: 'address', - }, + internalType: "address", + name: "_tokenDistributor", + type: "address" + } ], - name: 'setTokenDistributor', + name: "setTokenDistributor", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: 'newOwner', - type: 'address', - }, + internalType: "address", + name: "newOwner", + type: "address" + } ], - name: 'transferOwnership', + name: "transferOwnership", outputs: [], - stateMutability: 'nonpayable', - type: 'function', - }, + stateMutability: "nonpayable", + type: "function" + } ]; const _bytecode = - '0x608060405234801561001057600080fd5b5060006100246001600160e01b0361007316565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350610077565b3390565b611cd3806100866000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c80635aef021f116100ad578063c12542df11610071578063c12542df146102ae578063ee891296146102d4578063f2fde38b146102dc578063fbeefc3c14610302578063fca513a81461030a5761012c565b80635aef021f1461024a578063715018a614610270578063820d12741461027857806385c858b11461029e5780638da5cb5b146102a65761012c565b806338280e6b116100f457806338280e6b146101aa57806340fdcadc146101d057806344ce375b146101f6578063530e784f1461021c5780635834eb9a146102425761012c565b80630261bf8b1461013157806321f8a721146101555780632a62c6361461017257806333128d591461019a5780633618abba146101a2575b600080fd5b610139610312565b604080516001600160a01b039092168252519081900360200190f35b6101396004803603602081101561016b57600080fd5b5035610331565b6101986004803603602081101561018857600080fd5b50356001600160a01b031661034c565b005b6101396103f4565b610139610416565b610198600480360360208110156101c057600080fd5b50356001600160a01b0316610437565b610198600480360360208110156101e657600080fd5b50356001600160a01b03166104e4565b6101986004803603602081101561020c57600080fd5b50356001600160a01b0316610594565b6101986004803603602081101561023257600080fd5b50356001600160a01b0316610643565b6101396106eb565b6101986004803603602081101561026057600080fd5b50356001600160a01b031661070c565b6101986107b4565b6101986004803603602081101561028e57600080fd5b50356001600160a01b0316610856565b610139610905565b61013961092c565b610198600480360360208110156102c457600080fd5b50356001600160a01b031661093b565b6101396109f0565b610198600480360360208110156102f257600080fd5b50356001600160a01b0316610a0f565b610139610b07565b610139610b21565b600061032c6b13115391125391d7d413d3d360a21b610331565b905090565b6000908152600160205260409020546001600160a01b031690565b610354610b3b565b6000546001600160a01b039081169116146103a4576040805162461bcd60e51b81526020600482018190526024820152600080516020611c7e833981519152604482015290519081900360640190fd5b6103bd6b2322a2afa82927ab24a222a960a11b82610b3f565b6040516001600160a01b038216907f18e1a55b8eff9c93921eecfa1462d6a8cbb80b3988db3eb14c039e43fdb2266190600090a250565b600061032c732622a72224a723afa827a7a62fa6a0a720a3a2a960611b610331565b600061032c724c454e44494e475f524154455f4f5241434c4560681b610331565b61043f610b3b565b6000546001600160a01b0390811691161461048f576040805162461bcd60e51b81526020600482018190526024820152600080516020611c7e833981519152604482015290519081900360640190fd5b6104ad702a27a5a2a72fa224a9aa2924a12aaa27a960791b82610dd8565b6040516001600160a01b038216907fa8b48a56ec01f81c3615a21ec43e16b925c26293e0801cf6330427f2a687f05390600090a250565b6104ec610b3b565b6000546001600160a01b0390811691161461053c576040805162461bcd60e51b81526020600482018190526024820152600080516020611c7e833981519152604482015290519081900360640190fd5b61055d732622a72224a723afa827a7a62fa6a0a720a3a2a960611b82610dd8565b6040516001600160a01b038216907fd5280c51185a38d36f7a0f5e56cac6248312bb70d0974782fa5a595127e0e08e90600090a250565b61059c610b3b565b6000546001600160a01b039081169116146105ec576040805162461bcd60e51b81526020600482018190526024820152600080516020611c7e833981519152604482015290519081900360640190fd5b61060c722624a8aaa4a220aa24a7a72fa6a0a720a3a2a960691b82610dd8565b6040516001600160a01b038216907f1a76cb769b814bc038223da86932b099b20aae03473683e6d98f5c3554e2606490600090a250565b61064b610b3b565b6000546001600160a01b0390811691161461069b576040805162461bcd60e51b81526020600482018190526024820152600080516020611c7e833981519152604482015290519081900360640190fd5b6106b46b50524943455f4f5241434c4560a01b82610dd8565b6040516001600160a01b038216907fefe8ab924ca486283a79dc604baa67add51afb82af1db8ac386ebbba643cdffd90600090a250565b600061032c722624a8aaa4a220aa24a7a72fa6a0a720a3a2a960691b610331565b610714610b3b565b6000546001600160a01b03908116911614610764576040805162461bcd60e51b81526020600482018190526024820152600080516020611c7e833981519152604482015290519081900360640190fd5b61077d6b13115391125391d7d413d3d360a21b82610b3f565b6040516001600160a01b038216907fc4e6c6cdf28d0edbd8bcf071d724d33cc2e7a30be7d06443925656e9cb492aa490600090a250565b6107bc610b3b565b6000546001600160a01b0390811691161461080c576040805162461bcd60e51b81526020600482018190526024820152600080516020611c7e833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b61085e610b3b565b6000546001600160a01b039081169116146108ae576040805162461bcd60e51b81526020600482018190526024820152600080516020611c7e833981519152604482015290519081900360640190fd5b6108ce724c454e44494e475f524154455f4f5241434c4560681b82610dd8565b6040516001600160a01b038216907f5c29179aba6942020a8a2d38f65de02fb6b7f784e7f049ed3a3cab97621859b590600090a250565b600061032c782622a72224a723afa827a7a62fa1a7a72324a3aaa920aa27a960391b610331565b6000546001600160a01b031690565b610943610b3b565b6000546001600160a01b03908116911614610993576040805162461bcd60e51b81526020600482018190526024820152600080516020611c7e833981519152604482015290519081900360640190fd5b6109b9782622a72224a723afa827a7a62fa1a7a72324a3aaa920aa27a960391b82610b3f565b6040516001600160a01b038216907fdfabe479bad36782fb1e77fbfddd4e382671713527e4786cfc93a022ae76372990600090a250565b600061032c702a27a5a2a72fa224a9aa2924a12aaa27a960791b610331565b610a17610b3b565b6000546001600160a01b03908116911614610a67576040805162461bcd60e51b81526020600482018190526024820152600080516020611c7e833981519152604482015290519081900360640190fd5b6001600160a01b038116610aac5760405162461bcd60e51b8152600401808060200182810382526026815260200180611c586026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600061032c6b2322a2afa82927ab24a222a960a11b610331565b600061032c6b50524943455f4f5241434c4560a01b610331565b3390565b6000610b4a83610331565b60408051306024808301919091528251808303909101815260449091019091526020810180516001600160e01b031663189acdbd60e31b17905290915081906001600160a01b038216610d0457604051610ba390610e06565b604051809103906000f080158015610bbf573d6000803e3d6000fd5b509150816001600160a01b031663cf7a1d778530846040518463ffffffff1660e01b815260040180846001600160a01b03166001600160a01b03168152602001836001600160a01b03166001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610c50578181015183820152602001610c38565b50505050905090810190601f168015610c7d5780820380516001836020036101000a031916815260200191505b50945050505050600060405180830381600087803b158015610c9e57600080fd5b505af1158015610cb2573d6000803e3d6000fd5b50505050610cc08583610dd8565b6040805186815290516001600160a01b038416917f1eb35cb4b5bbb23d152f3b4016a5a46c37a07ae930ed0956aba951e231142438919081900360200190a2610dd1565b6040805163278f794360e11b81526001600160a01b03868116600483019081526024830193845284516044840152845191861693634f1ef2869389938793929160640190602085019080838360005b83811015610d6b578181015183820152602001610d53565b50505050905090810190601f168015610d985780820380516001836020036101000a031916815260200191505b509350505050600060405180830381600087803b158015610db857600080fd5b505af1158015610dcc573d6000803e3d6000fd5b505050505b5050505050565b60009182526001602052604090912080546001600160a01b0319166001600160a01b03909216919091179055565b610e4480610e148339019056fe608060405234801561001057600080fd5b50610e24806100206000396000f3fe6080604052600436106100705760003560e01c80638f2839701161004e5780638f2839701461015e578063cf7a1d7714610191578063d1f5789414610250578063f851a4401461030657610070565b80633659cfe61461007a5780634f1ef286146100ad5780635c60da1b1461012d575b61007861031b565b005b34801561008657600080fd5b506100786004803603602081101561009d57600080fd5b50356001600160a01b0316610335565b610078600480360360408110156100c357600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156100ee57600080fd5b82018360208201111561010057600080fd5b8035906020019184600183028401116401000000008311171561012257600080fd5b50909250905061036f565b34801561013957600080fd5b506101426104f1565b604080516001600160a01b039092168252519081900360200190f35b34801561016a57600080fd5b506100786004803603602081101561018157600080fd5b50356001600160a01b031661052e565b610078600480360360608110156101a757600080fd5b6001600160a01b0382358116926020810135909116918101906060810160408201356401000000008111156101db57600080fd5b8201836020820111156101ed57600080fd5b8035906020019184600183028401116401000000008311171561020f57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506105e8945050505050565b6100786004803603604081101561026657600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561029157600080fd5b8201836020820111156102a357600080fd5b803590602001918460018302840111640100000000831117156102c557600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061066e945050505050565b34801561031257600080fd5b506101426107ae565b6103236107d9565b61033361032e6107e1565b610806565b565b61033d61082a565b6001600160a01b0316336001600160a01b031614156103645761035f8161084f565b61036c565b61036c61031b565b50565b61037761082a565b6001600160a01b0316336001600160a01b031614156104e4576103ce6040518060400160405280601781526020017f496e736964652075706772616465546f416e6443616c6c00000000000000000081525061088f565b6103d78361084f565b61040060405180604001604052806008815260200167155c19dc9859195960c21b81525061088f565b61042f6040518060400160405280600d81526020016c4164647265737320697320257360981b815250846109d1565b6000836001600160a01b031683836040518083838082843760405192019450600093509091505080830381855af49150503d806000811461048c576040519150601f19603f3d011682016040523d82523d6000602084013e610491565b606091505b505090506104d46040518060400160405280601d81526020017f44656c65676174652063616c6c20646f6e652c20726573756c7420257300000081525082610b38565b806104de57600080fd5b506104ec565b6104ec61031b565b505050565b60006104fb61082a565b6001600160a01b0316336001600160a01b031614156105235761051c6107e1565b905061052b565b61052b61031b565b90565b61053661082a565b6001600160a01b0316336001600160a01b03161415610364576001600160a01b0381166105945760405162461bcd60e51b8152600401808060200182810382526036815260200180610d7e6036913960400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6105bd61082a565b604080516001600160a01b03928316815291841660208301528051918290030190a161035f81610c23565b60006105f26107e1565b6001600160a01b03161461060557600080fd5b61060f838261066e565b604080517232b4b8189c9b1b97383937bc3c9730b236b4b760691b815290519081900360130190207fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61036000199091011461066557fe5b6104ec82610c23565b60006106786107e1565b6001600160a01b03161461068b57600080fd5b604080517f656970313936372e70726f78792e696d706c656d656e746174696f6e000000008152905190819003601c0190207f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc600019909101146106eb57fe5b6106f482610c47565b8051156107aa576000826001600160a01b0316826040518082805190602001908083835b602083106107375780518252601f199092019160209182019101610718565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610797576040519150601f19603f3d011682016040523d82523d6000602084013e61079c565b606091505b50509050806104ec57600080fd5b5050565b60006107b861082a565b6001600160a01b0316336001600160a01b031614156105235761051c61082a565b610333610caf565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e808015610825573d6000f35b3d6000fd5b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b61085881610c47565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6040516020602482018181528351604484015283516000936a636f6e736f6c652e6c6f67938693928392606401918501908083838a5b838110156108dd5781810151838201526020016108c5565b50505050905090810190601f16801561090a5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b031663104c13eb60e21b178152905182519295509350839250908083835b602083106109655780518252601f199092019160209182019101610946565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d80600081146109c5576040519150601f19603f3d011682016040523d82523d6000602084013e6109ca565b606091505b5050505050565b60006a636f6e736f6c652e6c6f676001600160a01b031683836040516024018080602001836001600160a01b03166001600160a01b03168152602001828103825284818151815260200191508051906020019080838360005b83811015610a42578181015183820152602001610a2a565b50505050905090810190601f168015610a6f5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b031663319af33360e01b17815290518251929650945084935091508083835b60208310610acb5780518252601f199092019160209182019101610aac565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114610b2b576040519150601f19603f3d011682016040523d82523d6000602084013e610b30565b606091505b505050505050565b60006a636f6e736f6c652e6c6f676001600160a01b03168383604051602401808060200183151515158152602001828103825284818151815260200191508051906020019080838360005b83811015610b9b578181015183820152602001610b83565b50505050905090810190601f168015610bc85780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b031663c3b5563560e01b178152905182519296509450849350915080838360208310610acb5780518252601f199092019160209182019101610aac565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b610c5081610d0f565b610c8b5760405162461bcd60e51b815260040180806020018281038252603b815260200180610db4603b913960400191505060405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b610cb761082a565b6001600160a01b0316336001600160a01b03161415610d075760405162461bcd60e51b8152600401808060200182810382526032815260200180610d4c6032913960400191505060405180910390fd5b610333610333565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610d4357508115155b94935050505056fe43616e6e6f742063616c6c2066616c6c6261636b2066756e6374696f6e2066726f6d207468652070726f78792061646d696e43616e6e6f74206368616e6765207468652061646d696e206f6620612070726f787920746f20746865207a65726f206164647265737343616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a2646970667358221220993845a5381841a5ff0030eb7e233a5d9478e7017362cd04bced9e6a862fe56f64736f6c634300060800334f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220de6c630f4829b5fbef6552140fb63511799b8e00611a2178419a330a02eb4e0c64736f6c63430006080033'; + "0x608060405234801561001057600080fd5b5060006100246001600160e01b0361007316565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350610077565b3390565b61186a806100866000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c80635aef021f116100ad578063c12542df11610071578063c12542df146102ae578063ee891296146102d4578063f2fde38b146102dc578063fbeefc3c14610302578063fca513a81461030a5761012c565b80635aef021f1461024a578063715018a614610270578063820d12741461027857806385c858b11461029e5780638da5cb5b146102a65761012c565b806338280e6b116100f457806338280e6b146101aa57806340fdcadc146101d057806344ce375b146101f6578063530e784f1461021c5780635834eb9a146102425761012c565b80630261bf8b1461013157806321f8a721146101555780632a62c6361461017257806333128d591461019a5780633618abba146101a2575b600080fd5b610139610312565b604080516001600160a01b039092168252519081900360200190f35b6101396004803603602081101561016b57600080fd5b5035610331565b6101986004803603602081101561018857600080fd5b50356001600160a01b031661034c565b005b6101396103f4565b610139610416565b610198600480360360208110156101c057600080fd5b50356001600160a01b0316610437565b610198600480360360208110156101e657600080fd5b50356001600160a01b03166104e4565b6101986004803603602081101561020c57600080fd5b50356001600160a01b0316610594565b6101986004803603602081101561023257600080fd5b50356001600160a01b0316610643565b6101396106eb565b6101986004803603602081101561026057600080fd5b50356001600160a01b031661070c565b6101986107b4565b6101986004803603602081101561028e57600080fd5b50356001600160a01b0316610856565b610139610905565b61013961092c565b610198600480360360208110156102c457600080fd5b50356001600160a01b031661093b565b6101396109f0565b610198600480360360208110156102f257600080fd5b50356001600160a01b0316610a0f565b610139610b07565b610139610b21565b600061032c6b13115391125391d7d413d3d360a21b610331565b905090565b6000908152600160205260409020546001600160a01b031690565b610354610b3b565b6000546001600160a01b039081169116146103a4576040805162461bcd60e51b81526020600482018190526024820152600080516020611815833981519152604482015290519081900360640190fd5b6103bd6b2322a2afa82927ab24a222a960a11b82610b3f565b6040516001600160a01b038216907f18e1a55b8eff9c93921eecfa1462d6a8cbb80b3988db3eb14c039e43fdb2266190600090a250565b600061032c732622a72224a723afa827a7a62fa6a0a720a3a2a960611b610331565b600061032c724c454e44494e475f524154455f4f5241434c4560681b610331565b61043f610b3b565b6000546001600160a01b0390811691161461048f576040805162461bcd60e51b81526020600482018190526024820152600080516020611815833981519152604482015290519081900360640190fd5b6104ad702a27a5a2a72fa224a9aa2924a12aaa27a960791b82610dd8565b6040516001600160a01b038216907fa8b48a56ec01f81c3615a21ec43e16b925c26293e0801cf6330427f2a687f05390600090a250565b6104ec610b3b565b6000546001600160a01b0390811691161461053c576040805162461bcd60e51b81526020600482018190526024820152600080516020611815833981519152604482015290519081900360640190fd5b61055d732622a72224a723afa827a7a62fa6a0a720a3a2a960611b82610dd8565b6040516001600160a01b038216907fd5280c51185a38d36f7a0f5e56cac6248312bb70d0974782fa5a595127e0e08e90600090a250565b61059c610b3b565b6000546001600160a01b039081169116146105ec576040805162461bcd60e51b81526020600482018190526024820152600080516020611815833981519152604482015290519081900360640190fd5b61060c722624a8aaa4a220aa24a7a72fa6a0a720a3a2a960691b82610dd8565b6040516001600160a01b038216907f1a76cb769b814bc038223da86932b099b20aae03473683e6d98f5c3554e2606490600090a250565b61064b610b3b565b6000546001600160a01b0390811691161461069b576040805162461bcd60e51b81526020600482018190526024820152600080516020611815833981519152604482015290519081900360640190fd5b6106b46b50524943455f4f5241434c4560a01b82610dd8565b6040516001600160a01b038216907fefe8ab924ca486283a79dc604baa67add51afb82af1db8ac386ebbba643cdffd90600090a250565b600061032c722624a8aaa4a220aa24a7a72fa6a0a720a3a2a960691b610331565b610714610b3b565b6000546001600160a01b03908116911614610764576040805162461bcd60e51b81526020600482018190526024820152600080516020611815833981519152604482015290519081900360640190fd5b61077d6b13115391125391d7d413d3d360a21b82610b3f565b6040516001600160a01b038216907fc4e6c6cdf28d0edbd8bcf071d724d33cc2e7a30be7d06443925656e9cb492aa490600090a250565b6107bc610b3b565b6000546001600160a01b0390811691161461080c576040805162461bcd60e51b81526020600482018190526024820152600080516020611815833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b61085e610b3b565b6000546001600160a01b039081169116146108ae576040805162461bcd60e51b81526020600482018190526024820152600080516020611815833981519152604482015290519081900360640190fd5b6108ce724c454e44494e475f524154455f4f5241434c4560681b82610dd8565b6040516001600160a01b038216907f5c29179aba6942020a8a2d38f65de02fb6b7f784e7f049ed3a3cab97621859b590600090a250565b600061032c782622a72224a723afa827a7a62fa1a7a72324a3aaa920aa27a960391b610331565b6000546001600160a01b031690565b610943610b3b565b6000546001600160a01b03908116911614610993576040805162461bcd60e51b81526020600482018190526024820152600080516020611815833981519152604482015290519081900360640190fd5b6109b9782622a72224a723afa827a7a62fa1a7a72324a3aaa920aa27a960391b82610b3f565b6040516001600160a01b038216907fdfabe479bad36782fb1e77fbfddd4e382671713527e4786cfc93a022ae76372990600090a250565b600061032c702a27a5a2a72fa224a9aa2924a12aaa27a960791b610331565b610a17610b3b565b6000546001600160a01b03908116911614610a67576040805162461bcd60e51b81526020600482018190526024820152600080516020611815833981519152604482015290519081900360640190fd5b6001600160a01b038116610aac5760405162461bcd60e51b81526004018080602001828103825260268152602001806117ef6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600061032c6b2322a2afa82927ab24a222a960a11b610331565b600061032c6b50524943455f4f5241434c4560a01b610331565b3390565b6000610b4a83610331565b60408051306024808301919091528251808303909101815260449091019091526020810180516001600160e01b031663189acdbd60e31b17905290915081906001600160a01b038216610d0457604051610ba390610e06565b604051809103906000f080158015610bbf573d6000803e3d6000fd5b509150816001600160a01b031663cf7a1d778530846040518463ffffffff1660e01b815260040180846001600160a01b03166001600160a01b03168152602001836001600160a01b03166001600160a01b0316815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610c50578181015183820152602001610c38565b50505050905090810190601f168015610c7d5780820380516001836020036101000a031916815260200191505b50945050505050600060405180830381600087803b158015610c9e57600080fd5b505af1158015610cb2573d6000803e3d6000fd5b50505050610cc08583610dd8565b6040805186815290516001600160a01b038416917f1eb35cb4b5bbb23d152f3b4016a5a46c37a07ae930ed0956aba951e231142438919081900360200190a2610dd1565b6040805163278f794360e11b81526001600160a01b03868116600483019081526024830193845284516044840152845191861693634f1ef2869389938793929160640190602085019080838360005b83811015610d6b578181015183820152602001610d53565b50505050905090810190601f168015610d985780820380516001836020036101000a031916815260200191505b509350505050600060405180830381600087803b158015610db857600080fd5b505af1158015610dcc573d6000803e3d6000fd5b505050505b5050505050565b60009182526001602052604090912080546001600160a01b0319166001600160a01b03909216919091179055565b6109db80610e148339019056fe608060405234801561001057600080fd5b506109bb806100206000396000f3fe6080604052600436106100705760003560e01c80638f2839701161004e5780638f2839701461015e578063cf7a1d7714610191578063d1f5789414610250578063f851a4401461030657610070565b80633659cfe61461007a5780634f1ef286146100ad5780635c60da1b1461012d575b61007861031b565b005b34801561008657600080fd5b506100786004803603602081101561009d57600080fd5b50356001600160a01b0316610335565b610078600480360360408110156100c357600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156100ee57600080fd5b82018360208201111561010057600080fd5b8035906020019184600183028401116401000000008311171561012257600080fd5b50909250905061036f565b34801561013957600080fd5b5061014261041c565b604080516001600160a01b039092168252519081900360200190f35b34801561016a57600080fd5b506100786004803603602081101561018157600080fd5b50356001600160a01b0316610459565b610078600480360360608110156101a757600080fd5b6001600160a01b0382358116926020810135909116918101906060810160408201356401000000008111156101db57600080fd5b8201836020820111156101ed57600080fd5b8035906020019184600183028401116401000000008311171561020f57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610513945050505050565b6100786004803603604081101561026657600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561029157600080fd5b8201836020820111156102a357600080fd5b803590602001918460018302840111640100000000831117156102c557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610599945050505050565b34801561031257600080fd5b506101426106d9565b610323610704565b61033361032e61070c565b610731565b565b61033d610755565b6001600160a01b0316336001600160a01b031614156103645761035f8161077a565b61036c565b61036c61031b565b50565b610377610755565b6001600160a01b0316336001600160a01b0316141561040f576103998361077a565b6000836001600160a01b031683836040518083838082843760405192019450600093509091505080830381855af49150503d80600081146103f6576040519150601f19603f3d011682016040523d82523d6000602084013e6103fb565b606091505b505090508061040957600080fd5b50610417565b61041761031b565b505050565b6000610426610755565b6001600160a01b0316336001600160a01b0316141561044e5761044761070c565b9050610456565b61045661031b565b90565b610461610755565b6001600160a01b0316336001600160a01b03161415610364576001600160a01b0381166104bf5760405162461bcd60e51b81526004018080602001828103825260368152602001806109156036913960400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6104e8610755565b604080516001600160a01b03928316815291841660208301528051918290030190a161035f816107ba565b600061051d61070c565b6001600160a01b03161461053057600080fd5b61053a8382610599565b604080517232b4b8189c9b1b97383937bc3c9730b236b4b760691b815290519081900360130190207fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61036000199091011461059057fe5b610417826107ba565b60006105a361070c565b6001600160a01b0316146105b657600080fd5b604080517f656970313936372e70726f78792e696d706c656d656e746174696f6e000000008152905190819003601c0190207f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc6000199091011461061657fe5b61061f826107de565b8051156106d5576000826001600160a01b0316826040518082805190602001908083835b602083106106625780518252601f199092019160209182019101610643565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146106c2576040519150601f19603f3d011682016040523d82523d6000602084013e6106c7565b606091505b505090508061041757600080fd5b5050565b60006106e3610755565b6001600160a01b0316336001600160a01b0316141561044e57610447610755565b610333610846565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e808015610750573d6000f35b3d6000fd5b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b610783816107de565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b6107e7816108a6565b6108225760405162461bcd60e51b815260040180806020018281038252603b81526020018061094b603b913960400191505060405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b61084e610755565b6001600160a01b0316336001600160a01b0316141561089e5760405162461bcd60e51b81526004018080602001828103825260328152602001806108e36032913960400191505060405180910390fd5b610333610333565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906108da57508115155b94935050505056fe43616e6e6f742063616c6c2066616c6c6261636b2066756e6374696f6e2066726f6d207468652070726f78792061646d696e43616e6e6f74206368616e6765207468652061646d696e206f6620612070726f787920746f20746865207a65726f206164647265737343616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a26469706673582212205332daad1efa09e03cc1b95b9d51cadb3cf32e2d57907a628c0b4a5a20d8051f64736f6c634300060800334f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a264697066735822122029246c15c3dfc97c297923ce5a86da7e9cbc30fe90f0fd9ab2034e56926f8c0e64736f6c63430006080033"; diff --git a/types/LendingPoolConfigurator.d.ts b/types/LendingPoolConfigurator.d.ts index 41cdf3ea..78847364 100644 --- a/types/LendingPoolConfigurator.d.ts +++ b/types/LendingPoolConfigurator.d.ts @@ -1,14 +1,18 @@ /* Generated by ts-generator ver. 0.0.8 */ /* tslint:disable */ -import {Contract, ContractTransaction, EventFilter, Signer} from 'ethers'; -import {Listener, Provider} from 'ethers/providers'; -import {Arrayish, BigNumber, BigNumberish, Interface} from 'ethers/utils'; -import {TransactionOverrides, TypedEventDescription, TypedFunctionDescription} from '.'; +import { Contract, ContractTransaction, EventFilter, Signer } from "ethers"; +import { Listener, Provider } from "ethers/providers"; +import { Arrayish, BigNumber, BigNumberish, Interface } from "ethers/utils"; +import { + TransactionOverrides, + TypedEventDescription, + TypedFunctionDescription +} from "."; interface LendingPoolConfiguratorInterface extends Interface { functions: { - CONFIGURATOR_REVISION: TypedFunctionDescription<{encode([]: []): string}>; + CONFIGURATOR_REVISION: TypedFunctionDescription<{ encode([]: []): string }>; activateReserve: TypedFunctionDescription<{ encode([_reserve]: [string]): string; @@ -35,12 +39,12 @@ interface LendingPoolConfiguratorInterface extends Interface { }>; enableReserveAsCollateral: TypedFunctionDescription<{ - encode([_reserve, _baseLTVasCollateral, _liquidationThreshold, _liquidationBonus]: [ - string, - BigNumberish, - BigNumberish, - BigNumberish - ]): string; + encode([ + _reserve, + _baseLTVasCollateral, + _liquidationThreshold, + _liquidationBonus + ]: [string, BigNumberish, BigNumberish, BigNumberish]): string; }>; enableReserveStableRate: TypedFunctionDescription<{ @@ -54,11 +58,11 @@ interface LendingPoolConfiguratorInterface extends Interface { initReserve: TypedFunctionDescription<{ encode([ _reserve, - _aTokenInstance, - _stableDebtTokenAddress, - _variableDebtTokenAddress, + _aTokenImpl, + _stableDebtTokenImpl, + _variableDebtTokenImpl, _underlyingAssetDecimals, - _interestRateStrategyAddress, + _interestRateStrategyAddress ]: [string, string, string, string, BigNumberish, string]): string; }>; @@ -66,9 +70,9 @@ interface LendingPoolConfiguratorInterface extends Interface { encode([_poolAddressesProvider]: [string]): string; }>; - pool: TypedFunctionDescription<{encode([]: []): string}>; + pool: TypedFunctionDescription<{ encode([]: []): string }>; - poolAddressesProvider: TypedFunctionDescription<{encode([]: []): string}>; + poolAddressesProvider: TypedFunctionDescription<{ encode([]: []): string }>; setLiquidationBonus: TypedFunctionDescription<{ encode([_reserve, _bonus]: [string, BigNumberish]): string; @@ -97,9 +101,25 @@ interface LendingPoolConfiguratorInterface extends Interface { updateAToken: TypedFunctionDescription<{ encode([_reserve, _implementation]: [string, string]): string; }>; + + updateStableDebtToken: TypedFunctionDescription<{ + encode([_reserve, _implementation]: [string, string]): string; + }>; + + updateVariableDebtToken: TypedFunctionDescription<{ + encode([_reserve, _implementation]: [string, string]): string; + }>; }; events: { + ATokenUpgraded: TypedEventDescription<{ + encodeTopics([_reserve, _proxy, _implementation]: [ + null, + null, + null + ]): string[]; + }>; + BorrowingDisabledOnReserve: TypedEventDescription<{ encodeTopics([_reserve]: [string | null]): string[]; }>; @@ -142,11 +162,13 @@ interface LendingPoolConfiguratorInterface extends Interface { }>; ReserveInitialized: TypedEventDescription<{ - encodeTopics([_reserve, _aToken, _interestRateStrategyAddress]: [ - string | null, - string | null, - null - ]): string[]; + encodeTopics([ + _reserve, + _aToken, + _stableDebtToken, + _variableDebtToken, + _interestRateStrategyAddress + ]: [string | null, string | null, null, null, null]): string[]; }>; ReserveInterestRateStrategyChanged: TypedEventDescription<{ @@ -165,6 +187,14 @@ interface LendingPoolConfiguratorInterface extends Interface { encodeTopics([_reserve]: [string | null]): string[]; }>; + StableDebtTokenUpgraded: TypedEventDescription<{ + encodeTopics([_reserve, _proxy, _implementation]: [ + null, + null, + null + ]): string[]; + }>; + StableRateDisabledOnReserve: TypedEventDescription<{ encodeTopics([_reserve]: [string | null]): string[]; }>; @@ -172,17 +202,33 @@ interface LendingPoolConfiguratorInterface extends Interface { StableRateEnabledOnReserve: TypedEventDescription<{ encodeTopics([_reserve]: [string | null]): string[]; }>; + + VariableDebtTokenUpgraded: TypedEventDescription<{ + encodeTopics([_reserve, _proxy, _implementation]: [ + null, + null, + null + ]): string[]; + }>; }; } export class LendingPoolConfigurator extends Contract { - connect(signerOrProvider: Signer | Provider | string): LendingPoolConfigurator; + connect( + signerOrProvider: Signer | Provider | string + ): LendingPoolConfigurator; attach(addressOrName: string): LendingPoolConfigurator; deployed(): Promise; on(event: EventFilter | string, listener: Listener): LendingPoolConfigurator; - once(event: EventFilter | string, listener: Listener): LendingPoolConfigurator; - addListener(eventName: EventFilter | string, listener: Listener): LendingPoolConfigurator; + once( + event: EventFilter | string, + listener: Listener + ): LendingPoolConfigurator; + addListener( + eventName: EventFilter | string, + listener: Listener + ): LendingPoolConfigurator; removeAllListeners(eventName: EventFilter | string): LendingPoolConfigurator; removeListener(eventName: any, listener: Listener): LendingPoolConfigurator; @@ -235,13 +281,16 @@ export class LendingPoolConfigurator extends Contract { overrides?: TransactionOverrides ): Promise; - freezeReserve(_reserve: string, overrides?: TransactionOverrides): Promise; + freezeReserve( + _reserve: string, + overrides?: TransactionOverrides + ): Promise; initReserve( _reserve: string, - _aTokenInstance: string, - _stableDebtTokenAddress: string, - _variableDebtTokenAddress: string, + _aTokenImpl: string, + _stableDebtTokenImpl: string, + _variableDebtTokenImpl: string, _underlyingAssetDecimals: BigNumberish, _interestRateStrategyAddress: string, overrides?: TransactionOverrides @@ -296,11 +345,26 @@ export class LendingPoolConfigurator extends Contract { _implementation: string, overrides?: TransactionOverrides ): Promise; + + updateStableDebtToken( + _reserve: string, + _implementation: string, + overrides?: TransactionOverrides + ): Promise; + + updateVariableDebtToken( + _reserve: string, + _implementation: string, + overrides?: TransactionOverrides + ): Promise; }; CONFIGURATOR_REVISION(): Promise; - activateReserve(_reserve: string, overrides?: TransactionOverrides): Promise; + activateReserve( + _reserve: string, + overrides?: TransactionOverrides + ): Promise; deactivateReserve( _reserve: string, @@ -341,13 +405,16 @@ export class LendingPoolConfigurator extends Contract { overrides?: TransactionOverrides ): Promise; - freezeReserve(_reserve: string, overrides?: TransactionOverrides): Promise; + freezeReserve( + _reserve: string, + overrides?: TransactionOverrides + ): Promise; initReserve( _reserve: string, - _aTokenInstance: string, - _stableDebtTokenAddress: string, - _variableDebtTokenAddress: string, + _aTokenImpl: string, + _stableDebtTokenImpl: string, + _variableDebtTokenImpl: string, _underlyingAssetDecimals: BigNumberish, _interestRateStrategyAddress: string, overrides?: TransactionOverrides @@ -392,7 +459,10 @@ export class LendingPoolConfigurator extends Contract { overrides?: TransactionOverrides ): Promise; - unfreezeReserve(_reserve: string, overrides?: TransactionOverrides): Promise; + unfreezeReserve( + _reserve: string, + overrides?: TransactionOverrides + ): Promise; updateAToken( _reserve: string, @@ -400,10 +470,31 @@ export class LendingPoolConfigurator extends Contract { overrides?: TransactionOverrides ): Promise; + updateStableDebtToken( + _reserve: string, + _implementation: string, + overrides?: TransactionOverrides + ): Promise; + + updateVariableDebtToken( + _reserve: string, + _implementation: string, + overrides?: TransactionOverrides + ): Promise; + filters: { + ATokenUpgraded( + _reserve: null, + _proxy: null, + _implementation: null + ): EventFilter; + BorrowingDisabledOnReserve(_reserve: string | null): EventFilter; - BorrowingEnabledOnReserve(_reserve: null, _stableRateEnabled: null): EventFilter; + BorrowingEnabledOnReserve( + _reserve: null, + _stableRateEnabled: null + ): EventFilter; ReserveActivated(_reserve: string | null): EventFilter; @@ -427,20 +518,40 @@ export class LendingPoolConfigurator extends Contract { ReserveInitialized( _reserve: string | null, _aToken: string | null, + _stableDebtToken: null, + _variableDebtToken: null, _interestRateStrategyAddress: null ): EventFilter; - ReserveInterestRateStrategyChanged(_reserve: null, _strategy: null): EventFilter; + ReserveInterestRateStrategyChanged( + _reserve: null, + _strategy: null + ): EventFilter; ReserveLiquidationBonusChanged(_reserve: null, _bonus: null): EventFilter; - ReserveLiquidationThresholdChanged(_reserve: null, _threshold: null): EventFilter; + ReserveLiquidationThresholdChanged( + _reserve: null, + _threshold: null + ): EventFilter; ReserveUnfreezed(_reserve: string | null): EventFilter; + StableDebtTokenUpgraded( + _reserve: null, + _proxy: null, + _implementation: null + ): EventFilter; + StableRateDisabledOnReserve(_reserve: string | null): EventFilter; StableRateEnabledOnReserve(_reserve: string | null): EventFilter; + + VariableDebtTokenUpgraded( + _reserve: null, + _proxy: null, + _implementation: null + ): EventFilter; }; estimate: { @@ -474,9 +585,9 @@ export class LendingPoolConfigurator extends Contract { initReserve( _reserve: string, - _aTokenInstance: string, - _stableDebtTokenAddress: string, - _variableDebtTokenAddress: string, + _aTokenImpl: string, + _stableDebtTokenImpl: string, + _variableDebtTokenImpl: string, _underlyingAssetDecimals: BigNumberish, _interestRateStrategyAddress: string ): Promise; @@ -487,13 +598,22 @@ export class LendingPoolConfigurator extends Contract { poolAddressesProvider(): Promise; - setLiquidationBonus(_reserve: string, _bonus: BigNumberish): Promise; + setLiquidationBonus( + _reserve: string, + _bonus: BigNumberish + ): Promise; - setLiquidationThreshold(_reserve: string, _threshold: BigNumberish): Promise; + setLiquidationThreshold( + _reserve: string, + _threshold: BigNumberish + ): Promise; setLtv(_reserve: string, _ltv: BigNumberish): Promise; - setReserveDecimals(_reserve: string, _decimals: BigNumberish): Promise; + setReserveDecimals( + _reserve: string, + _decimals: BigNumberish + ): Promise; setReserveInterestRateStrategyAddress( _reserve: string, @@ -503,5 +623,15 @@ export class LendingPoolConfigurator extends Contract { unfreezeReserve(_reserve: string): Promise; updateAToken(_reserve: string, _implementation: string): Promise; + + updateStableDebtToken( + _reserve: string, + _implementation: string + ): Promise; + + updateVariableDebtToken( + _reserve: string, + _implementation: string + ): Promise; }; } diff --git a/types/LendingPoolConfiguratorFactory.ts b/types/LendingPoolConfiguratorFactory.ts index fdd2eb78..0dd16d42 100644 --- a/types/LendingPoolConfiguratorFactory.ts +++ b/types/LendingPoolConfiguratorFactory.ts @@ -1,12 +1,12 @@ /* Generated by ts-generator ver. 0.0.8 */ /* tslint:disable */ -import {Contract, ContractFactory, Signer} from 'ethers'; -import {Provider} from 'ethers/providers'; -import {UnsignedTransaction} from 'ethers/utils/transaction'; +import { Contract, ContractFactory, Signer } from "ethers"; +import { Provider } from "ethers/providers"; +import { UnsignedTransaction } from "ethers/utils/transaction"; -import {TransactionOverrides} from '.'; -import {LendingPoolConfigurator} from './LendingPoolConfigurator'; +import { TransactionOverrides } from "."; +import { LendingPoolConfigurator } from "./LendingPoolConfigurator"; export class LendingPoolConfiguratorFactory extends ContractFactory { constructor(signer?: Signer) { @@ -25,635 +25,765 @@ export class LendingPoolConfiguratorFactory extends ContractFactory { connect(signer: Signer): LendingPoolConfiguratorFactory { return super.connect(signer) as LendingPoolConfiguratorFactory; } - static connect(address: string, signerOrProvider: Signer | Provider): LendingPoolConfigurator { - return new Contract(address, _abi, signerOrProvider) as LendingPoolConfigurator; + static connect( + address: string, + signerOrProvider: Signer | Provider + ): LendingPoolConfigurator { + return new Contract( + address, + _abi, + signerOrProvider + ) as LendingPoolConfigurator; } } const _abi = [ - { - anonymous: false, - inputs: [ - { - indexed: true, - internalType: 'address', - name: '_reserve', - type: 'address', - }, - ], - name: 'BorrowingDisabledOnReserve', - type: 'event', - }, { anonymous: false, inputs: [ { indexed: false, - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { indexed: false, - internalType: 'bool', - name: '_stableRateEnabled', - type: 'bool', + internalType: "address", + name: "_proxy", + type: "address" }, + { + indexed: false, + internalType: "address", + name: "_implementation", + type: "address" + } ], - name: 'BorrowingEnabledOnReserve', - type: 'event', + name: "ATokenUpgraded", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: '_reserve', - type: 'address', - }, + internalType: "address", + name: "_reserve", + type: "address" + } ], - name: 'ReserveActivated', - type: 'event', + name: "BorrowingDisabledOnReserve", + type: "event" }, { anonymous: false, inputs: [ { indexed: false, - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { indexed: false, - internalType: 'uint256', - name: '_ltv', - type: 'uint256', - }, + internalType: "bool", + name: "_stableRateEnabled", + type: "bool" + } ], - name: 'ReserveBaseLtvChanged', - type: 'event', + name: "BorrowingEnabledOnReserve", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: '_reserve', - type: 'address', - }, + internalType: "address", + name: "_reserve", + type: "address" + } ], - name: 'ReserveDeactivated', - type: 'event', + name: "ReserveActivated", + type: "event" }, { anonymous: false, inputs: [ { indexed: false, - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { indexed: false, - internalType: 'uint256', - name: '_decimals', - type: 'uint256', - }, + internalType: "uint256", + name: "_ltv", + type: "uint256" + } ], - name: 'ReserveDecimalsChanged', - type: 'event', + name: "ReserveBaseLtvChanged", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: '_reserve', - type: 'address', - }, + internalType: "address", + name: "_reserve", + type: "address" + } ], - name: 'ReserveDisabledAsCollateral', - type: 'event', + name: "ReserveDeactivated", + type: "event" + }, + { + anonymous: false, + inputs: [ + { + indexed: false, + internalType: "address", + name: "_reserve", + type: "address" + }, + { + indexed: false, + internalType: "uint256", + name: "_decimals", + type: "uint256" + } + ], + name: "ReserveDecimalsChanged", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: '_reserve', - type: 'address', - }, - { - indexed: false, - internalType: 'uint256', - name: '_ltv', - type: 'uint256', - }, - { - indexed: false, - internalType: 'uint256', - name: '_liquidationThreshold', - type: 'uint256', - }, - { - indexed: false, - internalType: 'uint256', - name: '_liquidationBonus', - type: 'uint256', - }, + internalType: "address", + name: "_reserve", + type: "address" + } ], - name: 'ReserveEnabledAsCollateral', - type: 'event', + name: "ReserveDisabledAsCollateral", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, + { + indexed: false, + internalType: "uint256", + name: "_ltv", + type: "uint256" + }, + { + indexed: false, + internalType: "uint256", + name: "_liquidationThreshold", + type: "uint256" + }, + { + indexed: false, + internalType: "uint256", + name: "_liquidationBonus", + type: "uint256" + } ], - name: 'ReserveFreezed', - type: 'event', + name: "ReserveEnabledAsCollateral", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: '_reserve', - type: 'address', - }, - { - indexed: true, - internalType: 'address', - name: '_aToken', - type: 'address', - }, - { - indexed: false, - internalType: 'address', - name: '_interestRateStrategyAddress', - type: 'address', - }, + internalType: "address", + name: "_reserve", + type: "address" + } ], - name: 'ReserveInitialized', - type: 'event', - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: 'address', - name: '_reserve', - type: 'address', - }, - { - indexed: false, - internalType: 'address', - name: '_strategy', - type: 'address', - }, - ], - name: 'ReserveInterestRateStrategyChanged', - type: 'event', - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: 'address', - name: '_reserve', - type: 'address', - }, - { - indexed: false, - internalType: 'uint256', - name: '_bonus', - type: 'uint256', - }, - ], - name: 'ReserveLiquidationBonusChanged', - type: 'event', - }, - { - anonymous: false, - inputs: [ - { - indexed: false, - internalType: 'address', - name: '_reserve', - type: 'address', - }, - { - indexed: false, - internalType: 'uint256', - name: '_threshold', - type: 'uint256', - }, - ], - name: 'ReserveLiquidationThresholdChanged', - type: 'event', + name: "ReserveFreezed", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, + { + indexed: true, + internalType: "address", + name: "_aToken", + type: "address" + }, + { + indexed: false, + internalType: "address", + name: "_stableDebtToken", + type: "address" + }, + { + indexed: false, + internalType: "address", + name: "_variableDebtToken", + type: "address" + }, + { + indexed: false, + internalType: "address", + name: "_interestRateStrategyAddress", + type: "address" + } ], - name: 'ReserveUnfreezed', - type: 'event', + name: "ReserveInitialized", + type: "event" + }, + { + anonymous: false, + inputs: [ + { + indexed: false, + internalType: "address", + name: "_reserve", + type: "address" + }, + { + indexed: false, + internalType: "address", + name: "_strategy", + type: "address" + } + ], + name: "ReserveInterestRateStrategyChanged", + type: "event" + }, + { + anonymous: false, + inputs: [ + { + indexed: false, + internalType: "address", + name: "_reserve", + type: "address" + }, + { + indexed: false, + internalType: "uint256", + name: "_bonus", + type: "uint256" + } + ], + name: "ReserveLiquidationBonusChanged", + type: "event" + }, + { + anonymous: false, + inputs: [ + { + indexed: false, + internalType: "address", + name: "_reserve", + type: "address" + }, + { + indexed: false, + internalType: "uint256", + name: "_threshold", + type: "uint256" + } + ], + name: "ReserveLiquidationThresholdChanged", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: '_reserve', - type: 'address', - }, + internalType: "address", + name: "_reserve", + type: "address" + } ], - name: 'StableRateDisabledOnReserve', - type: 'event', + name: "ReserveUnfreezed", + type: "event" + }, + { + anonymous: false, + inputs: [ + { + indexed: false, + internalType: "address", + name: "_reserve", + type: "address" + }, + { + indexed: false, + internalType: "address", + name: "_proxy", + type: "address" + }, + { + indexed: false, + internalType: "address", + name: "_implementation", + type: "address" + } + ], + name: "StableDebtTokenUpgraded", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: '_reserve', - type: 'address', - }, + internalType: "address", + name: "_reserve", + type: "address" + } ], - name: 'StableRateEnabledOnReserve', - type: 'event', + name: "StableRateDisabledOnReserve", + type: "event" + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: "address", + name: "_reserve", + type: "address" + } + ], + name: "StableRateEnabledOnReserve", + type: "event" + }, + { + anonymous: false, + inputs: [ + { + indexed: false, + internalType: "address", + name: "_reserve", + type: "address" + }, + { + indexed: false, + internalType: "address", + name: "_proxy", + type: "address" + }, + { + indexed: false, + internalType: "address", + name: "_implementation", + type: "address" + } + ], + name: "VariableDebtTokenUpgraded", + type: "event" }, { inputs: [], - name: 'CONFIGURATOR_REVISION', + name: "CONFIGURATOR_REVISION", outputs: [ { - internalType: 'uint256', - name: '', - type: 'uint256', - }, + internalType: "uint256", + name: "", + type: "uint256" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', - }, + internalType: "address", + name: "_reserve", + type: "address" + } ], - name: 'activateReserve', + name: "activateReserve", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', - }, + internalType: "address", + name: "_reserve", + type: "address" + } ], - name: 'deactivateReserve', + name: "deactivateReserve", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', - }, + internalType: "address", + name: "_reserve", + type: "address" + } ], - name: 'disableBorrowingOnReserve', + name: "disableBorrowingOnReserve", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', - }, + internalType: "address", + name: "_reserve", + type: "address" + } ], - name: 'disableReserveAsCollateral', + name: "disableReserveAsCollateral", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', - }, + internalType: "address", + name: "_reserve", + type: "address" + } ], - name: 'disableReserveStableRate', + name: "disableReserveStableRate", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { - internalType: 'bool', - name: '_stableBorrowRateEnabled', - type: 'bool', - }, + internalType: "bool", + name: "_stableBorrowRateEnabled", + type: "bool" + } ], - name: 'enableBorrowingOnReserve', + name: "enableBorrowingOnReserve", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { - internalType: 'uint256', - name: '_baseLTVasCollateral', - type: 'uint256', + internalType: "uint256", + name: "_baseLTVasCollateral", + type: "uint256" }, { - internalType: 'uint256', - name: '_liquidationThreshold', - type: 'uint256', + internalType: "uint256", + name: "_liquidationThreshold", + type: "uint256" }, { - internalType: 'uint256', - name: '_liquidationBonus', - type: 'uint256', - }, + internalType: "uint256", + name: "_liquidationBonus", + type: "uint256" + } ], - name: 'enableReserveAsCollateral', + name: "enableReserveAsCollateral", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', - }, + internalType: "address", + name: "_reserve", + type: "address" + } ], - name: 'enableReserveStableRate', + name: "enableReserveStableRate", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', - }, + internalType: "address", + name: "_reserve", + type: "address" + } ], - name: 'freezeReserve', + name: "freezeReserve", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { - internalType: 'address', - name: '_aTokenInstance', - type: 'address', + internalType: "address", + name: "_aTokenImpl", + type: "address" }, { - internalType: 'address', - name: '_stableDebtTokenAddress', - type: 'address', + internalType: "address", + name: "_stableDebtTokenImpl", + type: "address" }, { - internalType: 'address', - name: '_variableDebtTokenAddress', - type: 'address', + internalType: "address", + name: "_variableDebtTokenImpl", + type: "address" }, { - internalType: 'uint8', - name: '_underlyingAssetDecimals', - type: 'uint8', + internalType: "uint8", + name: "_underlyingAssetDecimals", + type: "uint8" }, { - internalType: 'address', - name: '_interestRateStrategyAddress', - type: 'address', - }, + internalType: "address", + name: "_interestRateStrategyAddress", + type: "address" + } ], - name: 'initReserve', + name: "initReserve", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'contract LendingPoolAddressesProvider', - name: '_poolAddressesProvider', - type: 'address', - }, + internalType: "contract LendingPoolAddressesProvider", + name: "_poolAddressesProvider", + type: "address" + } ], - name: 'initialize', + name: "initialize", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [], - name: 'pool', + name: "pool", outputs: [ { - internalType: 'contract LendingPool', - name: '', - type: 'address', - }, + internalType: "contract LendingPool", + name: "", + type: "address" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [], - name: 'poolAddressesProvider', + name: "poolAddressesProvider", outputs: [ { - internalType: 'contract LendingPoolAddressesProvider', - name: '', - type: 'address', - }, + internalType: "contract LendingPoolAddressesProvider", + name: "", + type: "address" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { - internalType: 'uint256', - name: '_bonus', - type: 'uint256', - }, + internalType: "uint256", + name: "_bonus", + type: "uint256" + } ], - name: 'setLiquidationBonus', + name: "setLiquidationBonus", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { - internalType: 'uint256', - name: '_threshold', - type: 'uint256', - }, + internalType: "uint256", + name: "_threshold", + type: "uint256" + } ], - name: 'setLiquidationThreshold', + name: "setLiquidationThreshold", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { - internalType: 'uint256', - name: '_ltv', - type: 'uint256', - }, + internalType: "uint256", + name: "_ltv", + type: "uint256" + } ], - name: 'setLtv', + name: "setLtv", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { - internalType: 'uint256', - name: '_decimals', - type: 'uint256', - }, + internalType: "uint256", + name: "_decimals", + type: "uint256" + } ], - name: 'setReserveDecimals', + name: "setReserveDecimals", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { - internalType: 'address', - name: '_rateStrategyAddress', - type: 'address', - }, + internalType: "address", + name: "_rateStrategyAddress", + type: "address" + } ], - name: 'setReserveInterestRateStrategyAddress', + name: "setReserveInterestRateStrategyAddress", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', - }, + internalType: "address", + name: "_reserve", + type: "address" + } ], - name: 'unfreezeReserve', + name: "unfreezeReserve", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { - internalType: 'address', - name: '_implementation', - type: 'address', - }, + internalType: "address", + name: "_implementation", + type: "address" + } ], - name: 'updateAToken', + name: "updateAToken", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, + { + inputs: [ + { + internalType: "address", + name: "_reserve", + type: "address" + }, + { + internalType: "address", + name: "_implementation", + type: "address" + } + ], + name: "updateStableDebtToken", + outputs: [], + stateMutability: "nonpayable", + type: "function" + }, + { + inputs: [ + { + internalType: "address", + name: "_reserve", + type: "address" + }, + { + internalType: "address", + name: "_implementation", + type: "address" + } + ], + name: "updateVariableDebtToken", + outputs: [], + stateMutability: "nonpayable", + type: "function" + } ]; const _bytecode = - '0x60806040526000805534801561001457600080fd5b50614226806100246000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c80637cadffd9116100b8578063bf3441831161007c578063bf3441831461025d578063c4d66de814610270578063e8ae2f5b14610283578063eede87c114610296578063ef1f9373146102a9578063f53a2515146102bc57610137565b80637cadffd91461020957806380e17d871461021c578063a5bc826c14610224578063a8dc0f4514610237578063b75d6f341461024a57610137565b806366bbd928116100ff57806366bbd928146101a85780636fd435ac146101bb57806372f46aaa146101ce5780637aca76eb146101e15780637af635a6146101f457610137565b80630e30428d1461013c57806316f0115b146101515780631d2118f91461016f5780633e72a4541461018257806345fe794614610195575b600080fd5b61014f61014a366004612dbf565b6102cf565b005b6101596104b7565b6040516101669190613041565b60405180910390f35b61014f61017d366004612c88565b6104c6565b61014f610190366004612c49565b610609565b61014f6101a3366004612c88565b6108ad565b61014f6101b6366004612dbf565b610c50565b61014f6101c9366004612d0c565b610e22565b61014f6101dc366004612dbf565b611261565b61014f6101ef366004612c49565b611433565b6101fc61160d565b60405161016691906132ac565b61014f610217366004612dbf565b611612565b6101596117e4565b61014f610232366004612dea565b6117f3565b61014f610245366004612c49565b611a00565b61014f610258366004612c49565b611bda565b61014f61026b366004612c49565b611db4565b61014f61027e366004612c49565b611f8e565b61014f610291366004612c49565b61214c565b61014f6102a4366004612d92565b612326565b61014f6102b7366004612c49565b612509565b61014f6102ca366004612c49565b6126e3565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b15801561031357600080fd5b505afa158015610327573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061034b9190612c6c565b6001600160a01b03161461037a5760405162461bcd60e51b8152600401610371906131cb565b60405180910390fd5b610382612c29565b60355460405163c44b11f760e01b81526001600160a01b039091169063c44b11f7906103b2908690600401613041565b60206040518083038186803b1580156103ca57600080fd5b505afa1580156103de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104029190612eb0565b9050610414818363ffffffff6128bd16565b6035548151604051635c69493b60e11b81526001600160a01b039092169163b8d29276916104479187919060040161311d565b600060405180830381600087803b15801561046157600080fd5b505af1158015610475573d6000803e3d6000fd5b505050507f437dd3b61b7c7eee7fc70515c8846482dfca92e2e1e02af5d638c5d4878d671483836040516104aa92919061311d565b60405180910390a1505050565b6035546001600160a01b031681565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b15801561050a57600080fd5b505afa15801561051e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105429190612c6c565b6001600160a01b0316146105685760405162461bcd60e51b8152600401610371906131cb565b603554604051631d2118f960e01b81526001600160a01b0390911690631d2118f99061059a9085908590600401613055565b600060405180830381600087803b1580156105b457600080fd5b505af11580156105c8573d6000803e3d6000fd5b505050507f5644b64ebb0ce18c4032248ca52f58355469092ff072866c3dcd8640e817d6a582826040516105fd929190613055565b60405180910390a15050565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b15801561064d57600080fd5b505afa158015610661573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106859190612c6c565b6001600160a01b0316146106ab5760405162461bcd60e51b8152600401610371906131cb565b6035546040516335ea6a7560e01b8152600091829182916001600160a01b0316906335ea6a75906106e0908790600401613041565b6101406040518083038186803b1580156106f957600080fd5b505afa15801561070d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107319190612f85565b5050505050505092509250925082600014801561074c575081155b8015610756575080155b6107725760405162461bcd60e51b815260040161037190613262565b61077a612c29565b60355460405163c44b11f760e01b81526001600160a01b039091169063c44b11f7906107aa908890600401613041565b60206040518083038186803b1580156107c257600080fd5b505afa1580156107d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107fa9190612eb0565b905061080d81600063ffffffff6128d416565b6035548151604051635c69493b60e11b81526001600160a01b039092169163b8d29276916108409189919060040161311d565b600060405180830381600087803b15801561085a57600080fd5b505af115801561086e573d6000803e3d6000fd5b50506040516001600160a01b03881692507f6f60cf8bd0f218cabe1ea3150bd07b0b758c35c4cfdf7138017a283e65564d5e9150600090a25050505050565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b1580156108f157600080fd5b505afa158015610905573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109299190612c6c565b6001600160a01b03161461094f5760405162461bcd60e51b8152600401610371906131cb565b6035546040516334924edb60e21b81526000916001600160a01b03169063d2493b6c90610980908690600401613041565b60606040518083038186803b15801561099857600080fd5b505afa1580156109ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d09190612cc0565b5050603554604051633e15014160e01b81529192506000916001600160a01b0390911690633e15014190610a08908790600401613041565b6101406040518083038186803b158015610a2157600080fd5b505afa158015610a35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a599190612ed5565b5050505050505050509050610a886040518060600160405280602c81526020016141c5602c9139838584612901565b6000829050606082856001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b158015610ac957600080fd5b505afa158015610add573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b059190810190612e24565b866001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b158015610b3e57600080fd5b505afa158015610b52573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b7a9190810190612e24565b604051602401610b8c939291906132cb565b60408051601f19818403018152918152602080830180516001600160e01b031663188c392760e11b1790528151808301909252601182527043616c6c696e672075706772616465546f60781b90820152909150610be8906129ae565b60405163278f794360e11b81526001600160a01b03831690634f1ef28690610c1690889085906004016130f1565b600060405180830381600087803b158015610c3057600080fd5b505af1158015610c44573d6000803e3d6000fd5b50505050505050505050565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b158015610c9457600080fd5b505afa158015610ca8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ccc9190612c6c565b6001600160a01b031614610cf25760405162461bcd60e51b8152600401610371906131cb565b610cfa612c29565b60355460405163c44b11f760e01b81526001600160a01b039091169063c44b11f790610d2a908690600401613041565b60206040518083038186803b158015610d4257600080fd5b505afa158015610d56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d7a9190612eb0565b9050610d8c818363ffffffff612a5216565b6035548151604051635c69493b60e11b81526001600160a01b039092169163b8d2927691610dbf9187919060040161311d565b600060405180830381600087803b158015610dd957600080fd5b505af1158015610ded573d6000803e3d6000fd5b505050507f2e73b7f1df792712003e6859f940c1e8711c3f1329474771fee71d2ec116312983836040516104aa92919061311d565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b158015610e6657600080fd5b505afa158015610e7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9e9190612c6c565b6001600160a01b031614610ec45760405162461bcd60e51b8152600401610371906131cb565b6000604051610ed290612c3c565b604051809103906000f080158015610eee573d6000803e3d6000fd5b509050606083876001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b158015610f2d57600080fd5b505afa158015610f41573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f699190810190612e24565b886001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b158015610fa257600080fd5b505afa158015610fb6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610fde9190810190612e24565b604051602401610ff0939291906132cb565b60408051601f198184030181529181526020820180516001600160e01b031663188c392760e11b1790525163cf7a1d7760e01b81529091506001600160a01b0383169063cf7a1d779061104b908a90309086906004016130a1565b600060405180830381600087803b15801561106557600080fd5b505af1158015611079573d6000803e3d6000fd5b5050603554604051633d38474960e11b81526001600160a01b039091169250637a708e9291506110b5908b9086908b908b908a9060040161306f565b600060405180830381600087803b1580156110cf57600080fd5b505af11580156110e3573d6000803e3d6000fd5b505050506110ef612c29565b60355460405163c44b11f760e01b81526001600160a01b039091169063c44b11f79061111f908c90600401613041565b60206040518083038186803b15801561113757600080fd5b505afa15801561114b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116f9190612eb0565b90506111848160ff871663ffffffff612a5216565b61119581600163ffffffff6128d416565b6111a681600063ffffffff612a6916565b6035548151604051635c69493b60e11b81526001600160a01b039092169163b8d29276916111d9918d919060040161311d565b600060405180830381600087803b1580156111f357600080fd5b505af1158015611207573d6000803e3d6000fd5b50505050826001600160a01b0316896001600160a01b03167f1d9fcd0dc935b4778d5af97f55c4d7b2553257382f1ef25c412114c8eeebd88e8660405161124e9190613041565b60405180910390a3505050505050505050565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b1580156112a557600080fd5b505afa1580156112b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112dd9190612c6c565b6001600160a01b0316146113035760405162461bcd60e51b8152600401610371906131cb565b61130b612c29565b60355460405163c44b11f760e01b81526001600160a01b039091169063c44b11f79061133b908690600401613041565b60206040518083038186803b15801561135357600080fd5b505afa158015611367573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138b9190612eb0565b905061139d818363ffffffff612a9616565b6035548151604051635c69493b60e11b81526001600160a01b039092169163b8d29276916113d09187919060040161311d565b600060405180830381600087803b1580156113ea57600080fd5b505af11580156113fe573d6000803e3d6000fd5b505050507fda47540c7f7fd5a68c3285f3bb708f322424f948f41df6f51622fa24b396866483836040516104aa92919061311d565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b15801561147757600080fd5b505afa15801561148b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114af9190612c6c565b6001600160a01b0316146114d55760405162461bcd60e51b8152600401610371906131cb565b6114dd612c29565b60355460405163c44b11f760e01b81526001600160a01b039091169063c44b11f79061150d908590600401613041565b60206040518083038186803b15801561152557600080fd5b505afa158015611539573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061155d9190612eb0565b905061157081600163ffffffff612a6916565b6035548151604051635c69493b60e11b81526001600160a01b039092169163b8d29276916115a39186919060040161311d565b600060405180830381600087803b1580156115bd57600080fd5b505af11580156115d1573d6000803e3d6000fd5b50506040516001600160a01b03851692507fda5cdb66c77023db6abe5226a4d4a40c3b8e768012f4ff4e446f62f60127fc569150600090a25050565b600381565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b15801561165657600080fd5b505afa15801561166a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061168e9190612c6c565b6001600160a01b0316146116b45760405162461bcd60e51b8152600401610371906131cb565b6116bc612c29565b60355460405163c44b11f760e01b81526001600160a01b039091169063c44b11f7906116ec908690600401613041565b60206040518083038186803b15801561170457600080fd5b505afa158015611718573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061173c9190612eb0565b905061174e818363ffffffff612aa716565b6035548151604051635c69493b60e11b81526001600160a01b039092169163b8d29276916117819187919060040161311d565b600060405180830381600087803b15801561179b57600080fd5b505af11580156117af573d6000803e3d6000fd5b505050507fe3ba662f7011e701056a43e8cf832242322eeff01453e7a72d01ec2af36d9aec83836040516104aa92919061311d565b6034546001600160a01b031681565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b15801561183757600080fd5b505afa15801561184b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061186f9190612c6c565b6001600160a01b0316146118955760405162461bcd60e51b8152600401610371906131cb565b61189d612c29565b60355460405163c44b11f760e01b81526001600160a01b039091169063c44b11f7906118cd908890600401613041565b60206040518083038186803b1580156118e557600080fd5b505afa1580156118f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061191d9190612eb0565b905061192f818563ffffffff612a9616565b61193f818463ffffffff6128bd16565b61194f818363ffffffff612aa716565b6035548151604051635c69493b60e11b81526001600160a01b039092169163b8d29276916119829189919060040161311d565b600060405180830381600087803b15801561199c57600080fd5b505af11580156119b0573d6000803e3d6000fd5b50505050846001600160a01b03167fdfe62f53e7707d64f99bca15d2bdf3facc4074bc047e7dec2ea130300e9927448585856040516119f1939291906132b5565b60405180910390a25050505050565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b158015611a4457600080fd5b505afa158015611a58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a7c9190612c6c565b6001600160a01b031614611aa25760405162461bcd60e51b8152600401610371906131cb565b611aaa612c29565b60355460405163c44b11f760e01b81526001600160a01b039091169063c44b11f790611ada908590600401613041565b60206040518083038186803b158015611af257600080fd5b505afa158015611b06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2a9190612eb0565b9050611b3d81600063ffffffff612abe16565b6035548151604051635c69493b60e11b81526001600160a01b039092169163b8d2927691611b709186919060040161311d565b600060405180830381600087803b158015611b8a57600080fd5b505af1158015611b9e573d6000803e3d6000fd5b50506040516001600160a01b03851692507fe9a7e5fd4fc8ea18e602350324bf48e8f05d12434af0ce0be05743e6a5fdcb9e9150600090a25050565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b158015611c1e57600080fd5b505afa158015611c32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c569190612c6c565b6001600160a01b031614611c7c5760405162461bcd60e51b8152600401610371906131cb565b611c84612c29565b60355460405163c44b11f760e01b81526001600160a01b039091169063c44b11f790611cb4908590600401613041565b60206040518083038186803b158015611ccc57600080fd5b505afa158015611ce0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d049190612eb0565b9050611d1781600163ffffffff6128d416565b6035548151604051635c69493b60e11b81526001600160a01b039092169163b8d2927691611d4a9186919060040161311d565b600060405180830381600087803b158015611d6457600080fd5b505af1158015611d78573d6000803e3d6000fd5b50506040516001600160a01b03851692507f35b80cd8ea3440e9a8454f116fa658b858da1b64c86c48451f4559cefcdfb56c9150600090a25050565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b158015611df857600080fd5b505afa158015611e0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e309190612c6c565b6001600160a01b031614611e565760405162461bcd60e51b8152600401610371906131cb565b611e5e612c29565b60355460405163c44b11f760e01b81526001600160a01b039091169063c44b11f790611e8e908590600401613041565b60206040518083038186803b158015611ea657600080fd5b505afa158015611eba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ede9190612eb0565b9050611ef181600163ffffffff612aeb16565b6035548151604051635c69493b60e11b81526001600160a01b039092169163b8d2927691611f249186919060040161311d565b600060405180830381600087803b158015611f3e57600080fd5b505af1158015611f52573d6000803e3d6000fd5b50506040516001600160a01b03851692507f8dee2b2f3e98319ae6347eda521788f73f4086c9be9a594942b370b137fb8cb19150600090a25050565b611fc16040518060400160405280601281526020017124b739b4b2329034b734ba34b0b634bd32b960711b8152506129ae565b6000611fcb612b18565b9050611ffd6040518060400160405280600e81526020016d5265766973696f6e20697320257360901b81525082612b1d565b61202760405180604001604052806008815260200167546869733a20257360c01b81525030612bc4565b60015460ff168061203b575061203b612c23565b80612047575060005481115b6120635760405162461bcd60e51b815260040161037190613214565b60015460ff16158015612082576001805460ff19168117905560008290555b603480546001600160a01b0319166001600160a01b03858116919091179182905560408051630261bf8b60e01b815290519290911691630261bf8b91600480820192602092909190829003018186803b1580156120de57600080fd5b505afa1580156120f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121169190612c6c565b603580546001600160a01b0319166001600160a01b03929092169190911790558015612147576001805460ff191690555b505050565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b15801561219057600080fd5b505afa1580156121a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121c89190612c6c565b6001600160a01b0316146121ee5760405162461bcd60e51b8152600401610371906131cb565b6121f6612c29565b60355460405163c44b11f760e01b81526001600160a01b039091169063c44b11f790612226908590600401613041565b60206040518083038186803b15801561223e57600080fd5b505afa158015612252573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122769190612eb0565b905061228981600063ffffffff612a9616565b6035548151604051635c69493b60e11b81526001600160a01b039092169163b8d29276916122bc9186919060040161311d565b600060405180830381600087803b1580156122d657600080fd5b505af11580156122ea573d6000803e3d6000fd5b50506040516001600160a01b03851692507f9cc75e4cafc9a556a369bc53468649075680eb554d225d5918f199453824796d9150600090a25050565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b15801561236a57600080fd5b505afa15801561237e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123a29190612c6c565b6001600160a01b0316146123c85760405162461bcd60e51b8152600401610371906131cb565b6123d0612c29565b60355460405163c44b11f760e01b81526001600160a01b039091169063c44b11f790612400908690600401613041565b60206040518083038186803b15801561241857600080fd5b505afa15801561242c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124509190612eb0565b905061246381600163ffffffff612abe16565b612473818363ffffffff612aeb16565b6035548151604051635c69493b60e11b81526001600160a01b039092169163b8d29276916124a69187919060040161311d565b600060405180830381600087803b1580156124c057600080fd5b505af11580156124d4573d6000803e3d6000fd5b505050507fab2f7f9e5ca2772fafa94f355c1842a80ae6b9e41f83083098d81f67d7a0b50883836040516104aa9291906130d6565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b15801561254d57600080fd5b505afa158015612561573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125859190612c6c565b6001600160a01b0316146125ab5760405162461bcd60e51b8152600401610371906131cb565b6125b3612c29565b60355460405163c44b11f760e01b81526001600160a01b039091169063c44b11f7906125e3908590600401613041565b60206040518083038186803b1580156125fb57600080fd5b505afa15801561260f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126339190612eb0565b905061264681600063ffffffff612a6916565b6035548151604051635c69493b60e11b81526001600160a01b039092169163b8d29276916126799186919060040161311d565b600060405180830381600087803b15801561269357600080fd5b505af11580156126a7573d6000803e3d6000fd5b50506040516001600160a01b03851692507f995959c2ceab6ce20e8cd89c904e449fd3e21918a0f420c9ec9340595585526b9150600090a25050565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b15801561272757600080fd5b505afa15801561273b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061275f9190612c6c565b6001600160a01b0316146127855760405162461bcd60e51b8152600401610371906131cb565b61278d612c29565b60355460405163c44b11f760e01b81526001600160a01b039091169063c44b11f7906127bd908590600401613041565b60206040518083038186803b1580156127d557600080fd5b505afa1580156127e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061280d9190612eb0565b905061282081600063ffffffff612aeb16565b6035548151604051635c69493b60e11b81526001600160a01b039092169163b8d29276916128539186919060040161311d565b600060405180830381600087803b15801561286d57600080fd5b505af1158015612881573d6000803e3d6000fd5b50506040516001600160a01b03851692507f8bbf35441ac2c607ddecadd3d8ee58636d32f217fad201fb2655581502dd84e39150600090a25050565b8151670fffffff0000ffff1660109190911b179052565b6038816128e25760006128e5565b60015b8351670effffffffffffff1660ff9190911690911b1790915250565b60006a636f6e736f6c652e6c6f676001600160a01b03168585858560405160240161292f9493929190613173565b60408051601f198184030181529181526020820180516001600160e01b0316636eb7943d60e01b179052516129649190613025565b600060405180830381855afa9150503d806000811461299f576040519150601f19603f3d011682016040523d82523d6000602084013e6129a4565b606091505b5050505050505050565b60006a636f6e736f6c652e6c6f676001600160a01b0316826040516024016129d69190613136565b60408051601f198184030181529181526020820180516001600160e01b031663104c13eb60e21b17905251612a0b9190613025565b600060405180830381855afa9150503d8060008114612a46576040519150601f19603f3d011682016040523d82523d6000602084013e612a4b565b606091505b5050505050565b8151670f00ffffffffffff1660309190911b179052565b603981612a77576000612a7a565b60015b8351670dffffffffffffff1660ff9190911690911b1790915250565b8151670fffffffffff000016179052565b8151670fff0000ffffffff1660209190911b179052565b603a81612acc576000612acf565b60015b8351670bffffffffffffff1660ff9190911690911b1790915250565b603b81612af9576000612afc565b60015b83516707ffffffffffffff1660ff9190911690911b1790915250565b600390565b60006a636f6e736f6c652e6c6f676001600160a01b03168383604051602401612b479291906131a9565b60408051601f198184030181529181526020820180516001600160e01b03166309710a9d60e41b17905251612b7c9190613025565b600060405180830381855afa9150503d8060008114612bb7576040519150601f19603f3d011682016040523d82523d6000602084013e612bbc565b606091505b505050505050565b60006a636f6e736f6c652e6c6f676001600160a01b03168383604051602401612bee929190613149565b60408051601f198184030181529181526020820180516001600160e01b031663319af33360e01b17905251612b7c9190613025565b303b1590565b6040518060200160405280600081525090565b610e448061338183390190565b600060208284031215612c5a578081fd5b8135612c658161335a565b9392505050565b600060208284031215612c7d578081fd5b8151612c658161335a565b60008060408385031215612c9a578081fd5b8235612ca58161335a565b91506020830135612cb58161335a565b809150509250929050565b600080600060608486031215612cd4578081fd5b8351612cdf8161335a565b6020850151909350612cf08161335a565b6040850151909250612d018161335a565b809150509250925092565b60008060008060008060c08789031215612d24578182fd5b8635612d2f8161335a565b95506020870135612d3f8161335a565b94506040870135612d4f8161335a565b93506060870135612d5f8161335a565b9250608087013560ff81168114612d74578283fd5b915060a0870135612d848161335a565b809150509295509295509295565b60008060408385031215612da4578182fd5b8235612daf8161335a565b91506020830135612cb581613372565b60008060408385031215612dd1578182fd5b8235612ddc8161335a565b946020939093013593505050565b60008060008060808587031215612dff578384fd5b8435612e0a8161335a565b966020860135965060408601359560600135945092505050565b600060208284031215612e35578081fd5b815167ffffffffffffffff80821115612e4c578283fd5b81840185601f820112612e5d578384fd5b8051925081831115612e6d578384fd5b612e80601f8401601f1916602001613303565b9150828252856020848301011115612e96578384fd5b612ea783602084016020840161332a565b50949350505050565b600060208284031215612ec1578081fd5b612ecb6020613303565b9151825250919050565b6000806000806000806000806000806101408b8d031215612ef4578384fd5b8a51995060208b0151985060408b0151975060608b0151965060808b0151612f1b8161335a565b60a08c0151909650612f2c81613372565b60c08c0151909550612f3d81613372565b60e08c0151909450612f4e81613372565b6101008c0151909350612f6081613372565b6101208c0151909250612f7281613372565b809150509295989b9194979a5092959850565b6000806000806000806000806000806101408b8d031215612fa4578384fd5b8a51995060208b0151985060408b0151975060608b0151965060808b0151955060a08b0151945060c08b0151935060e08b015192506101008b015191506101208b015164ffffffffff81168114612f72578182fd5b6000815180845261301181602086016020860161332a565b601f01601f19169290920160200192915050565b6000825161303781846020870161332a565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b0395861681529385166020850152918416604084015283166060830152909116608082015260a00190565b6001600160a01b038481168252831660208201526060604082018190526000906130cd90830184612ff9565b95945050505050565b6001600160a01b039290921682521515602082015260400190565b6001600160a01b038316815260406020820181905260009061311590830184612ff9565b949350505050565b6001600160a01b03929092168252602082015260400190565b600060208252612c656020830184612ff9565b60006040825261315c6040830185612ff9565b905060018060a01b03831660208301529392505050565b6000608082526131866080830187612ff9565b6001600160a01b0395861660208401529390941660408201526060015292915050565b6000604082526131bc6040830185612ff9565b90508260208301529392505050565b60208082526029908201527f5468652063616c6c6572206d7573742062652061206c656e64696e6720706f6f604082015268361036b0b730b3b2b960b91b606082015260800190565b6020808252602e908201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560408201526d195b881a5b9a5d1a585b1a5e995960921b606082015260800190565b6020808252602a908201527f546865206c6971756964697479206f66207468652072657365727665206e65656040820152690647320746f20626520360b41b606082015260800190565b90815260200190565b9283526020830191909152604082015260600190565b600060ff85168252606060208301526132e76060830185612ff9565b82810360408401526132f98185612ff9565b9695505050505050565b60405181810167ffffffffffffffff8111828210171561332257600080fd5b604052919050565b60005b8381101561334557818101518382015260200161332d565b83811115613354576000848401525b50505050565b6001600160a01b038116811461336f57600080fd5b50565b801515811461336f57600080fdfe608060405234801561001057600080fd5b50610e24806100206000396000f3fe6080604052600436106100705760003560e01c80638f2839701161004e5780638f2839701461015e578063cf7a1d7714610191578063d1f5789414610250578063f851a4401461030657610070565b80633659cfe61461007a5780634f1ef286146100ad5780635c60da1b1461012d575b61007861031b565b005b34801561008657600080fd5b506100786004803603602081101561009d57600080fd5b50356001600160a01b0316610335565b610078600480360360408110156100c357600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156100ee57600080fd5b82018360208201111561010057600080fd5b8035906020019184600183028401116401000000008311171561012257600080fd5b50909250905061036f565b34801561013957600080fd5b506101426104f1565b604080516001600160a01b039092168252519081900360200190f35b34801561016a57600080fd5b506100786004803603602081101561018157600080fd5b50356001600160a01b031661052e565b610078600480360360608110156101a757600080fd5b6001600160a01b0382358116926020810135909116918101906060810160408201356401000000008111156101db57600080fd5b8201836020820111156101ed57600080fd5b8035906020019184600183028401116401000000008311171561020f57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506105e8945050505050565b6100786004803603604081101561026657600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561029157600080fd5b8201836020820111156102a357600080fd5b803590602001918460018302840111640100000000831117156102c557600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061066e945050505050565b34801561031257600080fd5b506101426107ae565b6103236107d9565b61033361032e6107e1565b610806565b565b61033d61082a565b6001600160a01b0316336001600160a01b031614156103645761035f8161084f565b61036c565b61036c61031b565b50565b61037761082a565b6001600160a01b0316336001600160a01b031614156104e4576103ce6040518060400160405280601781526020017f496e736964652075706772616465546f416e6443616c6c00000000000000000081525061088f565b6103d78361084f565b61040060405180604001604052806008815260200167155c19dc9859195960c21b81525061088f565b61042f6040518060400160405280600d81526020016c4164647265737320697320257360981b815250846109d1565b6000836001600160a01b031683836040518083838082843760405192019450600093509091505080830381855af49150503d806000811461048c576040519150601f19603f3d011682016040523d82523d6000602084013e610491565b606091505b505090506104d46040518060400160405280601d81526020017f44656c65676174652063616c6c20646f6e652c20726573756c7420257300000081525082610b38565b806104de57600080fd5b506104ec565b6104ec61031b565b505050565b60006104fb61082a565b6001600160a01b0316336001600160a01b031614156105235761051c6107e1565b905061052b565b61052b61031b565b90565b61053661082a565b6001600160a01b0316336001600160a01b03161415610364576001600160a01b0381166105945760405162461bcd60e51b8152600401808060200182810382526036815260200180610d7e6036913960400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6105bd61082a565b604080516001600160a01b03928316815291841660208301528051918290030190a161035f81610c23565b60006105f26107e1565b6001600160a01b03161461060557600080fd5b61060f838261066e565b604080517232b4b8189c9b1b97383937bc3c9730b236b4b760691b815290519081900360130190207fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61036000199091011461066557fe5b6104ec82610c23565b60006106786107e1565b6001600160a01b03161461068b57600080fd5b604080517f656970313936372e70726f78792e696d706c656d656e746174696f6e000000008152905190819003601c0190207f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc600019909101146106eb57fe5b6106f482610c47565b8051156107aa576000826001600160a01b0316826040518082805190602001908083835b602083106107375780518252601f199092019160209182019101610718565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610797576040519150601f19603f3d011682016040523d82523d6000602084013e61079c565b606091505b50509050806104ec57600080fd5b5050565b60006107b861082a565b6001600160a01b0316336001600160a01b031614156105235761051c61082a565b610333610caf565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e808015610825573d6000f35b3d6000fd5b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b61085881610c47565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6040516020602482018181528351604484015283516000936a636f6e736f6c652e6c6f67938693928392606401918501908083838a5b838110156108dd5781810151838201526020016108c5565b50505050905090810190601f16801561090a5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b031663104c13eb60e21b178152905182519295509350839250908083835b602083106109655780518252601f199092019160209182019101610946565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d80600081146109c5576040519150601f19603f3d011682016040523d82523d6000602084013e6109ca565b606091505b5050505050565b60006a636f6e736f6c652e6c6f676001600160a01b031683836040516024018080602001836001600160a01b03166001600160a01b03168152602001828103825284818151815260200191508051906020019080838360005b83811015610a42578181015183820152602001610a2a565b50505050905090810190601f168015610a6f5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b031663319af33360e01b17815290518251929650945084935091508083835b60208310610acb5780518252601f199092019160209182019101610aac565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114610b2b576040519150601f19603f3d011682016040523d82523d6000602084013e610b30565b606091505b505050505050565b60006a636f6e736f6c652e6c6f676001600160a01b03168383604051602401808060200183151515158152602001828103825284818151815260200191508051906020019080838360005b83811015610b9b578181015183820152602001610b83565b50505050905090810190601f168015610bc85780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b031663c3b5563560e01b178152905182519296509450849350915080838360208310610acb5780518252601f199092019160209182019101610aac565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b610c5081610d0f565b610c8b5760405162461bcd60e51b815260040180806020018281038252603b815260200180610db4603b913960400191505060405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b610cb761082a565b6001600160a01b0316336001600160a01b03161415610d075760405162461bcd60e51b8152600401808060200182810382526032815260200180610d4c6032913960400191505060405180910390fd5b610333610333565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610d4357508115155b94935050505056fe43616e6e6f742063616c6c2066616c6c6261636b2066756e6374696f6e2066726f6d207468652070726f78792061646d696e43616e6e6f74206368616e6765207468652061646d696e206f6620612070726f787920746f20746865207a65726f206164647265737343616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a2646970667358221220993845a5381841a5ff0030eb7e233a5d9478e7017362cd04bced9e6a862fe56f64736f6c6343000608003341546f6b656e2069732025732c20696d706c656d656e746174696f6e2025732c20646563696d616c73202573a26469706673582212200073e6c025f78225852fdf5a95051a9d2f1a47a0a7b38e693c1915c04ea16e9c64736f6c63430006080033'; + "0x60806040526000805534801561001457600080fd5b50613f4e806100246000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c80637cadffd9116100c3578063bf3441831161007c578063bf34418314610299578063c4d66de8146102ac578063e8ae2f5b146102bf578063eede87c1146102d2578063ef1f9373146102e5578063f53a2515146102f85761014d565b80637cadffd91461023257806380e17d8714610245578063a5bc826c1461024d578063a8dc0f4514610260578063aa65b66e14610273578063b75d6f34146102865761014d565b80634d978258116101155780634d978258146101be57806366bbd928146101d15780636fd435ac146101e457806372f46aaa146101f75780637aca76eb1461020a5780637af635a61461021d5761014d565b80630e30428d1461015257806316f0115b146101675780631d2118f9146101855780633e72a4541461019857806345fe7946146101ab575b600080fd5b61016561016036600461300a565b61030b565b005b61016f6104f3565b60405161017c9190613270565b60405180910390f35b610165610193366004612ed3565b610502565b6101656101a6366004612e94565b610645565b6101656101b9366004612ed3565b6108e9565b6101656101cc366004612ed3565b610bd7565b6101656101df36600461300a565b610dff565b6101656101f2366004612f57565b610fd1565b61016561020536600461300a565b6113d7565b610165610218366004612e94565b6115a9565b610225611783565b60405161017c9190613469565b61016561024036600461300a565b611788565b61016f61195a565b61016561025b366004613035565b611969565b61016561026e366004612e94565b611b76565b610165610281366004612ed3565b611d50565b610165610294366004612e94565b611f78565b6101656102a7366004612e94565b612152565b6101656102ba366004612e94565b61232c565b6101656102cd366004612e94565b61245e565b6101656102e0366004612fdd565b612638565b6101656102f3366004612e94565b61281b565b610165610306366004612e94565b6129f5565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b15801561034f57600080fd5b505afa158015610363573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103879190612eb7565b6001600160a01b0316146103b65760405162461bcd60e51b81526004016103ad90613388565b60405180910390fd5b6103be612e74565b60355460405163c44b11f760e01b81526001600160a01b039091169063c44b11f7906103ee908690600401613270565b60206040518083038186803b15801561040657600080fd5b505afa15801561041a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043e91906130fb565b9050610450818363ffffffff612bcf16565b6035548151604051635c69493b60e11b81526001600160a01b039092169163b8d29276916104839187919060040161336f565b600060405180830381600087803b15801561049d57600080fd5b505af11580156104b1573d6000803e3d6000fd5b505050507f437dd3b61b7c7eee7fc70515c8846482dfca92e2e1e02af5d638c5d4878d671483836040516104e692919061336f565b60405180910390a1505050565b6035546001600160a01b031681565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b15801561054657600080fd5b505afa15801561055a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057e9190612eb7565b6001600160a01b0316146105a45760405162461bcd60e51b81526004016103ad90613388565b603554604051631d2118f960e01b81526001600160a01b0390911690631d2118f9906105d69085908590600401613284565b600060405180830381600087803b1580156105f057600080fd5b505af1158015610604573d6000803e3d6000fd5b505050507f5644b64ebb0ce18c4032248ca52f58355469092ff072866c3dcd8640e817d6a58282604051610639929190613284565b60405180910390a15050565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b15801561068957600080fd5b505afa15801561069d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c19190612eb7565b6001600160a01b0316146106e75760405162461bcd60e51b81526004016103ad90613388565b6035546040516335ea6a7560e01b8152600091829182916001600160a01b0316906335ea6a759061071c908790600401613270565b6101406040518083038186803b15801561073557600080fd5b505afa158015610749573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076d91906131d0565b50505050505050925092509250826000148015610788575081155b8015610792575080155b6107ae5760405162461bcd60e51b81526004016103ad9061341f565b6107b6612e74565b60355460405163c44b11f760e01b81526001600160a01b039091169063c44b11f7906107e6908890600401613270565b60206040518083038186803b1580156107fe57600080fd5b505afa158015610812573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083691906130fb565b905061084981600063ffffffff612be616565b6035548151604051635c69493b60e11b81526001600160a01b039092169163b8d292769161087c9189919060040161336f565b600060405180830381600087803b15801561089657600080fd5b505af11580156108aa573d6000803e3d6000fd5b50506040516001600160a01b03881692507f6f60cf8bd0f218cabe1ea3150bd07b0b758c35c4cfdf7138017a283e65564d5e9150600090a25050505050565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b15801561092d57600080fd5b505afa158015610941573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109659190612eb7565b6001600160a01b03161461098b5760405162461bcd60e51b81526004016103ad90613388565b6035546040516334924edb60e21b81526000916001600160a01b03169063d2493b6c906109bc908690600401613270565b60606040518083038186803b1580156109d457600080fd5b505afa1580156109e8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0c9190612f0b565b5050603554604051633e15014160e01b81529192506000916001600160a01b0390911690633e15014190610a44908790600401613270565b6101406040518083038186803b158015610a5d57600080fd5b505afa158015610a71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a959190613120565b5050505050505050509050610b95828483866001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b158015610adf57600080fd5b505afa158015610af3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b1b919081019061306f565b876001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b158015610b5457600080fd5b505afa158015610b68573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b90919081019061306f565b612c13565b507fa76f65411ec66a7fb6bc467432eb14767900449ae4469fa295e4441fe5e1cb73848385604051610bc99392919061329e565b60405180910390a150505050565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b158015610c1b57600080fd5b505afa158015610c2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c539190612eb7565b6001600160a01b031614610c795760405162461bcd60e51b81526004016103ad90613388565b6035546040516334924edb60e21b81526000916001600160a01b03169063d2493b6c90610caa908690600401613270565b60606040518083038186803b158015610cc257600080fd5b505afa158015610cd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfa9190612f0b565b603554604051633e15014160e01b8152919450600093506001600160a01b03169150633e15014190610d30908790600401613270565b6101406040518083038186803b158015610d4957600080fd5b505afa158015610d5d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d819190613120565b5050505050505050509050610dcb828483866001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b158015610adf57600080fd5b507f9439658a562a5c46b1173589df89cf001483d685bad28aedaff4a88656292d81848385604051610bc99392919061329e565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b158015610e4357600080fd5b505afa158015610e57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7b9190612eb7565b6001600160a01b031614610ea15760405162461bcd60e51b81526004016103ad90613388565b610ea9612e74565b60355460405163c44b11f760e01b81526001600160a01b039091169063c44b11f790610ed9908690600401613270565b60206040518083038186803b158015610ef157600080fd5b505afa158015610f05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2991906130fb565b9050610f3b818363ffffffff612cc616565b6035548151604051635c69493b60e11b81526001600160a01b039092169163b8d2927691610f6e9187919060040161336f565b600060405180830381600087803b158015610f8857600080fd5b505af1158015610f9c573d6000803e3d6000fd5b505050507f2e73b7f1df792712003e6859f940c1e8711c3f1329474771fee71d2ec116312983836040516104e692919061336f565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b15801561101557600080fd5b505afa158015611029573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061104d9190612eb7565b6001600160a01b0316146110735760405162461bcd60e51b81526004016103ad90613388565b60006111698684886001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b1580156110b357600080fd5b505afa1580156110c7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526110ef919081019061306f565b896001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b15801561112857600080fd5b505afa15801561113c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611164919081019061306f565b612cdd565b905060006111ab8685886001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b1580156110b357600080fd5b905060006111ed8686886001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b1580156110b357600080fd5b603554604051633d38474960e11b81529192506001600160a01b031690637a708e9290611226908c908790879087908b906004016132c1565b600060405180830381600087803b15801561124057600080fd5b505af1158015611254573d6000803e3d6000fd5b50505050611260612e74565b60355460405163c44b11f760e01b81526001600160a01b039091169063c44b11f790611290908d90600401613270565b60206040518083038186803b1580156112a857600080fd5b505afa1580156112bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e091906130fb565b90506112f58160ff881663ffffffff612cc616565b61130681600163ffffffff612be616565b61131781600063ffffffff612dba16565b6035548151604051635c69493b60e11b81526001600160a01b039092169163b8d292769161134a918e919060040161336f565b600060405180830381600087803b15801561136457600080fd5b505af1158015611378573d6000803e3d6000fd5b50505050836001600160a01b03168a6001600160a01b03167f3a0ca721fc364424566385a1aa271ed508cc2c0949c2272575fb3013a163a45f8585896040516113c39392919061329e565b60405180910390a350505050505050505050565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b15801561141b57600080fd5b505afa15801561142f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114539190612eb7565b6001600160a01b0316146114795760405162461bcd60e51b81526004016103ad90613388565b611481612e74565b60355460405163c44b11f760e01b81526001600160a01b039091169063c44b11f7906114b1908690600401613270565b60206040518083038186803b1580156114c957600080fd5b505afa1580156114dd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150191906130fb565b9050611513818363ffffffff612de716565b6035548151604051635c69493b60e11b81526001600160a01b039092169163b8d29276916115469187919060040161336f565b600060405180830381600087803b15801561156057600080fd5b505af1158015611574573d6000803e3d6000fd5b505050507fda47540c7f7fd5a68c3285f3bb708f322424f948f41df6f51622fa24b396866483836040516104e692919061336f565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b1580156115ed57600080fd5b505afa158015611601573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116259190612eb7565b6001600160a01b03161461164b5760405162461bcd60e51b81526004016103ad90613388565b611653612e74565b60355460405163c44b11f760e01b81526001600160a01b039091169063c44b11f790611683908590600401613270565b60206040518083038186803b15801561169b57600080fd5b505afa1580156116af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116d391906130fb565b90506116e681600163ffffffff612dba16565b6035548151604051635c69493b60e11b81526001600160a01b039092169163b8d29276916117199186919060040161336f565b600060405180830381600087803b15801561173357600080fd5b505af1158015611747573d6000803e3d6000fd5b50506040516001600160a01b03851692507fda5cdb66c77023db6abe5226a4d4a40c3b8e768012f4ff4e446f62f60127fc569150600090a25050565b600381565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b1580156117cc57600080fd5b505afa1580156117e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118049190612eb7565b6001600160a01b03161461182a5760405162461bcd60e51b81526004016103ad90613388565b611832612e74565b60355460405163c44b11f760e01b81526001600160a01b039091169063c44b11f790611862908690600401613270565b60206040518083038186803b15801561187a57600080fd5b505afa15801561188e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118b291906130fb565b90506118c4818363ffffffff612df816565b6035548151604051635c69493b60e11b81526001600160a01b039092169163b8d29276916118f79187919060040161336f565b600060405180830381600087803b15801561191157600080fd5b505af1158015611925573d6000803e3d6000fd5b505050507fe3ba662f7011e701056a43e8cf832242322eeff01453e7a72d01ec2af36d9aec83836040516104e692919061336f565b6034546001600160a01b031681565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b1580156119ad57600080fd5b505afa1580156119c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119e59190612eb7565b6001600160a01b031614611a0b5760405162461bcd60e51b81526004016103ad90613388565b611a13612e74565b60355460405163c44b11f760e01b81526001600160a01b039091169063c44b11f790611a43908890600401613270565b60206040518083038186803b158015611a5b57600080fd5b505afa158015611a6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a9391906130fb565b9050611aa5818563ffffffff612de716565b611ab5818463ffffffff612bcf16565b611ac5818363ffffffff612df816565b6035548151604051635c69493b60e11b81526001600160a01b039092169163b8d2927691611af89189919060040161336f565b600060405180830381600087803b158015611b1257600080fd5b505af1158015611b26573d6000803e3d6000fd5b50505050846001600160a01b03167fdfe62f53e7707d64f99bca15d2bdf3facc4074bc047e7dec2ea130300e992744858585604051611b6793929190613472565b60405180910390a25050505050565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b158015611bba57600080fd5b505afa158015611bce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bf29190612eb7565b6001600160a01b031614611c185760405162461bcd60e51b81526004016103ad90613388565b611c20612e74565b60355460405163c44b11f760e01b81526001600160a01b039091169063c44b11f790611c50908590600401613270565b60206040518083038186803b158015611c6857600080fd5b505afa158015611c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca091906130fb565b9050611cb381600063ffffffff612e0f16565b6035548151604051635c69493b60e11b81526001600160a01b039092169163b8d2927691611ce69186919060040161336f565b600060405180830381600087803b158015611d0057600080fd5b505af1158015611d14573d6000803e3d6000fd5b50506040516001600160a01b03851692507fe9a7e5fd4fc8ea18e602350324bf48e8f05d12434af0ce0be05743e6a5fdcb9e9150600090a25050565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b158015611d9457600080fd5b505afa158015611da8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dcc9190612eb7565b6001600160a01b031614611df25760405162461bcd60e51b81526004016103ad90613388565b6035546040516334924edb60e21b81526000916001600160a01b03169063d2493b6c90611e23908690600401613270565b60606040518083038186803b158015611e3b57600080fd5b505afa158015611e4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e739190612f0b565b50603554604051633e15014160e01b8152919350600092506001600160a01b031690633e15014190611ea9908790600401613270565b6101406040518083038186803b158015611ec257600080fd5b505afa158015611ed6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611efa9190613120565b5050505050505050509050611f44828483866001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b158015610adf57600080fd5b507f7a943a5b6c214bf7726c069a878b1e2a8e7371981d516048b84e03743e67bc28848385604051610bc99392919061329e565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b158015611fbc57600080fd5b505afa158015611fd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ff49190612eb7565b6001600160a01b03161461201a5760405162461bcd60e51b81526004016103ad90613388565b612022612e74565b60355460405163c44b11f760e01b81526001600160a01b039091169063c44b11f790612052908590600401613270565b60206040518083038186803b15801561206a57600080fd5b505afa15801561207e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120a291906130fb565b90506120b581600163ffffffff612be616565b6035548151604051635c69493b60e11b81526001600160a01b039092169163b8d29276916120e89186919060040161336f565b600060405180830381600087803b15801561210257600080fd5b505af1158015612116573d6000803e3d6000fd5b50506040516001600160a01b03851692507f35b80cd8ea3440e9a8454f116fa658b858da1b64c86c48451f4559cefcdfb56c9150600090a25050565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b15801561219657600080fd5b505afa1580156121aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121ce9190612eb7565b6001600160a01b0316146121f45760405162461bcd60e51b81526004016103ad90613388565b6121fc612e74565b60355460405163c44b11f760e01b81526001600160a01b039091169063c44b11f79061222c908590600401613270565b60206040518083038186803b15801561224457600080fd5b505afa158015612258573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061227c91906130fb565b905061228f81600163ffffffff612e3c16565b6035548151604051635c69493b60e11b81526001600160a01b039092169163b8d29276916122c29186919060040161336f565b600060405180830381600087803b1580156122dc57600080fd5b505af11580156122f0573d6000803e3d6000fd5b50506040516001600160a01b03851692507f8dee2b2f3e98319ae6347eda521788f73f4086c9be9a594942b370b137fb8cb19150600090a25050565b6000612336612e69565b60015490915060ff168061234d575061234d612e6e565b80612359575060005481115b6123755760405162461bcd60e51b81526004016103ad906133d1565b60015460ff16158015612394576001805460ff19168117905560008290555b603480546001600160a01b0319166001600160a01b03858116919091179182905560408051630261bf8b60e01b815290519290911691630261bf8b91600480820192602092909190829003018186803b1580156123f057600080fd5b505afa158015612404573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124289190612eb7565b603580546001600160a01b0319166001600160a01b03929092169190911790558015612459576001805460ff191690555b505050565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b1580156124a257600080fd5b505afa1580156124b6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124da9190612eb7565b6001600160a01b0316146125005760405162461bcd60e51b81526004016103ad90613388565b612508612e74565b60355460405163c44b11f760e01b81526001600160a01b039091169063c44b11f790612538908590600401613270565b60206040518083038186803b15801561255057600080fd5b505afa158015612564573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061258891906130fb565b905061259b81600063ffffffff612de716565b6035548151604051635c69493b60e11b81526001600160a01b039092169163b8d29276916125ce9186919060040161336f565b600060405180830381600087803b1580156125e857600080fd5b505af11580156125fc573d6000803e3d6000fd5b50506040516001600160a01b03851692507f9cc75e4cafc9a556a369bc53468649075680eb554d225d5918f199453824796d9150600090a25050565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b15801561267c57600080fd5b505afa158015612690573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126b49190612eb7565b6001600160a01b0316146126da5760405162461bcd60e51b81526004016103ad90613388565b6126e2612e74565b60355460405163c44b11f760e01b81526001600160a01b039091169063c44b11f790612712908690600401613270565b60206040518083038186803b15801561272a57600080fd5b505afa15801561273e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061276291906130fb565b905061277581600163ffffffff612e0f16565b612785818363ffffffff612e3c16565b6035548151604051635c69493b60e11b81526001600160a01b039092169163b8d29276916127b89187919060040161336f565b600060405180830381600087803b1580156127d257600080fd5b505af11580156127e6573d6000803e3d6000fd5b505050507fab2f7f9e5ca2772fafa94f355c1842a80ae6b9e41f83083098d81f67d7a0b50883836040516104e6929190613328565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b15801561285f57600080fd5b505afa158015612873573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128979190612eb7565b6001600160a01b0316146128bd5760405162461bcd60e51b81526004016103ad90613388565b6128c5612e74565b60355460405163c44b11f760e01b81526001600160a01b039091169063c44b11f7906128f5908590600401613270565b60206040518083038186803b15801561290d57600080fd5b505afa158015612921573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061294591906130fb565b905061295881600063ffffffff612dba16565b6035548151604051635c69493b60e11b81526001600160a01b039092169163b8d292769161298b9186919060040161336f565b600060405180830381600087803b1580156129a557600080fd5b505af11580156129b9573d6000803e3d6000fd5b50506040516001600160a01b03851692507f995959c2ceab6ce20e8cd89c904e449fd3e21918a0f420c9ec9340595585526b9150600090a25050565b603454604080516333128d5960e01b8152905133926001600160a01b0316916333128d59916004808301926020929190829003018186803b158015612a3957600080fd5b505afa158015612a4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a719190612eb7565b6001600160a01b031614612a975760405162461bcd60e51b81526004016103ad90613388565b612a9f612e74565b60355460405163c44b11f760e01b81526001600160a01b039091169063c44b11f790612acf908590600401613270565b60206040518083038186803b158015612ae757600080fd5b505afa158015612afb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b1f91906130fb565b9050612b3281600063ffffffff612e3c16565b6035548151604051635c69493b60e11b81526001600160a01b039092169163b8d2927691612b659186919060040161336f565b600060405180830381600087803b158015612b7f57600080fd5b505af1158015612b93573d6000803e3d6000fd5b50506040516001600160a01b03851692507f8bbf35441ac2c607ddecadd3d8ee58636d32f217fad201fb2655581502dd84e39150600090a25050565b8151670fffffff0000ffff1660109190911b179052565b603881612bf4576000612bf7565b60015b8351670effffffffffffff1660ff9190911690911b1790915250565b6000808690506060858585604051602401612c3093929190613488565b60408051601f198184030181529181526020820180516001600160e01b031663188c392760e11b1790525163278f794360e11b81529091506001600160a01b03831690634f1ef28690612c89908a908590600401613343565b600060405180830381600087803b158015612ca357600080fd5b505af1158015612cb7573d6000803e3d6000fd5b50505050505095945050505050565b8151670f00ffffffffffff1660309190911b179052565b600080604051612cec90612e87565b604051809103906000f080158015612d08573d6000803e3d6000fd5b5090506060858585604051602401612d2293929190613488565b60408051601f198184030181529181526020820180516001600160e01b031663188c392760e11b1790525163cf7a1d7760e01b81529091506001600160a01b0383169063cf7a1d7790612d7d908a90309086906004016132f3565b600060405180830381600087803b158015612d9757600080fd5b505af1158015612dab573d6000803e3d6000fd5b50939998505050505050505050565b603981612dc8576000612dcb565b60015b8351670dffffffffffffff1660ff9190911690911b1790915250565b8151670fffffffffff000016179052565b8151670fff0000ffffffff1660209190911b179052565b603a81612e1d576000612e20565b60015b8351670bffffffffffffff1660ff9190911690911b1790915250565b603b81612e4a576000612e4d565b60015b83516707ffffffffffffff1660ff9190911690911b1790915250565b600390565b303b1590565b6040518060200160405280600081525090565b6109db8061353e83390190565b600060208284031215612ea5578081fd5b8135612eb081613517565b9392505050565b600060208284031215612ec8578081fd5b8151612eb081613517565b60008060408385031215612ee5578081fd5b8235612ef081613517565b91506020830135612f0081613517565b809150509250929050565b600080600060608486031215612f1f578081fd5b8351612f2a81613517565b6020850151909350612f3b81613517565b6040850151909250612f4c81613517565b809150509250925092565b60008060008060008060c08789031215612f6f578182fd5b8635612f7a81613517565b95506020870135612f8a81613517565b94506040870135612f9a81613517565b93506060870135612faa81613517565b9250608087013560ff81168114612fbf578283fd5b915060a0870135612fcf81613517565b809150509295509295509295565b60008060408385031215612fef578182fd5b8235612ffa81613517565b91506020830135612f008161352f565b6000806040838503121561301c578182fd5b823561302781613517565b946020939093013593505050565b6000806000806080858703121561304a578384fd5b843561305581613517565b966020860135965060408601359560600135945092505050565b600060208284031215613080578081fd5b815167ffffffffffffffff80821115613097578283fd5b81840185601f8201126130a8578384fd5b80519250818311156130b8578384fd5b6130cb601f8401601f19166020016134c0565b91508282528560208483010111156130e1578384fd5b6130f28360208401602084016134e7565b50949350505050565b60006020828403121561310c578081fd5b61311660206134c0565b9151825250919050565b6000806000806000806000806000806101408b8d03121561313f578384fd5b8a51995060208b0151985060408b0151975060608b0151965060808b015161316681613517565b60a08c01519096506131778161352f565b60c08c01519095506131888161352f565b60e08c01519094506131998161352f565b6101008c01519093506131ab8161352f565b6101208c01519092506131bd8161352f565b809150509295989b9194979a5092959850565b6000806000806000806000806000806101408b8d0312156131ef578384fd5b8a51995060208b0151985060408b0151975060608b0151965060808b0151955060a08b0151945060c08b0151935060e08b015192506101008b015191506101208b015164ffffffffff811681146131bd578182fd5b6000815180845261325c8160208601602086016134e7565b601f01601f19169290920160200192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b0393841681529183166020830152909116604082015260600190565b6001600160a01b0395861681529385166020850152918416604084015283166060830152909116608082015260a00190565b6001600160a01b0384811682528316602082015260606040820181905260009061331f90830184613244565b95945050505050565b6001600160a01b039290921682521515602082015260400190565b6001600160a01b038316815260406020820181905260009061336790830184613244565b949350505050565b6001600160a01b03929092168252602082015260400190565b60208082526029908201527f5468652063616c6c6572206d7573742062652061206c656e64696e6720706f6f604082015268361036b0b730b3b2b960b91b606082015260800190565b6020808252602e908201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560408201526d195b881a5b9a5d1a585b1a5e995960921b606082015260800190565b6020808252602a908201527f546865206c6971756964697479206f66207468652072657365727665206e65656040820152690647320746f20626520360b41b606082015260800190565b90815260200190565b9283526020830191909152604082015260600190565b600060ff85168252606060208301526134a46060830185613244565b82810360408401526134b68185613244565b9695505050505050565b60405181810167ffffffffffffffff811182821017156134df57600080fd5b604052919050565b60005b838110156135025781810151838201526020016134ea565b83811115613511576000848401525b50505050565b6001600160a01b038116811461352c57600080fd5b50565b801515811461352c57600080fdfe608060405234801561001057600080fd5b506109bb806100206000396000f3fe6080604052600436106100705760003560e01c80638f2839701161004e5780638f2839701461015e578063cf7a1d7714610191578063d1f5789414610250578063f851a4401461030657610070565b80633659cfe61461007a5780634f1ef286146100ad5780635c60da1b1461012d575b61007861031b565b005b34801561008657600080fd5b506100786004803603602081101561009d57600080fd5b50356001600160a01b0316610335565b610078600480360360408110156100c357600080fd5b6001600160a01b0382351691908101906040810160208201356401000000008111156100ee57600080fd5b82018360208201111561010057600080fd5b8035906020019184600183028401116401000000008311171561012257600080fd5b50909250905061036f565b34801561013957600080fd5b5061014261041c565b604080516001600160a01b039092168252519081900360200190f35b34801561016a57600080fd5b506100786004803603602081101561018157600080fd5b50356001600160a01b0316610459565b610078600480360360608110156101a757600080fd5b6001600160a01b0382358116926020810135909116918101906060810160408201356401000000008111156101db57600080fd5b8201836020820111156101ed57600080fd5b8035906020019184600183028401116401000000008311171561020f57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610513945050505050565b6100786004803603604081101561026657600080fd5b6001600160a01b03823516919081019060408101602082013564010000000081111561029157600080fd5b8201836020820111156102a357600080fd5b803590602001918460018302840111640100000000831117156102c557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610599945050505050565b34801561031257600080fd5b506101426106d9565b610323610704565b61033361032e61070c565b610731565b565b61033d610755565b6001600160a01b0316336001600160a01b031614156103645761035f8161077a565b61036c565b61036c61031b565b50565b610377610755565b6001600160a01b0316336001600160a01b0316141561040f576103998361077a565b6000836001600160a01b031683836040518083838082843760405192019450600093509091505080830381855af49150503d80600081146103f6576040519150601f19603f3d011682016040523d82523d6000602084013e6103fb565b606091505b505090508061040957600080fd5b50610417565b61041761031b565b505050565b6000610426610755565b6001600160a01b0316336001600160a01b0316141561044e5761044761070c565b9050610456565b61045661031b565b90565b610461610755565b6001600160a01b0316336001600160a01b03161415610364576001600160a01b0381166104bf5760405162461bcd60e51b81526004018080602001828103825260368152602001806109156036913960400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6104e8610755565b604080516001600160a01b03928316815291841660208301528051918290030190a161035f816107ba565b600061051d61070c565b6001600160a01b03161461053057600080fd5b61053a8382610599565b604080517232b4b8189c9b1b97383937bc3c9730b236b4b760691b815290519081900360130190207fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61036000199091011461059057fe5b610417826107ba565b60006105a361070c565b6001600160a01b0316146105b657600080fd5b604080517f656970313936372e70726f78792e696d706c656d656e746174696f6e000000008152905190819003601c0190207f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc6000199091011461061657fe5b61061f826107de565b8051156106d5576000826001600160a01b0316826040518082805190602001908083835b602083106106625780518252601f199092019160209182019101610643565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146106c2576040519150601f19603f3d011682016040523d82523d6000602084013e6106c7565b606091505b505090508061041757600080fd5b5050565b60006106e3610755565b6001600160a01b0316336001600160a01b0316141561044e57610447610755565b610333610846565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e808015610750573d6000f35b3d6000fd5b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b610783816107de565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b6107e7816108a6565b6108225760405162461bcd60e51b815260040180806020018281038252603b81526020018061094b603b913960400191505060405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b61084e610755565b6001600160a01b0316336001600160a01b0316141561089e5760405162461bcd60e51b81526004018080602001828103825260328152602001806108e36032913960400191505060405180910390fd5b610333610333565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906108da57508115155b94935050505056fe43616e6e6f742063616c6c2066616c6c6261636b2066756e6374696f6e2066726f6d207468652070726f78792061646d696e43616e6e6f74206368616e6765207468652061646d696e206f6620612070726f787920746f20746865207a65726f206164647265737343616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a26469706673582212205332daad1efa09e03cc1b95b9d51cadb3cf32e2d57907a628c0b4a5a20d8051f64736f6c63430006080033a264697066735822122073ec5706ac0bf0b170dbd8446a14daa49be1f3cec5287db139dba2c75e62b61d64736f6c63430006080033"; diff --git a/types/LendingPoolFactory.ts b/types/LendingPoolFactory.ts index cdc186be..c5bcf679 100644 --- a/types/LendingPoolFactory.ts +++ b/types/LendingPoolFactory.ts @@ -1,39 +1,44 @@ /* Generated by ts-generator ver. 0.0.8 */ /* tslint:disable */ -import {Contract, ContractFactory, Signer} from 'ethers'; -import {Provider} from 'ethers/providers'; -import {UnsignedTransaction} from 'ethers/utils/transaction'; +import { Contract, ContractFactory, Signer } from "ethers"; +import { Provider } from "ethers/providers"; +import { UnsignedTransaction } from "ethers/utils/transaction"; -import {TransactionOverrides} from '.'; -import {LendingPool} from './LendingPool'; +import { TransactionOverrides } from "."; +import { LendingPool } from "./LendingPool"; export class LendingPoolFactory extends ContractFactory { - constructor(linkLibraryAddresses: LendingPoolLibraryAddresses, signer?: Signer) { + constructor( + linkLibraryAddresses: LendingPoolLibraryAddresses, + signer?: Signer + ) { super(_abi, LendingPoolFactory.linkBytecode(linkLibraryAddresses), signer); } - static linkBytecode(linkLibraryAddresses: LendingPoolLibraryAddresses): string { + static linkBytecode( + linkLibraryAddresses: LendingPoolLibraryAddresses + ): string { let linkedBytecode = _bytecode; linkedBytecode = linkedBytecode.replace( - new RegExp('__\\$69254465eb8f179ea24caa73cf68b23524\\$__', 'g'), - linkLibraryAddresses['__$69254465eb8f179ea24caa73cf68b23524$__'] - .replace(/^0x/, '') + new RegExp("__\\$69254465eb8f179ea24caa73cf68b23524\\$__", "g"), + linkLibraryAddresses["__$69254465eb8f179ea24caa73cf68b23524$__"] + .replace(/^0x/, "") .toLowerCase() ); linkedBytecode = linkedBytecode.replace( - new RegExp('__\\$5e6137a1b5a0a366e2874209b5abf71c10\\$__', 'g'), - linkLibraryAddresses['__$5e6137a1b5a0a366e2874209b5abf71c10$__'] - .replace(/^0x/, '') + new RegExp("__\\$5e6137a1b5a0a366e2874209b5abf71c10\\$__", "g"), + linkLibraryAddresses["__$5e6137a1b5a0a366e2874209b5abf71c10$__"] + .replace(/^0x/, "") .toLowerCase() ); linkedBytecode = linkedBytecode.replace( - new RegExp('__\\$7347ff53b2b46c21e26a37164ae7f6739f\\$__', 'g'), - linkLibraryAddresses['__$7347ff53b2b46c21e26a37164ae7f6739f$__'] - .replace(/^0x/, '') + new RegExp("__\\$7347ff53b2b46c21e26a37164ae7f6739f\\$__", "g"), + linkLibraryAddresses["__$7347ff53b2b46c21e26a37164ae7f6739f$__"] + .replace(/^0x/, "") .toLowerCase() ); @@ -52,7 +57,10 @@ export class LendingPoolFactory extends ContractFactory { connect(signer: Signer): LendingPoolFactory { return super.connect(signer) as LendingPoolFactory; } - static connect(address: string, signerOrProvider: Signer | Provider): LendingPool { + static connect( + address: string, + signerOrProvider: Signer | Provider + ): LendingPool { return new Contract(address, _abi, signerOrProvider) as LendingPool; } } @@ -63,1139 +71,1139 @@ const _abi = [ inputs: [ { indexed: true, - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { indexed: true, - internalType: 'address', - name: '_user', - type: 'address', + internalType: "address", + name: "_user", + type: "address" }, { indexed: false, - internalType: 'uint256', - name: '_amount', - type: 'uint256', + internalType: "uint256", + name: "_amount", + type: "uint256" }, { indexed: false, - internalType: 'uint256', - name: '_borrowRateMode', - type: 'uint256', + internalType: "uint256", + name: "_borrowRateMode", + type: "uint256" }, { indexed: false, - internalType: 'uint256', - name: '_borrowRate', - type: 'uint256', + internalType: "uint256", + name: "_borrowRate", + type: "uint256" }, { indexed: true, - internalType: 'uint16', - name: '_referral', - type: 'uint16', + internalType: "uint16", + name: "_referral", + type: "uint16" }, { indexed: false, - internalType: 'uint256', - name: '_timestamp', - type: 'uint256', - }, + internalType: "uint256", + name: "_timestamp", + type: "uint256" + } ], - name: 'Borrow', - type: 'event', + name: "Borrow", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { indexed: true, - internalType: 'address', - name: '_user', - type: 'address', + internalType: "address", + name: "_user", + type: "address" }, { indexed: false, - internalType: 'uint256', - name: '_amount', - type: 'uint256', + internalType: "uint256", + name: "_amount", + type: "uint256" }, { indexed: true, - internalType: 'uint16', - name: '_referral', - type: 'uint16', + internalType: "uint16", + name: "_referral", + type: "uint16" }, { indexed: false, - internalType: 'uint256', - name: '_timestamp', - type: 'uint256', - }, + internalType: "uint256", + name: "_timestamp", + type: "uint256" + } ], - name: 'Deposit', - type: 'event', + name: "Deposit", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: '_target', - type: 'address', + internalType: "address", + name: "_target", + type: "address" }, { indexed: true, - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { indexed: false, - internalType: 'uint256', - name: '_amount', - type: 'uint256', + internalType: "uint256", + name: "_amount", + type: "uint256" }, { indexed: false, - internalType: 'uint256', - name: '_totalFee', - type: 'uint256', + internalType: "uint256", + name: "_totalFee", + type: "uint256" }, { indexed: false, - internalType: 'uint256', - name: '_protocolFee', - type: 'uint256', + internalType: "uint256", + name: "_protocolFee", + type: "uint256" }, { indexed: false, - internalType: 'uint256', - name: '_timestamp', - type: 'uint256', - }, + internalType: "uint256", + name: "_timestamp", + type: "uint256" + } ], - name: 'FlashLoan', - type: 'event', + name: "FlashLoan", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: '_collateral', - type: 'address', + internalType: "address", + name: "_collateral", + type: "address" }, { indexed: true, - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { indexed: true, - internalType: 'address', - name: '_user', - type: 'address', + internalType: "address", + name: "_user", + type: "address" }, { indexed: false, - internalType: 'uint256', - name: '_purchaseAmount', - type: 'uint256', + internalType: "uint256", + name: "_purchaseAmount", + type: "uint256" }, { indexed: false, - internalType: 'uint256', - name: '_liquidatedCollateralAmount', - type: 'uint256', + internalType: "uint256", + name: "_liquidatedCollateralAmount", + type: "uint256" }, { indexed: false, - internalType: 'uint256', - name: '_accruedBorrowInterest', - type: 'uint256', + internalType: "uint256", + name: "_accruedBorrowInterest", + type: "uint256" }, { indexed: false, - internalType: 'address', - name: '_liquidator', - type: 'address', + internalType: "address", + name: "_liquidator", + type: "address" }, { indexed: false, - internalType: 'bool', - name: '_receiveAToken', - type: 'bool', + internalType: "bool", + name: "_receiveAToken", + type: "bool" }, { indexed: false, - internalType: 'uint256', - name: '_timestamp', - type: 'uint256', - }, + internalType: "uint256", + name: "_timestamp", + type: "uint256" + } ], - name: 'LiquidationCall', - type: 'event', + name: "LiquidationCall", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: '_collateral', - type: 'address', + internalType: "address", + name: "_collateral", + type: "address" }, { indexed: true, - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { indexed: true, - internalType: 'address', - name: '_user', - type: 'address', + internalType: "address", + name: "_user", + type: "address" }, { indexed: false, - internalType: 'uint256', - name: '_feeLiquidated', - type: 'uint256', + internalType: "uint256", + name: "_feeLiquidated", + type: "uint256" }, { indexed: false, - internalType: 'uint256', - name: '_liquidatedCollateralForFee', - type: 'uint256', + internalType: "uint256", + name: "_liquidatedCollateralForFee", + type: "uint256" }, { indexed: false, - internalType: 'uint256', - name: '_timestamp', - type: 'uint256', - }, + internalType: "uint256", + name: "_timestamp", + type: "uint256" + } ], - name: 'OriginationFeeLiquidated', - type: 'event', + name: "OriginationFeeLiquidated", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { indexed: true, - internalType: 'address', - name: '_user', - type: 'address', + internalType: "address", + name: "_user", + type: "address" }, { indexed: false, - internalType: 'uint256', - name: '_timestamp', - type: 'uint256', - }, + internalType: "uint256", + name: "_timestamp", + type: "uint256" + } ], - name: 'RebalanceStableBorrowRate', - type: 'event', + name: "RebalanceStableBorrowRate", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { indexed: true, - internalType: 'address', - name: '_user', - type: 'address', + internalType: "address", + name: "_user", + type: "address" }, { indexed: false, - internalType: 'uint256', - name: '_amount', - type: 'uint256', + internalType: "uint256", + name: "_amount", + type: "uint256" }, { indexed: false, - internalType: 'uint256', - name: '_timestamp', - type: 'uint256', - }, + internalType: "uint256", + name: "_timestamp", + type: "uint256" + } ], - name: 'RedeemUnderlying', - type: 'event', + name: "RedeemUnderlying", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { indexed: true, - internalType: 'address', - name: '_user', - type: 'address', + internalType: "address", + name: "_user", + type: "address" }, { indexed: true, - internalType: 'address', - name: '_repayer', - type: 'address', + internalType: "address", + name: "_repayer", + type: "address" }, { indexed: false, - internalType: 'uint256', - name: '_amount', - type: 'uint256', + internalType: "uint256", + name: "_amount", + type: "uint256" }, { indexed: false, - internalType: 'uint256', - name: '_timestamp', - type: 'uint256', - }, + internalType: "uint256", + name: "_timestamp", + type: "uint256" + } ], - name: 'Repay', - type: 'event', + name: "Repay", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { indexed: true, - internalType: 'address', - name: '_user', - type: 'address', - }, + internalType: "address", + name: "_user", + type: "address" + } ], - name: 'ReserveUsedAsCollateralDisabled', - type: 'event', + name: "ReserveUsedAsCollateralDisabled", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { indexed: true, - internalType: 'address', - name: '_user', - type: 'address', - }, + internalType: "address", + name: "_user", + type: "address" + } ], - name: 'ReserveUsedAsCollateralEnabled', - type: 'event', + name: "ReserveUsedAsCollateralEnabled", + type: "event" }, { anonymous: false, inputs: [ { indexed: true, - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { indexed: true, - internalType: 'address', - name: '_user', - type: 'address', + internalType: "address", + name: "_user", + type: "address" }, { indexed: false, - internalType: 'uint256', - name: '_timestamp', - type: 'uint256', - }, + internalType: "uint256", + name: "_timestamp", + type: "uint256" + } ], - name: 'Swap', - type: 'event', + name: "Swap", + type: "event" }, { inputs: [], - name: 'LENDINGPOOL_REVISION', + name: "LENDINGPOOL_REVISION", outputs: [ { - internalType: 'uint256', - name: '', - type: 'uint256', - }, + internalType: "uint256", + name: "", + type: "uint256" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [], - name: 'UINT_MAX_VALUE', + name: "UINT_MAX_VALUE", outputs: [ { - internalType: 'uint256', - name: '', - type: 'uint256', - }, + internalType: "uint256", + name: "", + type: "uint256" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [], - name: 'addressesProvider', + name: "addressesProvider", outputs: [ { - internalType: 'contract LendingPoolAddressesProvider', - name: '', - type: 'address', - }, + internalType: "contract LendingPoolAddressesProvider", + name: "", + type: "address" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { - internalType: 'address', - name: '_user', - type: 'address', + internalType: "address", + name: "_user", + type: "address" }, { - internalType: 'uint256', - name: '_amount', - type: 'uint256', - }, + internalType: "uint256", + name: "_amount", + type: "uint256" + } ], - name: 'balanceDecreaseAllowed', + name: "balanceDecreaseAllowed", outputs: [ { - internalType: 'bool', - name: '', - type: 'bool', - }, + internalType: "bool", + name: "", + type: "bool" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { - internalType: 'uint256', - name: '_amount', - type: 'uint256', + internalType: "uint256", + name: "_amount", + type: "uint256" }, { - internalType: 'uint256', - name: '_interestRateMode', - type: 'uint256', + internalType: "uint256", + name: "_interestRateMode", + type: "uint256" }, { - internalType: 'uint16', - name: '_referralCode', - type: 'uint16', - }, + internalType: "uint16", + name: "_referralCode", + type: "uint16" + } ], - name: 'borrow', + name: "borrow", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { - internalType: 'uint256', - name: '_amount', - type: 'uint256', + internalType: "uint256", + name: "_amount", + type: "uint256" }, { - internalType: 'uint16', - name: '_referralCode', - type: 'uint16', - }, + internalType: "uint16", + name: "_referralCode", + type: "uint16" + } ], - name: 'deposit', + name: "deposit", outputs: [], - stateMutability: 'payable', - type: 'function', + stateMutability: "payable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_receiver', - type: 'address', + internalType: "address", + name: "_receiver", + type: "address" }, { - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { - internalType: 'uint256', - name: '_amount', - type: 'uint256', + internalType: "uint256", + name: "_amount", + type: "uint256" }, { - internalType: 'bytes', - name: '_params', - type: 'bytes', - }, + internalType: "bytes", + name: "_params", + type: "bytes" + } ], - name: 'flashLoan', + name: "flashLoan", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', - }, + internalType: "address", + name: "_reserve", + type: "address" + } ], - name: 'getConfiguration', + name: "getConfiguration", outputs: [ { components: [ { - internalType: 'uint256', - name: 'data', - type: 'uint256', - }, + internalType: "uint256", + name: "data", + type: "uint256" + } ], - internalType: 'struct ReserveConfiguration.Map', - name: '', - type: 'tuple', - }, + internalType: "struct ReserveConfiguration.Map", + name: "", + type: "tuple" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', - }, + internalType: "address", + name: "_reserve", + type: "address" + } ], - name: 'getReserveConfigurationData', + name: "getReserveConfigurationData", outputs: [ { - internalType: 'uint256', - name: 'decimals', - type: 'uint256', + internalType: "uint256", + name: "decimals", + type: "uint256" }, { - internalType: 'uint256', - name: 'ltv', - type: 'uint256', + internalType: "uint256", + name: "ltv", + type: "uint256" }, { - internalType: 'uint256', - name: 'liquidationThreshold', - type: 'uint256', + internalType: "uint256", + name: "liquidationThreshold", + type: "uint256" }, { - internalType: 'uint256', - name: 'liquidationBonus', - type: 'uint256', + internalType: "uint256", + name: "liquidationBonus", + type: "uint256" }, { - internalType: 'address', - name: 'interestRateStrategyAddress', - type: 'address', + internalType: "address", + name: "interestRateStrategyAddress", + type: "address" }, { - internalType: 'bool', - name: 'usageAsCollateralEnabled', - type: 'bool', + internalType: "bool", + name: "usageAsCollateralEnabled", + type: "bool" }, { - internalType: 'bool', - name: 'borrowingEnabled', - type: 'bool', + internalType: "bool", + name: "borrowingEnabled", + type: "bool" }, { - internalType: 'bool', - name: 'stableBorrowRateEnabled', - type: 'bool', + internalType: "bool", + name: "stableBorrowRateEnabled", + type: "bool" }, { - internalType: 'bool', - name: 'isActive', - type: 'bool', + internalType: "bool", + name: "isActive", + type: "bool" }, { - internalType: 'bool', - name: 'isFreezed', - type: 'bool', - }, + internalType: "bool", + name: "isFreezed", + type: "bool" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', - }, + internalType: "address", + name: "_reserve", + type: "address" + } ], - name: 'getReserveData', + name: "getReserveData", outputs: [ { - internalType: 'uint256', - name: 'availableLiquidity', - type: 'uint256', + internalType: "uint256", + name: "availableLiquidity", + type: "uint256" }, { - internalType: 'uint256', - name: 'totalBorrowsStable', - type: 'uint256', + internalType: "uint256", + name: "totalBorrowsStable", + type: "uint256" }, { - internalType: 'uint256', - name: 'totalBorrowsVariable', - type: 'uint256', + internalType: "uint256", + name: "totalBorrowsVariable", + type: "uint256" }, { - internalType: 'uint256', - name: 'liquidityRate', - type: 'uint256', + internalType: "uint256", + name: "liquidityRate", + type: "uint256" }, { - internalType: 'uint256', - name: 'variableBorrowRate', - type: 'uint256', + internalType: "uint256", + name: "variableBorrowRate", + type: "uint256" }, { - internalType: 'uint256', - name: 'stableBorrowRate', - type: 'uint256', + internalType: "uint256", + name: "stableBorrowRate", + type: "uint256" }, { - internalType: 'uint256', - name: 'averageStableBorrowRate', - type: 'uint256', + internalType: "uint256", + name: "averageStableBorrowRate", + type: "uint256" }, { - internalType: 'uint256', - name: 'liquidityIndex', - type: 'uint256', + internalType: "uint256", + name: "liquidityIndex", + type: "uint256" }, { - internalType: 'uint256', - name: 'variableBorrowIndex', - type: 'uint256', + internalType: "uint256", + name: "variableBorrowIndex", + type: "uint256" }, { - internalType: 'uint40', - name: 'lastUpdateTimestamp', - type: 'uint40', - }, + internalType: "uint40", + name: "lastUpdateTimestamp", + type: "uint40" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', - }, + internalType: "address", + name: "_reserve", + type: "address" + } ], - name: 'getReserveNormalizedIncome', + name: "getReserveNormalizedIncome", outputs: [ { - internalType: 'uint256', - name: '', - type: 'uint256', - }, + internalType: "uint256", + name: "", + type: "uint256" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', - }, + internalType: "address", + name: "_reserve", + type: "address" + } ], - name: 'getReserveNormalizedVariableDebt', + name: "getReserveNormalizedVariableDebt", outputs: [ { - internalType: 'uint256', - name: '', - type: 'uint256', - }, + internalType: "uint256", + name: "", + type: "uint256" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', - }, + internalType: "address", + name: "_reserve", + type: "address" + } ], - name: 'getReserveTokensAddresses', + name: "getReserveTokensAddresses", outputs: [ { - internalType: 'address', - name: 'aTokenAddress', - type: 'address', + internalType: "address", + name: "aTokenAddress", + type: "address" }, { - internalType: 'address', - name: 'stableDebtTokenAddress', - type: 'address', + internalType: "address", + name: "stableDebtTokenAddress", + type: "address" }, { - internalType: 'address', - name: 'variableDebtTokenAddress', - type: 'address', - }, + internalType: "address", + name: "variableDebtTokenAddress", + type: "address" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [], - name: 'getReserves', + name: "getReserves", outputs: [ { - internalType: 'address[]', - name: '', - type: 'address[]', - }, + internalType: "address[]", + name: "", + type: "address[]" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_user', - type: 'address', - }, + internalType: "address", + name: "_user", + type: "address" + } ], - name: 'getUserAccountData', + name: "getUserAccountData", outputs: [ { - internalType: 'uint256', - name: 'totalCollateralETH', - type: 'uint256', + internalType: "uint256", + name: "totalCollateralETH", + type: "uint256" }, { - internalType: 'uint256', - name: 'totalBorrowsETH', - type: 'uint256', + internalType: "uint256", + name: "totalBorrowsETH", + type: "uint256" }, { - internalType: 'uint256', - name: 'availableBorrowsETH', - type: 'uint256', + internalType: "uint256", + name: "availableBorrowsETH", + type: "uint256" }, { - internalType: 'uint256', - name: 'currentLiquidationThreshold', - type: 'uint256', + internalType: "uint256", + name: "currentLiquidationThreshold", + type: "uint256" }, { - internalType: 'uint256', - name: 'ltv', - type: 'uint256', + internalType: "uint256", + name: "ltv", + type: "uint256" }, { - internalType: 'uint256', - name: 'healthFactor', - type: 'uint256', - }, + internalType: "uint256", + name: "healthFactor", + type: "uint256" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { - internalType: 'address', - name: '_user', - type: 'address', - }, + internalType: "address", + name: "_user", + type: "address" + } ], - name: 'getUserReserveData', + name: "getUserReserveData", outputs: [ { - internalType: 'uint256', - name: 'currentATokenBalance', - type: 'uint256', + internalType: "uint256", + name: "currentATokenBalance", + type: "uint256" }, { - internalType: 'uint256', - name: 'currentStableDebt', - type: 'uint256', + internalType: "uint256", + name: "currentStableDebt", + type: "uint256" }, { - internalType: 'uint256', - name: 'currentVariableDebt', - type: 'uint256', + internalType: "uint256", + name: "currentVariableDebt", + type: "uint256" }, { - internalType: 'uint256', - name: 'principalStableDebt', - type: 'uint256', + internalType: "uint256", + name: "principalStableDebt", + type: "uint256" }, { - internalType: 'uint256', - name: 'principalVariableDebt', - type: 'uint256', + internalType: "uint256", + name: "principalVariableDebt", + type: "uint256" }, { - internalType: 'uint256', - name: 'stableBorrowRate', - type: 'uint256', + internalType: "uint256", + name: "stableBorrowRate", + type: "uint256" }, { - internalType: 'uint256', - name: 'liquidityRate', - type: 'uint256', + internalType: "uint256", + name: "liquidityRate", + type: "uint256" }, { - internalType: 'uint256', - name: 'variableBorrowIndex', - type: 'uint256', + internalType: "uint256", + name: "variableBorrowIndex", + type: "uint256" }, { - internalType: 'uint40', - name: 'stableRateLastUpdated', - type: 'uint40', + internalType: "uint40", + name: "stableRateLastUpdated", + type: "uint40" }, { - internalType: 'bool', - name: 'usageAsCollateralEnabled', - type: 'bool', - }, + internalType: "bool", + name: "usageAsCollateralEnabled", + type: "bool" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { - internalType: 'address', - name: '_aTokenAddress', - type: 'address', + internalType: "address", + name: "_aTokenAddress", + type: "address" }, { - internalType: 'address', - name: '_stableDebtAddress', - type: 'address', + internalType: "address", + name: "_stableDebtAddress", + type: "address" }, { - internalType: 'address', - name: '_variableDebtAddress', - type: 'address', + internalType: "address", + name: "_variableDebtAddress", + type: "address" }, { - internalType: 'address', - name: '_interestRateStrategyAddress', - type: 'address', - }, + internalType: "address", + name: "_interestRateStrategyAddress", + type: "address" + } ], - name: 'initReserve', + name: "initReserve", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'contract LendingPoolAddressesProvider', - name: '_addressesProvider', - type: 'address', - }, + internalType: "contract LendingPoolAddressesProvider", + name: "_addressesProvider", + type: "address" + } ], - name: 'initialize', + name: "initialize", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_collateral', - type: 'address', + internalType: "address", + name: "_collateral", + type: "address" }, { - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { - internalType: 'address', - name: '_user', - type: 'address', + internalType: "address", + name: "_user", + type: "address" }, { - internalType: 'uint256', - name: '_purchaseAmount', - type: 'uint256', + internalType: "uint256", + name: "_purchaseAmount", + type: "uint256" }, { - internalType: 'bool', - name: '_receiveAToken', - type: 'bool', - }, + internalType: "bool", + name: "_receiveAToken", + type: "bool" + } ], - name: 'liquidationCall', + name: "liquidationCall", outputs: [], - stateMutability: 'payable', - type: 'function', + stateMutability: "payable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { - internalType: 'address', - name: '_user', - type: 'address', - }, + internalType: "address", + name: "_user", + type: "address" + } ], - name: 'rebalanceStableBorrowRate', + name: "rebalanceStableBorrowRate", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { - internalType: 'address payable', - name: '_user', - type: 'address', + internalType: "address payable", + name: "_user", + type: "address" }, { - internalType: 'uint256', - name: '_amount', - type: 'uint256', + internalType: "uint256", + name: "_amount", + type: "uint256" }, { - internalType: 'uint256', - name: '_aTokenBalanceAfterRedeem', - type: 'uint256', - }, + internalType: "uint256", + name: "_aTokenBalanceAfterRedeem", + type: "uint256" + } ], - name: 'redeemUnderlying', + name: "redeemUnderlying", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { - internalType: 'uint256', - name: '_amount', - type: 'uint256', + internalType: "uint256", + name: "_amount", + type: "uint256" }, { - internalType: 'uint256', - name: '_rateMode', - type: 'uint256', + internalType: "uint256", + name: "_rateMode", + type: "uint256" }, { - internalType: 'address payable', - name: '_onBehalfOf', - type: 'address', - }, + internalType: "address payable", + name: "_onBehalfOf", + type: "address" + } ], - name: 'repay', + name: "repay", outputs: [], - stateMutability: 'payable', - type: 'function', + stateMutability: "payable", + type: "function" }, { inputs: [ { - internalType: 'uint256', - name: '', - type: 'uint256', - }, + internalType: "uint256", + name: "", + type: "uint256" + } ], - name: 'reservesList', + name: "reservesList", outputs: [ { - internalType: 'address', - name: '', - type: 'address', - }, + internalType: "address", + name: "", + type: "address" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { - internalType: 'uint256', - name: '_configuration', - type: 'uint256', - }, + internalType: "uint256", + name: "_configuration", + type: "uint256" + } ], - name: 'setConfiguration', + name: "setConfiguration", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { - internalType: 'address', - name: '_rateStrategyAddress', - type: 'address', - }, + internalType: "address", + name: "_rateStrategyAddress", + type: "address" + } ], - name: 'setReserveInterestRateStrategyAddress', + name: "setReserveInterestRateStrategyAddress", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { - internalType: 'bool', - name: '_useAsCollateral', - type: 'bool', - }, + internalType: "bool", + name: "_useAsCollateral", + type: "bool" + } ], - name: 'setUserUseReserveAsCollateral', + name: "setUserUseReserveAsCollateral", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { - internalType: 'uint256', - name: '_rateMode', - type: 'uint256', - }, + internalType: "uint256", + name: "_rateMode", + type: "uint256" + } ], - name: 'swapBorrowRateMode', + name: "swapBorrowRateMode", outputs: [], - stateMutability: 'nonpayable', - type: 'function', + stateMutability: "nonpayable", + type: "function" }, { - stateMutability: 'payable', - type: 'receive', - }, + stateMutability: "payable", + type: "receive" + } ]; const _bytecode = - '0x6080604052600060015534801561001557600080fd5b5060016000556159c0806200002b6000396000f3fe60806040526004361061019f5760003560e01c80638afaff02116100ec578063c72c4d101161008a578063d0fc81d211610064578063d0fc81d21461051c578063d15e005314610531578063d2493b6c14610551578063d2d0e06614610580576101d4565b8063c72c4d10146104c7578063c858f5f9146104dc578063cd112382146104fc576101d4565b8063b8d29276116100c6578063b8d2927614610428578063bf92857c14610448578063c44b11f71461047a578063c4d66de8146104a7576101d4565b80638afaff02146103d357806394ba89a2146103e85780639895e3d814610408576101d4565b80633e150141116101595780635a3b74b9116101335780635a3b74b9146103465780635cffe9de1461036657806376e9d615146103865780637a708e92146103b3576101d4565b80633e150141146102d05780634fe7a6e514610306578063573ade8114610333576101d4565b8062a718a9146101d95780630902f1ac146101ec5780631d2118f91461021757806328dd2d011461023757806335ea6a751461026d578063386497fd146102a3576101d4565b366101d4576101ad33610593565b6101d25760405162461bcd60e51b81526004016101c9906154c6565b60405180910390fd5b005b600080fd5b6101d26101e7366004614b48565b6105d1565b3480156101f857600080fd5b506102016107a3565b60405161020e91906150f9565b60405180910390f35b34801561022357600080fd5b506101d2610232366004614a5b565b610805565b34801561024357600080fd5b50610257610252366004614a5b565b6108d8565b60405161020e9a99989796959493929190615895565b34801561027957600080fd5b5061028d610288366004614a23565b610b83565b60405161020e9a99989796959493929190615849565b3480156102af57600080fd5b506102c36102be366004614a23565b610e22565b60405161020e919061578f565b3480156102dc57600080fd5b506102f06102eb366004614a23565b610e49565b60405161020e9a999897969594939291906157c9565b34801561031257600080fd5b50610326610321366004614dd4565b610f1f565b60405161020e9190614f69565b6101d2610341366004614d2b565b610f46565b34801561035257600080fd5b506101d2610361366004614c8c565b6112d8565b34801561037257600080fd5b506101d2610381366004614be1565b6114b4565b34801561039257600080fd5b506103a66103a1366004614ba1565b611918565b60405161020e9190615146565b3480156103bf57600080fd5b506101d26103ce366004614ad8565b611a62565b3480156103df57600080fd5b506102c3611b9b565b3480156103f457600080fd5b506101d2610403366004614cb9565b611ba0565b34801561041457600080fd5b506101d2610423366004614a93565b611ea9565b34801561043457600080fd5b506101d2610443366004614cb9565b612081565b34801561045457600080fd5b50610468610463366004614a23565b612142565b60405161020e96959493929190615821565b34801561048657600080fd5b5061049a610495366004614a23565b6122f3565b60405161020e91906155b5565b3480156104b357600080fd5b506101d26104c2366004614a23565b61232a565b3480156104d357600080fd5b506103266124ea565b3480156104e857600080fd5b506101d26104f7366004614d74565b6124f9565b34801561050857600080fd5b506101d2610517366004614a5b565b612a7e565b34801561052857600080fd5b506102c3612d84565b34801561053d57600080fd5b506102c361054c366004614a23565b612d8a565b34801561055d57600080fd5b5061057161056c366004614a23565b612dab565b60405161020e93929190614ffc565b6101d261058e366004614ce4565b612de0565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906105c757508115155b925050505b919050565b600260005414156105f45760405162461bcd60e51b81526004016101c99061557e565b6002600090815560355460408051632c1a75cd60e11b815290516001600160a01b0390921691635834eb9a91600480820192602092909190829003018186803b15801561064057600080fd5b505afa158015610654573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106789190614a3f565b905060006060826001600160a01b031688888888886040516024016106a195949392919061501f565b60408051601f198184030181529181526020820180516001600160e01b031662a718a960e01b179052516106d59190614f4a565b600060405180830381855af49150503d8060008114610710576040519150601f19603f3d011682016040523d82523d6000602084013e610715565b606091505b5091509150816107375760405162461bcd60e51b81526004016101c9906153c5565b600060608280602001905181019061074f9190614e04565b9150915081600014610792578060405160200161076c9190614f4a565b60408051601f198184030181529082905262461bcd60e51b82526101c991600401615151565b505060016000555050505050505050565b606060398054806020026020016040519081016040528092919081815260200182805480156107fb57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116107dd575b5050505050905090565b603554604080516385c858b160e01b8152905133926001600160a01b0316916385c858b1916004808301926020929190829003018186803b15801561084957600080fd5b505afa15801561085d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108819190614a3f565b6001600160a01b0316146108a75760405162461bcd60e51b81526004016101c9906153fc565b6001600160a01b03918216600090815260376020526040902060090180546001600160a01b03191691909216179055565b6001600160a01b03808316600090815260376020526040808220600681015491516370a0823160e01b81529293849384938493849384938493849384938493919216906370a082319061092f908f90600401614f69565b60206040518083038186803b15801561094757600080fd5b505afa15801561095b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097f9190614dec565b9a5061098b8c82613035565b909a50985061099a8c82613149565b6001830154600784015460405163e78c9b3b60e01b8152939b5091995096506001600160a01b03169063e78c9b3b906109d7908f90600401614f69565b60206040518083038186803b1580156109ef57600080fd5b505afa158015610a03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a279190614dec565b6007820154604051631e739ae360e21b81529197506001600160a01b0316906379ce6b8c90610a5a908f90600401614f69565b60206040518083038186803b158015610a7257600080fd5b505afa158015610a86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aaa9190614eb3565b60098201546001600160a01b038e16600090815260386020908152604091829020825191820190925290548152919450610aee9190600160d01b900460ff16613202565b6008820154604051633ba641e960e21b81529193506001600160a01b03169063ee9907a490610b21908f90600401614f69565b60206040518083038186803b158015610b3957600080fd5b505afa158015610b4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b719190614dec565b9350509295989b9194979a5092959850565b600080600080600080600080600080610b9a614893565b506001600160a01b03808c1660008181526037602090815260409182902082516101a08101845281548152600182015481840152600282015481850152600382015460608201526004820154608082015283519283019093526005810154825260a08301919091526006810154841660c083018190526007820154851660e08401526008820154851661010084015260099091015493841661012083015264ffffffffff600160a01b85041661014083015260ff600160c81b850481161515610160840152600160d01b90940490931661018082015291610c81919063ffffffff61321916565b8160e001516001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610cbe57600080fd5b505afa158015610cd2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf69190614dec565b8261010001516001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610d3457600080fd5b505afa158015610d48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6c9190614dec565b8360200151846040015185606001518660e001516001600160a01b03166390f6fcf26040518163ffffffff1660e01b815260040160206040518083038186803b158015610db857600080fd5b505afa158015610dcc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df09190614dec565b876000015188608001518961014001519a509a509a509a509a509a509a509a509a509a50509193959799509193959799565b6001600160a01b0381166000908152603760205260408120610e43906132bd565b92915050565b6000806000806000806000806000806000603760008d6001600160a01b03166001600160a01b031681526020019081526020016000209050610e8d8160050161330f565b610e9982600501613320565b610ea58360050161332f565b610eb184600501613344565b60098501546001600160a01b0316610ecb60058701613320565b1515610ed960058801613357565b610ee588600501613369565b610ef189600501613372565b610efd8a600501613384565b9a509a509a509a509a509a509a509a509a509a50509193959799509193959799565b60398181548110610f2c57fe5b6000918252602090912001546001600160a01b0316905081565b60026000541415610f695760405162461bcd60e51b81526004016101c99061557e565b6002600055610f76614901565b6001600160a01b0385166000908152603760205260409020610f988382613035565b60208401819052818452610fb2919063ffffffff61339616565b60808301526000846002811115610fc557fe5b90506001816002811115610fd557fe5b14610fe4578260200151610fe7565b82515b604084015260001986148015906110015750826040015186105b1561100e57604083018690525b82516020840151604080860151905163152be4bd60e31b815273__$69254465eb8f179ea24caa73cf68b23524$__9363a95f25e89361105b9388938e938e938a938e933490600401615656565b60006040518083038186803b15801561107357600080fd5b505af4158015611087573d6000803e3d6000fd5b50505050611094826133bb565b60018160028111156110a257fe5b14156111175760078201546040808501519051632770a7eb60e21b81526001600160a01b0390921691639dc29fac916110e091889190600401614f7d565b600060405180830381600087803b1580156110fa57600080fd5b505af115801561110e573d6000803e3d6000fd5b50505050611182565b60088201546040808501519051632770a7eb60e21b81526001600160a01b0390921691639dc29fac9161114f91889190600401614f7d565b600060405180830381600087803b15801561116957600080fd5b505af115801561117d573d6000803e3d6000fd5b505050505b604083015161119c9083908990600063ffffffff61347316565b604083015160808401516111b59163ffffffff61375416565b6111ed5760098201546001600160a01b03851660009081526038602052604081206111ed929091600160d01b90910460ff1690613796565b6006820154604084015161121b916001600160a01b038a81169233929190911690600063ffffffff6137cb16565b61122d876001600160a01b0316613959565b1561126f57600061124b84604001513461375490919063ffffffff16565b9050801561126d5761126d6001600160a01b038916338363ffffffff61397e16565b505b336001600160a01b0316846001600160a01b0316886001600160a01b03167f81cfb79463601de705d4cf6b8d69112983d76a685120e5e4d3581f30871b87fc8660400151426040516112c2929190615781565b60405180910390a4505060016000555050505050565b600260005414156112fb5760405162461bcd60e51b81526004016101c99061557e565b600260009081556001600160a01b03808416825260376020818152604080852033865260388352948190206035548251631f94a27560e31b8152925173__$69254465eb8f179ea24caa73cf68b23524$__9663a6b84c0b9689968c9691959460399493169263fca513a8926004808201939291829003018186803b15801561138257600080fd5b505afa158015611396573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ba9190614a3f565b6040518763ffffffff1660e01b81526004016113db969594939291906155ed565b60006040518083038186803b1580156113f357600080fd5b505af4158015611407573d6000803e3d6000fd5b50505050600981015433600090815260386020526040902061143391600160d01b900460ff1684613a37565b81156114735760405133906001600160a01b038516907e058a56ea94653cdf4f152d227ace22d4c00ad99e2a43f58cb7d9e3feb295f290600090a36114aa565b60405133906001600160a01b038516907f44c58d81365b66dd4b1a7f36c25aa97b8c71c361ee4937adc1a00000227db5dd90600090a35b5050600160005550565b600260005414156114d75760405162461bcd60e51b81526004016101c99061557e565b60026000556114e4614930565b6001600160a01b038085166000818152603760205260409020600681015490921660a0840181905261151c919063ffffffff61321916565b825261154161271061153586600963ffffffff613a7216565b9063ffffffff613aac16565b60608301819052611562906127109061153590610bb863ffffffff613a7216565b608083015281518411156115885760405162461bcd60e51b81526004016101c9906151b0565b600082606001511180156115a0575060008260800151115b6115bc5760405162461bcd60e51b81526004016101c9906154e2565b60a0820151604051634efecaa560e01b8152879182916001600160a01b0390911690634efecaa5906115f49084908a90600401614f7d565b602060405180830381600087803b15801561160e57600080fd5b505af1158015611622573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116469190614dec565b5060a0840151606085015160405163405b019d60e01b81526001600160a01b0385169263405b019d92611682928c92918c918c90600401614fb7565b600060405180830381600087803b15801561169c57600080fd5b505af11580156116b0573d6000803e3d6000fd5b5050505060006116d68560a00151896001600160a01b031661321990919063ffffffff16565b606086015186519192506116f0919063ffffffff61339616565b811461170e5760405162461bcd60e51b81526004016101c990615287565b8373__$5e6137a1b5a0a366e2874209b5abf71c10$__638acb830b90918a886000015161174c8a608001518b6060015161375490919063ffffffff16565b8a608001516040518663ffffffff1660e01b81526004016117719594939291906156b5565b60006040518083038186803b15801561178957600080fd5b505af415801561179d573d6000803e3d6000fd5b505050508460a001516001600160a01b0316634efecaa5603560009054906101000a90046001600160a01b03166001600160a01b031663ee8912966040518163ffffffff1660e01b815260040160206040518083038186803b15801561180257600080fd5b505afa158015611816573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061183a9190614a3f565b87608001516040518363ffffffff1660e01b815260040161185c929190614f7d565b602060405180830381600087803b15801561187657600080fd5b505af115801561188a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ae9190614dec565b50876001600160a01b0316896001600160a01b03167f5b8f46461c1dd69fb968f1a003acee221ea3e19540e350233b612ddb43433b5589886060015189608001514260405161190094939291906157ae565b60405180910390a35050600160005550505050505050565b600073__$7347ff53b2b46c21e26a37164ae7f6739f$__63865cb0ce8585856037603860008a6001600160a01b03166001600160a01b031681526020019081526020016000206039603560009054906101000a90046001600160a01b03166001600160a01b031663fca513a86040518163ffffffff1660e01b815260040160206040518083038186803b1580156119ae57600080fd5b505afa1580156119c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119e69190614a3f565b6040518863ffffffff1660e01b8152600401611a089796959493929190615077565b60206040518083038186803b158015611a2057600080fd5b505af4158015611a34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a589190614db8565b90505b9392505050565b603554604080516385c858b160e01b8152905133926001600160a01b0316916385c858b1916004808301926020929190829003018186803b158015611aa657600080fd5b505afa158015611aba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ade9190614a3f565b6001600160a01b031614611b045760405162461bcd60e51b81526004016101c9906153fc565b6001600160a01b038516600090815260376020526040908190209051632d621e9960e21b815273__$5e6137a1b5a0a366e2874209b5abf71c10$__9163b5887a6491611b5b919088908890889088906004016155bf565b60006040518083038186803b158015611b7357600080fd5b505af4158015611b87573d6000803e3d6000fd5b50505050611b9485613aee565b5050505050565b600281565b60026000541415611bc35760405162461bcd60e51b81526004016101c99061557e565b600260009081556001600160a01b03831681526037602052604081209080611beb3384613035565b915091506000846002811115611bfd57fe5b336000908152603860205260409081902090516306c4439560e31b815291925073__$69254465eb8f179ea24caa73cf68b23524$__916336221ca891611c4e9188919088908890889060040161574b565b60006040518083038186803b158015611c6657600080fd5b505af4158015611c7a573d6000803e3d6000fd5b50505050611c87846133bb565b6001816002811115611c9557fe5b1415611d6c576007840154604051632770a7eb60e21b81526001600160a01b0390911690639dc29fac90611ccf9033908790600401614f7d565b600060405180830381600087803b158015611ce957600080fd5b505af1158015611cfd573d6000803e3d6000fd5b50505060088501546040516340c10f1960e01b81526001600160a01b0390911691506340c10f1990611d359033908790600401614f7d565b600060405180830381600087803b158015611d4f57600080fd5b505af1158015611d63573d6000803e3d6000fd5b50505050611e3e565b6008840154604051632770a7eb60e21b81526001600160a01b0390911690639dc29fac90611da09033908690600401614f7d565b600060405180830381600087803b158015611dba57600080fd5b505af1158015611dce573d6000803e3d6000fd5b5050505060078401546003850154604051630ab714fb60e11b81526001600160a01b039092169163156e29f691611e0b9133918791600401614f96565b600060405180830381600087803b158015611e2557600080fd5b505af1158015611e39573d6000803e3d6000fd5b505050505b611e51848760008063ffffffff61347316565b336001600160a01b0316866001600160a01b03167fea368a40e9570069bb8e6511d668293ad2e1f03b0d982431fd223de9f3b70ca642604051611e94919061578f565b60405180910390a35050600160005550505050565b60026000541415611ecc5760405162461bcd60e51b81526004016101c99061557e565b600260009081556001600160a01b03808616825260376020526040918290206006810154925163cf478a7960e01b815290929091169073__$69254465eb8f179ea24caa73cf68b23524$__9063cf478a7990611f309085908a908990600401615637565b60006040518083038186803b158015611f4857600080fd5b505af4158015611f5c573d6000803e3d6000fd5b50505050611f69826133bb565b611f7c828760008763ffffffff61347316565b82611fb55760098201546001600160a01b0386166000908152603860205260408120611fb5929091600160d01b90910460ff1690613a37565b6006820154604051634efecaa560e01b81526001600160a01b0390911690634efecaa590611fe99088908890600401614f7d565b602060405180830381600087803b15801561200357600080fd5b505af1158015612017573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203b9190614dec565b50846001600160a01b0316866001600160a01b03167f9c4ed599cd8555b9c1e8cd7643240d7d71eb76b792948c49fcb4d411f7b6b3c68642604051611e94929190615781565b603554604080516385c858b160e01b8152905133926001600160a01b0316916385c858b1916004808301926020929190829003018186803b1580156120c557600080fd5b505afa1580156120d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120fd9190614a3f565b6001600160a01b0316146121235760405162461bcd60e51b81526004016101c9906153fc565b6001600160a01b03909116600090815260376020526040902060050155565b6001600160a01b038116600090815260386020908152604080832081518084018352905481526039805483518186028101860190945280845285948594859485948594612251948c9460379493909290918301828280156121cc57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116121ae575b505060355460408051631f94a27560e31b815290516001600160a01b03909216945063fca513a893506004808201935060209291829003018186803b15801561221457600080fd5b505afa158015612228573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061224c9190614a3f565b613bc3565b60405163d609bd1b60e01b8152949a5092985095509350915073__$7347ff53b2b46c21e26a37164ae7f6739f$__9063d609bd1b9061229890899089908790600401615798565b60206040518083038186803b1580156122b057600080fd5b505af41580156122c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122e89190614dec565b935091939550919395565b6122fb61496f565b506001600160a01b03166000908152603760209081526040918290208251918201909252600590910154815290565b61235d6040518060400160405280601281526020017124b739b4b2329034b734ba34b0b634bd32b960711b8152506140c3565b600061236761415b565b90506123996040518060400160405280600e81526020016d5265766973696f6e20697320257360901b81525082614160565b6123c360405180604001604052806008815260200167546869733a20257360c01b81525030614207565b60025460ff16806123d757506123d7614266565b806123e3575060015481115b6123ff5760405162461bcd60e51b81526004016101c990615377565b60025460ff16158015612420576002805460ff191660019081179091558290555b603580546001600160a01b0319166001600160a01b03858116919091179182905560408051633efbbf0f60e21b81529051929091169163fbeefc3c91600480820192602092909190829003018186803b15801561247c57600080fd5b505afa158015612490573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124b49190614a3f565b603680546001600160a01b0319166001600160a01b039290921691909117905580156124e5576002805460ff191690555b505050565b6035546001600160a01b031681565b6002600054141561251c5760405162461bcd60e51b81526004016101c99061557e565b600260009081556001600160a01b038516815260376020908152604080832033845260389092528220909161266a6125566005850161330f565b600a0a61153588603560009054906101000a90046001600160a01b03166001600160a01b031663fca513a86040518163ffffffff1660e01b815260040160206040518083038186803b1580156125ab57600080fd5b505afa1580156125bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125e39190614a3f565b6001600160a01b031663b3596f078c6040518263ffffffff1660e01b815260040161260e9190614f69565b60206040518083038186803b15801561262657600080fd5b505afa15801561263a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061265e9190614dec565b9063ffffffff613a7216565b905073__$69254465eb8f179ea24caa73cf68b23524$__63dfb6b2d7848989858a6019603760386000336001600160a01b03166001600160a01b031681526020019081526020016000206039603560009054906101000a90046001600160a01b03166001600160a01b031663fca513a86040518163ffffffff1660e01b815260040160206040518083038186803b15801561270457600080fd5b505afa158015612718573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061273c9190614a3f565b6040518b63ffffffff1660e01b81526004016127619a999897969594939291906156e1565b60006040518083038186803b15801561277957600080fd5b505af415801561278d573d6000803e3d6000fd5b50505050600383015461279f846133bb565b60018660028111156127ad57fe5b60028111156127b857fe5b14156128b1576007840154604051630ab714fb60e11b81526001600160a01b039091169063156e29f6906127f49033908b908690600401614f96565b600060405180830381600087803b15801561280e57600080fd5b505af1158015612822573d6000803e3d6000fd5b505050506007840154604051631e739ae360e21b81526000916001600160a01b0316906379ce6b8c90612859903390600401614f69565b60206040518083038186803b15801561287157600080fd5b505afa158015612885573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128a99190614eb3565b905050612918565b60088401546040516340c10f1960e01b81526001600160a01b03909116906340c10f19906128e59033908b90600401614f7d565b600060405180830381600087803b1580156128ff57600080fd5b505af1158015612913573d6000803e3d6000fd5b505050505b61292b848960008a63ffffffff61347316565b600984015460408051602081019091528454815261295291600160d01b900460ff1661426c565b612972576009840154612972908490600160d01b900460ff166001613796565b6006840154604051634efecaa560e01b81526001600160a01b0390911690634efecaa5906129a69033908b90600401614f7d565b602060405180830381600087803b1580156129c057600080fd5b505af11580156129d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129f89190614dec565b5061ffff8516336001600160a01b038a167fe002884724be85e729c98360169e709585b299ace6fbe12aa791d2fee6f652808a8a60018c6002811115612a3a57fe5b6002811115612a4557fe5b14612a54578960020154612a56565b865b42604051612a6794939291906157ae565b60405180910390a450506001600055505050505050565b60026000541415612aa15760405162461bcd60e51b81526004016101c99061557e565b600260009081556001600160a01b03808416825260376020526040808320600781015491516370a0823160e01b81529093919092169182906370a0823190612aed908790600401614f69565b60206040518083038186803b158015612b0557600080fd5b505afa158015612b19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b3d9190614dec565b905060008111612b5f5760405162461bcd60e51b81526004016101c99061531a565b6000612b98612b876aa56fa5b99019a5c8000000612b7b61427c565b9063ffffffff61339616565b60038601549063ffffffff61428c16565b90506000836001600160a01b031663e78c9b3b876040518263ffffffff1660e01b8152600401612bc89190614f69565b60206040518083038186803b158015612be057600080fd5b505afa158015612bf4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c189190614dec565b90508460010154811080612c2b57508181115b612c475760405162461bcd60e51b81526004016101c990615238565b612c50856133bb565b604051632770a7eb60e21b81526001600160a01b03851690639dc29fac90612c7e9089908790600401614f7d565b600060405180830381600087803b158015612c9857600080fd5b505af1158015612cac573d6000803e3d6000fd5b5050506003860154604051630ab714fb60e11b81526001600160a01b038716925063156e29f691612ce3918a918891600401614f96565b600060405180830381600087803b158015612cfd57600080fd5b505af1158015612d11573d6000803e3d6000fd5b50612d2b925087915089905060008063ffffffff61347316565b856001600160a01b0316876001600160a01b03167f443060d15ff6dac05881a7c07a46ef8085d8af4399e436be6c25250df40c5f1842604051612d6e919061578f565b60405180910390a3505050505050506001600055565b60001981565b6001600160a01b0381166000908152603760205260408120610e43906142ce565b6001600160a01b0390811660009081526037602052604090206006810154600782015460089092015490831693918316921690565b60026000541415612e035760405162461bcd60e51b81526004016101c99061557e565b600260009081556001600160a01b03841681526037602052604090819020905163b25dc48d60e01b815273__$69254465eb8f179ea24caa73cf68b23524$__9063b25dc48d90612e599084908790600401615781565b60006040518083038186803b158015612e7157600080fd5b505af4158015612e85573d6000803e3d6000fd5b50505060068201546040516370a0823160e01b81526001600160a01b03909116915060009082906370a0823190612ec0903390600401614f69565b60206040518083038186803b158015612ed857600080fd5b505afa158015612eec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f109190614dec565b159050612f1c836133bb565b612f2f838787600063ffffffff61347316565b8015612f5e576009830154336000908152603860205260409020612f5e91600160d01b900460ff166001613a37565b6040516394362e8b60e01b81526001600160a01b038316906394362e8b90612f8c9033908990600401614f7d565b600060405180830381600087803b158015612fa657600080fd5b505af1158015612fba573d6000803e3d6000fd5b50612fd6925050506001600160a01b03871633848860016137cb565b8361ffff16336001600160a01b0316876001600160a01b03167fc12c57b1c73a2c3a2ea4613e9476abb3d8d146857aab7329e24243fb59710c828842604051613020929190615781565b60405180910390a45050600160005550505050565b60078101546040516370a0823160e01b815260009182916001600160a01b03909116906370a082319061306c908790600401614f69565b60206040518083038186803b15801561308457600080fd5b505afa158015613098573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130bc9190614dec565b60088401546040516370a0823160e01b81526001600160a01b03909116906370a08231906130ee908890600401614f69565b60206040518083038186803b15801561310657600080fd5b505afa15801561311a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061313e9190614dec565b915091509250929050565b600781015460405163631a6fd560e11b815260009182916001600160a01b039091169063c634dfaa90613180908790600401614f69565b60206040518083038186803b15801561319857600080fd5b505afa1580156131ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131d09190614dec565b600884015460405163631a6fd560e11b81526001600160a01b039091169063c634dfaa906130ee908890600401614f69565b815160016002830281019190911c16151592915050565b600061322483613959565b1561323a57506001600160a01b03811631610e43565b6040516370a0823160e01b81526001600160a01b038416906370a0823190613266908590600401614f69565b60206040518083038186803b15801561327e57600080fd5b505afa158015613292573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132b69190614dec565b9050610e43565b600981015460009064ffffffffff600160a01b90910481169042168114156132eb57505060048101546105cc565b60006105c78460040154613303866002015485614311565b9063ffffffff61428c16565b5460301c610f01600160d01b031690565b54670fffffffffff0000191690565b5460101c650fffffff0001600160f01b031690565b5460201c630fff0001600160e01b031690565b54603a1c6003600160c61b0316151590565b54603b1c151590565b5460381c600f600160c81b0316151590565b5460391c6007600160c71b0316151590565b600082820183811015611a5b5760405162461bcd60e51b81526004016101c990615201565b60006133c682614376565b9050801561344f57600182015460098301546000916133f291600160a01b900464ffffffffff1661448b565b835490915061340890829063ffffffff61428c16565b83556002830154600984015460009161342e91600160a01b900464ffffffffff16614311565b905061344784600401548261428c90919063ffffffff16565b600485015550505b50600901805464ffffffffff60a01b1916600160a01b4264ffffffffff1602179055565b60078401546040805163487b7e7960e11b815290516000926001600160a01b0316916390f6fcf2916004808301926020929190829003018186803b1580156134ba57600080fd5b505afa1580156134ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134f29190614dec565b6006860154909150600090613519906001600160a01b03878116911663ffffffff61321916565b6009870154909150600090819081906001600160a01b03166357e37af0896135578961354b898d63ffffffff61339616565b9063ffffffff61375416565b8c60070160009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156135a757600080fd5b505afa1580156135bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135df9190614dec565b8d60080160009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561362f57600080fd5b505afa158015613643573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136679190614dec565b8a6040518663ffffffff1660e01b81526004016136889594939291906150cb565b60606040518083038186803b1580156136a057600080fd5b505afa1580156136b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136d89190614e86565b60018c0183905560038c0182905560028c018190558b5460048d01546040519497509295509093506001600160a01b038b16927f131cf1f61e39fd78f61f07d78533f5b6c13629c80ef6965983e92c72efbaa4a49261374192889288928c928992909190615821565b60405180910390a2505050505050505050565b6000611a5b83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506144eb565b81600202816137a65760006137a9565b60015b60ff16901b826002026001901b19846000015416178360000181905550505050565b816137d557611b94565b6137de85613959565b1561393e57813410156138035760405162461bcd60e51b81526004016101c99061544f565b6001600160a01b0383163014613896576000836001600160a01b03168361c3509060405161383090614f66565b600060405180830381858888f193505050503d806000811461386e576040519150601f19603f3d011682016040523d82523d6000602084013e613873565b606091505b50509050806138945760405162461bcd60e51b81526004016101c990615499565b505b8080156138a257508134115b156139395760006001600160a01b0385166138c3348563ffffffff61375416565b61c350906040516138d390614f66565b600060405180830381858888f193505050503d8060008114613911576040519150601f19603f3d011682016040523d82523d6000602084013e613916565b606091505b50509050806139375760405162461bcd60e51b81526004016101c990615499565b505b611b94565b611b946001600160a01b03861685858563ffffffff61451716565b6001600160a01b03811673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14919050565b80613988576124e5565b61399183613959565b15613a1d576000826001600160a01b03168261c350906040516139b390614f66565b600060405180830381858888f193505050503d80600081146139f1576040519150601f19603f3d011682016040523d82523d6000602084013e6139f6565b606091505b5050905080613a175760405162461bcd60e51b81526004016101c990615499565b506124e5565b6124e56001600160a01b038416838363ffffffff61457516565b8160020260010181613a4a576000613a4d565b60015b60ff16901b826002026001016001901b19846000015416178360000181905550505050565b600082613a8157506000610e43565b82820282848281613a8e57fe5b0414611a5b5760405162461bcd60e51b81526004016101c9906152d9565b6000611a5b83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250614594565b6000805b603954811015613b3b57826001600160a01b031660398281548110613b1357fe5b6000918252602090912001546001600160a01b03161415613b3357600191505b600101613af2565b5080613bbf57603980546001600160a01b0384166000818152603760205260408120600901805460ff909416600160d01b0260ff60d01b19909416939093179092558254600181018455929091527fdc16fef70f8d5ddbc01ee3d903d1e69c18a3c7be080eb86a81e0578814ee58d390910180546001600160a01b03191690911790555b5050565b6000806000806000613bd3614982565b613bdc896145cb565b15613bf957506000945084935083925082915060001990506140b6565b600060e08201525b87518160e0015110156140095760e0810151613c24908a9063ffffffff6145d016565b613c2d57613ff9565b878160e0015181518110613c3d57fe5b6020908102919091018101516001600160a01b031661020083018190526000908152908b905260409020613c73600582016145e0565b6080860181905260c08601929092525060a0840191909152600a0a602083015261020082015160405163b3596f0760e01b81526001600160a01b038a169163b3596f0791613cc49190600401614f69565b60206040518083038186803b158015613cdc57600080fd5b505afa158015613cf0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d149190614dec565b825260a082015115801590613d3a575060e0820151613d3a908b9063ffffffff61320216565b15613e6b5760068101546040516370a0823160e01b81526001600160a01b03909116906370a0823190613d71908f90600401614f69565b60206040518083038186803b158015613d8957600080fd5b505afa158015613d9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613dc19190614dec565b6040830181905260208301518351600092613de692916115359163ffffffff613a7216565b610120840151909150613dff908263ffffffff61339616565b61012084015260a0830151613e3190613e1f90839063ffffffff613a7216565b6101808501519063ffffffff61339616565b61018084015260c0830151613e6390613e5190839063ffffffff613a7216565b6101a08501519063ffffffff61339616565b6101a0840152505b60e0820151613e81908b9063ffffffff61426c16565b15613ff75760078101546040516370a0823160e01b81526001600160a01b03909116906370a0823190613eb8908f90600401614f69565b60206040518083038186803b158015613ed057600080fd5b505afa158015613ee4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f089190614dec565b826060018181525050613fb88160080160009054906101000a90046001600160a01b03166001600160a01b03166370a082318e6040518263ffffffff1660e01b8152600401613f579190614f69565b60206040518083038186803b158015613f6f57600080fd5b505afa158015613f83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613fa79190614dec565b60608401519063ffffffff61339616565b6060830181905260208301518351613ff092613fde92916115359163ffffffff613a7216565b6101408401519063ffffffff61339616565b6101408301525b505b60e0810180516001019052613c01565b60008161012001511161401d576000614038565b6101208101516101808201516140389163ffffffff613aac16565b61018082015261012081015161404f57600061406a565b6101208101516101a082015161406a9163ffffffff613aac16565b6101a0820181905261012082015161014083015161408792614627565b61010082018190526101208201516101408301516101808401516101a090940151919850965091945090925090505b9550955095509550959050565b60006a636f6e736f6c652e6c6f676001600160a01b0316826040516024016140eb9190615151565b60408051601f198184030181529181526020820180516001600160e01b031663104c13eb60e21b179052516141209190614f4a565b600060405180830381855afa9150503d8060008114611b94576040519150601f19603f3d011682016040523d82523d6000602084013e611b94565b600290565b60006a636f6e736f6c652e6c6f676001600160a01b0316838360405160240161418a92919061518e565b60408051601f198184030181529181526020820180516001600160e01b03166309710a9d60e41b179052516141bf9190614f4a565b600060405180830381855afa9150503d80600081146141fa576040519150601f19603f3d011682016040523d82523d6000602084013e6141ff565b606091505b505050505050565b60006a636f6e736f6c652e6c6f676001600160a01b03168383604051602401614231929190615164565b60408051601f198184030181529181526020820180516001600160e01b031663319af33360e01b179052516141bf9190614f4a565b303b1590565b9051600160029092021c16151590565b6b033b2e3c9fd0803ce800000090565b6000611a5b6b033b2e3c9fd0803ce80000006115356142b1868663ffffffff613a7216565b60026b033b2e3c9fd0803ce80000005b049063ffffffff61339616565b600981015460009064ffffffffff600160a01b90910481169042168114156142f957505080546105cc565b60006105c7846000015461330386600101548561448b565b60008061432b4264ffffffffff851663ffffffff61375416565b90506000614343856301e1338063ffffffff613aac16565b905061436d8261436161435461427c565b849063ffffffff61339616565b9063ffffffff61465716565b95945050505050565b6000610e438260080160009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156143cb57600080fd5b505afa1580156143df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906144039190614dec565b8360070160009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561445357600080fd5b505afa158015614467573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b7b9190614dec565b6000806144a54264ffffffffff851663ffffffff61375416565b905060006144ce6144b96301e133806146b1565b6144c2846146b1565b9063ffffffff6146c716565b905061436d6144db61427c565b612b7b878463ffffffff61428c16565b6000818484111561450f5760405162461bcd60e51b81526004016101c99190615151565b505050900390565b61456f846323b872dd60e01b85858560405160240161453893929190615053565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526146f2565b50505050565b6124e58363a9059cbb60e01b8484604051602401614538929190614f7d565b600081836145b55760405162461bcd60e51b81526004016101c99190615151565b5060008385816145c157fe5b0495945050505050565b511590565b9051600360029092021c16151590565b54670fffffffffff000019811691601082901c650fffffff0001600160f01b031691602081901c630fff0001600160e01b03169160309190911c610f01600160d01b031690565b6000826146375750600019611a5b565b611a588361464b868563ffffffff61478116565b9063ffffffff6147a616565b600060028206614673576b033b2e3c9fd0803ce8000000614675565b825b90506002820491505b8115610e435761468e838461428c565b925060028206156146a6576146a3818461428c565b90505b60028204915061467e565b6000610e4382633b9aca0063ffffffff613a7216565b6000600282046146ea83611535614354876b033b2e3c9fd0803ce8000000613a72565b949350505050565b6060614747826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166147c59092919063ffffffff16565b8051909150156124e557808060200190518101906147659190614db8565b6124e55760405162461bcd60e51b81526004016101c990615534565b6000611a5b61271061153561479c868663ffffffff613a7216565b60026127106142c1565b6000600282046146ea8361153561435487670de0b6b3a7640000613a72565b6060611a58848460008560606147da85610593565b6147f65760405162461bcd60e51b81526004016101c990615418565b60006060866001600160a01b031685876040516148139190614f4a565b60006040518083038185875af1925050503d8060008114614850576040519150601f19603f3d011682016040523d82523d6000602084013e614855565b606091505b509150915081156148695791506146ea9050565b8051156148795780518082602001fd5b8360405162461bcd60e51b81526004016101c99190615151565b604051806101a0016040528060008152602001600081526020016000815260200160008152602001600081526020016148ca61496f565b815260006020820181905260408201819052606082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b6040518060c00160405280600081526020016000815260200160008152602001600081526020016000815260200160006001600160a01b031681525090565b6040518060200160405280600081525090565b60405180610260016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160001515815260200160006001600160a01b031681526020016000151581526020016000151581525090565b600060208284031215614a34578081fd5b8135611a5b81615967565b600060208284031215614a50578081fd5b8151611a5b81615967565b60008060408385031215614a6d578081fd5b8235614a7881615967565b91506020830135614a8881615967565b809150509250929050565b60008060008060808587031215614aa8578182fd5b8435614ab381615967565b93506020850135614ac381615967565b93969395505050506040820135916060013590565b600080600080600060a08688031215614aef578081fd5b8535614afa81615967565b94506020860135614b0a81615967565b93506040860135614b1a81615967565b92506060860135614b2a81615967565b91506080860135614b3a81615967565b809150509295509295909350565b600080600080600060a08688031215614b5f578081fd5b8535614b6a81615967565b94506020860135614b7a81615967565b93506040860135614b8a81615967565b9250606086013591506080860135614b3a8161597c565b600080600060608486031215614bb5578283fd5b8335614bc081615967565b92506020840135614bd081615967565b929592945050506040919091013590565b60008060008060808587031215614bf6578384fd5b8435614c0181615967565b93506020850135614c1181615967565b925060408501359150606085013567ffffffffffffffff811115614c33578182fd5b80860187601f820112614c44578283fd5b80359150614c59614c548361590a565b6158e3565b828152886020848401011115614c6d578384fd5b8260208301602083013791820160200192909252939692955090935050565b60008060408385031215614c9e578182fd5b8235614ca981615967565b91506020830135614a888161597c565b60008060408385031215614ccb578182fd5b8235614cd681615967565b946020939093013593505050565b600080600060608486031215614cf8578081fd5b8335614d0381615967565b925060208401359150604084013561ffff81168114614d20578182fd5b809150509250925092565b60008060008060808587031215614d40578182fd5b8435614d4b81615967565b935060208501359250604085013591506060850135614d6981615967565b939692955090935050565b60008060008060808587031215614d89578182fd5b8435614d9481615967565b93506020850135925060408501359150606085013561ffff81168114614d69578182fd5b600060208284031215614dc9578081fd5b8151611a5b8161597c565b600060208284031215614de5578081fd5b5035919050565b600060208284031215614dfd578081fd5b5051919050565b60008060408385031215614e16578182fd5b82519150602083015167ffffffffffffffff811115614e33578182fd5b80840185601f820112614e44578283fd5b80519150614e54614c548361590a565b828152866020848401011115614e68578384fd5b614e7983602083016020850161592e565b8093505050509250929050565b600080600060608486031215614e9a578081fd5b8351925060208401519150604084015190509250925092565b600060208284031215614ec4578081fd5b815164ffffffffff81168114611a5b578182fd5b6000815480845260208085019450838352808320835b83811015614f135781546001600160a01b031687529582019560019182019101614eee565b509495945050505050565b60008151808452614f3681602086016020860161592e565b601f01601f19169290920160200192915050565b60008251614f5c81846020870161592e565b9190910192915050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b039390931683526020830191909152604082015260600190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090614ff190830184614f1e565b979650505050505050565b6001600160a01b0393841681529183166020830152909116604082015260600190565b6001600160a01b03958616815293851660208501529190931660408301526060820192909252901515608082015260a00190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b600060018060a01b03808a16835280891660208401528760408401528660608401528554608084015260e060a08401526150b460e0840186614ed8565b915080841660c08401525098975050505050505050565b6001600160a01b03959095168552602085019390935260408401919091526060830152608082015260a00190565b6020808252825182820181905260009190848201906040850190845b8181101561513a5783516001600160a01b031683529284019291840191600101615115565b50909695505050505050565b901515815260200190565b600060208252611a5b6020830184614f1e565b6000604082526151776040830185614f1e565b905060018060a01b03831660208301529392505050565b6000604082526151a16040830185614f1e565b90508260208301529392505050565b60208082526031908201527f5468657265206973206e6f7420656e6f756768206c697175696469747920617660408201527061696c61626c6520746f20626f72726f7760781b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252602f908201527f496e746572657374207261746520726562616c616e636520636f6e646974696f60408201526e1b9cc81dd95c99481b9bdd081b595d608a1b606082015260800190565b60208082526032908201527f5468652061637475616c2062616c616e6365206f66207468652070726f746f636040820152711bdb081a5cc81a5b98dbdb9cda5cdd195b9d60721b606082015260800190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b60208082526038908201527f5573657220646f6573206e6f74206861766520616e7920737461626c6520726160408201527f7465206c6f616e20666f72207468697320726573657276650000000000000000606082015260800190565b6020808252602e908201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560408201526d195b881a5b9a5d1a585b1a5e995960921b606082015260800190565b60208082526017908201527f4c69717569646174696f6e2063616c6c206661696c6564000000000000000000604082015260600190565b602080825260029082015261033360f41b604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602a908201527f57726f6e67207573616765206f66204554482e756e6976657273616c5472616e6040820152697366657246726f6d282960b01b606082015260800190565b60208082526013908201527211551217d514905394d1915497d19052531151606a1b604082015260600190565b602080825260029082015261191960f11b604082015260600190565b60208082526032908201527f5468652072657175657374656420616d6f756e7420697320746f6f20736d616c60408201527136103337b9103090233630b9b42637b0b71760711b606082015260800190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b9051815260200190565b9485526001600160a01b03938416602086015291831660408501528216606084015216608082015260a00190565b600087825260018060a01b03808816602084015286604084015285606084015260c0608084015261562160c0840186614ed8565b915080841660a084015250979650505050505050565b9283526001600160a01b03919091166020830152604082015260600190565b8981526001600160a01b0389811660208301526040820189905261012082019061567f8961595a565b8860608401528088166080840152508560a08301528460c08301528360e0830152826101008301529a9950505050505050505050565b9485526001600160a01b0393909316602085015260408401919091526060830152608082015260a00190565b60006101408c835260018060a01b03808d1660208501528b60408501528a60608501528960808501528860a08501528760c08501528660e08501528161010085015261572f82850187614ed8565b925080851661012085015250509b9a5050505050505050505050565b600060a0820190508682528560208301528460408301528360608301526157718361595a565b8260808301529695505050505050565b918252602082015260400190565b90815260200190565b9283526020830191909152604082015260600190565b93845260208401929092526040830152606082015260800190565b998a5260208a0198909852604089019690965260608801949094526001600160a01b03929092166080870152151560a0860152151560c0850152151560e0840152151561010083015215156101208201526101400190565b958652602086019490945260408501929092526060840152608083015260a082015260c00190565b998a5260208a019890985260408901969096526060880194909452608087019290925260a086015260c085015260e084015261010083015264ffffffffff166101208201526101400190565b998a5260208a019890985260408901969096526060880194909452608087019290925260a086015260c085015260e084015264ffffffffff1661010083015215156101208201526101400190565b60405181810167ffffffffffffffff8111828210171561590257600080fd5b604052919050565b600067ffffffffffffffff821115615920578081fd5b50601f01601f191660200190565b60005b83811015615949578181015183820152602001615931565b8381111561456f5750506000910152565b6003811061596457fe5b50565b6001600160a01b038116811461596457600080fd5b801515811461596457600080fdfea2646970667358221220bb9bb3dd58358e9abf3b491d2fe2141273075b21f4978f4315cd99234a188f4b64736f6c63430006080033'; + "0x6080604052600060015534801561001557600080fd5b5060016000556155378061002a6000396000f3fe60806040526004361061019f5760003560e01c80638afaff02116100ec578063c72c4d101161008a578063d0fc81d211610064578063d0fc81d21461051c578063d15e005314610531578063d2493b6c14610551578063d2d0e06614610580576101d4565b8063c72c4d10146104c7578063c858f5f9146104dc578063cd112382146104fc576101d4565b8063b8d29276116100c6578063b8d2927614610428578063bf92857c14610448578063c44b11f71461047a578063c4d66de8146104a7576101d4565b80638afaff02146103d357806394ba89a2146103e85780639895e3d814610408576101d4565b80633e150141116101595780635a3b74b9116101335780635a3b74b9146103465780635cffe9de1461036657806376e9d615146103865780637a708e92146103b3576101d4565b80633e150141146102d05780634fe7a6e514610306578063573ade8114610333576101d4565b8062a718a9146101d95780630902f1ac146101ec5780631d2118f91461021757806328dd2d011461023757806335ea6a751461026d578063386497fd146102a3576101d4565b366101d4576101ad33610593565b6101d25760405162461bcd60e51b81526004016101c990615041565b60405180910390fd5b005b600080fd5b6101d26101e7366004614789565b6105d1565b3480156101f857600080fd5b506102016107a3565b60405161020e9190614d37565b60405180910390f35b34801561022357600080fd5b506101d261023236600461469c565b610805565b34801561024357600080fd5b5061025761025236600461469c565b6108d8565b60405161020e9a9998979695949392919061540b565b34801561027957600080fd5b5061028d610288366004614664565b610b83565b60405161020e9a999897969594939291906153bf565b3480156102af57600080fd5b506102c36102be366004614664565b610e7f565b60405161020e9190615305565b3480156102dc57600080fd5b506102f06102eb366004614664565b610ea6565b60405161020e9a9998979695949392919061533f565b34801561031257600080fd5b50610326610321366004614a15565b610f7c565b60405161020e9190614ba7565b6101d261034136600461496c565b610fa3565b34801561035257600080fd5b506101d26103613660046148cd565b6112df565b34801561037257600080fd5b506101d2610381366004614822565b6114bb565b34801561039257600080fd5b506103a66103a13660046147e2565b6119df565b60405161020e9190614d84565b3480156103bf57600080fd5b506101d26103ce366004614719565b611b29565b3480156103df57600080fd5b506102c3611c62565b3480156103f457600080fd5b506101d26104033660046148fa565b611c67565b34801561041457600080fd5b506101d26104233660046146d4565b611f70565b34801561043457600080fd5b506101d26104433660046148fa565b612148565b34801561045457600080fd5b50610468610463366004614664565b612209565b60405161020e96959493929190615397565b34801561048657600080fd5b5061049a610495366004614664565b6123ba565b60405161020e9190615130565b3480156104b357600080fd5b506101d26104c2366004614664565b6123f1565b3480156104d357600080fd5b50610326612525565b3480156104e857600080fd5b506101d26104f73660046149b5565b612534565b34801561050857600080fd5b506101d261051736600461469c565b612ab9565b34801561052857600080fd5b506102c3612dbf565b34801561053d57600080fd5b506102c361054c366004614664565b612dc5565b34801561055d57600080fd5b5061057161056c366004614664565b612de6565b60405161020e93929190614c3a565b6101d261058e366004614925565b612e1b565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906105c757508115155b925050505b919050565b600260005414156105f45760405162461bcd60e51b81526004016101c9906150f9565b6002600090815560355460408051632c1a75cd60e11b815290516001600160a01b0390921691635834eb9a91600480820192602092909190829003018186803b15801561064057600080fd5b505afa158015610654573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106789190614680565b905060006060826001600160a01b031688888888886040516024016106a1959493929190614c5d565b60408051601f198184030181529181526020820180516001600160e01b031662a718a960e01b179052516106d59190614b8b565b600060405180830381855af49150503d8060008114610710576040519150601f19603f3d011682016040523d82523d6000602084013e610715565b606091505b5091509150816107375760405162461bcd60e51b81526004016101c990614fb7565b600060608280602001905181019061074f9190614a45565b9150915081600014610792578060405160200161076c9190614b8b565b60408051601f198184030181529082905262461bcd60e51b82526101c991600401614d8f565b505060016000555050505050505050565b606060398054806020026020016040519081016040528092919081815260200182805480156107fb57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116107dd575b5050505050905090565b603554604080516385c858b160e01b8152905133926001600160a01b0316916385c858b1916004808301926020929190829003018186803b15801561084957600080fd5b505afa15801561085d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108819190614680565b6001600160a01b0316146108a75760405162461bcd60e51b81526004016101c990614fee565b6001600160a01b03918216600090815260376020526040902060090180546001600160a01b03191691909216179055565b6001600160a01b03808316600090815260376020526040808220600681015491516370a0823160e01b81529293849384938493849384938493849384938493919216906370a082319061092f908f90600401614ba7565b60206040518083038186803b15801561094757600080fd5b505afa15801561095b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097f9190614a2d565b9a5061098b8c8261306e565b909a50985061099a8c82613182565b6001830154600784015460405163e78c9b3b60e01b8152939b5091995096506001600160a01b03169063e78c9b3b906109d7908f90600401614ba7565b60206040518083038186803b1580156109ef57600080fd5b505afa158015610a03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a279190614a2d565b6007820154604051631e739ae360e21b81529197506001600160a01b0316906379ce6b8c90610a5a908f90600401614ba7565b60206040518083038186803b158015610a7257600080fd5b505afa158015610a86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aaa9190614af4565b60098201546001600160a01b038e16600090815260386020908152604091829020825191820190925290548152919450610aee9190600160d01b900460ff1661323b565b6008820154604051633ba641e960e21b81529193506001600160a01b03169063ee9907a490610b21908f90600401614ba7565b60206040518083038186803b158015610b3957600080fd5b505afa158015610b4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b719190614a2d565b9350509295989b9194979a5092959850565b600080600080600080600080600080610b9a6144d4565b506001600160a01b03808c1660008181526037602090815260409182902082516101a08101845281548152600182015481840152600282015481850152600382015460608201526004808301546080830152845193840185526005830154845260a08201939093526006820154861660c082018190526007830154871660e08301526008830154871661010083015260099092015495861661012082015264ffffffffff600160a01b87041661014082015260ff600160c81b870481161515610160830152600160d01b90960490951661018086015291516370a0823160e01b81526370a0823192610c8e92909101614ba7565b60206040518083038186803b158015610ca657600080fd5b505afa158015610cba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cde9190614a2d565b8160e001516001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610d1b57600080fd5b505afa158015610d2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d539190614a2d565b8261010001516001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610d9157600080fd5b505afa158015610da5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc99190614a2d565b8360200151846040015185606001518660e001516001600160a01b03166390f6fcf26040518163ffffffff1660e01b815260040160206040518083038186803b158015610e1557600080fd5b505afa158015610e29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4d9190614a2d565b876000015188608001518961014001519a509a509a509a509a509a509a509a509a509a50509193959799509193959799565b6001600160a01b0381166000908152603760205260408120610ea090613252565b92915050565b6000806000806000806000806000806000603760008d6001600160a01b03166001600160a01b031681526020019081526020016000209050610eea816005016132a4565b610ef6826005016132b5565b610f02836005016132c4565b610f0e846005016132d9565b60098501546001600160a01b0316610f28600587016132b5565b1515610f36600588016132ec565b610f42886005016132fe565b610f4e89600501613307565b610f5a8a600501613319565b9a509a509a509a509a509a509a509a509a509a50509193959799509193959799565b60398181548110610f8957fe5b6000918252602090912001546001600160a01b0316905081565b60026000541415610fc65760405162461bcd60e51b81526004016101c9906150f9565b6002600055610fd3614542565b6001600160a01b0385166000908152603760205260409020610ff5838261306e565b6020840181905281845261100f919063ffffffff61332b16565b6080830152600084600281111561102257fe5b9050600181600281111561103257fe5b14611041578260200151611044565b82515b6040840152600019861480159061105e5750826040015186105b1561106b57604083018690525b82516020840151604080860151905163152be4bd60e31b815273__$69254465eb8f179ea24caa73cf68b23524$__9363a95f25e8936110b89388938e938e938a938e9334906004016151d1565b60006040518083038186803b1580156110d057600080fd5b505af41580156110e4573d6000803e3d6000fd5b505050506110f182613350565b60018160028111156110ff57fe5b14156111745760078201546040808501519051632770a7eb60e21b81526001600160a01b0390921691639dc29fac9161113d91889190600401614bbb565b600060405180830381600087803b15801561115757600080fd5b505af115801561116b573d6000803e3d6000fd5b505050506111df565b60088201546040808501519051632770a7eb60e21b81526001600160a01b0390921691639dc29fac916111ac91889190600401614bbb565b600060405180830381600087803b1580156111c657600080fd5b505af11580156111da573d6000803e3d6000fd5b505050505b60408301516111f99083908990600063ffffffff61340816565b604083015160808401516112129163ffffffff61374c16565b61124a5760098201546001600160a01b038516600090815260386020526040812061124a929091600160d01b90910460ff169061378e565b60068201546040840151611276916001600160a01b038a8116923392919091169063ffffffff6137c316565b336001600160a01b0316846001600160a01b0316886001600160a01b03167f81cfb79463601de705d4cf6b8d69112983d76a685120e5e4d3581f30871b87fc8660400151426040516112c99291906152f7565b60405180910390a4505060016000555050505050565b600260005414156113025760405162461bcd60e51b81526004016101c9906150f9565b600260009081556001600160a01b03808416825260376020818152604080852033865260388352948190206035548251631f94a27560e31b8152925173__$69254465eb8f179ea24caa73cf68b23524$__9663a6b84c0b9689968c9691959460399493169263fca513a8926004808201939291829003018186803b15801561138957600080fd5b505afa15801561139d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c19190614680565b6040518763ffffffff1660e01b81526004016113e296959493929190615168565b60006040518083038186803b1580156113fa57600080fd5b505af415801561140e573d6000803e3d6000fd5b50505050600981015433600090815260386020526040902061143a91600160d01b900460ff1684613821565b811561147a5760405133906001600160a01b038516907e058a56ea94653cdf4f152d227ace22d4c00ad99e2a43f58cb7d9e3feb295f290600090a36114b1565b60405133906001600160a01b038516907f44c58d81365b66dd4b1a7f36c25aa97b8c71c361ee4937adc1a00000227db5dd90600090a35b5050600160005550565b600260005414156114de5760405162461bcd60e51b81526004016101c9906150f9565b60026000556114eb614571565b6001600160a01b0380851660008181526037602052604090819020600681015490931660a0850181905290516370a0823160e01b81526370a082319161153391600401614ba7565b60206040518083038186803b15801561154b57600080fd5b505afa15801561155f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115839190614a2d565b82526115a861271061159c86600963ffffffff61385c16565b9063ffffffff61389616565b606083018190526115c9906127109061159c90610bb863ffffffff61385c16565b608083015281518411156115ef5760405162461bcd60e51b81526004016101c990614da2565b60008260600151118015611607575060008260800151115b6116235760405162461bcd60e51b81526004016101c99061505d565b60a0820151604051634efecaa560e01b8152879182916001600160a01b0390911690634efecaa59061165b9084908a90600401614bbb565b602060405180830381600087803b15801561167557600080fd5b505af1158015611689573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116ad9190614a2d565b5060a0840151606085015160405163405b019d60e01b81526001600160a01b0385169263405b019d926116e9928c92918c918c90600401614bf5565b600060405180830381600087803b15801561170357600080fd5b505af1158015611717573d6000803e3d6000fd5b5050505060a08401516040516370a0823160e01b81526000916001600160a01b038a16916370a082319161174d91600401614ba7565b60206040518083038186803b15801561176557600080fd5b505afa158015611779573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061179d9190614a2d565b606086015186519192506117b7919063ffffffff61332b16565b81146117d55760405162461bcd60e51b81526004016101c990614e79565b8373__$5e6137a1b5a0a366e2874209b5abf71c10$__638acb830b90918a88600001516118138a608001518b6060015161374c90919063ffffffff16565b8a608001516040518663ffffffff1660e01b815260040161183895949392919061522c565b60006040518083038186803b15801561185057600080fd5b505af4158015611864573d6000803e3d6000fd5b505050508460a001516001600160a01b0316634efecaa5603560009054906101000a90046001600160a01b03166001600160a01b031663ee8912966040518163ffffffff1660e01b815260040160206040518083038186803b1580156118c957600080fd5b505afa1580156118dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119019190614680565b87608001516040518363ffffffff1660e01b8152600401611923929190614bbb565b602060405180830381600087803b15801561193d57600080fd5b505af1158015611951573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119759190614a2d565b50876001600160a01b0316896001600160a01b03167f5b8f46461c1dd69fb968f1a003acee221ea3e19540e350233b612ddb43433b558988606001518960800151426040516119c79493929190615324565b60405180910390a35050600160005550505050505050565b600073__$7347ff53b2b46c21e26a37164ae7f6739f$__63865cb0ce8585856037603860008a6001600160a01b03166001600160a01b031681526020019081526020016000206039603560009054906101000a90046001600160a01b03166001600160a01b031663fca513a86040518163ffffffff1660e01b815260040160206040518083038186803b158015611a7557600080fd5b505afa158015611a89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aad9190614680565b6040518863ffffffff1660e01b8152600401611acf9796959493929190614cb5565b60206040518083038186803b158015611ae757600080fd5b505af4158015611afb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b1f91906149f9565b90505b9392505050565b603554604080516385c858b160e01b8152905133926001600160a01b0316916385c858b1916004808301926020929190829003018186803b158015611b6d57600080fd5b505afa158015611b81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ba59190614680565b6001600160a01b031614611bcb5760405162461bcd60e51b81526004016101c990614fee565b6001600160a01b038516600090815260376020526040908190209051632d621e9960e21b815273__$5e6137a1b5a0a366e2874209b5abf71c10$__9163b5887a6491611c229190889088908890889060040161513a565b60006040518083038186803b158015611c3a57600080fd5b505af4158015611c4e573d6000803e3d6000fd5b50505050611c5b856138d8565b5050505050565b600281565b60026000541415611c8a5760405162461bcd60e51b81526004016101c9906150f9565b600260009081556001600160a01b03831681526037602052604081209080611cb2338461306e565b915091506000846002811115611cc457fe5b336000908152603860205260409081902090516306c4439560e31b815291925073__$69254465eb8f179ea24caa73cf68b23524$__916336221ca891611d15918891908890889088906004016152c2565b60006040518083038186803b158015611d2d57600080fd5b505af4158015611d41573d6000803e3d6000fd5b50505050611d4e84613350565b6001816002811115611d5c57fe5b1415611e33576007840154604051632770a7eb60e21b81526001600160a01b0390911690639dc29fac90611d969033908790600401614bbb565b600060405180830381600087803b158015611db057600080fd5b505af1158015611dc4573d6000803e3d6000fd5b50505060088501546040516340c10f1960e01b81526001600160a01b0390911691506340c10f1990611dfc9033908790600401614bbb565b600060405180830381600087803b158015611e1657600080fd5b505af1158015611e2a573d6000803e3d6000fd5b50505050611f05565b6008840154604051632770a7eb60e21b81526001600160a01b0390911690639dc29fac90611e679033908690600401614bbb565b600060405180830381600087803b158015611e8157600080fd5b505af1158015611e95573d6000803e3d6000fd5b5050505060078401546003850154604051630ab714fb60e11b81526001600160a01b039092169163156e29f691611ed29133918791600401614bd4565b600060405180830381600087803b158015611eec57600080fd5b505af1158015611f00573d6000803e3d6000fd5b505050505b611f18848760008063ffffffff61340816565b336001600160a01b0316866001600160a01b03167fea368a40e9570069bb8e6511d668293ad2e1f03b0d982431fd223de9f3b70ca642604051611f5b9190615305565b60405180910390a35050600160005550505050565b60026000541415611f935760405162461bcd60e51b81526004016101c9906150f9565b600260009081556001600160a01b03808616825260376020526040918290206006810154925163cf478a7960e01b815290929091169073__$69254465eb8f179ea24caa73cf68b23524$__9063cf478a7990611ff79085908a9089906004016151b2565b60006040518083038186803b15801561200f57600080fd5b505af4158015612023573d6000803e3d6000fd5b5050505061203082613350565b612043828760008763ffffffff61340816565b8261207c5760098201546001600160a01b038616600090815260386020526040812061207c929091600160d01b90910460ff1690613821565b6006820154604051634efecaa560e01b81526001600160a01b0390911690634efecaa5906120b09088908890600401614bbb565b602060405180830381600087803b1580156120ca57600080fd5b505af11580156120de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121029190614a2d565b50846001600160a01b0316866001600160a01b03167f9c4ed599cd8555b9c1e8cd7643240d7d71eb76b792948c49fcb4d411f7b6b3c68642604051611f5b9291906152f7565b603554604080516385c858b160e01b8152905133926001600160a01b0316916385c858b1916004808301926020929190829003018186803b15801561218c57600080fd5b505afa1580156121a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121c49190614680565b6001600160a01b0316146121ea5760405162461bcd60e51b81526004016101c990614fee565b6001600160a01b03909116600090815260376020526040902060050155565b6001600160a01b038116600090815260386020908152604080832081518084018352905481526039805483518186028101860190945280845285948594859485948594612318948c94603794939092909183018282801561229357602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311612275575b505060355460408051631f94a27560e31b815290516001600160a01b03909216945063fca513a893506004808201935060209291829003018186803b1580156122db57600080fd5b505afa1580156122ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123139190614680565b6139ad565b60405163d609bd1b60e01b8152949a5092985095509350915073__$7347ff53b2b46c21e26a37164ae7f6739f$__9063d609bd1b9061235f9089908990879060040161530e565b60206040518083038186803b15801561237757600080fd5b505af415801561238b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123af9190614a2d565b935091939550919395565b6123c26145b0565b506001600160a01b03166000908152603760209081526040918290208251918201909252600590910154815290565b60006123fb613ead565b60025490915060ff16806124125750612412613eb2565b8061241e575060015481115b61243a5760405162461bcd60e51b81526004016101c990614f69565b60025460ff1615801561245b576002805460ff191660019081179091558290555b603580546001600160a01b0319166001600160a01b03858116919091179182905560408051633efbbf0f60e21b81529051929091169163fbeefc3c91600480820192602092909190829003018186803b1580156124b757600080fd5b505afa1580156124cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124ef9190614680565b603680546001600160a01b0319166001600160a01b03929092169190911790558015612520576002805460ff191690555b505050565b6035546001600160a01b031681565b600260005414156125575760405162461bcd60e51b81526004016101c9906150f9565b600260009081556001600160a01b03851681526037602090815260408083203384526038909252822090916126a5612591600585016132a4565b600a0a61159c88603560009054906101000a90046001600160a01b03166001600160a01b031663fca513a86040518163ffffffff1660e01b815260040160206040518083038186803b1580156125e657600080fd5b505afa1580156125fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061261e9190614680565b6001600160a01b031663b3596f078c6040518263ffffffff1660e01b81526004016126499190614ba7565b60206040518083038186803b15801561266157600080fd5b505afa158015612675573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126999190614a2d565b9063ffffffff61385c16565b905073__$69254465eb8f179ea24caa73cf68b23524$__63dfb6b2d7848989858a6019603760386000336001600160a01b03166001600160a01b031681526020019081526020016000206039603560009054906101000a90046001600160a01b03166001600160a01b031663fca513a86040518163ffffffff1660e01b815260040160206040518083038186803b15801561273f57600080fd5b505afa158015612753573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127779190614680565b6040518b63ffffffff1660e01b815260040161279c9a99989796959493929190615258565b60006040518083038186803b1580156127b457600080fd5b505af41580156127c8573d6000803e3d6000fd5b5050505060038301546127da84613350565b60018660028111156127e857fe5b60028111156127f357fe5b14156128ec576007840154604051630ab714fb60e11b81526001600160a01b039091169063156e29f69061282f9033908b908690600401614bd4565b600060405180830381600087803b15801561284957600080fd5b505af115801561285d573d6000803e3d6000fd5b505050506007840154604051631e739ae360e21b81526000916001600160a01b0316906379ce6b8c90612894903390600401614ba7565b60206040518083038186803b1580156128ac57600080fd5b505afa1580156128c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128e49190614af4565b905050612953565b60088401546040516340c10f1960e01b81526001600160a01b03909116906340c10f19906129209033908b90600401614bbb565b600060405180830381600087803b15801561293a57600080fd5b505af115801561294e573d6000803e3d6000fd5b505050505b612966848960008a63ffffffff61340816565b600984015460408051602081019091528454815261298d91600160d01b900460ff16613eb8565b6129ad5760098401546129ad908490600160d01b900460ff16600161378e565b6006840154604051634efecaa560e01b81526001600160a01b0390911690634efecaa5906129e19033908b90600401614bbb565b602060405180830381600087803b1580156129fb57600080fd5b505af1158015612a0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a339190614a2d565b5061ffff8516336001600160a01b038a167fe002884724be85e729c98360169e709585b299ace6fbe12aa791d2fee6f652808a8a60018c6002811115612a7557fe5b6002811115612a8057fe5b14612a8f578960020154612a91565b865b42604051612aa29493929190615324565b60405180910390a450506001600055505050505050565b60026000541415612adc5760405162461bcd60e51b81526004016101c9906150f9565b600260009081556001600160a01b03808416825260376020526040808320600781015491516370a0823160e01b81529093919092169182906370a0823190612b28908790600401614ba7565b60206040518083038186803b158015612b4057600080fd5b505afa158015612b54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b789190614a2d565b905060008111612b9a5760405162461bcd60e51b81526004016101c990614f0c565b6000612bd3612bc26aa56fa5b99019a5c8000000612bb6613ec8565b9063ffffffff61332b16565b60038601549063ffffffff613ed816565b90506000836001600160a01b031663e78c9b3b876040518263ffffffff1660e01b8152600401612c039190614ba7565b60206040518083038186803b158015612c1b57600080fd5b505afa158015612c2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c539190614a2d565b90508460010154811080612c6657508181115b612c825760405162461bcd60e51b81526004016101c990614e2a565b612c8b85613350565b604051632770a7eb60e21b81526001600160a01b03851690639dc29fac90612cb99089908790600401614bbb565b600060405180830381600087803b158015612cd357600080fd5b505af1158015612ce7573d6000803e3d6000fd5b5050506003860154604051630ab714fb60e11b81526001600160a01b038716925063156e29f691612d1e918a918891600401614bd4565b600060405180830381600087803b158015612d3857600080fd5b505af1158015612d4c573d6000803e3d6000fd5b50612d66925087915089905060008063ffffffff61340816565b856001600160a01b0316876001600160a01b03167f443060d15ff6dac05881a7c07a46ef8085d8af4399e436be6c25250df40c5f1842604051612da99190615305565b60405180910390a3505050505050506001600055565b60001981565b6001600160a01b0381166000908152603760205260408120610ea090613f1a565b6001600160a01b0390811660009081526037602052604090206006810154600782015460089092015490831693918316921690565b60026000541415612e3e5760405162461bcd60e51b81526004016101c9906150f9565b600260009081556001600160a01b03841681526037602052604090819020905163b25dc48d60e01b815273__$69254465eb8f179ea24caa73cf68b23524$__9063b25dc48d90612e9490849087906004016152f7565b60006040518083038186803b158015612eac57600080fd5b505af4158015612ec0573d6000803e3d6000fd5b50505060068201546040516370a0823160e01b81526001600160a01b03909116915060009082906370a0823190612efb903390600401614ba7565b60206040518083038186803b158015612f1357600080fd5b505afa158015612f27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f4b9190614a2d565b159050612f5783613350565b612f6a838787600063ffffffff61340816565b8015612f99576009830154336000908152603860205260409020612f9991600160d01b900460ff166001613821565b6040516394362e8b60e01b81526001600160a01b038316906394362e8b90612fc79033908990600401614bbb565b600060405180830381600087803b158015612fe157600080fd5b505af1158015612ff5573d6000803e3d6000fd5b5061300f925050506001600160a01b0387163384886137c3565b8361ffff16336001600160a01b0316876001600160a01b03167fc12c57b1c73a2c3a2ea4613e9476abb3d8d146857aab7329e24243fb59710c8288426040516130599291906152f7565b60405180910390a45050600160005550505050565b60078101546040516370a0823160e01b815260009182916001600160a01b03909116906370a08231906130a5908790600401614ba7565b60206040518083038186803b1580156130bd57600080fd5b505afa1580156130d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130f59190614a2d565b60088401546040516370a0823160e01b81526001600160a01b03909116906370a0823190613127908890600401614ba7565b60206040518083038186803b15801561313f57600080fd5b505afa158015613153573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131779190614a2d565b915091509250929050565b600781015460405163631a6fd560e11b815260009182916001600160a01b039091169063c634dfaa906131b9908790600401614ba7565b60206040518083038186803b1580156131d157600080fd5b505afa1580156131e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132099190614a2d565b600884015460405163631a6fd560e11b81526001600160a01b039091169063c634dfaa90613127908890600401614ba7565b815160016002830281019190911c16151592915050565b600981015460009064ffffffffff600160a01b909104811690421681141561328057505060048101546105cc565b60006105c78460040154613298866002015485613f5d565b9063ffffffff613ed816565b5460301c610f01600160d01b031690565b54670fffffffffff0000191690565b5460101c650fffffff0001600160f01b031690565b5460201c630fff0001600160e01b031690565b54603a1c6003600160c61b0316151590565b54603b1c151590565b5460381c600f600160c81b0316151590565b5460391c6007600160c71b0316151590565b600082820183811015611b225760405162461bcd60e51b81526004016101c990614df3565b600061335b82614073565b905080156133e4576001820154600983015460009161338791600160a01b900464ffffffffff16614188565b835490915061339d90829063ffffffff613ed816565b8355600283015460098401546000916133c391600160a01b900464ffffffffff16613f5d565b90506133dc846004015482613ed890919063ffffffff16565b600485015550505b50600901805464ffffffffff60a01b1916600160a01b4264ffffffffff1602179055565b60078401546040805163487b7e7960e11b815290516000926001600160a01b0316916390f6fcf2916004808301926020929190829003018186803b15801561344f57600080fd5b505afa158015613463573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134879190614a2d565b60068601546040516370a0823160e01b81529192506000916001600160a01b03878116926370a08231926134c19290911690600401614ba7565b60206040518083038186803b1580156134d957600080fd5b505afa1580156134ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135119190614a2d565b6009870154909150600090819081906001600160a01b03166357e37af08961354f89613543898d63ffffffff61332b16565b9063ffffffff61374c16565b8c60070160009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561359f57600080fd5b505afa1580156135b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135d79190614a2d565b8d60080160009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561362757600080fd5b505afa15801561363b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061365f9190614a2d565b8a6040518663ffffffff1660e01b8152600401613680959493929190614d09565b60606040518083038186803b15801561369857600080fd5b505afa1580156136ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136d09190614ac7565b60018c0183905560038c0182905560028c018190558b5460048d01546040519497509295509093506001600160a01b038b16927f131cf1f61e39fd78f61f07d78533f5b6c13629c80ef6965983e92c72efbaa4a49261373992889288928c928992909190615397565b60405180910390a2505050505050505050565b6000611b2283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506141f1565b816002028161379e5760006137a1565b60015b60ff16901b826002026001901b19846000015416178360000181905550505050565b61381b846323b872dd60e01b8585856040516024016137e493929190614c91565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261421d565b50505050565b8160020260010181613834576000613837565b60015b60ff16901b826002026001016001901b19846000015416178360000181905550505050565b60008261386b57506000610ea0565b8282028284828161387857fe5b0414611b225760405162461bcd60e51b81526004016101c990614ecb565b6000611b2283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506142ac565b6000805b60395481101561392557826001600160a01b0316603982815481106138fd57fe5b6000918252602090912001546001600160a01b0316141561391d57600191505b6001016138dc565b50806139a957603980546001600160a01b0384166000818152603760205260408120600901805460ff909416600160d01b0260ff60d01b19909416939093179092558254600181018455929091527fdc16fef70f8d5ddbc01ee3d903d1e69c18a3c7be080eb86a81e0578814ee58d390910180546001600160a01b03191690911790555b5050565b60008060008060006139bd6145c3565b6139c6896142e3565b156139e35750600094508493508392508291506000199050613ea0565b600060e08201525b87518160e001511015613df35760e0810151613a0e908a9063ffffffff6142e816565b613a1757613de3565b878160e0015181518110613a2757fe5b6020908102919091018101516001600160a01b031661020083018190526000908152908b905260409020613a5d600582016142f8565b6080860181905260c08601929092525060a0840191909152600a0a602083015261020082015160405163b3596f0760e01b81526001600160a01b038a169163b3596f0791613aae9190600401614ba7565b60206040518083038186803b158015613ac657600080fd5b505afa158015613ada573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613afe9190614a2d565b825260a082015115801590613b24575060e0820151613b24908b9063ffffffff61323b16565b15613c555760068101546040516370a0823160e01b81526001600160a01b03909116906370a0823190613b5b908f90600401614ba7565b60206040518083038186803b158015613b7357600080fd5b505afa158015613b87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613bab9190614a2d565b6040830181905260208301518351600092613bd0929161159c9163ffffffff61385c16565b610120840151909150613be9908263ffffffff61332b16565b61012084015260a0830151613c1b90613c0990839063ffffffff61385c16565b6101808501519063ffffffff61332b16565b61018084015260c0830151613c4d90613c3b90839063ffffffff61385c16565b6101a08501519063ffffffff61332b16565b6101a0840152505b60e0820151613c6b908b9063ffffffff613eb816565b15613de15760078101546040516370a0823160e01b81526001600160a01b03909116906370a0823190613ca2908f90600401614ba7565b60206040518083038186803b158015613cba57600080fd5b505afa158015613cce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613cf29190614a2d565b826060018181525050613da28160080160009054906101000a90046001600160a01b03166001600160a01b03166370a082318e6040518263ffffffff1660e01b8152600401613d419190614ba7565b60206040518083038186803b158015613d5957600080fd5b505afa158015613d6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d919190614a2d565b60608401519063ffffffff61332b16565b6060830181905260208301518351613dda92613dc8929161159c9163ffffffff61385c16565b6101408401519063ffffffff61332b16565b6101408301525b505b60e08101805160010190526139eb565b600081610120015111613e07576000613e22565b610120810151610180820151613e229163ffffffff61389616565b610180820152610120810151613e39576000613e54565b6101208101516101a0820151613e549163ffffffff61389616565b6101a08201819052610120820151610140830151613e719261433f565b61010082018190526101208201516101408301516101808401516101a090940151919850965091945090925090505b9550955095509550959050565b600290565b303b1590565b9051600160029092021c16151590565b6b033b2e3c9fd0803ce800000090565b6000611b226b033b2e3c9fd0803ce800000061159c613efd868663ffffffff61385c16565b60026b033b2e3c9fd0803ce80000005b049063ffffffff61332b16565b600981015460009064ffffffffff600160a01b9091048116904216811415613f4557505080546105cc565b60006105c78460000154613298866001015485614188565b600080613f774264ffffffffff851663ffffffff61374c16565b905080613f8e57613f86613ec8565b915050610ea0565b6000613fa182600163ffffffff61374c16565b9050600060028311613fb4576000613fc5565b613fc583600263ffffffff61374c16565b90506000613fdd876301e1338063ffffffff61389616565b90506000613ff1828063ffffffff613ed816565b90506000614005828463ffffffff613ed816565b90506000614022600261159c856126998b8b63ffffffff61385c16565b90506000614041600661159c856126998a818e8e63ffffffff61385c16565b905061406481612bb6848161405c8a8e63ffffffff61385c16565b612bb6613ec8565b9b9a5050505050505050505050565b6000610ea08260080160009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156140c857600080fd5b505afa1580156140dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906141009190614a2d565b8360070160009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561415057600080fd5b505afa158015614164573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bb69190614a2d565b6000806141a24264ffffffffff851663ffffffff61374c16565b905060006141cb6141b66301e1338061436f565b6141bf8461436f565b9063ffffffff61438516565b90506141e86141d8613ec8565b612bb6878463ffffffff613ed816565b95945050505050565b600081848411156142155760405162461bcd60e51b81526004016101c99190614d8f565b505050900390565b6060614272826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166143bd9092919063ffffffff16565b805190915015612520578080602001905181019061429091906149f9565b6125205760405162461bcd60e51b81526004016101c9906150af565b600081836142cd5760405162461bcd60e51b81526004016101c99190614d8f565b5060008385816142d957fe5b0495945050505050565b511590565b9051600360029092021c16151590565b54670fffffffffff000019811691601082901c650fffffff0001600160f01b031691602081901c630fff0001600160e01b03169160309190911c610f01600160d01b031690565b60008261434f5750600019611b22565b611b1f83614363868563ffffffff6143cc16565b9063ffffffff6143f116565b6000610ea082633b9aca0063ffffffff61385c16565b6000600282046143b58361159c6143a8876b033b2e3c9fd0803ce800000061385c565b849063ffffffff61332b16565b949350505050565b6060611b1f8484600085614410565b6000611b2261271061159c6143e7868663ffffffff61385c16565b6002612710613f0d565b6000600282046143b58361159c6143a887670de0b6b3a764000061385c565b606061441b85610593565b6144375760405162461bcd60e51b81526004016101c99061500a565b60006060866001600160a01b031685876040516144549190614b8b565b60006040518083038185875af1925050503d8060008114614491576040519150601f19603f3d011682016040523d82523d6000602084013e614496565b606091505b509150915081156144aa5791506143b59050565b8051156144ba5780518082602001fd5b8360405162461bcd60e51b81526004016101c99190614d8f565b604051806101a00160405280600081526020016000815260200160008152602001600081526020016000815260200161450b6145b0565b815260006020820181905260408201819052606082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b6040518060c00160405280600081526020016000815260200160008152602001600081526020016000815260200160006001600160a01b031681525090565b6040518060200160405280600081525090565b60405180610260016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160001515815260200160006001600160a01b031681526020016000151581526020016000151581525090565b600060208284031215614675578081fd5b8135611b22816154db565b600060208284031215614691578081fd5b8151611b22816154db565b600080604083850312156146ae578081fd5b82356146b9816154db565b915060208301356146c9816154db565b809150509250929050565b600080600080608085870312156146e9578182fd5b84356146f4816154db565b93506020850135614704816154db565b93969395505050506040820135916060013590565b600080600080600060a08688031215614730578081fd5b853561473b816154db565b9450602086013561474b816154db565b9350604086013561475b816154db565b9250606086013561476b816154db565b9150608086013561477b816154db565b809150509295509295909350565b600080600080600060a086880312156147a0578081fd5b85356147ab816154db565b945060208601356147bb816154db565b935060408601356147cb816154db565b925060608601359150608086013561477b816154f3565b6000806000606084860312156147f6578283fd5b8335614801816154db565b92506020840135614811816154db565b929592945050506040919091013590565b60008060008060808587031215614837578384fd5b8435614842816154db565b93506020850135614852816154db565b925060408501359150606085013567ffffffffffffffff811115614874578182fd5b80860187601f820112614885578283fd5b8035915061489a61489583615480565b615459565b8281528860208484010111156148ae578384fd5b8260208301602083013791820160200192909252939692955090935050565b600080604083850312156148df578182fd5b82356148ea816154db565b915060208301356146c9816154f3565b6000806040838503121561490c578182fd5b8235614917816154db565b946020939093013593505050565b600080600060608486031215614939578081fd5b8335614944816154db565b925060208401359150604084013561ffff81168114614961578182fd5b809150509250925092565b60008060008060808587031215614981578182fd5b843561498c816154db565b9350602085013592506040850135915060608501356149aa816154db565b939692955090935050565b600080600080608085870312156149ca578182fd5b84356149d5816154db565b93506020850135925060408501359150606085013561ffff811681146149aa578182fd5b600060208284031215614a0a578081fd5b8151611b22816154f3565b600060208284031215614a26578081fd5b5035919050565b600060208284031215614a3e578081fd5b5051919050565b60008060408385031215614a57578182fd5b82519150602083015167ffffffffffffffff811115614a74578182fd5b80840185601f820112614a85578283fd5b80519150614a9561489583615480565b828152866020848401011115614aa9578384fd5b614aba8360208301602085016154af565b8093505050509250929050565b600080600060608486031215614adb578081fd5b8351925060208401519150604084015190509250925092565b600060208284031215614b05578081fd5b815164ffffffffff81168114611b22578182fd5b6000815480845260208085019450838352808320835b83811015614b545781546001600160a01b031687529582019560019182019101614b2f565b509495945050505050565b60008151808452614b778160208601602086016154af565b601f01601f19169290920160200192915050565b60008251614b9d8184602087016154af565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b039390931683526020830191909152604082015260600190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090614c2f90830184614b5f565b979650505050505050565b6001600160a01b0393841681529183166020830152909116604082015260600190565b6001600160a01b03958616815293851660208501529190931660408301526060820192909252901515608082015260a00190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b600060018060a01b03808a16835280891660208401528760408401528660608401528554608084015260e060a0840152614cf260e0840186614b19565b915080841660c08401525098975050505050505050565b6001600160a01b03959095168552602085019390935260408401919091526060830152608082015260a00190565b6020808252825182820181905260009190848201906040850190845b81811015614d785783516001600160a01b031683529284019291840191600101614d53565b50909695505050505050565b901515815260200190565b600060208252611b226020830184614b5f565b60208082526031908201527f5468657265206973206e6f7420656e6f756768206c697175696469747920617660408201527061696c61626c6520746f20626f72726f7760781b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252602f908201527f496e746572657374207261746520726562616c616e636520636f6e646974696f60408201526e1b9cc81dd95c99481b9bdd081b595d608a1b606082015260800190565b60208082526032908201527f5468652061637475616c2062616c616e6365206f66207468652070726f746f636040820152711bdb081a5cc81a5b98dbdb9cda5cdd195b9d60721b606082015260800190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b60208082526038908201527f5573657220646f6573206e6f74206861766520616e7920737461626c6520726160408201527f7465206c6f616e20666f72207468697320726573657276650000000000000000606082015260800190565b6020808252602e908201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560408201526d195b881a5b9a5d1a585b1a5e995960921b606082015260800190565b60208082526017908201527f4c69717569646174696f6e2063616c6c206661696c6564000000000000000000604082015260600190565b602080825260029082015261033360f41b604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b602080825260029082015261191960f11b604082015260600190565b60208082526032908201527f5468652072657175657374656420616d6f756e7420697320746f6f20736d616c60408201527136103337b9103090233630b9b42637b0b71760711b606082015260800190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b9051815260200190565b9485526001600160a01b03938416602086015291831660408501528216606084015216608082015260a00190565b600087825260018060a01b03808816602084015286604084015285606084015260c0608084015261519c60c0840186614b19565b915080841660a084015250979650505050505050565b9283526001600160a01b03919091166020830152604082015260600190565b8981526001600160a01b038981166020830152604082018990526101208201906151fa896154a4565b606084015296909616608082015260a081019490945260c084019290925260e083015261010090910152949350505050565b9485526001600160a01b0393909316602085015260408401919091526060830152608082015260a00190565b60006101408c835260018060a01b03808d1660208501528b60408501528a60608501528960808501528860a08501528760c08501528660e0850152816101008501526152a682850187614b19565b925080851661012085015250509b9a5050505050505050505050565b600060a0820190508682528560208301528460408301528360608301526152e8836154a4565b60808301529695505050505050565b918252602082015260400190565b90815260200190565b9283526020830191909152604082015260600190565b93845260208401929092526040830152606082015260800190565b998a5260208a0198909852604089019690965260608801949094526001600160a01b03929092166080870152151560a0860152151560c0850152151560e0840152151561010083015215156101208201526101400190565b958652602086019490945260408501929092526060840152608083015260a082015260c00190565b998a5260208a019890985260408901969096526060880194909452608087019290925260a086015260c085015260e084015261010083015264ffffffffff166101208201526101400190565b998a5260208a019890985260408901969096526060880194909452608087019290925260a086015260c085015260e084015264ffffffffff1661010083015215156101208201526101400190565b60405181810167ffffffffffffffff8111828210171561547857600080fd5b604052919050565b600067ffffffffffffffff821115615496578081fd5b50601f01601f191660200190565b80600381106105cc57fe5b60005b838110156154ca5781810151838201526020016154b2565b8381111561381b5750506000910152565b6001600160a01b03811681146154f057600080fd5b50565b80151581146154f057600080fdfea2646970667358221220ee02f31c3066707fa382168666fa03de7ce29ad070a158999ef519faa53410e764736f6c63430006080033"; export interface LendingPoolLibraryAddresses { - ['__$69254465eb8f179ea24caa73cf68b23524$__']: string; - ['__$5e6137a1b5a0a366e2874209b5abf71c10$__']: string; - ['__$7347ff53b2b46c21e26a37164ae7f6739f$__']: string; + ["__$69254465eb8f179ea24caa73cf68b23524$__"]: string; + ["__$5e6137a1b5a0a366e2874209b5abf71c10$__"]: string; + ["__$7347ff53b2b46c21e26a37164ae7f6739f$__"]: string; } diff --git a/types/LendingPoolLiquidationManagerFactory.ts b/types/LendingPoolLiquidationManagerFactory.ts index ea20a1d3..a7316400 100644 --- a/types/LendingPoolLiquidationManagerFactory.ts +++ b/types/LendingPoolLiquidationManagerFactory.ts @@ -1,19 +1,21 @@ /* Generated by ts-generator ver. 0.0.8 */ /* tslint:disable */ -import {Contract, ContractFactory, Signer} from 'ethers'; -import {Provider} from 'ethers/providers'; -import {UnsignedTransaction} from 'ethers/utils/transaction'; +import { Contract, ContractFactory, Signer } from "ethers"; +import { Provider } from "ethers/providers"; +import { UnsignedTransaction } from "ethers/utils/transaction"; -import {TransactionOverrides} from '.'; -import {LendingPoolLiquidationManager} from './LendingPoolLiquidationManager'; +import { TransactionOverrides } from "."; +import { LendingPoolLiquidationManager } from "./LendingPoolLiquidationManager"; export class LendingPoolLiquidationManagerFactory extends ContractFactory { constructor(signer?: Signer) { super(_abi, _bytecode, signer); } - deploy(overrides?: TransactionOverrides): Promise { + deploy( + overrides?: TransactionOverrides + ): Promise { return super.deploy(overrides) as Promise; } getDeployTransaction(overrides?: TransactionOverrides): UnsignedTransaction { @@ -29,7 +31,11 @@ export class LendingPoolLiquidationManagerFactory extends ContractFactory { address: string, signerOrProvider: Signer | Provider ): LendingPoolLiquidationManager { - return new Contract(address, _abi, signerOrProvider) as LendingPoolLiquidationManager; + return new Contract( + address, + _abi, + signerOrProvider + ) as LendingPoolLiquidationManager; } } @@ -39,133 +45,133 @@ const _abi = [ inputs: [ { indexed: true, - internalType: 'address', - name: '_collateral', - type: 'address', + internalType: "address", + name: "_collateral", + type: "address" }, { indexed: true, - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { indexed: true, - internalType: 'address', - name: '_user', - type: 'address', + internalType: "address", + name: "_user", + type: "address" }, { indexed: false, - internalType: 'uint256', - name: '_purchaseAmount', - type: 'uint256', + internalType: "uint256", + name: "_purchaseAmount", + type: "uint256" }, { indexed: false, - internalType: 'uint256', - name: '_liquidatedCollateralAmount', - type: 'uint256', + internalType: "uint256", + name: "_liquidatedCollateralAmount", + type: "uint256" }, { indexed: false, - internalType: 'address', - name: '_liquidator', - type: 'address', + internalType: "address", + name: "_liquidator", + type: "address" }, { indexed: false, - internalType: 'bool', - name: '_receiveAToken', - type: 'bool', + internalType: "bool", + name: "_receiveAToken", + type: "bool" }, { indexed: false, - internalType: 'uint256', - name: '_timestamp', - type: 'uint256', - }, + internalType: "uint256", + name: "_timestamp", + type: "uint256" + } ], - name: 'LiquidationCall', - type: 'event', + name: "LiquidationCall", + type: "event" }, { inputs: [], - name: 'addressesProvider', + name: "addressesProvider", outputs: [ { - internalType: 'contract LendingPoolAddressesProvider', - name: '', - type: 'address', - }, + internalType: "contract LendingPoolAddressesProvider", + name: "", + type: "address" + } ], - stateMutability: 'view', - type: 'function', + stateMutability: "view", + type: "function" }, { inputs: [ { - internalType: 'address', - name: '_collateral', - type: 'address', + internalType: "address", + name: "_collateral", + type: "address" }, { - internalType: 'address', - name: '_reserve', - type: 'address', + internalType: "address", + name: "_reserve", + type: "address" }, { - internalType: 'address', - name: '_user', - type: 'address', + internalType: "address", + name: "_user", + type: "address" }, { - internalType: 'uint256', - name: '_purchaseAmount', - type: 'uint256', + internalType: "uint256", + name: "_purchaseAmount", + type: "uint256" }, { - internalType: 'bool', - name: '_receiveAToken', - type: 'bool', - }, + internalType: "bool", + name: "_receiveAToken", + type: "bool" + } ], - name: 'liquidationCall', + name: "liquidationCall", outputs: [ { - internalType: 'uint256', - name: '', - type: 'uint256', + internalType: "uint256", + name: "", + type: "uint256" }, { - internalType: 'string', - name: '', - type: 'string', - }, + internalType: "string", + name: "", + type: "string" + } ], - stateMutability: 'payable', - type: 'function', + stateMutability: "payable", + type: "function" }, { inputs: [ { - internalType: 'uint256', - name: '', - type: 'uint256', - }, + internalType: "uint256", + name: "", + type: "uint256" + } ], - name: 'reservesList', + name: "reservesList", outputs: [ { - internalType: 'address', - name: '', - type: 'address', - }, + internalType: "address", + name: "", + type: "address" + } ], - stateMutability: 'view', - type: 'function', - }, + stateMutability: "view", + type: "function" + } ]; const _bytecode = - '0x6080604052600060015534801561001557600080fd5b5060016000556124208061002a6000396000f3fe6080604052600436106100335760003560e01c8062a718a9146100385780634fe7a6e5146100fb578063c72c4d1014610141575b600080fd5b61007c600480360360a081101561004e57600080fd5b506001600160a01b038135811691602081013582169160408201351690606081013590608001351515610156565b6040518083815260200180602001828103825283818151815260200191508051906020019080838360005b838110156100bf5781810151838201526020016100a7565b50505050905090810190601f1680156100ec5780820380516001836020036101000a031916815260200191505b50935050505060405180910390f35b34801561010757600080fd5b506101256004803603602081101561011e57600080fd5b5035610951565b604080516001600160a01b039092168252519081900360200190f35b34801561014d57600080fd5b50610125610978565b6001600160a01b0380851660009081526037602090815260408083208985168452818420948816845260389092528220919260609261019361214e565b6001600160a01b03891660009081526038602090815260409182902082518083018452905481526039805484518185028101850190955280855261028c948e946037949391929083018282801561021357602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116101f5575b505060355460408051631f94a27560e31b815290516001600160a01b03909216945063fca513a893506004808201935060209291829003018186803b15801561025b57600080fd5b505afa15801561026f573d6000803e3d6000fd5b505050506040513d602081101561028557600080fd5b5051610987565b6101c08601819052670de0b6b3a76400001193506102d092505050576004604051806060016040528060288152602001612399602891399550955050505050610947565b6006830154604080516370a0823160e01b81526001600160a01b038c81166004830152915191909216916370a08231916024808301926020929190829003018186803b15801561031f57600080fd5b505afa158015610333573d6000803e3d6000fd5b505050506040513d602081101561034957600080fd5b50518152600061035b60058501610e64565b11801561038a5750600983015460408051602081019091528354815261038a91600160d01b900460ff16610e79565b151561020082018190526103c05760026040518060600160405280602a815260200161231b602a91399550955050505050610947565b6103ca8985610e91565b6040830152602082018190521580156103e557506040810151155b156104125760036040518060600160405280602a81526020016123c1602a91399550955050505050610947565b61043f61138861043383604001518460200151610f9490919063ffffffff16565b9063ffffffff610ff516565b6060820181905288116104525787610458565b80606001515b60808201819052815161047391859187918f918f9190611023565b6101a083018190526101808301919091526080820151111561049b576101a081015160808201525b60068301546001600160a01b03166101e0820152866105115760006104d7826101e001518d6001600160a01b03166112ae90919063ffffffff16565b905081610180015181101561050f5760056040518060600160405280603381526020016122e860339139965096505050505050610947565b505b61051a84611358565b60808101516105349085908c90600063ffffffff61141016565b80608001518160400151106105bd576008840154608082015160408051632770a7eb60e21b81526001600160a01b038d81166004830152602482019390935290519190921691639dc29fac91604480830192600092919082900301818387803b1580156105a057600080fd5b505af11580156105b4573d6000803e3d6000fd5b505050506106c4565b60088401546040808301518151632770a7eb60e21b81526001600160a01b038d8116600483015260248201929092529151921691639dc29fac9160448082019260009290919082900301818387803b15801561061857600080fd5b505af115801561062c573d6000803e3d6000fd5b505050506007840154604082015160808301516001600160a01b0390921691639dc29fac918c9161065c916116fd565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156106ab57600080fd5b505af11580156106bf573d6000803e3d6000fd5b505050505b861561074c576101e08101516101808201516040805163f866c31960e01b81526001600160a01b038d8116600483015233602483015260448201939093529051919092169163f866c31991606480830192600092919082900301818387803b15801561072f57600080fd5b505af1158015610743573d6000803e3d6000fd5b5050505061087c565b61075583611358565b6101808101516107719084908d9060009063ffffffff61141016565b806101e001516001600160a01b0316633edb7cb88a8361018001516040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156107db57600080fd5b505af11580156107ef573d6000803e3d6000fd5b5050506101e082015161018083015160408051634efecaa560e01b81523360048201526024810192909252516001600160a01b039092169250634efecaa59160448083019260209291908290030181600087803b15801561084f57600080fd5b505af1158015610863573d6000803e3d6000fd5b505050506040513d602081101561087957600080fd5b50505b600684015460808201516108aa916001600160a01b038d81169233929190911690600163ffffffff61173f16565b60808082015161018083015160408051928352602083019190915233828201528915156060830152429282019290925290516001600160a01b03808c16928d821692918f16917f54343dd5791108d018f6fb8def2c14d746f777c51e9924962237813a527528709181900360a00190a46000604051806040016040528060098152602001684e6f206572726f727360b81b81525095509550505050505b9550959350505050565b6039818154811061095e57fe5b6000918252602090912001546001600160a01b0316905081565b6035546001600160a01b031681565b60008060008060006109976121e8565b6109a089611932565b156109bd5750600094508493508392508291506000199050610e57565b600060e08201525b87518160e001511015610daa5760e08101516109e8908a9063ffffffff61193716565b6109f157610d9a565b878160e0015181518110610a0157fe5b6020908102919091018101516001600160a01b031661020083018190526000908152908b905260409020610a3760058201611947565b6080860181905260c08601929092525060a0840191909152600a0a6020808401919091526102008301516040805163b3596f0760e01b81526001600160a01b0392831660048201529051918b169263b3596f0792602480840193829003018186803b158015610aa557600080fd5b505afa158015610ab9573d6000803e3d6000fd5b505050506040513d6020811015610acf57600080fd5b5051825260a082015115801590610af7575060e0820151610af7908b9063ffffffff610e7916565b15610c2d576006810154604080516370a0823160e01b81526001600160a01b038f81166004830152915191909216916370a08231916024808301926020929190829003018186803b158015610b4b57600080fd5b505afa158015610b5f573d6000803e3d6000fd5b505050506040513d6020811015610b7557600080fd5b50516040830181905260208301518351600092610ba89291610b9c9163ffffffff61198e16565b9063ffffffff6119e716565b610120840151909150610bc1908263ffffffff610f9416565b61012084015260a0830151610bf390610be190839063ffffffff61198e16565b6101808501519063ffffffff610f9416565b61018084015260c0830151610c2590610c1390839063ffffffff61198e16565b6101a08501519063ffffffff610f9416565b6101a0840152505b60e0820151610c43908b9063ffffffff611a2916565b15610d98576007810154604080516370a0823160e01b81526001600160a01b038f81166004830152915191909216916370a08231916024808301926020929190829003018186803b158015610c9757600080fd5b505afa158015610cab573d6000803e3d6000fd5b505050506040513d6020811015610cc157600080fd5b505160608301526008810154604080516370a0823160e01b81526001600160a01b038f811660048301529151610d599392909216916370a0823191602480820192602092909190829003018186803b158015610d1c57600080fd5b505afa158015610d30573d6000803e3d6000fd5b505050506040513d6020811015610d4657600080fd5b505160608401519063ffffffff610f9416565b6060830181905260208301518351610d9192610d7f9291610b9c9163ffffffff61198e16565b6101408401519063ffffffff610f9416565b6101408301525b505b60e08101805160010190526109c5565b600081610120015111610dbe576000610dd9565b610120810151610180820151610dd99163ffffffff6119e716565b610180820152610120810151610df0576000610e0b565b6101208101516101a0820151610e0b9163ffffffff6119e716565b6101a08201819052610120820151610140830151610e2892611a39565b61010082018190526101208201516101408301516101808401516101a090940151919850965091945090925090505b9550955095509550959050565b5460101c650fffffff0001600160f01b031690565b815160016002830281019190911c1615155b92915050565b6007810154604080516370a0823160e01b81526001600160a01b0385811660048301529151600093849316916370a08231916024808301926020929190829003018186803b158015610ee257600080fd5b505afa158015610ef6573d6000803e3d6000fd5b505050506040513d6020811015610f0c57600080fd5b50516008840154604080516370a0823160e01b81526001600160a01b038881166004830152915191909216916370a08231916024808301926020929190829003018186803b158015610f5d57600080fd5b505afa158015610f71573d6000803e3d6000fd5b505050506040513d6020811015610f8757600080fd5b5051909590945092505050565b600082820183811015610fee576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000610fee612710610b9c611010868663ffffffff61198e16565b60026127105b049063ffffffff610f9416565b60355460408051631f94a27560e31b81529051600092839283926001600160a01b039092169163fca513a891600480820192602092909190829003018186803b15801561106f57600080fd5b505afa158015611083573d6000803e3d6000fd5b505050506040513d602081101561109957600080fd5b505190506110a5612289565b816001600160a01b031663b3596f07896040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b1580156110fb57600080fd5b505afa15801561110f573d6000803e3d6000fd5b505050506040513d602081101561112557600080fd5b5051604080830191909152805163b3596f0760e01b81526001600160a01b03898116600483015291519184169163b3596f0791602480820192602092909190829003018186803b15801561117857600080fd5b505afa15801561118c573d6000803e3d6000fd5b505050506040513d60208110156111a257600080fd5b505160608201526111b560058b01611947565b60c08501526020840152506111ce905060058a01611a71565b60a082018190526020820151604083015161122792610433916111f991600a0a63ffffffff61198e16565b610b9c8560c00151600a0a61121b8c886060015161198e90919063ffffffff16565b9063ffffffff61198e16565b608082018190528510156112965784935061128f81602001516112836112618460c00151600a0a856060015161198e90919063ffffffff16565b610b9c8560a00151600a0a61121b8a886040015161198e90919063ffffffff16565b9063ffffffff611a8216565b92506112a1565b806080015193508592505b5050965096945050505050565b60006112b983611aa8565b156112cf57506001600160a01b03811631610e8b565b826001600160a01b03166370a08231836040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561132557600080fd5b505afa158015611339573d6000803e3d6000fd5b505050506040513d602081101561134f57600080fd5b50519050610e8b565b600061136382611acd565b905080156113ec576001820154600983015460009161138f91600160a01b900464ffffffffff16611bcd565b83549091506113a590829063ffffffff611c4216565b8355600283015460098401546000916113cb91600160a01b900464ffffffffff16611c7b565b90506113e4846004015482611c4290919063ffffffff16565b600485015550505b50600901805464ffffffffff60a01b1916600160a01b4264ffffffffff1602179055565b60078401546040805163487b7e7960e11b815290516000926001600160a01b0316916390f6fcf2916004808301926020929190829003018186803b15801561145757600080fd5b505afa15801561146b573d6000803e3d6000fd5b505050506040513d602081101561148157600080fd5b505160068601549091506000906114aa906001600160a01b03878116911663ffffffff6112ae16565b6009870154909150600090819081906001600160a01b03166357e37af0896114e8896114dc898d63ffffffff610f9416565b9063ffffffff6116fd16565b8c60070160009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561153857600080fd5b505afa15801561154c573d6000803e3d6000fd5b505050506040513d602081101561156257600080fd5b505160088e0154604080516318160ddd60e01b815290516001600160a01b03909216916318160ddd91600480820192602092909190829003018186803b1580156115ab57600080fd5b505afa1580156115bf573d6000803e3d6000fd5b505050506040513d60208110156115d557600080fd5b5051604080516001600160e01b031960e088901b1681526001600160a01b039095166004860152602485019390935260448401919091526064830152608482018990525160a4808301926060929190829003018186803b15801561163857600080fd5b505afa15801561164c573d6000803e3d6000fd5b505050506040513d606081101561166257600080fd5b50805160208083015160409384015160018e0184905560038e0182905560028e018190558d5460048f015486518681529485018490528487018c905260608501839052608085019190915260a0840152935192965094509192506001600160a01b038a16917f131cf1f61e39fd78f61f07d78533f5b6c13629c80ef6965983e92c72efbaa4a4919081900360c00190a2505050505050505050565b6000610fee83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611cca565b816117495761192b565b61175285611aa8565b1561191057813410156117965760405162461bcd60e51b815260040180806020018281038252602a815260200180612345602a913960400191505060405180910390fd5b6001600160a01b0383163014611849576040516000906001600160a01b0385169061c35090859084818181858888f193505050503d80600081146117f6576040519150601f19603f3d011682016040523d82523d6000602084013e6117fb565b606091505b5050905080611847576040805162461bcd60e51b815260206004820152601360248201527211551217d514905394d1915497d19052531151606a1b604482015290519081900360640190fd5b505b80801561185557508134115b1561190b5760006001600160a01b038516611876348563ffffffff6116fd16565b60405161c35091906000818181858888f193505050503d80600081146118b8576040519150601f19603f3d011682016040523d82523d6000602084013e6118bd565b606091505b5050905080611909576040805162461bcd60e51b815260206004820152601360248201527211551217d514905394d1915497d19052531151606a1b604482015290519081900360640190fd5b505b61192b565b61192b6001600160a01b03861685858563ffffffff611d6116565b5050505050565b511590565b9051600360029092021c16151590565b54670fffffffffff000019811691601082901c650fffffff0001600160f01b031691602081901c630fff0001600160e01b03169160309190911c610f01600160d01b031690565b60008261199d57506000610e8b565b828202828482816119aa57fe5b0414610fee5760405162461bcd60e51b81526004018080602001828103825260218152602001806122c76021913960400191505060405180910390fd5b6000610fee83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611dc1565b9051600160029092021c16151590565b600082611a495750600019610fee565b611a6983611a5d868563ffffffff610ff516565b9063ffffffff611e2616565b949350505050565b5460301c610f01600160d01b031690565b600060028204611a6983610b9c611a9b8761271061198e565b849063ffffffff610f9416565b6001600160a01b03811673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14919050565b6000610e8b8260080160009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015611b2257600080fd5b505afa158015611b36573d6000803e3d6000fd5b505050506040513d6020811015611b4c57600080fd5b50516007840154604080516318160ddd60e01b815290516001600160a01b03909216916318160ddd91600480820192602092909190829003018186803b158015611b9557600080fd5b505afa158015611ba9573d6000803e3d6000fd5b505050506040513d6020811015611bbf57600080fd5b50519063ffffffff610f9416565b600080611be74264ffffffffff851663ffffffff6116fd16565b90506000611c10611bfb6301e13380611e45565b611c0484611e45565b9063ffffffff611e5b16565b9050611c39611c1d611e7e565b611c2d878463ffffffff611c4216565b9063ffffffff610f9416565b95945050505050565b6000610fee6b033b2e3c9fd0803ce8000000610b9c611c67868663ffffffff61198e16565b60026b033b2e3c9fd0803ce8000000611016565b600080611c954264ffffffffff851663ffffffff6116fd16565b90506000611cad856301e1338063ffffffff6119e716565b9050611c3982611cbe611a9b611e7e565b9063ffffffff611e8e16565b60008184841115611d595760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611d1e578181015183820152602001611d06565b50505050905090810190601f168015611d4b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611dbb908590611ee8565b50505050565b60008183611e105760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611d1e578181015183820152602001611d06565b506000838581611e1c57fe5b0495945050505050565b600060028204611a6983610b9c611a9b87670de0b6b3a764000061198e565b6000610e8b82633b9aca0063ffffffff61198e16565b600060028204611a6983610b9c611a9b876b033b2e3c9fd0803ce800000061198e565b6b033b2e3c9fd0803ce800000090565b600060028206611eaa576b033b2e3c9fd0803ce8000000611eac565b825b90506002820491505b8115610e8b57611ec58384611c42565b92506002820615611edd57611eda8184611c42565b90505b600282049150611eb5565b6060611f3d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611f9e9092919063ffffffff16565b805190915015611f9957808060200190516020811015611f5c57600080fd5b5051611f995760405162461bcd60e51b815260040180806020018281038252602a81526020018061236f602a913960400191505060405180910390fd5b505050565b6060611a6984846000856060611fb385612115565b612004576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106120435780518252601f199092019160209182019101612024565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146120a5576040519150601f19603f3d011682016040523d82523d6000602084013e6120aa565b606091505b509150915081156120be579150611a699050565b8051156120ce5780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315611d1e578181015183820152602001611d06565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611a69575050151592915050565b60405180610220016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600060028111156121ad57fe5b81526020016000815260200160008152602001600081526020016000815260200160006001600160a01b031681526020016000151581525090565b60405180610260016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160001515815260200160006001600160a01b031681526020016000151581526020016000151581525090565b6040518060e0016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152509056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7754686572652069736e277420656e6f756768206c697175696469747920617661696c61626c6520746f206c697175696461746554686520636f6c6c61746572616c2063686f73656e2063616e6e6f74206265206c69717569646174656457726f6e67207573616765206f66204554482e756e6976657273616c5472616e7366657246726f6d28295361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565644865616c746820666163746f72206973206e6f742062656c6f7720746865207468726573686f6c645573657220646964206e6f7420626f72726f7720746865207370656369666965642063757272656e6379a264697066735822122041cc6ab040cd2e97aff608e219344c08b0236dbb51ef726f0d541c9a6798975064736f6c63430006080033'; + "0x6080604052600060015534801561001557600080fd5b5060016000556122608061002a6000396000f3fe6080604052600436106100335760003560e01c8062a718a9146100385780634fe7a6e5146100fb578063c72c4d1014610141575b600080fd5b61007c600480360360a081101561004e57600080fd5b506001600160a01b038135811691602081013582169160408201351690606081013590608001351515610156565b6040518083815260200180602001828103825283818151815260200191508051906020019080838360005b838110156100bf5781810151838201526020016100a7565b50505050905090810190601f1680156100ec5780820380516001836020036101000a031916815260200191505b50935050505060405180910390f35b34801561010757600080fd5b506101256004803603602081101561011e57600080fd5b50356109b6565b604080516001600160a01b039092168252519081900360200190f35b34801561014d57600080fd5b506101256109dd565b6001600160a01b03808516600090815260376020908152604080832089851684528184209488168452603890925282209192606092610193611fb8565b6001600160a01b03891660009081526038602090815260409182902082518083018452905481526039805484518185028101850190955280855261028c948e946037949391929083018282801561021357602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116101f5575b505060355460408051631f94a27560e31b815290516001600160a01b03909216945063fca513a893506004808201935060209291829003018186803b15801561025b57600080fd5b505afa15801561026f573d6000803e3d6000fd5b505050506040513d602081101561028557600080fd5b50516109ec565b6101c08601819052670de0b6b3a76400001193506102d0925050505760046040518060600160405280602881526020016121d96028913995509550505050506109ac565b6006830154604080516370a0823160e01b81526001600160a01b038c81166004830152915191909216916370a08231916024808301926020929190829003018186803b15801561031f57600080fd5b505afa158015610333573d6000803e3d6000fd5b505050506040513d602081101561034957600080fd5b50518152600061035b60058501610ec9565b11801561038a5750600983015460408051602081019091528354815261038a91600160d01b900460ff16610ede565b151561020082018190526103c05760026040518060600160405280602a8152602001612185602a913995509550505050506109ac565b6103ca8985610ef6565b6040830152602082018190521580156103e557506040810151155b156104125760036040518060600160405280602a8152602001612201602a913995509550505050506109ac565b61043f61138861043383604001518460200151610ff990919063ffffffff16565b9063ffffffff61105a16565b6060820181905288116104525787610458565b80606001515b60808201819052815161047391859187918f918f9190611088565b6101a083018190526101808301919091526080820151111561049b576101a081015160808201525b60068301546001600160a01b03166101e0820152866105785760008b6001600160a01b03166370a08231836101e001516040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561051157600080fd5b505afa158015610525573d6000803e3d6000fd5b505050506040513d602081101561053b57600080fd5b5051610180830151909150811015610576576005604051806060016040528060338152602001612152603391399650965050505050506109ac565b505b61058184611313565b608081015161059b9085908c90600063ffffffff6113cb16565b8060800151816040015110610624576008840154608082015160408051632770a7eb60e21b81526001600160a01b038d81166004830152602482019390935290519190921691639dc29fac91604480830192600092919082900301818387803b15801561060757600080fd5b505af115801561061b573d6000803e3d6000fd5b5050505061072b565b60088401546040808301518151632770a7eb60e21b81526001600160a01b038d8116600483015260248201929092529151921691639dc29fac9160448082019260009290919082900301818387803b15801561067f57600080fd5b505af1158015610693573d6000803e3d6000fd5b505050506007840154604082015160808301516001600160a01b0390921691639dc29fac918c916106c391611712565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561071257600080fd5b505af1158015610726573d6000803e3d6000fd5b505050505b86156107b3576101e08101516101808201516040805163f866c31960e01b81526001600160a01b038d8116600483015233602483015260448201939093529051919092169163f866c31991606480830192600092919082900301818387803b15801561079657600080fd5b505af11580156107aa573d6000803e3d6000fd5b505050506108e3565b6107bc83611313565b6101808101516107d89084908d9060009063ffffffff6113cb16565b806101e001516001600160a01b0316633edb7cb88a8361018001516040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561084257600080fd5b505af1158015610856573d6000803e3d6000fd5b5050506101e082015161018083015160408051634efecaa560e01b81523360048201526024810192909252516001600160a01b039092169250634efecaa59160448083019260209291908290030181600087803b1580156108b657600080fd5b505af11580156108ca573d6000803e3d6000fd5b505050506040513d60208110156108e057600080fd5b50505b6006840154608082015161090f916001600160a01b038d8116923392919091169063ffffffff61175416565b60808082015161018083015160408051928352602083019190915233828201528915156060830152429282019290925290516001600160a01b03808c16928d821692918f16917f54343dd5791108d018f6fb8def2c14d746f777c51e9924962237813a527528709181900360a00190a46000604051806040016040528060098152602001684e6f206572726f727360b81b81525095509550505050505b9550959350505050565b603981815481106109c357fe5b6000918252602090912001546001600160a01b0316905081565b6035546001600160a01b031681565b60008060008060006109fc612052565b610a05896117b4565b15610a225750600094508493508392508291506000199050610ebc565b600060e08201525b87518160e001511015610e0f5760e0810151610a4d908a9063ffffffff6117b916565b610a5657610dff565b878160e0015181518110610a6657fe5b6020908102919091018101516001600160a01b031661020083018190526000908152908b905260409020610a9c600582016117c9565b6080860181905260c08601929092525060a0840191909152600a0a6020808401919091526102008301516040805163b3596f0760e01b81526001600160a01b0392831660048201529051918b169263b3596f0792602480840193829003018186803b158015610b0a57600080fd5b505afa158015610b1e573d6000803e3d6000fd5b505050506040513d6020811015610b3457600080fd5b5051825260a082015115801590610b5c575060e0820151610b5c908b9063ffffffff610ede16565b15610c92576006810154604080516370a0823160e01b81526001600160a01b038f81166004830152915191909216916370a08231916024808301926020929190829003018186803b158015610bb057600080fd5b505afa158015610bc4573d6000803e3d6000fd5b505050506040513d6020811015610bda57600080fd5b50516040830181905260208301518351600092610c0d9291610c019163ffffffff61181016565b9063ffffffff61186916565b610120840151909150610c26908263ffffffff610ff916565b61012084015260a0830151610c5890610c4690839063ffffffff61181016565b6101808501519063ffffffff610ff916565b61018084015260c0830151610c8a90610c7890839063ffffffff61181016565b6101a08501519063ffffffff610ff916565b6101a0840152505b60e0820151610ca8908b9063ffffffff6118ab16565b15610dfd576007810154604080516370a0823160e01b81526001600160a01b038f81166004830152915191909216916370a08231916024808301926020929190829003018186803b158015610cfc57600080fd5b505afa158015610d10573d6000803e3d6000fd5b505050506040513d6020811015610d2657600080fd5b505160608301526008810154604080516370a0823160e01b81526001600160a01b038f811660048301529151610dbe9392909216916370a0823191602480820192602092909190829003018186803b158015610d8157600080fd5b505afa158015610d95573d6000803e3d6000fd5b505050506040513d6020811015610dab57600080fd5b505160608401519063ffffffff610ff916565b6060830181905260208301518351610df692610de49291610c019163ffffffff61181016565b6101408401519063ffffffff610ff916565b6101408301525b505b60e0810180516001019052610a2a565b600081610120015111610e23576000610e3e565b610120810151610180820151610e3e9163ffffffff61186916565b610180820152610120810151610e55576000610e70565b6101208101516101a0820151610e709163ffffffff61186916565b6101a08201819052610120820151610140830151610e8d926118bb565b61010082018190526101208201516101408301516101808401516101a090940151919850965091945090925090505b9550955095509550959050565b5460101c650fffffff0001600160f01b031690565b815160016002830281019190911c1615155b92915050565b6007810154604080516370a0823160e01b81526001600160a01b0385811660048301529151600093849316916370a08231916024808301926020929190829003018186803b158015610f4757600080fd5b505afa158015610f5b573d6000803e3d6000fd5b505050506040513d6020811015610f7157600080fd5b50516008840154604080516370a0823160e01b81526001600160a01b038881166004830152915191909216916370a08231916024808301926020929190829003018186803b158015610fc257600080fd5b505afa158015610fd6573d6000803e3d6000fd5b505050506040513d6020811015610fec57600080fd5b5051909590945092505050565b600082820183811015611053576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000611053612710610c01611075868663ffffffff61181016565b60026127105b049063ffffffff610ff916565b60355460408051631f94a27560e31b81529051600092839283926001600160a01b039092169163fca513a891600480820192602092909190829003018186803b1580156110d457600080fd5b505afa1580156110e8573d6000803e3d6000fd5b505050506040513d60208110156110fe57600080fd5b5051905061110a6120f3565b816001600160a01b031663b3596f07896040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561116057600080fd5b505afa158015611174573d6000803e3d6000fd5b505050506040513d602081101561118a57600080fd5b5051604080830191909152805163b3596f0760e01b81526001600160a01b03898116600483015291519184169163b3596f0791602480820192602092909190829003018186803b1580156111dd57600080fd5b505afa1580156111f1573d6000803e3d6000fd5b505050506040513d602081101561120757600080fd5b5051606082015261121a60058b016117c9565b60c0850152602084015250611233905060058a016118f3565b60a082018190526020820151604083015161128c926104339161125e91600a0a63ffffffff61181016565b610c018560c00151600a0a6112808c886060015161181090919063ffffffff16565b9063ffffffff61181016565b608082018190528510156112fb578493506112f481602001516112e86112c68460c00151600a0a856060015161181090919063ffffffff16565b610c018560a00151600a0a6112808a886040015161181090919063ffffffff16565b9063ffffffff61190416565b9250611306565b806080015193508592505b5050965096945050505050565b600061131e8261192a565b905080156113a7576001820154600983015460009161134a91600160a01b900464ffffffffff16611a2a565b835490915061136090829063ffffffff611a9f16565b83556002830154600984015460009161138691600160a01b900464ffffffffff16611ad8565b905061139f846004015482611a9f90919063ffffffff16565b600485015550505b50600901805464ffffffffff60a01b1916600160a01b4264ffffffffff1602179055565b60078401546040805163487b7e7960e11b815290516000926001600160a01b0316916390f6fcf2916004808301926020929190829003018186803b15801561141257600080fd5b505afa158015611426573d6000803e3d6000fd5b505050506040513d602081101561143c57600080fd5b50516006860154604080516370a0823160e01b81526001600160a01b0392831660048201529051929350600092918716916370a0823191602480820192602092909190829003018186803b15801561149357600080fd5b505afa1580156114a7573d6000803e3d6000fd5b505050506040513d60208110156114bd57600080fd5b50516009870154909150600090819081906001600160a01b03166357e37af0896114fd896114f1898d63ffffffff610ff916565b9063ffffffff61171216565b8c60070160009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561154d57600080fd5b505afa158015611561573d6000803e3d6000fd5b505050506040513d602081101561157757600080fd5b505160088e0154604080516318160ddd60e01b815290516001600160a01b03909216916318160ddd91600480820192602092909190829003018186803b1580156115c057600080fd5b505afa1580156115d4573d6000803e3d6000fd5b505050506040513d60208110156115ea57600080fd5b5051604080516001600160e01b031960e088901b1681526001600160a01b039095166004860152602485019390935260448401919091526064830152608482018990525160a4808301926060929190829003018186803b15801561164d57600080fd5b505afa158015611661573d6000803e3d6000fd5b505050506040513d606081101561167757600080fd5b50805160208083015160409384015160018e0184905560038e0182905560028e018190558d5460048f015486518681529485018490528487018c905260608501839052608085019190915260a0840152935192965094509192506001600160a01b038a16917f131cf1f61e39fd78f61f07d78533f5b6c13629c80ef6965983e92c72efbaa4a4919081900360c00190a2505050505050505050565b600061105383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611bee565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526117ae908590611c85565b50505050565b511590565b9051600360029092021c16151590565b54670fffffffffff000019811691601082901c650fffffff0001600160f01b031691602081901c630fff0001600160e01b03169160309190911c610f01600160d01b031690565b60008261181f57506000610ef0565b8282028284828161182c57fe5b04146110535760405162461bcd60e51b81526004018080602001828103825260218152602001806121316021913960400191505060405180910390fd5b600061105383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611d3b565b9051600160029092021c16151590565b6000826118cb5750600019611053565b6118eb836118df868563ffffffff61105a16565b9063ffffffff611da016565b949350505050565b5460301c610f01600160d01b031690565b6000600282046118eb83610c0161191d87612710611810565b849063ffffffff610ff916565b6000610ef08260080160009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561197f57600080fd5b505afa158015611993573d6000803e3d6000fd5b505050506040513d60208110156119a957600080fd5b50516007840154604080516318160ddd60e01b815290516001600160a01b03909216916318160ddd91600480820192602092909190829003018186803b1580156119f257600080fd5b505afa158015611a06573d6000803e3d6000fd5b505050506040513d6020811015611a1c57600080fd5b50519063ffffffff610ff916565b600080611a444264ffffffffff851663ffffffff61171216565b90506000611a6d611a586301e13380611dbf565b611a6184611dbf565b9063ffffffff611dd516565b9050611a96611a7a611df8565b611a8a878463ffffffff611a9f16565b9063ffffffff610ff916565b95945050505050565b60006110536b033b2e3c9fd0803ce8000000610c01611ac4868663ffffffff61181016565b60026b033b2e3c9fd0803ce800000061107b565b600080611af24264ffffffffff851663ffffffff61171216565b905080611b0957611b01611df8565b915050610ef0565b6000611b1c82600163ffffffff61171216565b9050600060028311611b2f576000611b40565b611b4083600263ffffffff61171216565b90506000611b58876301e1338063ffffffff61186916565b90506000611b6c828063ffffffff611a9f16565b90506000611b80828463ffffffff611a9f16565b90506000611b9d6002610c01856112808b8b63ffffffff61181016565b90506000611bbc6006610c01856112808a818e8e63ffffffff61181016565b9050611bdf81611a8a8481611bd78a8e63ffffffff61181016565b611a8a611df8565b9b9a5050505050505050505050565b60008184841115611c7d5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611c42578181015183820152602001611c2a565b50505050905090810190601f168015611c6f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6060611cda826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611e089092919063ffffffff16565b805190915015611d3657808060200190516020811015611cf957600080fd5b5051611d365760405162461bcd60e51b815260040180806020018281038252602a8152602001806121af602a913960400191505060405180910390fd5b505050565b60008183611d8a5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611c42578181015183820152602001611c2a565b506000838581611d9657fe5b0495945050505050565b6000600282046118eb83610c0161191d87670de0b6b3a7640000611810565b6000610ef082633b9aca0063ffffffff61181016565b6000600282046118eb83610c0161191d876b033b2e3c9fd0803ce8000000611810565b6b033b2e3c9fd0803ce800000090565b60606118eb84846000856060611e1d85611f7f565b611e6e576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611ead5780518252601f199092019160209182019101611e8e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611f0f576040519150601f19603f3d011682016040523d82523d6000602084013e611f14565b606091505b50915091508115611f285791506118eb9050565b805115611f385780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315611c42578181015183820152602001611c2a565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906118eb575050151592915050565b604051806102200160405280600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000600281111561201757fe5b81526020016000815260200160008152602001600081526020016000815260200160006001600160a01b031681526020016000151581525090565b60405180610260016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160001515815260200160006001600160a01b031681526020016000151581526020016000151581525090565b6040518060e0016040528060008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152509056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7754686572652069736e277420656e6f756768206c697175696469747920617661696c61626c6520746f206c697175696461746554686520636f6c6c61746572616c2063686f73656e2063616e6e6f74206265206c6971756964617465645361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565644865616c746820666163746f72206973206e6f742062656c6f7720746865207468726573686f6c645573657220646964206e6f7420626f72726f7720746865207370656369666965642063757272656e6379a2646970667358221220a7c7858ffa64f4871c7628f8f3cff1686c1269623598d9c34f281d7d5c8fb25c64736f6c63430006080033"; diff --git a/types/MockAToken.d.ts b/types/MockAToken.d.ts index 3a0b7c9c..982105a1 100644 --- a/types/MockAToken.d.ts +++ b/types/MockAToken.d.ts @@ -69,7 +69,7 @@ interface MockATokenInterface extends Interface { }>; mintOnDeposit: TypedFunctionDescription<{ - encode([_account, _amount]: [string, BigNumberish]): string; + encode([_user, _amount]: [string, BigNumberish]): string; }>; name: TypedFunctionDescription<{ encode([]: []): string }>; @@ -278,7 +278,7 @@ export class MockAToken extends Contract { isTransferAllowed(_user: string, _amount: BigNumberish): Promise; mintOnDeposit( - _account: string, + _user: string, _amount: BigNumberish, overrides?: TransactionOverrides ): Promise; @@ -391,7 +391,7 @@ export class MockAToken extends Contract { isTransferAllowed(_user: string, _amount: BigNumberish): Promise; mintOnDeposit( - _account: string, + _user: string, _amount: BigNumberish, overrides?: TransactionOverrides ): Promise; @@ -554,7 +554,7 @@ export class MockAToken extends Contract { isTransferAllowed(_user: string, _amount: BigNumberish): Promise; - mintOnDeposit(_account: string, _amount: BigNumberish): Promise; + mintOnDeposit(_user: string, _amount: BigNumberish): Promise; name(): Promise; diff --git a/types/MockATokenFactory.ts b/types/MockATokenFactory.ts index ff673003..4bff066b 100644 --- a/types/MockATokenFactory.ts +++ b/types/MockATokenFactory.ts @@ -662,7 +662,7 @@ const _abi = [ inputs: [ { internalType: "address", - name: "_account", + name: "_user", type: "address" }, { @@ -898,4 +898,4 @@ const _abi = [ ]; const _bytecode = - "0x60c0604052600080553480156200001557600080fd5b506040516200344f3803806200344f833981810160405260808110156200003b57600080fd5b815160208301516040808501805191519395929483019291846401000000008211156200006757600080fd5b9083019060208201858111156200007d57600080fd5b82516401000000008111828201881017156200009857600080fd5b82525081516020918201929091019080838360005b83811015620000c7578181015183820152602001620000ad565b50505050905090810190601f168015620000f55780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200011957600080fd5b9083019060208201858111156200012f57600080fd5b82516401000000008111828201881017156200014a57600080fd5b82525081516020918201929091019080838360005b83811015620001795781810151838201526020016200015f565b50505050905090810190601f168015620001a75780820380516001836020036101000a031916815260200191505b506040525050508383838381818160379080519060200190620001cc92919062000218565b508051620001e290603890602084019062000218565b50506039805460ff191660121790555050506001600160601b0319606092831b811660a052911b1660805250620002bd92505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200025b57805160ff19168380011785556200028b565b828001600101855582156200028b579182015b828111156200028b5782518255916020019190600101906200026e565b50620002999291506200029d565b5090565b620002ba91905b80821115620002995760008155600101620002a4565b90565b60805160601c60a05160601c61311d6200033260003980610a705280610e485280610f7b528061106b52806111c652806114f7528061165f5280611f7652806124845250806101c55280610a9f5280610fe4528061102f5280611199528061151e5280611fa552806124b3525061311d6000f3fe6080604052600436106101bb5760003560e01c80634efecaa5116100ec578063a9059cbb1161008a578063db006a7511610064578063db006a75146107e5578063dd62ed3e1461080f578063ee9907a41461084a578063f866c3191461087d5761022f565b8063a9059cbb14610764578063c634dfaa1461079d578063d0fc81d2146107d05761022f565b806389d1a0fc116100c657806389d1a0fc146106c857806394362e8b146106dd57806395d89b4114610716578063a457c2d71461072b5761022f565b80634efecaa5146106235780635eae177c1461065c57806370a08231146106955761022f565b806323b872dd11610159578063325a9b1311610133578063325a9b131461052757806339509351146105625780633edb7cb81461059b578063445e8010146105d45761022f565b806323b872dd146103e05780633118724e14610423578063313ce567146104fc5761022f565b80630e49072d116101955780630e49072d1461033257806312c87c2d1461036557806318160ddd146103985780631d51e7cf146103ad5761022f565b806306fdde0314610234578063095ea7b3146102be5780630bd7ad3b1461030b5761022f565b3661022f576101f27f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166108c0565b61022d5760405162461bcd60e51b8152600401808060200182810382526039815260200180612e526039913960400191505060405180910390fd5b005b600080fd5b34801561024057600080fd5b506102496108e6565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561028357818101518382015260200161026b565b50505050905090810190601f1680156102b05780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102ca57600080fd5b506102f7600480360360408110156102e157600080fd5b506001600160a01b03813516906020013561097d565b604080519115158252519081900360200190f35b34801561031757600080fd5b5061032061099b565b60408051918252519081900360200190f35b34801561033e57600080fd5b5061022d6004803603602081101561035557600080fd5b50356001600160a01b03166109a0565b34801561037157600080fd5b5061022d6004803603602081101561038857600080fd5b50356001600160a01b03166109ad565b3480156103a457600080fd5b50610320610a4c565b3480156103b957600080fd5b50610320600480360360208110156103d057600080fd5b50356001600160a01b0316610b50565b3480156103ec57600080fd5b506102f76004803603606081101561040357600080fd5b506001600160a01b03813581169160208101359091169060400135610b6b565b34801561042f57600080fd5b5061022d6004803603606081101561044657600080fd5b60ff823516919081019060408101602082013564010000000081111561046b57600080fd5b82018360208201111561047d57600080fd5b8035906020019184600183028401116401000000008311171561049f57600080fd5b9193909290916020810190356401000000008111156104bd57600080fd5b8201836020820111156104cf57600080fd5b803590602001918460018302840111640100000000831117156104f157600080fd5b509092509050610bf8565b34801561050857600080fd5b50610511610d7a565b6040805160ff9092168252519081900360200190f35b34801561053357600080fd5b5061022d6004803603604081101561054a57600080fd5b506001600160a01b0381358116916020013516610d83565b34801561056e57600080fd5b506102f76004803603604081101561058557600080fd5b506001600160a01b038135169060200135610de9565b3480156105a757600080fd5b5061022d600480360360408110156105be57600080fd5b506001600160a01b038135169060200135610e3d565b3480156105e057600080fd5b50610607600480360360208110156105f757600080fd5b50356001600160a01b0316610f50565b604080516001600160a01b039092168252519081900360200190f35b34801561062f57600080fd5b506103206004803603604081101561064657600080fd5b506001600160a01b038135169060200135610f6e565b34801561066857600080fd5b506102f76004803603604081101561067f57600080fd5b506001600160a01b038135169060200135611017565b3480156106a157600080fd5b50610320600480360360208110156106b857600080fd5b50356001600160a01b03166110e4565b3480156106d457600080fd5b50610607611197565b3480156106e957600080fd5b5061022d6004803603604081101561070057600080fd5b506001600160a01b0381351690602001356111bb565b34801561072257600080fd5b506102496112ae565b34801561073757600080fd5b506102f76004803603604081101561074e57600080fd5b506001600160a01b03813516906020013561130f565b34801561077057600080fd5b506102f76004803603604081101561078757600080fd5b506001600160a01b03813516906020013561137d565b3480156107a957600080fd5b50610320600480360360208110156107c057600080fd5b50356001600160a01b0316611391565b3480156107dc57600080fd5b5061032061139c565b3480156107f157600080fd5b5061022d6004803603602081101561080857600080fd5b50356113a2565b34801561081b57600080fd5b506103206004803603604081101561083257600080fd5b506001600160a01b038135811691602001351661160e565b34801561085657600080fd5b506103206004803603602081101561086d57600080fd5b50356001600160a01b0316611639565b34801561088957600080fd5b5061022d600480360360608110156108a057600080fd5b506001600160a01b03813581169160208101359091169060400135611654565b6001600160a01b03811673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee145b919050565b60378054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109725780601f1061094757610100808354040283529160200191610972565b820191906000526020600020905b81548152906001019060200180831161095557829003601f168201915b505050505090505b90565b600061099161098a6116cb565b84846116cf565b5060015b92915050565b600181565b6109aa33826117bb565b50565b6001600160a01b0381163314156109f55760405162461bcd60e51b8152600401808060200182810382526025815260200180612e8b6025913960400191505060405180910390fd5b336000818152603d602052604080822080546001600160a01b0319166001600160a01b03861690811790915590519092917fc2d6a42a9d5273283f73009a07aacfb043f2f91173a8d9d33b504afe898db08b91a350565b600080610a576119aa565b905080610a6857600091505061097a565b610b4a610b457f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d15e00537f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610b0457600080fd5b505afa158015610b18573d6000803e3d6000fd5b505050506040513d6020811015610b2e57600080fd5b5051610b39846119b0565b9063ffffffff6119c616565b611a11565b91505090565b6001600160a01b03166000908152603c602052604090205490565b6000610b78848484611a2a565b610bee84610b846116cb565b610be985604051806060016040528060288152602001612ed1602891396001600160a01b038a16600090815260356020526040812090610bc26116cb565b6001600160a01b03168152602081019190915260400160002054919063ffffffff611a9916565b6116cf565b5060019392505050565b610c2b6040518060400160405280601281526020017124b739b4b2329034b734ba34b0b634bd32b960711b815250611b30565b6000610c35611c66565b9050610c676040518060400160405280600e81526020016d5265766973696f6e20697320257360901b81525082611c6b565b610c9160405180604001604052806008815260200167546869733a20257360c01b81525030611dc0565b60015460ff1680610ca55750610ca5611eb9565b80610cb1575060005481115b610cec5760405162461bcd60e51b815260040180806020018281038252602e815260200180612f23602e913960400191505060405180910390fd5b60015460ff16158015610d0b576001805460ff19168117905560008290555b610d3d60405180604001604052806011815260200170125b9a5d1a585b1a5e994818d85b1b1959607a1b815250611b30565b610d4960378787612cfa565b50610d5660388585612cfa565b50610d6087611ebf565b8015610d71576001805460ff191690555b50505050505050565b60395460ff1690565b6001600160a01b038281166000908152603d6020526040902054163314610ddb5760405162461bcd60e51b815260040180806020018281038252603a8152602001806130ae603a913960400191505060405180910390fd5b610de582826117bb565b5050565b6000610991610df66116cb565b84610be98560356000610e076116cb565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff611ed516565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610ea45760405162461bcd60e51b81526004018080602001828103825260328152602001806130576032913960400191505060405180910390fd5b6000806000610eb285611f2f565b93509350935050610ec4858386612061565b610ece8585612161565b6000610ee0848663ffffffff61226916565b610ef057610eed866122ab565b90505b856001600160a01b03167f90e5d3d68ec162d9c7de393037a3ede04dd44f68e051bf2ace4a73c299dbc4db868584610f285785610f2b565b60005b60408051938452602084019290925282820152519081900360600190a2505050505050565b6001600160a01b039081166000908152603b60205260409020541690565b6000336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610fd75760405162461bcd60e51b81526004018080602001828103825260328152602001806130576032913960400191505060405180910390fd5b6110116001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016848463ffffffff61235d16565b50919050565b604080516376e9d61560e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116600483015284811660248301526044820184905291516000927f000000000000000000000000000000000000000000000000000000000000000016916376e9d615916064808301926020929190829003018186803b1580156110b157600080fd5b505afa1580156110c5573d6000803e3d6000fd5b505050506040513d60208110156110db57600080fd5b50519392505050565b6000806110f083612436565b6001600160a01b0384166000908152603c602052604090205490915081158015611118575080155b15611128576000925050506108e1565b6001600160a01b038481166000908152603b60205260409020541661117957611170816111648661115f868463ffffffff611ed516565b612451565b9063ffffffff61226916565b925050506108e1565b61117061118a826111648785612451565b839063ffffffff611ed516565b7f000000000000000000000000000000000000000000000000000000000000000081565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146112225760405162461bcd60e51b81526004018080602001828103825260328152602001806130576032913960400191505060405180910390fd5b60008061122e84611f2f565b9350935050506112528461124b8585611ed590919063ffffffff16565b6000612061565b61125c8484612559565b604080518481526020810184905280820183905290516001600160a01b038616917fbe7799898ca2d813ff902b487c1b434ab45b47edd8f38b77ad5e99aae8341b7a919081900360600190a250505050565b60388054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109725780601f1061094757610100808354040283529160200191610972565b600061099161131c6116cb565b84610be98560405180606001604052806025815260200161308960259139603560006113466116cb565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff611a9916565b600061099161138a6116cb565b8484611a2a565b600061099582612436565b60001981565b600081116113f7576040805162461bcd60e51b815260206004820181905260248201527f416d6f756e7420746f2072656465656d206e6565647320746f206265203e2030604482015290519081900360640190fd5b600080600061140533611f2f565b9195509350915084905060001981141561141c5750825b8381111561145b5760405162461bcd60e51b8152600401808060200182810382526032815260200180612dd86032913960400191505060405180910390fd5b6114653382611017565b6114b6576040805162461bcd60e51b815260206004820152601b60248201527f5472616e736665722063616e6e6f7420626520616c6c6f7765642e0000000000604482015290519081900360640190fd5b6114c1338483612061565b6114cb3382612161565b60006114dd858363ffffffff61226916565b6114ed576114ea336122ab565b90505b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016639895e3d87f0000000000000000000000000000000000000000000000000000000000000000338561154f8a8263ffffffff61226916565b6040518563ffffffff1660e01b815260040180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b03168152602001838152602001828152602001945050505050600060405180830381600087803b1580156115be57600080fd5b505af11580156115d2573d6000803e3d6000fd5b50505050336001600160a01b03167fbd5034ffbd47e4e72a94baa2cdb74c6fad73cb3bcdc13036b72ec8306f5a7646838684610f285786610f2b565b6001600160a01b03918216600090815260356020908152604080832093909416825291909152205490565b6001600160a01b03166000908152603a602052604090205490565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146116bb5760405162461bcd60e51b81526004018080602001828103825260328152602001806130576032913960400191505060405180910390fd5b6116c6838383612657565b505050565b3390565b6001600160a01b0383166117145760405162461bcd60e51b81526004018080602001828103825260248152602001806130096024913960400191505060405180910390fd5b6001600160a01b0382166117595760405162461bcd60e51b8152600401808060200182810382526022815260200180612e0a6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260356020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038083166000908152603b602052604090205481169082168114156118185760405162461bcd60e51b815260040180806020018281038252602a815260200180612ef9602a913960400191505060405180910390fd5b60008060008061182787611f2f565b93509350935093506000831161186e5760405162461bcd60e51b8152600401808060200182810382526042815260200180612f516042913960600191505060405180910390fd5b6001600160a01b038516156118895761188987600086612061565b866001600160a01b0316866001600160a01b03161415611915576001600160a01b0387166000818152603b6020908152604080832080546001600160a01b03191690558051878152918201869052818101859052519192917f5e3cad45b1fe24159d1cb39788d82d0f69cc15770aa96fba1d3d1a73487355949181900360600190a35050505050610de5565b6001600160a01b038781166000908152603b6020526040812080546001600160a01b031916928916929092179091556119519088908590612061565b604080518481526020810184905280820183905290516001600160a01b0380891692908a16917f5e3cad45b1fe24159d1cb39788d82d0f69cc15770aa96fba1d3d1a73487355949181900360600190a350505050505050565b60365490565b600061099582633b9aca0063ffffffff6127a616565b6000611a0a6b033b2e3c9fd0803ce80000006119fe6119eb868663ffffffff6127a616565b6b019d971e4fe8401e7400000090611ed5565b9063ffffffff6127ff16565b9392505050565b6000631dcd6500611a0a633b9aca006119fe8386611ed5565b8281611a368282611017565b611a87576040805162461bcd60e51b815260206004820152601b60248201527f5472616e736665722063616e6e6f7420626520616c6c6f7765642e0000000000604482015290519081900360640190fd5b611a92858585612657565b5050505050565b60008184841115611b285760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611aed578181015183820152602001611ad5565b50505050905090810190601f168015611b1a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6040516020602482018181528351604484015283516000936a636f6e736f6c652e6c6f67938693928392606401918501908083838a5b83811015611b7e578181015183820152602001611b66565b50505050905090810190601f168015611bab5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b031663104c13eb60e21b178152905182519295509350839250908083835b60208310611c065780518252601f199092019160209182019101611be7565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114611a92576040519150601f19603f3d011682016040523d82523d6000602084013e611a92565b600290565b60006a636f6e736f6c652e6c6f676001600160a01b031683836040516024018080602001838152602001828103825284818151815260200191508051906020019080838360005b83811015611cca578181015183820152602001611cb2565b50505050905090810190601f168015611cf75780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b03166309710a9d60e41b17815290518251929650945084935091508083835b60208310611d535780518252601f199092019160209182019101611d34565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114611db3576040519150601f19603f3d011682016040523d82523d6000602084013e611db8565b606091505b505050505050565b60006a636f6e736f6c652e6c6f676001600160a01b031683836040516024018080602001836001600160a01b03166001600160a01b03168152602001828103825284818151815260200191508051906020019080838360005b83811015611e31578181015183820152602001611e19565b50505050905090810190601f168015611e5e5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b031663319af33360e01b178152905182519296509450849350915080838360208310611d535780518252601f199092019160209182019101611d34565b303b1590565b6039805460ff191660ff92909216919091179055565b600082820183811015611a0a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000806000806000611f40866110e4565b90506000808215611f7257611f5488612436565b9050611f66838263ffffffff61226916565b9150611f728883612559565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d15e00537f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561200a57600080fd5b505afa15801561201e573d6000803e3d6000fd5b505050506040513d602081101561203457600080fd5b50516001600160a01b03999099166000908152603a60205260409020899055509791969095509350915050565b6001600160a01b038084166000908152603b6020526040902054168061208757506116c6565b60008061209383611f2f565b6001600160a01b0387166000908152603c602052604090205491955093506120c99250869150611164908863ffffffff611ed516565b6001600160a01b038085166000908152603c6020908152604080832094909455603b905291909120541680156121055761210584846000612061565b60408051848152602081018490528082018890526060810187905290516001600160a01b038616917f70ff8cf632603e2bfd1afb7e4061acce53d95356b1be9726b99fa22ba733b01f919081900360800190a250505050505050565b6001600160a01b0382166121a65760405162461bcd60e51b8152600401808060200182810382526021815260200180612fc36021913960400191505060405180910390fd5b6121b2826000836116c6565b6121f581604051806060016040528060228152602001612db6602291396001600160a01b038516600090815260346020526040902054919063ffffffff611a9916565b6001600160a01b038316600090815260346020526040902055603654612221908263ffffffff61226916565b6036556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000611a0a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611a99565b6001600160a01b0381166000818152603b6020908152604080832080546001600160a01b03191690558051838152918201839052818101839052519192839290917f5e3cad45b1fe24159d1cb39788d82d0f69cc15770aa96fba1d3d1a7348735594919081900360600190a36001600160a01b0382166000908152603c602052604090205461235557506001600160a01b0381166000908152603a602052604081205560016108e1565b5060006108e1565b80612367576116c6565b612370836108c0565b1561241c576040516000906001600160a01b0384169061c35090849084818181858888f193505050503d80600081146123c5576040519150601f19603f3d011682016040523d82523d6000602084013e6123ca565b606091505b5050905080612416576040805162461bcd60e51b815260206004820152601360248201527211551217d514905394d1915497d19052531151606a1b604482015290519081900360640190fd5b506116c6565b6116c66001600160a01b038416838363ffffffff61284116565b6001600160a01b031660009081526034602052604090205490565b6000611a0a610b45603a6000866001600160a01b03166001600160a01b031681526020019081526020016000205461254d7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d15e00537f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561251857600080fd5b505afa15801561252c573d6000803e3d6000fd5b505050506040513d602081101561254257600080fd5b5051610b39876119b0565b9063ffffffff61289316565b6001600160a01b0382166125b4576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6125c0600083836116c6565b6036546125d3908263ffffffff611ed516565b6036556001600160a01b0382166000908152603460205260409020546125ff908263ffffffff611ed516565b6001600160a01b03831660008181526034602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600081116126965760405162461bcd60e51b8152600401808060200182810382526030815260200180612f936030913960400191505060405180910390fd5b60008060006126a486611f2f565b935093509350506000806126b787611f2f565b9350935050506126c8888588612061565b6126dc8761124b848963ffffffff611ed516565b6126e78888886128cb565b60006126f9868863ffffffff61226916565b1580156127185750876001600160a01b0316896001600160a01b031614155b1561272957612726896122ab565b90505b876001600160a01b0316896001600160a01b03167f89a178eaa27e0cd201bd795ca8ff716ac0df9618494510ca79771cfc66ffcde88988878661276c578961276f565b60005b60408051948552602085019390935283830191909152606083015260808201879052519081900360a00190a3505050505050505050565b6000826127b557506000610995565b828202828482816127c257fe5b0414611a0a5760405162461bcd60e51b8152600401808060200182810382526021815260200180612eb06021913960400191505060405180910390fd5b6000611a0a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612a34565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526116c6908490612a99565b6000600282046128c3836119fe6128b6876b033b2e3c9fd0803ce80000006127a6565b849063ffffffff611ed516565b949350505050565b6001600160a01b0383166129105760405162461bcd60e51b8152600401808060200182810382526025815260200180612fe46025913960400191505060405180910390fd5b6001600160a01b0382166129555760405162461bcd60e51b8152600401808060200182810382526023815260200180612d936023913960400191505060405180910390fd5b6129608383836116c6565b6129a381604051806060016040528060268152602001612e2c602691396001600160a01b038616600090815260346020526040902054919063ffffffff611a9916565b6001600160a01b0380851660009081526034602052604080822093909355908416815220546129d8908263ffffffff611ed516565b6001600160a01b0380841660008181526034602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008183612a835760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611aed578181015183820152602001611ad5565b506000838581612a8f57fe5b0495945050505050565b6060612aee826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612b4a9092919063ffffffff16565b8051909150156116c657808060200190516020811015612b0d57600080fd5b50516116c65760405162461bcd60e51b815260040180806020018281038252602a81526020018061302d602a913960400191505060405180910390fd5b60606128c384846000856060612b5f85612cc1565b612bb0576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612bef5780518252601f199092019160209182019101612bd0565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612c51576040519150601f19603f3d011682016040523d82523d6000602084013e612c56565b606091505b50915091508115612c6a5791506128c39050565b805115612c7a5780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315611aed578181015183820152602001611ad5565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906128c3575050151592915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612d3b5782800160ff19823516178555612d68565b82800160010185558215612d68579182015b82811115612d68578235825591602001919060010190612d4d565b50612d74929150612d78565b5090565b61097a91905b80821115612d745760008155600101612d7e56fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e6365557365722063616e6e6f742072656465656d206d6f7265207468616e2074686520617661696c61626c652062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63655472616e736665727320617265206f6e6c7920616c6c6f7765642069662074686520756e6465726c79696e6720617373657420697320455448557365722063616e6e6f74206769766520616c6c6f77616e636520746f2068696d73656c66536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365496e74657265737420697320616c7265616479207265646972656374656420746f207468652075736572436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a6564496e7465726573742073747265616d2063616e206f6e6c79206265207265646972656374656420696620746865726520697320612076616c69642062616c616e63655472616e7366657272656420616d6f756e74206e6565647320746f2062652067726561746572207468616e207a65726f45524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645468652063616c6c6572206f6620746869732066756e6374696f6e206d7573742062652061206c656e64696e6720706f6f6c45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f43616c6c6572206973206e6f7420616c6c6f77656420746f2072656469726563742074686520696e746572657374206f66207468652075736572a2646970667358221220e7a2b59af26d3eb5d4456b8c1a761ac1aa2d824c894616fb29dfc487d9e712f764736f6c63430006080033"; + "0x60c0604052600080553480156200001557600080fd5b50604051620030a8380380620030a8833981810160405260808110156200003b57600080fd5b815160208301516040808501805191519395929483019291846401000000008211156200006757600080fd5b9083019060208201858111156200007d57600080fd5b82516401000000008111828201881017156200009857600080fd5b82525081516020918201929091019080838360005b83811015620000c7578181015183820152602001620000ad565b50505050905090810190601f168015620000f55780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200011957600080fd5b9083019060208201858111156200012f57600080fd5b82516401000000008111828201881017156200014a57600080fd5b82525081516020918201929091019080838360005b83811015620001795781810151838201526020016200015f565b50505050905090810190601f168015620001a75780820380516001836020036101000a031916815260200191505b506040525050508383838381818160379080519060200190620001cc92919062000218565b508051620001e290603890602084019062000218565b50506039805460ff191660121790555050506001600160601b0319606092831b811660a052911b1660805250620002bd92505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200025b57805160ff19168380011785556200028b565b828001600101855582156200028b579182015b828111156200028b5782518255916020019190600101906200026e565b50620002999291506200029d565b5090565b620002ba91905b80821115620002995760008155600101620002a4565b90565b60805160601c60a05160601c612d6762000341600039806109e25280610d005280610e335280610f23528061107e52806110ed52806114c0528061159f52806117195280611c8d5280612116525080610a115280610e9c5280610ee75280611051528061111c52806114ef52806115c65280611cbc52806121455250612d676000f3fe6080604052600436106101bb5760003560e01c80634efecaa5116100ec578063a9059cbb1161008a578063db006a7511610064578063db006a751461077d578063dd62ed3e146107a7578063ee9907a4146107e2578063f866c31914610815576101c5565b8063a9059cbb146106fc578063c634dfaa14610735578063d0fc81d214610768576101c5565b806389d1a0fc116100c657806389d1a0fc1461066057806394362e8b1461067557806395d89b41146106ae578063a457c2d7146106c3576101c5565b80634efecaa5146105bb5780635eae177c146105f457806370a082311461062d576101c5565b806323b872dd11610159578063325a9b1311610133578063325a9b13146104bf57806339509351146104fa5780633edb7cb814610533578063445e80101461056c576101c5565b806323b872dd146103785780633118724e146103bb578063313ce56714610494576101c5565b80630e49072d116101955780630e49072d146102c857806312c87c2d146102fd57806318160ddd146103305780631d51e7cf14610345576101c5565b806306fdde03146101ca578063095ea7b3146102545780630bd7ad3b146102a1576101c5565b366101c557600080fd5b600080fd5b3480156101d657600080fd5b506101df610858565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610219578181015183820152602001610201565b50505050905090810190601f1680156102465780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561026057600080fd5b5061028d6004803603604081101561027757600080fd5b506001600160a01b0381351690602001356108ef565b604080519115158252519081900360200190f35b3480156102ad57600080fd5b506102b661090d565b60408051918252519081900360200190f35b3480156102d457600080fd5b506102fb600480360360208110156102eb57600080fd5b50356001600160a01b0316610912565b005b34801561030957600080fd5b506102fb6004803603602081101561032057600080fd5b50356001600160a01b031661091f565b34801561033c57600080fd5b506102b66109be565b34801561035157600080fd5b506102b66004803603602081101561036857600080fd5b50356001600160a01b0316610ac2565b34801561038457600080fd5b5061028d6004803603606081101561039b57600080fd5b506001600160a01b03813581169160208101359091169060400135610ae1565b3480156103c757600080fd5b506102fb600480360360608110156103de57600080fd5b60ff823516919081019060408101602082013564010000000081111561040357600080fd5b82018360208201111561041557600080fd5b8035906020019184600183028401116401000000008311171561043757600080fd5b91939092909160208101903564010000000081111561045557600080fd5b82018360208201111561046757600080fd5b8035906020019184600183028401116401000000008311171561048957600080fd5b509092509050610b6e565b3480156104a057600080fd5b506104a9610c32565b6040805160ff9092168252519081900360200190f35b3480156104cb57600080fd5b506102fb600480360360408110156104e257600080fd5b506001600160a01b0381358116916020013516610c3b565b34801561050657600080fd5b5061028d6004803603604081101561051d57600080fd5b506001600160a01b038135169060200135610ca1565b34801561053f57600080fd5b506102fb6004803603604081101561055657600080fd5b506001600160a01b038135169060200135610cf5565b34801561057857600080fd5b5061059f6004803603602081101561058f57600080fd5b50356001600160a01b0316610e08565b604080516001600160a01b039092168252519081900360200190f35b3480156105c757600080fd5b506102b6600480360360408110156105de57600080fd5b506001600160a01b038135169060200135610e26565b34801561060057600080fd5b5061028d6004803603604081101561061757600080fd5b506001600160a01b038135169060200135610ecf565b34801561063957600080fd5b506102b66004803603602081101561065057600080fd5b50356001600160a01b0316610f9c565b34801561066c57600080fd5b5061059f61104f565b34801561068157600080fd5b506102fb6004803603604081101561069857600080fd5b506001600160a01b038135169060200135611073565b3480156106ba57600080fd5b506101df611250565b3480156106cf57600080fd5b5061028d600480360360408110156106e657600080fd5b506001600160a01b0381351690602001356112b1565b34801561070857600080fd5b5061028d6004803603604081101561071f57600080fd5b506001600160a01b03813516906020013561131f565b34801561074157600080fd5b506102b66004803603602081101561075857600080fd5b50356001600160a01b0316611333565b34801561077457600080fd5b506102b661133e565b34801561078957600080fd5b506102fb600480360360208110156107a057600080fd5b5035611344565b3480156107b357600080fd5b506102b6600480360360408110156107ca57600080fd5b506001600160a01b03813581169160200135166116c8565b3480156107ee57600080fd5b506102b66004803603602081101561080557600080fd5b50356001600160a01b03166116f3565b34801561082157600080fd5b506102fb6004803603606081101561083857600080fd5b506001600160a01b0381358116916020810135909116906040013561170e565b60378054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108e45780601f106108b9576101008083540402835291602001916108e4565b820191906000526020600020905b8154815290600101906020018083116108c757829003601f168201915b505050505090505b90565b60006109036108fc611785565b8484611789565b5060015b92915050565b600181565b61091c3382611875565b50565b6001600160a01b0381163314156109675760405162461bcd60e51b8152600401808060200182810382526025815260200180612ad56025913960400191505060405180910390fd5b336000818152603d602052604080822080546001600160a01b0319166001600160a01b03861690811790915590519092917fc2d6a42a9d5273283f73009a07aacfb043f2f91173a8d9d33b504afe898db08b91a350565b6000806109c9611a64565b9050806109da5760009150506108ec565b610abc610ab77f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d15e00537f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610a7657600080fd5b505afa158015610a8a573d6000803e3d6000fd5b505050506040513d6020811015610aa057600080fd5b5051610aab84611a6a565b9063ffffffff611a8016565b611acb565b91505090565b6001600160a01b0381166000908152603c60205260409020545b919050565b6000610aee848484611ae4565b610b6484610afa611785565b610b5f85604051806060016040528060288152602001612b1b602891396001600160a01b038a16600090815260356020526040812090610b38611785565b6001600160a01b03168152602081019190915260400160002054919063ffffffff611b5316565b611789565b5060019392505050565b6000610b78611bea565b60015490915060ff1680610b8f5750610b8f611bef565b80610b9b575060005481115b610bd65760405162461bcd60e51b815260040180806020018281038252602e815260200180612b6d602e913960400191505060405180910390fd5b60015460ff16158015610bf5576001805460ff19168117905560008290555b610c016037878761297d565b50610c0e6038858561297d565b50610c1887611bf5565b8015610c29576001805460ff191690555b50505050505050565b60395460ff1690565b6001600160a01b038281166000908152603d6020526040902054163314610c935760405162461bcd60e51b815260040180806020018281038252603a815260200180612cf8603a913960400191505060405180910390fd5b610c9d8282611875565b5050565b6000610903610cae611785565b84610b5f8560356000610cbf611785565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff611c0b16565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610d5c5760405162461bcd60e51b8152600401808060200182810382526032815260200180612ca16032913960400191505060405180910390fd5b6000806000610d6a85611c65565b93509350935050610d7c858386611d7a565b610d868585611e7a565b6000610d98848663ffffffff611f8216565b610da857610da586611fc4565b90505b856001600160a01b03167f90e5d3d68ec162d9c7de393037a3ede04dd44f68e051bf2ace4a73c299dbc4db868584610de05785610de3565b60005b60408051938452602084019290925282820152519081900360600190a2505050505050565b6001600160a01b039081166000908152603b60205260409020541690565b6000336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610e8f5760405162461bcd60e51b8152600401808060200182810382526032815260200180612ca16032913960400191505060405180910390fd5b610ec96001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016848463ffffffff61207616565b50919050565b604080516376e9d61560e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116600483015284811660248301526044820184905291516000927f000000000000000000000000000000000000000000000000000000000000000016916376e9d615916064808301926020929190829003018186803b158015610f6957600080fd5b505afa158015610f7d573d6000803e3d6000fd5b505050506040513d6020811015610f9357600080fd5b50519392505050565b600080610fa8836120c8565b6001600160a01b0384166000908152603c602052604090205490915081158015610fd0575080155b15610fe057600092505050610adc565b6001600160a01b038481166000908152603b602052604090205416611031576110288161101c86611017868463ffffffff611c0b16565b6120e3565b9063ffffffff611f8216565b92505050610adc565b6110286110428261101c87856120e3565b839063ffffffff611c0b16565b7f000000000000000000000000000000000000000000000000000000000000000081565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146110da5760405162461bcd60e51b8152600401808060200182810382526032815260200180612ca16032913960400191505060405180910390fd5b60006110e5836121eb565b9250505060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d15e00537f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561118157600080fd5b505afa158015611195573d6000803e3d6000fd5b505050506040513d60208110156111ab57600080fd5b50516001600160a01b0385166000908152603a6020526040902081905590506111e5846111de848663ffffffff611c0b16565b6000611d7a565b6111fe846111f9858563ffffffff611c0b16565b61222e565b604080518481526020810184905280820183905290516001600160a01b038616917fbe7799898ca2d813ff902b487c1b434ab45b47edd8f38b77ad5e99aae8341b7a919081900360600190a250505050565b60388054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108e45780601f106108b9576101008083540402835291602001916108e4565b60006109036112be611785565b84610b5f85604051806060016040528060258152602001612cd360259139603560006112e8611785565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff611b5316565b600061090361132c611785565b8484611ae4565b6000610907826120c8565b60001981565b60008111611399576040805162461bcd60e51b815260206004820181905260248201527f416d6f756e7420746f2072656465656d206e6565647320746f206265203e2030604482015290519081900360640190fd5b6000806113a5336121eb565b90935091508390506000198114156113ba5750815b828111156113f95760405162461bcd60e51b8152600401808060200182810382526032815260200180612a5b6032913960400191505060405180910390fd5b6114033382610ecf565b611454576040805162461bcd60e51b815260206004820152601b60248201527f5472616e736665722063616e6e6f7420626520616c6c6f7765642e0000000000604482015290519081900360640190fd5b61145f338383611d7a565b808211156114805761147b336111f9848463ffffffff611f8216565b611499565b61149933611494838563ffffffff611f8216565b611e7a565b60006114ab848363ffffffff611f8216565b6114be576114b833611fc4565b50611595565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d15e00537f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561155457600080fd5b505afa158015611568573d6000803e3d6000fd5b505050506040513d602081101561157e57600080fd5b5051336000908152603a6020526040902081905590505b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016639895e3d87f000000000000000000000000000000000000000000000000000000000000000033856115f7898263ffffffff611f8216565b6040518563ffffffff1660e01b815260040180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b03168152602001838152602001828152602001945050505050600060405180830381600087803b15801561166657600080fd5b505af115801561167a573d6000803e3d6000fd5b5050604080518581526020810187905280820185905290513393507fbd5034ffbd47e4e72a94baa2cdb74c6fad73cb3bcdc13036b72ec8306f5a764692509081900360600190a25050505050565b6001600160a01b03918216600090815260356020908152604080832093909416825291909152205490565b6001600160a01b03166000908152603a602052604090205490565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146117755760405162461bcd60e51b8152600401808060200182810382526032815260200180612ca16032913960400191505060405180910390fd5b61178083838361232c565b505050565b3390565b6001600160a01b0383166117ce5760405162461bcd60e51b8152600401808060200182810382526024815260200180612c536024913960400191505060405180910390fd5b6001600160a01b0382166118135760405162461bcd60e51b8152600401808060200182810382526022815260200180612a8d6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260356020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038083166000908152603b602052604090205481169082168114156118d25760405162461bcd60e51b815260040180806020018281038252602a815260200180612b43602a913960400191505060405180910390fd5b6000806000806118e187611c65565b9350935093509350600083116119285760405162461bcd60e51b8152600401808060200182810382526042815260200180612b9b6042913960600191505060405180910390fd5b6001600160a01b038516156119435761194387600086611d7a565b866001600160a01b0316866001600160a01b031614156119cf576001600160a01b0387166000818152603b6020908152604080832080546001600160a01b03191690558051878152918201869052818101859052519192917f5e3cad45b1fe24159d1cb39788d82d0f69cc15770aa96fba1d3d1a73487355949181900360600190a35050505050610c9d565b6001600160a01b038781166000908152603b6020526040812080546001600160a01b03191692891692909217909155611a0b9088908590611d7a565b604080518481526020810184905280820183905290516001600160a01b0380891692908a16917f5e3cad45b1fe24159d1cb39788d82d0f69cc15770aa96fba1d3d1a73487355949181900360600190a350505050505050565b60365490565b600061090782633b9aca0063ffffffff61247b16565b6000611ac46b033b2e3c9fd0803ce8000000611ab8611aa5868663ffffffff61247b16565b6b019d971e4fe8401e7400000090611c0b565b9063ffffffff6124d416565b9392505050565b6000631dcd6500611ac4633b9aca00611ab88386611c0b565b8281611af08282610ecf565b611b41576040805162461bcd60e51b815260206004820152601b60248201527f5472616e736665722063616e6e6f7420626520616c6c6f7765642e0000000000604482015290519081900360640190fd5b611b4c85858561232c565b5050505050565b60008184841115611be25760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611ba7578181015183820152602001611b8f565b50505050905090810190601f168015611bd45780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600290565b303b1590565b6039805460ff191660ff92909216919091179055565b600082820183811015611ac4576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000806000806000806000611c79886121eb565b925092509250611c89888261222e565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d15e00537f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015611d2157600080fd5b505afa158015611d35573d6000803e3d6000fd5b505050506040513d6020811015611d4b57600080fd5b50516001600160a01b03999099166000908152603a602052604090208990555091979096919550909350915050565b6001600160a01b038084166000908152603b60205260409020541680611da05750611780565b600080611dac83611c65565b6001600160a01b0387166000908152603c60205260409020549195509350611de2925086915061101c908863ffffffff611c0b16565b6001600160a01b038085166000908152603c6020908152604080832094909455603b90529190912054168015611e1e57611e1e84846000611d7a565b60408051848152602081018490528082018890526060810187905290516001600160a01b038616917f70ff8cf632603e2bfd1afb7e4061acce53d95356b1be9726b99fa22ba733b01f919081900360800190a250505050505050565b6001600160a01b038216611ebf5760405162461bcd60e51b8152600401808060200182810382526021815260200180612c0d6021913960400191505060405180910390fd5b611ecb82600083611780565b611f0e81604051806060016040528060228152602001612a39602291396001600160a01b038516600090815260346020526040902054919063ffffffff611b5316565b6001600160a01b038316600090815260346020526040902055603654611f3a908263ffffffff611f8216565b6036556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000611ac483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611b53565b6001600160a01b0381166000818152603b6020908152604080832080546001600160a01b03191690558051838152918201839052818101839052519192839290917f5e3cad45b1fe24159d1cb39788d82d0f69cc15770aa96fba1d3d1a7348735594919081900360600190a36001600160a01b0382166000908152603c602052604090205461206e57506001600160a01b0381166000908152603a60205260408120556001610adc565b506000610adc565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611780908490612516565b6001600160a01b031660009081526034602052604090205490565b6000611ac4610ab7603a6000866001600160a01b03166001600160a01b03168152602001908152602001600020546121df7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d15e00537f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b1580156121aa57600080fd5b505afa1580156121be573d6000803e3d6000fd5b505050506040513d60208110156121d457600080fd5b5051610aab87611a6a565b9063ffffffff6125c716565b6000806000806121fa85610f9c565b905060008082156122235761220e876120c8565b9050612220838263ffffffff611f8216565b91505b969195509350915050565b6001600160a01b038216612289576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61229560008383611780565b6036546122a8908263ffffffff611c0b16565b6036556001600160a01b0382166000908152603460205260409020546122d4908263ffffffff611c0b16565b6001600160a01b03831660008181526034602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000811161236b5760405162461bcd60e51b8152600401808060200182810382526030815260200180612bdd6030913960400191505060405180910390fd5b600080600061237986611c65565b9350935093505060008061238c87611c65565b93509350505061239d888588611d7a565b6123b1876111de848963ffffffff611c0b16565b6123bc8888886125ff565b60006123ce868863ffffffff611f8216565b1580156123ed5750876001600160a01b0316896001600160a01b031614155b156123fe576123fb89611fc4565b90505b876001600160a01b0316896001600160a01b03167f89a178eaa27e0cd201bd795ca8ff716ac0df9618494510ca79771cfc66ffcde8898887866124415789612444565b60005b60408051948552602085019390935283830191909152606083015260808201879052519081900360a00190a3505050505050505050565b60008261248a57506000610907565b8282028284828161249757fe5b0414611ac45760405162461bcd60e51b8152600401808060200182810382526021815260200180612afa6021913960400191505060405180910390fd5b6000611ac483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612768565b606061256b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166127cd9092919063ffffffff16565b8051909150156117805780806020019051602081101561258a57600080fd5b50516117805760405162461bcd60e51b815260040180806020018281038252602a815260200180612c77602a913960400191505060405180910390fd5b6000600282046125f783611ab86125ea876b033b2e3c9fd0803ce800000061247b565b849063ffffffff611c0b16565b949350505050565b6001600160a01b0383166126445760405162461bcd60e51b8152600401808060200182810382526025815260200180612c2e6025913960400191505060405180910390fd5b6001600160a01b0382166126895760405162461bcd60e51b8152600401808060200182810382526023815260200180612a166023913960400191505060405180910390fd5b612694838383611780565b6126d781604051806060016040528060268152602001612aaf602691396001600160a01b038616600090815260346020526040902054919063ffffffff611b5316565b6001600160a01b03808516600090815260346020526040808220939093559084168152205461270c908263ffffffff611c0b16565b6001600160a01b0380841660008181526034602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081836127b75760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611ba7578181015183820152602001611b8f565b5060008385816127c357fe5b0495945050505050565b60606125f7848460008560606127e285612944565b612833576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106128725780518252601f199092019160209182019101612853565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146128d4576040519150601f19603f3d011682016040523d82523d6000602084013e6128d9565b606091505b509150915081156128ed5791506125f79050565b8051156128fd5780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315611ba7578181015183820152602001611b8f565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906125f7575050151592915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106129be5782800160ff198235161785556129eb565b828001600101855582156129eb579182015b828111156129eb5782358255916020019190600101906129d0565b506129f79291506129fb565b5090565b6108ec91905b808211156129f75760008155600101612a0156fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e6365557365722063616e6e6f742072656465656d206d6f7265207468616e2074686520617661696c61626c652062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365557365722063616e6e6f74206769766520616c6c6f77616e636520746f2068696d73656c66536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365496e74657265737420697320616c7265616479207265646972656374656420746f207468652075736572436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a6564496e7465726573742073747265616d2063616e206f6e6c79206265207265646972656374656420696620746865726520697320612076616c69642062616c616e63655472616e7366657272656420616d6f756e74206e6565647320746f2062652067726561746572207468616e207a65726f45524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645468652063616c6c6572206f6620746869732066756e6374696f6e206d7573742062652061206c656e64696e6720706f6f6c45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f43616c6c6572206973206e6f7420616c6c6f77656420746f2072656469726563742074686520696e746572657374206f66207468652075736572a2646970667358221220e10b2f300dd511d3d44a8e620631827252064fe63a7af3c85181b7d4350e6dd164736f6c63430006080033"; diff --git a/types/MockBatFactory.ts b/types/MockBatFactory.ts index bb87d53b..cd6786bf 100644 --- a/types/MockBatFactory.ts +++ b/types/MockBatFactory.ts @@ -326,4 +326,4 @@ const _abi = [ ]; const _bytecode = - "0x608060405234801561001057600080fd5b506040518060400160405280600381526020016210905560ea1b8152506040518060400160405280601581526020017f426173696320417474656e74696f6e20546f6b656e000000000000000000000081525060128282816003908051906020019061007d9291906100d1565b5080516100919060049060208401906100d1565b50506005805460ff19166012179055506100b3816001600160e01b036100bb16565b50505061016c565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061011257805160ff191683800117855561013f565b8280016001018555821561013f579182015b8281111561013f578251825591602001919060010190610124565b5061014b92915061014f565b5090565b61016991905b8082111561014b5760008155600101610155565b90565b610b488061017b6000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122058088e6b0bfc820b3ea55c0eb21e66293ba88009a4f22dec2fd53857c7b1fd4864736f6c63430006080033"; + "0x608060405234801561001057600080fd5b506040518060400160405280600381526020016210905560ea1b8152506040518060400160405280601581526020017f426173696320417474656e74696f6e20546f6b656e000000000000000000000081525060128282816003908051906020019061007d9291906100d1565b5080516100919060049060208401906100d1565b50506005805460ff19166012179055506100b3816001600160e01b036100bb16565b50505061016c565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061011257805160ff191683800117855561013f565b8280016001018555821561013f579182015b8281111561013f578251825591602001919060010190610124565b5061014b92915061014f565b5090565b61016991905b8082111561014b5760008155600101610155565b90565b610b488061017b6000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220158537984c7e94231132d6c274c79f2a16ac8391950f053ef11e385cd59cb81b64736f6c63430006080033"; diff --git a/types/MockBusdFactory.ts b/types/MockBusdFactory.ts index 6fa64642..942f82c7 100644 --- a/types/MockBusdFactory.ts +++ b/types/MockBusdFactory.ts @@ -326,4 +326,4 @@ const _abi = [ ]; const _bytecode = - "0x608060405234801561001057600080fd5b5060405180604001604052806004815260200163109554d160e21b8152506040518060400160405280600b81526020016a109a5b985b98d9481554d160aa1b81525060128282816003908051906020019061006c9291906100c0565b5080516100809060049060208401906100c0565b50506005805460ff19166012179055506100a2816001600160e01b036100aa16565b50505061015b565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010157805160ff191683800117855561012e565b8280016001018555821561012e579182015b8281111561012e578251825591602001919060010190610113565b5061013a92915061013e565b5090565b61015891905b8082111561013a5760008155600101610144565b90565b610b488061016a6000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122024d80e3caaf1ca2556e34d848da29075805a6272f5971d08288f57a00ca4a3ab64736f6c63430006080033"; + "0x608060405234801561001057600080fd5b5060405180604001604052806004815260200163109554d160e21b8152506040518060400160405280600b81526020016a109a5b985b98d9481554d160aa1b81525060128282816003908051906020019061006c9291906100c0565b5080516100809060049060208401906100c0565b50506005805460ff19166012179055506100a2816001600160e01b036100aa16565b50505061015b565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010157805160ff191683800117855561012e565b8280016001018555821561012e579182015b8281111561012e578251825591602001919060010190610113565b5061013a92915061013e565b5090565b61015891905b8082111561013a5760008155600101610144565b90565b610b488061016a6000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212209036ef75e7cc780d1302719579b0c0b11a8a3ac5565964bf64994bcc34c9817864736f6c63430006080033"; diff --git a/types/MockDaiFactory.ts b/types/MockDaiFactory.ts index e83f1d83..e258fb46 100644 --- a/types/MockDaiFactory.ts +++ b/types/MockDaiFactory.ts @@ -326,4 +326,4 @@ const _abi = [ ]; const _bytecode = - "0x608060405234801561001057600080fd5b506040518060400160405280600381526020016244414960e81b8152506040518060400160405280600381526020016244414960e81b8152506012828281600390805190602001906100639291906100b7565b5080516100779060049060208401906100b7565b50506005805460ff1916601217905550610099816001600160e01b036100a116565b505050610152565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100f857805160ff1916838001178555610125565b82800160010185558215610125579182015b8281111561012557825182559160200191906001019061010a565b50610131929150610135565b5090565b61014f91905b80821115610131576000815560010161013b565b90565b610b48806101616000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212208dc8b7355217fa70a49c3dcd2a7ff32cc29730917b14ff706bc7b77624c48d4664736f6c63430006080033"; + "0x608060405234801561001057600080fd5b506040518060400160405280600381526020016244414960e81b8152506040518060400160405280600381526020016244414960e81b8152506012828281600390805190602001906100639291906100b7565b5080516100779060049060208401906100b7565b50506005805460ff1916601217905550610099816001600160e01b036100a116565b505050610152565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100f857805160ff1916838001178555610125565b82800160010185558215610125579182015b8281111561012557825182559160200191906001019061010a565b50610131929150610135565b5090565b61014f91905b80821115610131576000815560010161013b565b90565b610b48806101616000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220ab71b861c25cccb8d317f9caef3d0c12674259017d09a729d38515ecd5f7c3ac64736f6c63430006080033"; diff --git a/types/MockFlashLoanReceiverFactory.ts b/types/MockFlashLoanReceiverFactory.ts index 5c15c380..8333bc5a 100644 --- a/types/MockFlashLoanReceiverFactory.ts +++ b/types/MockFlashLoanReceiverFactory.ts @@ -171,4 +171,4 @@ const _abi = [ ]; const _bytecode = - "0x60806040526000805460ff60a01b1916905534801561001d57600080fd5b506040516109663803806109668339818101604052602081101561004057600080fd5b5051600080546001600160a01b039092166001600160a01b03199092169190911790556108f4806100726000396000f3fe6080604052600436106100385760003560e01c8063388f70f114610044578063405b019d14610072578063c72c4d101461014a5761003f565b3661003f57005b600080fd5b34801561005057600080fd5b506100706004803603602081101561006757600080fd5b5035151561017b565b005b34801561007e57600080fd5b50610070600480360360a081101561009557600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a0810160808201356401000000008111156100d557600080fd5b8201836020820111156100e757600080fd5b8035906020019184600183028401116401000000008311171561010957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610199945050505050565b34801561015657600080fd5b5061015f61034e565b604080516001600160a01b039092168252519081900360200190f35b60008054911515600160a01b0260ff60a01b19909216919091179055565b846101a4308261035d565b8411156101f8576040805162461bcd60e51b815260206004820181905260248201527f496e76616c69642062616c616e636520666f722074686520636f6e7472616374604482015290519081900360640190fd5b600054600160a01b900460ff161561025957604080516001600160a01b03881681526020810186905280820185905290517f816f6a6bc084e1996be1a831afa1af30763d0501b6b43b9e1922a11f347366d79181900360600190a150610347565b61026b866001600160a01b0316610412565b6102e257806001600160a01b031663a0712d68846040518263ffffffff1660e01b815260040180828152602001915050602060405180830381600087803b1580156102b557600080fd5b505af11580156102c9573d6000803e3d6000fd5b505050506040513d60208110156102df57600080fd5b50505b6102fc86866102f7878763ffffffff61043716565b610498565b604080516001600160a01b03881681526020810186905280820185905290517f7d94e9d0c906b8d7b2b52a581b9e9ba728aa6f8cd8532bd87243d193f47401be9181900360600190a1505b5050505050565b6000546001600160a01b031681565b6000610371826001600160a01b0316610412565b1561038757506001600160a01b0382163161040c565b816001600160a01b03166370a08231846040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b1580156103dd57600080fd5b505afa1580156103f1573d6000803e3d6000fd5b505050506040513d602081101561040757600080fd5b505190505b92915050565b6001600160a01b03811673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14919050565b600082820183811015610491576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6104a38284836104a8565b505050565b6104a36001600160a01b038316848363ffffffff6104c216565b806104cc576104a3565b6104d583610412565b15610581576040516000906001600160a01b0384169061c35090849084818181858888f193505050503d806000811461052a576040519150601f19603f3d011682016040523d82523d6000602084013e61052f565b606091505b505090508061057b576040805162461bcd60e51b815260206004820152601360248201527211551217d514905394d1915497d19052531151606a1b604482015290519081900360640190fd5b506104a3565b6104a36001600160a01b038416838363ffffffff61059b16565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526104a3908490606061063d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166106999092919063ffffffff16565b8051909150156104a35780806020019051602081101561065c57600080fd5b50516104a35760405162461bcd60e51b815260040180806020018281038252602a815260200180610895602a913960400191505060405180910390fd5b60606106a884846000856106b0565b949350505050565b60606106bb8561085b565b61070c576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061074b5780518252601f19909201916020918201910161072c565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146107ad576040519150601f19603f3d011682016040523d82523d6000602084013e6107b2565b606091505b509150915081156107c65791506106a89050565b8051156107d65780518082602001fd5b8360405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610820578181015183820152602001610808565b50505050905090810190601f16801561084d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906106a857505015159291505056fe5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220516cc8692ecd6324970df77ee93fb747bff000502ddb41784874b25d58bf1f1764736f6c63430006080033"; + "0x60806040526000805460ff60a01b1916905534801561001d57600080fd5b506040516108073803806108078339818101604052602081101561004057600080fd5b5051600080546001600160a01b039092166001600160a01b0319909216919091179055610795806100726000396000f3fe6080604052600436106100385760003560e01c8063388f70f114610044578063405b019d14610072578063c72c4d101461014a5761003f565b3661003f57005b600080fd5b34801561005057600080fd5b506100706004803603602081101561006757600080fd5b5035151561017b565b005b34801561007e57600080fd5b50610070600480360360a081101561009557600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a0810160808201356401000000008111156100d557600080fd5b8201836020820111156100e757600080fd5b8035906020019184600183028401116401000000008311171561010957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610199945050505050565b34801561015657600080fd5b5061015f6103a2565b604080516001600160a01b039092168252519081900360200190f35b60008054911515600160a01b0260ff60a01b19909216919091179055565b604080516370a0823160e01b8152306004820152905186916001600160a01b038316916370a0823191602480820192602092909190829003018186803b1580156101e257600080fd5b505afa1580156101f6573d6000803e3d6000fd5b505050506040513d602081101561020c57600080fd5b5051841115610262576040805162461bcd60e51b815260206004820181905260248201527f496e76616c69642062616c616e636520666f722074686520636f6e7472616374604482015290519081900360640190fd5b600054600160a01b900460ff16156102c357604080516001600160a01b03881681526020810186905280820185905290517f816f6a6bc084e1996be1a831afa1af30763d0501b6b43b9e1922a11f347366d79181900360600190a15061039b565b806001600160a01b031663a0712d68846040518263ffffffff1660e01b815260040180828152602001915050602060405180830381600087803b15801561030957600080fd5b505af115801561031d573d6000803e3d6000fd5b505050506040513d602081101561033357600080fd5b506103509050868661034b878763ffffffff6103b116565b610412565b604080516001600160a01b03881681526020810186905280820185905290517f7d94e9d0c906b8d7b2b52a581b9e9ba728aa6f8cd8532bd87243d193f47401be9181900360600190a1505b5050505050565b6000546001600160a01b031681565b60008282018381101561040b576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b61041d828483610422565b505050565b61041d6001600160a01b038316848363ffffffff61043c16565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261041d90849060606104de826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661053a9092919063ffffffff16565b80519091501561041d578080602001905160208110156104fd57600080fd5b505161041d5760405162461bcd60e51b815260040180806020018281038252602a815260200180610736602a913960400191505060405180910390fd5b60606105498484600085610551565b949350505050565b606061055c856106fc565b6105ad576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106105ec5780518252601f1990920191602091820191016105cd565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461064e576040519150601f19603f3d011682016040523d82523d6000602084013e610653565b606091505b509150915081156106675791506105499050565b8051156106775780518082602001fd5b8360405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156106c15781810151838201526020016106a9565b50505050905090810190601f1680156106ee5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061054957505015159291505056fe5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220a2ae2dcf10cb7c76a949954c150b9f788279726674dc38c1c4d33c369af7ea6864736f6c63430006080033"; diff --git a/types/MockKncFactory.ts b/types/MockKncFactory.ts index aa6df198..6207ca63 100644 --- a/types/MockKncFactory.ts +++ b/types/MockKncFactory.ts @@ -326,4 +326,4 @@ const _abi = [ ]; const _bytecode = - "0x608060405234801561001057600080fd5b50604051806040016040528060038152602001624b4e4360e81b8152506040518060400160405280600d81526020016c4b79626572204e6574776f726b60981b81525060128282816003908051906020019061006d9291906100c1565b5080516100819060049060208401906100c1565b50506005805460ff19166012179055506100a3816001600160e01b036100ab16565b50505061015c565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010257805160ff191683800117855561012f565b8280016001018555821561012f579182015b8281111561012f578251825591602001919060010190610114565b5061013b92915061013f565b5090565b61015991905b8082111561013b5760008155600101610145565b90565b610b488061016b6000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122074bb0be046fe5e7631223f0a741b2c125024cf422d454fea02c598f654c755e664736f6c63430006080033"; + "0x608060405234801561001057600080fd5b50604051806040016040528060038152602001624b4e4360e81b8152506040518060400160405280600d81526020016c4b79626572204e6574776f726b60981b81525060128282816003908051906020019061006d9291906100c1565b5080516100819060049060208401906100c1565b50506005805460ff19166012179055506100a3816001600160e01b036100ab16565b50505061015c565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010257805160ff191683800117855561012f565b8280016001018555821561012f579182015b8281111561012f578251825591602001919060010190610114565b5061013b92915061013f565b5090565b61015991905b8082111561013b5760008155600101610145565b90565b610b488061016b6000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122056c234f6185c33236de7592f34f133844b5a3802b94610c5974bbf2c2553447464736f6c63430006080033"; diff --git a/types/MockKyberProxyFactory.ts b/types/MockKyberProxyFactory.ts index f40dea97..7113dd7c 100644 --- a/types/MockKyberProxyFactory.ts +++ b/types/MockKyberProxyFactory.ts @@ -121,4 +121,4 @@ const _abi = [ ]; const _bytecode = - "0x608060405234801561001057600080fd5b506040516106b53803806106b58339818101604052602081101561003357600080fd5b5051600080546001600160a01b039092166001600160a01b0319909216919091179055610650806100656000396000f3fe6080604052600436106100295760003560e01c806329589f611461002e5780634f1b86eb146100ec575b600080fd5b6100da600480360361010081101561004557600080fd5b6001600160a01b0382358116926020810135926040820135831692606083013581169260808101359260a08201359260c0830135169190810190610100810160e082013564010000000081111561009b57600080fd5b8201836020820111156100ad57600080fd5b803590602001918460018302840111640100000000831117156100cf57600080fd5b50909250905061011d565b60408051918252519081900360200190f35b3480156100f857600080fd5b50610101610266565b604080516001600160a01b039092168252519081900360200190f35b600080546040805163140e25ad60e31b8152670de0b6b3a7640000600482015290516001600160a01b039092169163a0712d689160248082019260209290919082900301818787803b15801561017257600080fd5b505af1158015610186573d6000803e3d6000fd5b505050506040513d602081101561019c57600080fd5b50516101ef576040805162461bcd60e51b815260206004820181905260248201527f54524144455f574954485f48494e542e205265766572746564206d696e742829604482015290519081900360640190fd5b6101f7610275565b6001600160a01b03168a6001600160a01b03161461022a5761022a6001600160a01b038b1633308c63ffffffff61028d16565b60005461024f906001600160a01b031633670de0b6b3a764000063ffffffff6102ed16565b50670de0b6b3a76400009998505050505050505050565b6000546001600160a01b031681565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee90565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526102e7908590610344565b50505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261033f908490610344565b505050565b6060610399826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166103f59092919063ffffffff16565b80519091501561033f578080602001905160208110156103b857600080fd5b505161033f5760405162461bcd60e51b815260040180806020018281038252602a8152602001806105f1602a913960400191505060405180910390fd5b6060610404848460008561040c565b949350505050565b6060610417856105b7565b610468576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106104a75780518252601f199092019160209182019101610488565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610509576040519150601f19603f3d011682016040523d82523d6000602084013e61050e565b606091505b509150915081156105225791506104049050565b8051156105325780518082602001fd5b8360405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561057c578181015183820152602001610564565b50505050905090810190601f1680156105a95780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061040457505015159291505056fe5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a264697066735822122099f447de7dc340bb9fad6029140c928c6fde2d7c3b3f7bb83714a93e38cb1f2f64736f6c63430006080033"; + "0x608060405234801561001057600080fd5b506040516105fd3803806105fd8339818101604052602081101561003357600080fd5b5051600080546001600160a01b039092166001600160a01b0319909216919091179055610598806100656000396000f3fe6080604052600436106100295760003560e01c806329589f611461002e5780634f1b86eb146100ec575b600080fd5b6100da600480360361010081101561004557600080fd5b6001600160a01b0382358116926020810135926040820135831692606083013581169260808101359260a08201359260c0830135169190810190610100810160e082013564010000000081111561009b57600080fd5b8201836020820111156100ad57600080fd5b803590602001918460018302840111640100000000831117156100cf57600080fd5b50909250905061011d565b60408051918252519081900360200190f35b3480156100f857600080fd5b50610101610266565b604080516001600160a01b039092168252519081900360200190f35b600080546040805163140e25ad60e31b8152670de0b6b3a7640000600482015290516001600160a01b039092169163a0712d689160248082019260209290919082900301818787803b15801561017257600080fd5b505af1158015610186573d6000803e3d6000fd5b505050506040513d602081101561019c57600080fd5b50516101ef576040805162461bcd60e51b815260206004820181905260248201527f54524144455f574954485f48494e542e205265766572746564206d696e742829604482015290519081900360640190fd5b6101f7610275565b6001600160a01b03168a6001600160a01b03161461022a5761022a6001600160a01b038b1633308c63ffffffff61028d16565b60005461024f906001600160a01b031633670de0b6b3a764000063ffffffff6102ed16565b50670de0b6b3a76400009998505050505050505050565b6000546001600160a01b031681565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee90565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526102e7908590610344565b50505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261033f908490610344565b505050565b610356826001600160a01b03166104fc565b6103a7576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106103e55780518252601f1990920191602091820191016103c6565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610447576040519150601f19603f3d011682016040523d82523d6000602084013e61044c565b606091505b5091509150816104a3576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156102e7578080602001905160208110156104bf57600080fd5b50516102e75760405162461bcd60e51b815260040180806020018281038252602a815260200180610539602a913960400191505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061053057508115155b94935050505056fe5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212204217cd7d546f66051c30fdaa4e283314470f9c5edda974b8ca382dab7b05781364736f6c63430006080033"; diff --git a/types/MockLendFactory.ts b/types/MockLendFactory.ts index 8b9ee0fe..da79ad95 100644 --- a/types/MockLendFactory.ts +++ b/types/MockLendFactory.ts @@ -326,4 +326,4 @@ const _abi = [ ]; const _bytecode = - "0x608060405234801561001057600080fd5b50604051806040016040528060048152602001631311539160e21b815250604051806040016040528060048152602001631311539160e21b8152506012828281600390805190602001906100659291906100b9565b5080516100799060049060208401906100b9565b50506005805460ff191660121790555061009b816001600160e01b036100a316565b505050610154565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100fa57805160ff1916838001178555610127565b82800160010185558215610127579182015b8281111561012757825182559160200191906001019061010c565b50610133929150610137565b5090565b61015191905b80821115610133576000815560010161013d565b90565b610b48806101636000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220545b74b04d903fa7e5eb0ab303757e8abe9b5d8818e080de5fa7183b5b8ad71c64736f6c63430006080033"; + "0x608060405234801561001057600080fd5b50604051806040016040528060048152602001631311539160e21b815250604051806040016040528060048152602001631311539160e21b8152506012828281600390805190602001906100659291906100b9565b5080516100799060049060208401906100b9565b50506005805460ff191660121790555061009b816001600160e01b036100a316565b505050610154565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100fa57805160ff1916838001178555610127565b82800160010185558215610127579182015b8281111561012757825182559160200191906001019061010c565b50610133929150610137565b5090565b61015191905b80821115610133576000815560010161013d565b90565b610b48806101636000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122028771d83d4aaeef1112c3b75c773de202989df72352df12eb488f236925d54f364736f6c63430006080033"; diff --git a/types/MockLinkFactory.ts b/types/MockLinkFactory.ts index 1e6dcf4e..5713df76 100644 --- a/types/MockLinkFactory.ts +++ b/types/MockLinkFactory.ts @@ -326,4 +326,4 @@ const _abi = [ ]; const _bytecode = - "0x608060405234801561001057600080fd5b50604051806040016040528060048152602001634c494e4b60e01b81525060405180604001604052806009815260200168436861696e4c696e6b60b81b81525060128282816003908051906020019061006a9291906100be565b50805161007e9060049060208401906100be565b50506005805460ff19166012179055506100a0816001600160e01b036100a816565b505050610159565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100ff57805160ff191683800117855561012c565b8280016001018555821561012c579182015b8281111561012c578251825591602001919060010190610111565b5061013892915061013c565b5090565b61015691905b808211156101385760008155600101610142565b90565b610b48806101686000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212206dd7a8b3f09fbae395ba1de91774c69ce83a21bc9865cf5daa39d13e586172ba64736f6c63430006080033"; + "0x608060405234801561001057600080fd5b50604051806040016040528060048152602001634c494e4b60e01b81525060405180604001604052806009815260200168436861696e4c696e6b60b81b81525060128282816003908051906020019061006a9291906100be565b50805161007e9060049060208401906100be565b50506005805460ff19166012179055506100a0816001600160e01b036100a816565b505050610159565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100ff57805160ff191683800117855561012c565b8280016001018555821561012c579182015b8281111561012c578251825591602001919060010190610111565b5061013892915061013c565b5090565b61015691905b808211156101385760008155600101610142565b90565b610b48806101686000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122054f023e5196e08b0b46bc2c37f28d1725f407ebe3e5ca8c7444910a15d0dc19164736f6c63430006080033"; diff --git a/types/MockManaFactory.ts b/types/MockManaFactory.ts index a24d585b..36f30c52 100644 --- a/types/MockManaFactory.ts +++ b/types/MockManaFactory.ts @@ -326,4 +326,4 @@ const _abi = [ ]; const _bytecode = - "0x608060405234801561001057600080fd5b50604051806040016040528060048152602001634d414e4160e01b8152506040518060400160405280600c81526020016b111958d95b9d1c985b185b9960a21b81525060128282816003908051906020019061006d9291906100c1565b5080516100819060049060208401906100c1565b50506005805460ff19166012179055506100a3816001600160e01b036100ab16565b50505061015c565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010257805160ff191683800117855561012f565b8280016001018555821561012f579182015b8281111561012f578251825591602001919060010190610114565b5061013b92915061013f565b5090565b61015991905b8082111561013b5760008155600101610145565b90565b610b488061016b6000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220e1bbcc111aa7bc9123721a96c69d245adb1a77fef6de6403a270e48e6bb375ec64736f6c63430006080033"; + "0x608060405234801561001057600080fd5b50604051806040016040528060048152602001634d414e4160e01b8152506040518060400160405280600c81526020016b111958d95b9d1c985b185b9960a21b81525060128282816003908051906020019061006d9291906100c1565b5080516100819060049060208401906100c1565b50506005805460ff19166012179055506100a3816001600160e01b036100ab16565b50505061015c565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010257805160ff191683800117855561012f565b8280016001018555821561012f579182015b8281111561012f578251825591602001919060010190610114565b5061013b92915061013f565b5090565b61015991905b8082111561013b5760008155600101610145565b90565b610b488061016b6000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122068cfb87aadaa7c5f2c702c6a09288b93ee101ac27a8d8d39d8f24d365b43317464736f6c63430006080033"; diff --git a/types/MockMkrFactory.ts b/types/MockMkrFactory.ts index c1cc520a..5a45ddda 100644 --- a/types/MockMkrFactory.ts +++ b/types/MockMkrFactory.ts @@ -326,4 +326,4 @@ const _abi = [ ]; const _bytecode = - "0x608060405234801561001057600080fd5b506040518060400160405280600381526020016226a5a960e91b8152506040518060400160405280600581526020016426b0b5b2b960d91b8152506012828281600390805190602001906100659291906100b9565b5080516100799060049060208401906100b9565b50506005805460ff191660121790555061009b816001600160e01b036100a316565b505050610154565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100fa57805160ff1916838001178555610127565b82800160010185558215610127579182015b8281111561012757825182559160200191906001019061010c565b50610133929150610137565b5090565b61015191905b80821115610133576000815560010161013d565b90565b610b48806101636000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220811ddf04b005f383509182446dee15d73ea182bbef7758060fd4f77ae781170764736f6c63430006080033"; + "0x608060405234801561001057600080fd5b506040518060400160405280600381526020016226a5a960e91b8152506040518060400160405280600581526020016426b0b5b2b960d91b8152506012828281600390805190602001906100659291906100b9565b5080516100799060049060208401906100b9565b50506005805460ff191660121790555061009b816001600160e01b036100a316565b505050610154565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100fa57805160ff1916838001178555610127565b82800160010185558215610127579182015b8281111561012757825182559160200191906001019061010c565b50610133929150610137565b5090565b61015191905b80821115610133576000815560010161013d565b90565b610b48806101636000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212206c50da5542fe7a9edb4640fb3d372b9ca214d8a734101146ff641a9684ef498464736f6c63430006080033"; diff --git a/types/MockOneSplitFactory.ts b/types/MockOneSplitFactory.ts index 168d5411..b93ace9b 100644 --- a/types/MockOneSplitFactory.ts +++ b/types/MockOneSplitFactory.ts @@ -382,4 +382,4 @@ const _abi = [ ]; const _bytecode = - "0x608060405234801561001057600080fd5b50604051610a5a380380610a5a8339818101604052602081101561003357600080fd5b5051600080546001600160a01b039092166001600160a01b03199092169190911790556109f5806100656000396000f3fe6080604052600436106101145760003560e01c806373eb69d4116100a0578063ceb5411511610064578063ceb5411514610337578063df9116631461034c578063e2a7515e14610361578063eb16df2a1461042b578063f64a9a491461044057610114565b806373eb69d4146102ce57806383366577146102e357806383a0118f146102f85780638c6c11f21461030d578063a9d3589f1461032257610114565b80634f1b86eb116100e75780634f1b86eb1461021457806358886253146102455780635cfcee281461025a5780636b9589aa1461026f578063702bf8fa146102b957610114565b8063085e2c5b1461011957806311c0c0f7146101c35780633c1a62dc146101ea5780634c914a4e146101ff575b600080fd5b34801561012557600080fd5b50610168600480360360a081101561013c57600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060800135610455565b6040518083815260200180602001828103825283818151815260200191508051906020019060200280838360005b838110156101ae578181015183820152602001610196565b50505050905001935050505060405180910390f35b3480156101cf57600080fd5b506101d8610471565b60408051918252519081900360200190f35b3480156101f657600080fd5b506101d8610477565b34801561020b57600080fd5b506101d861047c565b34801561022057600080fd5b50610229610481565b604080516001600160a01b039092168252519081900360200190f35b34801561025157600080fd5b506101d8610490565b34801561026657600080fd5b506101d8610496565b6102b7600480360360c081101561028557600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060808101359060a0013561049b565b005b3480156102c557600080fd5b506101d86105da565b3480156102da57600080fd5b506101d86105e3565b3480156102ef57600080fd5b506101d86105e9565b34801561030457600080fd5b506101d86105ee565b34801561031957600080fd5b506101d86105f4565b34801561032e57600080fd5b506101d86105f9565b34801561034357600080fd5b506101d8610602565b34801561035857600080fd5b506101d8610607565b6102b7600480360360c081101561037757600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a0810160808201356401000000008111156103b757600080fd5b8201836020820111156103c957600080fd5b803590602001918460208302840111640100000000831117156103eb57600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955050913592506105d2915050565b34801561043757600080fd5b506101d8610610565b34801561044c57600080fd5b506101d8610615565b5050604080516000808252602082019092529094909350915050565b61010081565b602081565b604081565b6000546001600160a01b031681565b61020081565b601081565b600080546040805163140e25ad60e31b815269021e19e0c9bab2400000600482015290516001600160a01b039092169263a0712d68926024808401936020939083900390910190829087803b1580156104f357600080fd5b505af1158015610507573d6000803e3d6000fd5b505050506040513d602081101561051d57600080fd5b5051610570576040805162461bcd60e51b815260206004820181905260248201527f54524144455f574954485f48494e542e205265766572746564206d696e742829604482015290519081900360640190fd5b61057861061a565b6001600160a01b0316866001600160a01b0316146105ab576105ab6001600160a01b03871633308763ffffffff61063216565b6000546105d2906001600160a01b03163369021e19e0c9bab240000063ffffffff61069216565b505050505050565b64010000000081565b61080081565b608081565b61040081565b600881565b64040000000081565b600281565b64020000000081565b600181565b600481565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee90565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261068c9085906106e9565b50505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526106e49084906106e9565b505050565b606061073e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661079a9092919063ffffffff16565b8051909150156106e45780806020019051602081101561075d57600080fd5b50516106e45760405162461bcd60e51b815260040180806020018281038252602a815260200180610996602a913960400191505060405180910390fd5b60606107a984846000856107b1565b949350505050565b60606107bc8561095c565b61080d576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061084c5780518252601f19909201916020918201910161082d565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146108ae576040519150601f19603f3d011682016040523d82523d6000602084013e6108b3565b606091505b509150915081156108c75791506107a99050565b8051156108d75780518082602001fd5b8360405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610921578181015183820152602001610909565b50505050905090810190601f16801561094e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906107a957505015159291505056fe5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a264697066735822122062ea6b3c5f1672aa383ca4ed52aaf9a3f7d0c8b99d1b5928b39bdf248c5474e964736f6c63430006080033"; + "0x608060405234801561001057600080fd5b506040516109a23803806109a28339818101604052602081101561003357600080fd5b5051600080546001600160a01b039092166001600160a01b031990921691909117905561093d806100656000396000f3fe6080604052600436106101145760003560e01c806373eb69d4116100a0578063ceb5411511610064578063ceb5411514610337578063df9116631461034c578063e2a7515e14610361578063eb16df2a1461042b578063f64a9a491461044057610114565b806373eb69d4146102ce57806383366577146102e357806383a0118f146102f85780638c6c11f21461030d578063a9d3589f1461032257610114565b80634f1b86eb116100e75780634f1b86eb1461021457806358886253146102455780635cfcee281461025a5780636b9589aa1461026f578063702bf8fa146102b957610114565b8063085e2c5b1461011957806311c0c0f7146101c35780633c1a62dc146101ea5780634c914a4e146101ff575b600080fd5b34801561012557600080fd5b50610168600480360360a081101561013c57600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060800135610455565b6040518083815260200180602001828103825283818151815260200191508051906020019060200280838360005b838110156101ae578181015183820152602001610196565b50505050905001935050505060405180910390f35b3480156101cf57600080fd5b506101d8610471565b60408051918252519081900360200190f35b3480156101f657600080fd5b506101d8610477565b34801561020b57600080fd5b506101d861047c565b34801561022057600080fd5b50610229610481565b604080516001600160a01b039092168252519081900360200190f35b34801561025157600080fd5b506101d8610490565b34801561026657600080fd5b506101d8610496565b6102b7600480360360c081101561028557600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060808101359060a0013561049b565b005b3480156102c557600080fd5b506101d86105da565b3480156102da57600080fd5b506101d86105e3565b3480156102ef57600080fd5b506101d86105e9565b34801561030457600080fd5b506101d86105ee565b34801561031957600080fd5b506101d86105f4565b34801561032e57600080fd5b506101d86105f9565b34801561034357600080fd5b506101d8610602565b34801561035857600080fd5b506101d8610607565b6102b7600480360360c081101561037757600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a0810160808201356401000000008111156103b757600080fd5b8201836020820111156103c957600080fd5b803590602001918460208302840111640100000000831117156103eb57600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955050913592506105d2915050565b34801561043757600080fd5b506101d8610610565b34801561044c57600080fd5b506101d8610615565b5050604080516000808252602082019092529094909350915050565b61010081565b602081565b604081565b6000546001600160a01b031681565b61020081565b601081565b600080546040805163140e25ad60e31b815269021e19e0c9bab2400000600482015290516001600160a01b039092169263a0712d68926024808401936020939083900390910190829087803b1580156104f357600080fd5b505af1158015610507573d6000803e3d6000fd5b505050506040513d602081101561051d57600080fd5b5051610570576040805162461bcd60e51b815260206004820181905260248201527f54524144455f574954485f48494e542e205265766572746564206d696e742829604482015290519081900360640190fd5b61057861061a565b6001600160a01b0316866001600160a01b0316146105ab576105ab6001600160a01b03871633308763ffffffff61063216565b6000546105d2906001600160a01b03163369021e19e0c9bab240000063ffffffff61069216565b505050505050565b64010000000081565b61080081565b608081565b61040081565b600881565b64040000000081565b600281565b64020000000081565b600181565b600481565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee90565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261068c9085906106e9565b50505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526106e49084906106e9565b505050565b6106fb826001600160a01b03166108a1565b61074c576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b6020831061078a5780518252601f19909201916020918201910161076b565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146107ec576040519150601f19603f3d011682016040523d82523d6000602084013e6107f1565b606091505b509150915081610848576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b80511561068c5780806020019051602081101561086457600080fd5b505161068c5760405162461bcd60e51b815260040180806020018281038252602a8152602001806108de602a913960400191505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906108d557508115155b94935050505056fe5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212208f6f9be9efe89f081a883d87839c5c72e6e2a24624979cb5bef2737fef3eaf2f64736f6c63430006080033"; diff --git a/types/MockRepFactory.ts b/types/MockRepFactory.ts index a1e84cf9..7e7ce400 100644 --- a/types/MockRepFactory.ts +++ b/types/MockRepFactory.ts @@ -326,4 +326,4 @@ const _abi = [ ]; const _bytecode = - "0x608060405234801561001057600080fd5b506040518060400160405280600381526020016205245560ec1b8152506040518060400160405280600581526020016420bab3bab960d91b8152506012828281600390805190602001906100659291906100b9565b5080516100799060049060208401906100b9565b50506005805460ff191660121790555061009b816001600160e01b036100a316565b505050610154565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100fa57805160ff1916838001178555610127565b82800160010185558215610127579182015b8281111561012757825182559160200191906001019061010c565b50610133929150610137565b5090565b61015191905b80821115610133576000815560010161013d565b90565b610b48806101636000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212200afa55a2b247b77ca913048713e6ef107ad13fb45ca5c406442a99ddbf8409fc64736f6c63430006080033"; + "0x608060405234801561001057600080fd5b506040518060400160405280600381526020016205245560ec1b8152506040518060400160405280600581526020016420bab3bab960d91b8152506012828281600390805190602001906100659291906100b9565b5080516100799060049060208401906100b9565b50506005805460ff191660121790555061009b816001600160e01b036100a316565b505050610154565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100fa57805160ff1916838001178555610127565b82800160010185558215610127579182015b8281111561012757825182559160200191906001019061010c565b50610133929150610137565b5090565b61015191905b80821115610133576000815560010161013d565b90565b610b48806101636000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212201b98b546c0531412dc951bb06befc11767cb2e0664e19e5efa3a9713db5eff8964736f6c63430006080033"; diff --git a/types/MockSnxFactory.ts b/types/MockSnxFactory.ts index c80cd0e4..655eb239 100644 --- a/types/MockSnxFactory.ts +++ b/types/MockSnxFactory.ts @@ -326,4 +326,4 @@ const _abi = [ ]; const _bytecode = - "0x608060405234801561001057600080fd5b50604051806040016040528060038152602001620a69cb60eb1b815250604051806040016040528060038152602001620a69cb60eb1b8152506012828281600390805190602001906100639291906100b7565b5080516100779060049060208401906100b7565b50506005805460ff1916601217905550610099816001600160e01b036100a116565b505050610152565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100f857805160ff1916838001178555610125565b82800160010185558215610125579182015b8281111561012557825182559160200191906001019061010a565b50610131929150610135565b5090565b61014f91905b80821115610131576000815560010161013b565b90565b610b48806101616000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212206b5a772b92d404a5eee02b1a7a5a349368e2286123429493173382009b86ad4964736f6c63430006080033"; + "0x608060405234801561001057600080fd5b50604051806040016040528060038152602001620a69cb60eb1b815250604051806040016040528060038152602001620a69cb60eb1b8152506012828281600390805190602001906100639291906100b7565b5080516100779060049060208401906100b7565b50506005805460ff1916601217905550610099816001600160e01b036100a116565b505050610152565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100f857805160ff1916838001178555610125565b82800160010185558215610125579182015b8281111561012557825182559160200191906001019061010a565b50610131929150610135565b5090565b61014f91905b80821115610131576000815560010161013b565b90565b610b48806101616000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212206127c58fb3d4a06c59190f01a603eabca174a788fe81363790e190a32f7c8be564736f6c63430006080033"; diff --git a/types/MockStableDebtToken.d.ts b/types/MockStableDebtToken.d.ts new file mode 100644 index 00000000..444b205f --- /dev/null +++ b/types/MockStableDebtToken.d.ts @@ -0,0 +1,390 @@ +/* Generated by ts-generator ver. 0.0.8 */ +/* tslint:disable */ + +import { Contract, ContractTransaction, EventFilter, Signer } from "ethers"; +import { Listener, Provider } from "ethers/providers"; +import { Arrayish, BigNumber, BigNumberish, Interface } from "ethers/utils"; +import { + TransactionOverrides, + TypedEventDescription, + TypedFunctionDescription +} from "."; + +interface MockStableDebtTokenInterface extends Interface { + functions: { + DEBT_TOKEN_REVISION: TypedFunctionDescription<{ encode([]: []): string }>; + + allowance: TypedFunctionDescription<{ + encode([owner, spender]: [string, string]): string; + }>; + + approve: TypedFunctionDescription<{ + encode([spender, _amount]: [string, BigNumberish]): string; + }>; + + balanceOf: TypedFunctionDescription<{ + encode([account]: [string]): string; + }>; + + burn: TypedFunctionDescription<{ + encode([_user, _amount]: [string, BigNumberish]): string; + }>; + + decimals: TypedFunctionDescription<{ encode([]: []): string }>; + + decreaseAllowance: TypedFunctionDescription<{ + encode([spender, subtractedValue]: [string, BigNumberish]): string; + }>; + + getAverageStableRate: TypedFunctionDescription<{ encode([]: []): string }>; + + getUserLastUpdated: TypedFunctionDescription<{ + encode([_user]: [string]): string; + }>; + + getUserStableRate: TypedFunctionDescription<{ + encode([_user]: [string]): string; + }>; + + increaseAllowance: TypedFunctionDescription<{ + encode([spender, addedValue]: [string, BigNumberish]): string; + }>; + + initialize: TypedFunctionDescription<{ + encode([_decimals, _name, _symbol]: [ + BigNumberish, + string, + string + ]): string; + }>; + + mint: TypedFunctionDescription<{ + encode([_user, _amount, _rate]: [ + string, + BigNumberish, + BigNumberish + ]): string; + }>; + + name: TypedFunctionDescription<{ encode([]: []): string }>; + + principalBalanceOf: TypedFunctionDescription<{ + encode([_user]: [string]): string; + }>; + + symbol: TypedFunctionDescription<{ encode([]: []): string }>; + + totalSupply: TypedFunctionDescription<{ encode([]: []): string }>; + + transfer: TypedFunctionDescription<{ + encode([recipient, _amount]: [string, BigNumberish]): string; + }>; + + transferFrom: TypedFunctionDescription<{ + encode([sender, recipient, _amount]: [ + string, + string, + BigNumberish + ]): string; + }>; + + underlyingAssetAddress: TypedFunctionDescription<{ + encode([]: []): string; + }>; + }; + + events: { + Approval: TypedEventDescription<{ + encodeTopics([owner, spender, value]: [ + string | null, + string | null, + null + ]): string[]; + }>; + + Transfer: TypedEventDescription<{ + encodeTopics([from, to, value]: [ + string | null, + string | null, + null + ]): string[]; + }>; + + burnDebt: TypedEventDescription<{ + encodeTopics([ + _user, + _amount, + _previousBalance, + _currentBalance, + _balanceIncrease + ]: [null, null, null, null, null]): string[]; + }>; + + mintDebt: TypedEventDescription<{ + encodeTopics([ + _user, + _amount, + _previousBalance, + _currentBalance, + _balanceIncrease, + _newRate + ]: [null, null, null, null, null, null]): string[]; + }>; + }; +} + +export class MockStableDebtToken extends Contract { + connect(signerOrProvider: Signer | Provider | string): MockStableDebtToken; + attach(addressOrName: string): MockStableDebtToken; + deployed(): Promise; + + on(event: EventFilter | string, listener: Listener): MockStableDebtToken; + once(event: EventFilter | string, listener: Listener): MockStableDebtToken; + addListener( + eventName: EventFilter | string, + listener: Listener + ): MockStableDebtToken; + removeAllListeners(eventName: EventFilter | string): MockStableDebtToken; + removeListener(eventName: any, listener: Listener): MockStableDebtToken; + + interface: MockStableDebtTokenInterface; + + functions: { + DEBT_TOKEN_REVISION(): Promise; + + allowance(owner: string, spender: string): Promise; + + approve( + spender: string, + _amount: BigNumberish, + overrides?: TransactionOverrides + ): Promise; + + balanceOf(account: string): Promise; + + burn( + _user: string, + _amount: BigNumberish, + overrides?: TransactionOverrides + ): Promise; + + decimals(): Promise; + + decreaseAllowance( + spender: string, + subtractedValue: BigNumberish, + overrides?: TransactionOverrides + ): Promise; + + getAverageStableRate(): Promise; + + getUserLastUpdated(_user: string): Promise; + + getUserStableRate(_user: string): Promise; + + increaseAllowance( + spender: string, + addedValue: BigNumberish, + overrides?: TransactionOverrides + ): Promise; + + initialize( + _decimals: BigNumberish, + _name: string, + _symbol: string, + overrides?: TransactionOverrides + ): Promise; + + mint( + _user: string, + _amount: BigNumberish, + _rate: BigNumberish, + overrides?: TransactionOverrides + ): Promise; + + name(): Promise; + + principalBalanceOf(_user: string): Promise; + + symbol(): Promise; + + totalSupply(): Promise; + + transfer( + recipient: string, + _amount: BigNumberish, + overrides?: TransactionOverrides + ): Promise; + + transferFrom( + sender: string, + recipient: string, + _amount: BigNumberish, + overrides?: TransactionOverrides + ): Promise; + + underlyingAssetAddress(): Promise; + }; + + DEBT_TOKEN_REVISION(): Promise; + + allowance(owner: string, spender: string): Promise; + + approve( + spender: string, + _amount: BigNumberish, + overrides?: TransactionOverrides + ): Promise; + + balanceOf(account: string): Promise; + + burn( + _user: string, + _amount: BigNumberish, + overrides?: TransactionOverrides + ): Promise; + + decimals(): Promise; + + decreaseAllowance( + spender: string, + subtractedValue: BigNumberish, + overrides?: TransactionOverrides + ): Promise; + + getAverageStableRate(): Promise; + + getUserLastUpdated(_user: string): Promise; + + getUserStableRate(_user: string): Promise; + + increaseAllowance( + spender: string, + addedValue: BigNumberish, + overrides?: TransactionOverrides + ): Promise; + + initialize( + _decimals: BigNumberish, + _name: string, + _symbol: string, + overrides?: TransactionOverrides + ): Promise; + + mint( + _user: string, + _amount: BigNumberish, + _rate: BigNumberish, + overrides?: TransactionOverrides + ): Promise; + + name(): Promise; + + principalBalanceOf(_user: string): Promise; + + symbol(): Promise; + + totalSupply(): Promise; + + transfer( + recipient: string, + _amount: BigNumberish, + overrides?: TransactionOverrides + ): Promise; + + transferFrom( + sender: string, + recipient: string, + _amount: BigNumberish, + overrides?: TransactionOverrides + ): Promise; + + underlyingAssetAddress(): Promise; + + filters: { + Approval( + owner: string | null, + spender: string | null, + value: null + ): EventFilter; + + Transfer(from: string | null, to: string | null, value: null): EventFilter; + + burnDebt( + _user: null, + _amount: null, + _previousBalance: null, + _currentBalance: null, + _balanceIncrease: null + ): EventFilter; + + mintDebt( + _user: null, + _amount: null, + _previousBalance: null, + _currentBalance: null, + _balanceIncrease: null, + _newRate: null + ): EventFilter; + }; + + estimate: { + DEBT_TOKEN_REVISION(): Promise; + + allowance(owner: string, spender: string): Promise; + + approve(spender: string, _amount: BigNumberish): Promise; + + balanceOf(account: string): Promise; + + burn(_user: string, _amount: BigNumberish): Promise; + + decimals(): Promise; + + decreaseAllowance( + spender: string, + subtractedValue: BigNumberish + ): Promise; + + getAverageStableRate(): Promise; + + getUserLastUpdated(_user: string): Promise; + + getUserStableRate(_user: string): Promise; + + increaseAllowance( + spender: string, + addedValue: BigNumberish + ): Promise; + + initialize( + _decimals: BigNumberish, + _name: string, + _symbol: string + ): Promise; + + mint( + _user: string, + _amount: BigNumberish, + _rate: BigNumberish + ): Promise; + + name(): Promise; + + principalBalanceOf(_user: string): Promise; + + symbol(): Promise; + + totalSupply(): Promise; + + transfer(recipient: string, _amount: BigNumberish): Promise; + + transferFrom( + sender: string, + recipient: string, + _amount: BigNumberish + ): Promise; + + underlyingAssetAddress(): Promise; + }; +} diff --git a/types/MockStableDebtTokenFactory.ts b/types/MockStableDebtTokenFactory.ts new file mode 100644 index 00000000..e036fa39 --- /dev/null +++ b/types/MockStableDebtTokenFactory.ts @@ -0,0 +1,600 @@ +/* Generated by ts-generator ver. 0.0.8 */ +/* tslint:disable */ + +import { Contract, ContractFactory, Signer } from "ethers"; +import { Provider } from "ethers/providers"; +import { UnsignedTransaction } from "ethers/utils/transaction"; + +import { TransactionOverrides } from "."; +import { MockStableDebtToken } from "./MockStableDebtToken"; + +export class MockStableDebtTokenFactory extends ContractFactory { + constructor(signer?: Signer) { + super(_abi, _bytecode, signer); + } + + deploy( + _pool: string, + _underlyingAssetAddress: string, + _tokenName: string, + _tokenSymbol: string, + overrides?: TransactionOverrides + ): Promise { + return super.deploy( + _pool, + _underlyingAssetAddress, + _tokenName, + _tokenSymbol, + overrides + ) as Promise; + } + getDeployTransaction( + _pool: string, + _underlyingAssetAddress: string, + _tokenName: string, + _tokenSymbol: string, + overrides?: TransactionOverrides + ): UnsignedTransaction { + return super.getDeployTransaction( + _pool, + _underlyingAssetAddress, + _tokenName, + _tokenSymbol, + overrides + ); + } + attach(address: string): MockStableDebtToken { + return super.attach(address) as MockStableDebtToken; + } + connect(signer: Signer): MockStableDebtTokenFactory { + return super.connect(signer) as MockStableDebtTokenFactory; + } + static connect( + address: string, + signerOrProvider: Signer | Provider + ): MockStableDebtToken { + return new Contract(address, _abi, signerOrProvider) as MockStableDebtToken; + } +} + +const _abi = [ + { + inputs: [ + { + internalType: "address", + name: "_pool", + type: "address" + }, + { + internalType: "address", + name: "_underlyingAssetAddress", + type: "address" + }, + { + internalType: "string", + name: "_tokenName", + type: "string" + }, + { + internalType: "string", + name: "_tokenSymbol", + type: "string" + } + ], + stateMutability: "nonpayable", + type: "constructor" + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: "address", + name: "owner", + type: "address" + }, + { + indexed: true, + internalType: "address", + name: "spender", + type: "address" + }, + { + indexed: false, + internalType: "uint256", + name: "value", + type: "uint256" + } + ], + name: "Approval", + type: "event" + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: "address", + name: "from", + type: "address" + }, + { + indexed: true, + internalType: "address", + name: "to", + type: "address" + }, + { + indexed: false, + internalType: "uint256", + name: "value", + type: "uint256" + } + ], + name: "Transfer", + type: "event" + }, + { + anonymous: false, + inputs: [ + { + indexed: false, + internalType: "address", + name: "_user", + type: "address" + }, + { + indexed: false, + internalType: "uint256", + name: "_amount", + type: "uint256" + }, + { + indexed: false, + internalType: "uint256", + name: "_previousBalance", + type: "uint256" + }, + { + indexed: false, + internalType: "uint256", + name: "_currentBalance", + type: "uint256" + }, + { + indexed: false, + internalType: "uint256", + name: "_balanceIncrease", + type: "uint256" + } + ], + name: "burnDebt", + type: "event" + }, + { + anonymous: false, + inputs: [ + { + indexed: false, + internalType: "address", + name: "_user", + type: "address" + }, + { + indexed: false, + internalType: "uint256", + name: "_amount", + type: "uint256" + }, + { + indexed: false, + internalType: "uint256", + name: "_previousBalance", + type: "uint256" + }, + { + indexed: false, + internalType: "uint256", + name: "_currentBalance", + type: "uint256" + }, + { + indexed: false, + internalType: "uint256", + name: "_balanceIncrease", + type: "uint256" + }, + { + indexed: false, + internalType: "uint256", + name: "_newRate", + type: "uint256" + } + ], + name: "mintDebt", + type: "event" + }, + { + inputs: [], + name: "DEBT_TOKEN_REVISION", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256" + } + ], + stateMutability: "view", + type: "function" + }, + { + inputs: [ + { + internalType: "address", + name: "owner", + type: "address" + }, + { + internalType: "address", + name: "spender", + type: "address" + } + ], + name: "allowance", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256" + } + ], + stateMutability: "view", + type: "function" + }, + { + inputs: [ + { + internalType: "address", + name: "spender", + type: "address" + }, + { + internalType: "uint256", + name: "_amount", + type: "uint256" + } + ], + name: "approve", + outputs: [ + { + internalType: "bool", + name: "", + type: "bool" + } + ], + stateMutability: "nonpayable", + type: "function" + }, + { + inputs: [ + { + internalType: "address", + name: "account", + type: "address" + } + ], + name: "balanceOf", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256" + } + ], + stateMutability: "view", + type: "function" + }, + { + inputs: [ + { + internalType: "address", + name: "_user", + type: "address" + }, + { + internalType: "uint256", + name: "_amount", + type: "uint256" + } + ], + name: "burn", + outputs: [], + stateMutability: "nonpayable", + type: "function" + }, + { + inputs: [], + name: "decimals", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8" + } + ], + stateMutability: "view", + type: "function" + }, + { + inputs: [ + { + internalType: "address", + name: "spender", + type: "address" + }, + { + internalType: "uint256", + name: "subtractedValue", + type: "uint256" + } + ], + name: "decreaseAllowance", + outputs: [ + { + internalType: "bool", + name: "", + type: "bool" + } + ], + stateMutability: "nonpayable", + type: "function" + }, + { + inputs: [], + name: "getAverageStableRate", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256" + } + ], + stateMutability: "view", + type: "function" + }, + { + inputs: [ + { + internalType: "address", + name: "_user", + type: "address" + } + ], + name: "getUserLastUpdated", + outputs: [ + { + internalType: "uint40", + name: "", + type: "uint40" + } + ], + stateMutability: "view", + type: "function" + }, + { + inputs: [ + { + internalType: "address", + name: "_user", + type: "address" + } + ], + name: "getUserStableRate", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256" + } + ], + stateMutability: "view", + type: "function" + }, + { + inputs: [ + { + internalType: "address", + name: "spender", + type: "address" + }, + { + internalType: "uint256", + name: "addedValue", + type: "uint256" + } + ], + name: "increaseAllowance", + outputs: [ + { + internalType: "bool", + name: "", + type: "bool" + } + ], + stateMutability: "nonpayable", + type: "function" + }, + { + inputs: [ + { + internalType: "uint8", + name: "_decimals", + type: "uint8" + }, + { + internalType: "string", + name: "_name", + type: "string" + }, + { + internalType: "string", + name: "_symbol", + type: "string" + } + ], + name: "initialize", + outputs: [], + stateMutability: "nonpayable", + type: "function" + }, + { + inputs: [ + { + internalType: "address", + name: "_user", + type: "address" + }, + { + internalType: "uint256", + name: "_amount", + type: "uint256" + }, + { + internalType: "uint256", + name: "_rate", + type: "uint256" + } + ], + name: "mint", + outputs: [], + stateMutability: "nonpayable", + type: "function" + }, + { + inputs: [], + name: "name", + outputs: [ + { + internalType: "string", + name: "", + type: "string" + } + ], + stateMutability: "view", + type: "function" + }, + { + inputs: [ + { + internalType: "address", + name: "_user", + type: "address" + } + ], + name: "principalBalanceOf", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256" + } + ], + stateMutability: "view", + type: "function" + }, + { + inputs: [], + name: "symbol", + outputs: [ + { + internalType: "string", + name: "", + type: "string" + } + ], + stateMutability: "view", + type: "function" + }, + { + inputs: [], + name: "totalSupply", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256" + } + ], + stateMutability: "view", + type: "function" + }, + { + inputs: [ + { + internalType: "address", + name: "recipient", + type: "address" + }, + { + internalType: "uint256", + name: "_amount", + type: "uint256" + } + ], + name: "transfer", + outputs: [ + { + internalType: "bool", + name: "", + type: "bool" + } + ], + stateMutability: "nonpayable", + type: "function" + }, + { + inputs: [ + { + internalType: "address", + name: "sender", + type: "address" + }, + { + internalType: "address", + name: "recipient", + type: "address" + }, + { + internalType: "uint256", + name: "_amount", + type: "uint256" + } + ], + name: "transferFrom", + outputs: [ + { + internalType: "bool", + name: "", + type: "bool" + } + ], + stateMutability: "nonpayable", + type: "function" + }, + { + inputs: [], + name: "underlyingAssetAddress", + outputs: [ + { + internalType: "address", + name: "", + type: "address" + } + ], + stateMutability: "view", + type: "function" + } +]; + +const _bytecode = + "0x60c0604052600080553480156200001557600080fd5b506040516200172238038062001722833981810160405260808110156200003b57600080fd5b815160208301516040808501805191519395929483019291846401000000008211156200006757600080fd5b9083019060208201858111156200007d57600080fd5b82516401000000008111828201881017156200009857600080fd5b82525081516020918201929091019080838360005b83811015620000c7578181015183820152602001620000ad565b50505050905090810190601f168015620000f55780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200011957600080fd5b9083019060208201858111156200012f57600080fd5b82516401000000008111828201881017156200014a57600080fd5b82525081516020918201929091019080838360005b83811015620001795781810151838201526020016200015f565b50505050905090810190601f168015620001a75780820380516001836020036101000a031916815260200191505b506040525050506001600160601b0319606085811b821660a05284901b16608052815184908490849084908490849084908490620001ed90603590602085019062000216565b5080516200020390603690602084019062000216565b50505050505050505050505050620002bb565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200025957805160ff191683800117855562000289565b8280016001018555821562000289579182015b82811115620002895782518255916020019190600101906200026c565b50620002979291506200029b565b5090565b620002b891905b80821115620002975760008155600101620002a2565b90565b60805160601c60a05160601c611438620002ea600039806106485280610b5f525080610ad052506114386000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c806389d1a0fc116100ad578063a9059cbb11610071578063a9059cbb146104b9578063b9a7b622146104e5578063c634dfaa146104ed578063dd62ed3e14610513578063e78c9b3b146105415761012c565b806389d1a0fc1461045957806390f6fcf21461047d57806395d89b41146104855780639dc29fac1461048d578063a457c2d7146103c75761012c565b80633118724e116100f45780633118724e14610272578063313ce567146103a957806339509351146103c757806370a08231146103f357806379ce6b8c146104195761012c565b806306fdde0314610131578063095ea7b3146101ae578063156e29f6146101ee57806318160ddd1461022257806323b872dd1461023c575b600080fd5b610139610567565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561017357818101518382015260200161015b565b50505050905090810190601f1680156101a05780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101da600480360360408110156101c457600080fd5b506001600160a01b0381351690602001356105f5565b604080519115158252519081900360200190f35b6102206004803603606081101561020457600080fd5b506001600160a01b03813516906020810135906040013561063d565b005b61022a610883565b60408051918252519081900360200190f35b6101da6004803603606081101561025257600080fd5b506001600160a01b03813581169160208101359091169060400135610889565b6102206004803603606081101561028857600080fd5b60ff82351691908101906040810160208201356401000000008111156102ad57600080fd5b8201836020820111156102bf57600080fd5b803590602001918460018302840111640100000000831117156102e157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561033457600080fd5b82018360208201111561034657600080fd5b8035906020019184600183028401116401000000008311171561036857600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506108d1945050505050565b6103b16109a7565b6040805160ff9092168252519081900360200190f35b6101da600480360360408110156103dd57600080fd5b506001600160a01b0381351690602001356109b0565b61022a6004803603602081101561040957600080fd5b50356001600160a01b03166109ff565b61043f6004803603602081101561042f57600080fd5b50356001600160a01b0316610aa9565b6040805164ffffffffff9092168252519081900360200190f35b610461610ace565b604080516001600160a01b039092168252519081900360200190f35b61022a610af2565b610139610af9565b610220600480360360408110156104a357600080fd5b506001600160a01b038135169060200135610b54565b6101da600480360360408110156104cf57600080fd5b506001600160a01b038135169060200135610889565b61022a610d59565b61022a6004803603602081101561050357600080fd5b50356001600160a01b0316610d5e565b61022a6004803603604081101561052957600080fd5b506001600160a01b03813581169160200135166109b0565b61022a6004803603602081101561055757600080fd5b50356001600160a01b0316610d79565b6035805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105ed5780601f106105c2576101008083540402835291602001916105ed565b820191906000526020600020905b8154815290600101906020018083116105d057829003601f168201915b505050505081565b6040805162461bcd60e51b81526020600482015260166024820152751054141493d5905317d393d517d4d5541413d495115160521b6044820152905160009181900360640190fd5b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146106a45760405162461bcd60e51b81526004018080602001828103825260328152602001806113d16032913960400191505060405180910390fd5b6106ac6112c1565b60008060006106ba87610d94565b9250925092506106d581603454610df890919063ffffffff16565b602085018190526106ec908763ffffffff610df816565b84526106f786610e5b565b6040850152610779610717610712848963ffffffff610df816565b610e5b565b604086015161076d90610730908963ffffffff610e7116565b61076161073c87610e5b565b6001600160a01b038d166000908152603a60205260409020549063ffffffff610e7116565b9063ffffffff610df816565b9063ffffffff610eb516565b606085018190526001600160a01b0388166000908152603a60205260409020908155600101805464ffffffffff19164264ffffffffff1617905583516107fb906107c290610e5b565b61076d6107dc876040015189610e7190919063ffffffff16565b6107616107ec8960200151610e5b565b6039549063ffffffff610e7116565b60395561081787610812888463ffffffff610df816565b610eed565b606080850151604080516001600160a01b038b168152602081018a90528082018790529283018590526080830184905260a0830191909152517f94ba3ac5ed6fee7b49ed817c5ee964eed9bd5da6860344f95fc56997e920381d9181900360c00190a150505050505050565b60345481565b6040805162461bcd60e51b81526020600482015260166024820152751514905394d1915497d393d517d4d5541413d495115160521b6044820152905160009181900360640190fd5b60006108db610f4c565b60015490915060ff16806108f257506108f2610f51565b806108fe575060005481115b6109395760405162461bcd60e51b815260040180806020018281038252602e8152602001806113a3602e913960400191505060405180910390fd5b60015460ff16158015610958576001805460ff19168117905560008290555b835161096b9060359060208701906112e9565b50825161097f9060369060208601906112e9565b506037805460ff191660ff871617905580156109a0576001805460ff191690555b5050505050565b60375460ff1681565b6040805162461bcd60e51b815260206004820152601760248201527f414c4c4f57414e43455f4e4f545f535550504f525445440000000000000000006044820152905160009181900360640190fd5b6001600160a01b038116600090815260386020526040812054610a2457506000610aa4565b6001600160a01b0382166000908152603a6020526040812080546001820154919291610a57919064ffffffffff16610f57565b9050610a9f610a9a82610a8e60386000896001600160a01b03166001600160a01b0316815260200190815260200160002054610e5b565b9063ffffffff610e7116565b611079565b925050505b919050565b6001600160a01b03166000908152603a602052604090206001015464ffffffffff1690565b7f000000000000000000000000000000000000000000000000000000000000000081565b6039545b90565b6036805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105ed5780601f106105c2576101008083540402835291602001916105ed565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610bbb5760405162461bcd60e51b81526004018080602001828103825260328152602001806113d16032913960400191505060405180910390fd5b6000806000610bc985610d94565b9250925092506000610be682603454610df890919063ffffffff16565b90506000610bfa828763ffffffff61109916565b90506000610c2387610c1786603454610df890919063ffffffff16565b9063ffffffff61109916565b90506000610c3088610e5b565b905081610c41576000603955610c8a565b610c86610c4d84610e5b565b6001600160a01b038b166000908152603a602052604090205461076d90610c7a908563ffffffff610e7116565b610c176107ec89610e5b565b6039555b85881415610cbd576001600160a01b0389166000908152603a60205260408120908155600101805464ffffffffff191690555b87851115610cde57610cd989610812878b63ffffffff61109916565b610cf7565b610cf789610cf28a8863ffffffff61109916565b6110db565b604080516001600160a01b038b168152602081018a9052808201899052606081018890526080810187905290517fecde08620c30706a4d7ba53e9163327f2e12a6cea2709dd6a9226fed28c2bb729181900360a00190a1505050505050505050565b600181565b6001600160a01b031660009081526038602052604090205490565b6001600160a01b03166000908152603a602052604090205490565b6001600160a01b0381166000908152603860205260408120548190819080610dc6575060009250829150819050610df1565b6000610dd582610c17886109ff565b905081610de8818363ffffffff610df816565b90955093509150505b9193909250565b600082820183811015610e52576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b6000610e5582633b9aca0063ffffffff61111a16565b6000610e526b033b2e3c9fd0803ce8000000610ea9610e96868663ffffffff61111a16565b6b019d971e4fe8401e7400000090610df8565b9063ffffffff61117316565b600060028204610ee583610ea9610ed8876b033b2e3c9fd0803ce800000061111a565b849063ffffffff610df816565b949350505050565b603454610f00908263ffffffff610df816565b6034556001600160a01b038216600090815260386020526040902054610f2c908263ffffffff610df816565b6001600160a01b0390921660009081526038602052604090209190915550565b600290565b303b1590565b600080610f714264ffffffffff851663ffffffff61109916565b905080610f8857610f806111b5565b915050610e55565b6000610f9b82600163ffffffff61109916565b9050600060028311610fae576000610fbf565b610fbf83600263ffffffff61109916565b90506000610fd7876301e1338063ffffffff61117316565b90506000610feb828063ffffffff610e7116565b90506000610fff828463ffffffff610e7116565b905060006110286002610ea98561101c8b8b63ffffffff61111a16565b9063ffffffff61111a16565b905060006110476006610ea98561101c8a818e8e63ffffffff61111a16565b905061106a8161076184816110628a8e63ffffffff61111a16565b6107616111b5565b9b9a5050505050505050505050565b6000631dcd6500611092633b9aca00610ea98386610df8565b9392505050565b6000610e5283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111c5565b6034546110ee908263ffffffff61109916565b6034556001600160a01b038216600090815260386020526040902054610f2c908263ffffffff61109916565b60008261112957506000610e55565b8282028284828161113657fe5b0414610e525760405162461bcd60e51b81526004018080602001828103825260218152602001806113826021913960400191505060405180910390fd5b6000610e5283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061125c565b6b033b2e3c9fd0803ce800000090565b600081848411156112545760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611219578181015183820152602001611201565b50505050905090810190601f1680156112465780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836112ab5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611219578181015183820152602001611201565b5060008385816112b757fe5b0495945050505050565b6040518060800160405280600081526020016000815260200160008152602001600081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061132a57805160ff1916838001178555611357565b82800160010185558215611357579182015b8281111561135757825182559160200191906001019061133c565b50611363929150611367565b5090565b610af691905b80821115611363576000815560010161136d56fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a65645468652063616c6c6572206f6620746869732066756e6374696f6e206d7573742062652061206c656e64696e6720706f6f6ca2646970667358221220a3b1f5d72fe9e2ffbe9e0672be97e4cbebd281905f98eca8112aab63733a2c4164736f6c63430006080033"; diff --git a/types/MockSusdFactory.ts b/types/MockSusdFactory.ts index 2f9d0f7a..5a883c9e 100644 --- a/types/MockSusdFactory.ts +++ b/types/MockSusdFactory.ts @@ -326,4 +326,4 @@ const _abi = [ ]; const _bytecode = - "0x608060405234801561001057600080fd5b506040518060400160405280600481526020016314d554d160e21b8152506040518060400160405280600d81526020016c14de5b9d1a195d1a5e081554d1609a1b81525060068282816003908051906020019061006e9291906100c2565b5080516100829060049060208401906100c2565b50506005805460ff19166012179055506100a4816001600160e01b036100ac16565b50505061015d565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010357805160ff1916838001178555610130565b82800160010185558215610130579182015b82811115610130578251825591602001919060010190610115565b5061013c929150610140565b5090565b61015a91905b8082111561013c5760008155600101610146565b90565b610b488061016c6000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212201294b6b8230849df7afff618470548765ae7c8b27bdc6346099024a643a63ae264736f6c63430006080033"; + "0x608060405234801561001057600080fd5b506040518060400160405280600481526020016314d554d160e21b8152506040518060400160405280600d81526020016c14de5b9d1a195d1a5e081554d1609a1b81525060068282816003908051906020019061006e9291906100c2565b5080516100829060049060208401906100c2565b50506005805460ff19166012179055506100a4816001600160e01b036100ac16565b50505061015d565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010357805160ff1916838001178555610130565b82800160010185558215610130579182015b82811115610130578251825591602001919060010190610115565b5061013c929150610140565b5090565b61015a91905b8082111561013c5760008155600101610146565b90565b610b488061016c6000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122084379334e30a3ae5f6dc317505b184922062e53127ea3f8afd27cc57272d04f564736f6c63430006080033"; diff --git a/types/MockTusdFactory.ts b/types/MockTusdFactory.ts index f08537b5..4efd27d2 100644 --- a/types/MockTusdFactory.ts +++ b/types/MockTusdFactory.ts @@ -326,4 +326,4 @@ const _abi = [ ]; const _bytecode = - "0x608060405234801561001057600080fd5b5060405180604001604052806004815260200163151554d160e21b81525060405180604001604052806007815260200166151c9d595554d160ca1b8152506012828281600390805190602001906100689291906100bc565b50805161007c9060049060208401906100bc565b50506005805460ff191660121790555061009e816001600160e01b036100a616565b505050610157565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100fd57805160ff191683800117855561012a565b8280016001018555821561012a579182015b8281111561012a57825182559160200191906001019061010f565b5061013692915061013a565b5090565b61015491905b808211156101365760008155600101610140565b90565b610b48806101666000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122023be4a26ffef0669c2efce89dceacd370989ca1747f1e302aadb7a0607534cc564736f6c63430006080033"; + "0x608060405234801561001057600080fd5b5060405180604001604052806004815260200163151554d160e21b81525060405180604001604052806007815260200166151c9d595554d160ca1b8152506012828281600390805190602001906100689291906100bc565b50805161007c9060049060208401906100bc565b50506005805460ff191660121790555061009e816001600160e01b036100a616565b505050610157565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100fd57805160ff191683800117855561012a565b8280016001018555821561012a579182015b8281111561012a57825182559160200191906001019061010f565b5061013692915061013a565b5090565b61015491905b808211156101365760008155600101610140565b90565b610b48806101666000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212208b08f1a8b3adcc87db96604c07ebf2c61b2ab257cfedbb5665ddc6413985639664736f6c63430006080033"; diff --git a/types/MockUniDaiEthFactory.ts b/types/MockUniDaiEthFactory.ts index 1ba24f4c..4fc21565 100644 --- a/types/MockUniDaiEthFactory.ts +++ b/types/MockUniDaiEthFactory.ts @@ -326,4 +326,4 @@ const _abi = [ ]; const _bytecode = - "0x608060405234801561001057600080fd5b506040518060400160405280600b81526020016a0aa9c92be888292be8aa8960ab1b8152506040518060400160405280600b81526020016a0aa9c92be888292be8aa8960ab1b8152506012828281600390805190602001906100739291906100c7565b5080516100879060049060208401906100c7565b50506005805460ff19166012179055506100a9816001600160e01b036100b116565b505050610162565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010857805160ff1916838001178555610135565b82800160010185558215610135579182015b8281111561013557825182559160200191906001019061011a565b50610141929150610145565b5090565b61015f91905b80821115610141576000815560010161014b565b90565b610b48806101716000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212202143d7a4ad1625fc4e7e31685bc912fd1ddde6d009d79f8b6f3d29e72636ffe564736f6c63430006080033"; + "0x608060405234801561001057600080fd5b506040518060400160405280600b81526020016a0aa9c92be888292be8aa8960ab1b8152506040518060400160405280600b81526020016a0aa9c92be888292be8aa8960ab1b8152506012828281600390805190602001906100739291906100c7565b5080516100879060049060208401906100c7565b50506005805460ff19166012179055506100a9816001600160e01b036100b116565b505050610162565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010857805160ff1916838001178555610135565b82800160010185558215610135579182015b8281111561013557825182559160200191906001019061011a565b50610141929150610145565b5090565b61015f91905b80821115610141576000815560010161014b565b90565b610b48806101716000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212204bb4e7d077a3b06fec4c8c0f0e274e1d917953676750421b3b2af73398706fa564736f6c63430006080033"; diff --git a/types/MockUniLendEthFactory.ts b/types/MockUniLendEthFactory.ts index 98c749ac..1c3aa892 100644 --- a/types/MockUniLendEthFactory.ts +++ b/types/MockUniLendEthFactory.ts @@ -326,4 +326,4 @@ const _abi = [ ]; const _bytecode = - "0x608060405234801561001057600080fd5b506040518060400160405280600c81526020016b0aa9c92be988a9c88be8aa8960a31b8152506040518060400160405280600c81526020016b0aa9c92be988a9c88be8aa8960a31b8152506012828281600390805190602001906100759291906100c9565b5080516100899060049060208401906100c9565b50506005805460ff19166012179055506100ab816001600160e01b036100b316565b505050610164565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010a57805160ff1916838001178555610137565b82800160010185558215610137579182015b8281111561013757825182559160200191906001019061011c565b50610143929150610147565b5090565b61016191905b80821115610143576000815560010161014d565b90565b610b48806101736000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212204ecc3534f4b4d96c6c5c8d9f174fc8ed1c3ca8640cf1772349665707d06f013464736f6c63430006080033"; + "0x608060405234801561001057600080fd5b506040518060400160405280600c81526020016b0aa9c92be988a9c88be8aa8960a31b8152506040518060400160405280600c81526020016b0aa9c92be988a9c88be8aa8960a31b8152506012828281600390805190602001906100759291906100c9565b5080516100899060049060208401906100c9565b50506005805460ff19166012179055506100ab816001600160e01b036100b316565b505050610164565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010a57805160ff1916838001178555610137565b82800160010185558215610137579182015b8281111561013757825182559160200191906001019061011c565b50610143929150610147565b5090565b61016191905b80821115610143576000815560010161014d565b90565b610b48806101736000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212207327e48805f462c1dcbe63447203544973f6eb24a0183d4586843d2b12ad91ae64736f6c63430006080033"; diff --git a/types/MockUniLinkEthFactory.ts b/types/MockUniLinkEthFactory.ts index 90f45ec6..1924d87a 100644 --- a/types/MockUniLinkEthFactory.ts +++ b/types/MockUniLinkEthFactory.ts @@ -326,4 +326,4 @@ const _abi = [ ]; const _bytecode = - "0x608060405234801561001057600080fd5b506040518060400160405280600c81526020016b0aa9c92be98929c96be8aa8960a31b8152506040518060400160405280600c81526020016b0aa9c92be98929c96be8aa8960a31b8152506012828281600390805190602001906100759291906100c9565b5080516100899060049060208401906100c9565b50506005805460ff19166012179055506100ab816001600160e01b036100b316565b505050610164565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010a57805160ff1916838001178555610137565b82800160010185558215610137579182015b8281111561013757825182559160200191906001019061011c565b50610143929150610147565b5090565b61016191905b80821115610143576000815560010161014d565b90565b610b48806101736000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122076834433044fd4e58c92e6724404c01251bf4aa79725b108619fb98f8ed8273e64736f6c63430006080033"; + "0x608060405234801561001057600080fd5b506040518060400160405280600c81526020016b0aa9c92be98929c96be8aa8960a31b8152506040518060400160405280600c81526020016b0aa9c92be98929c96be8aa8960a31b8152506012828281600390805190602001906100759291906100c9565b5080516100899060049060208401906100c9565b50506005805460ff19166012179055506100ab816001600160e01b036100b316565b505050610164565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010a57805160ff1916838001178555610137565b82800160010185558215610137579182015b8281111561013757825182559160200191906001019061011c565b50610143929150610147565b5090565b61016191905b80821115610143576000815560010161014d565b90565b610b48806101736000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220f2d91d99b1f75bd02dd9b9e486a12005441d44fe801ac8e4090f49c07741987264736f6c63430006080033"; diff --git a/types/MockUniMkrEthFactory.ts b/types/MockUniMkrEthFactory.ts index 4a01fe26..1133a8b5 100644 --- a/types/MockUniMkrEthFactory.ts +++ b/types/MockUniMkrEthFactory.ts @@ -326,4 +326,4 @@ const _abi = [ ]; const _bytecode = - "0x608060405234801561001057600080fd5b506040518060400160405280600b81526020016a0aa9c92be9a96a4be8aa8960ab1b8152506040518060400160405280600b81526020016a0aa9c92be9a96a4be8aa8960ab1b8152506012828281600390805190602001906100739291906100c7565b5080516100879060049060208401906100c7565b50506005805460ff19166012179055506100a9816001600160e01b036100b116565b505050610162565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010857805160ff1916838001178555610135565b82800160010185558215610135579182015b8281111561013557825182559160200191906001019061011a565b50610141929150610145565b5090565b61015f91905b80821115610141576000815560010161014b565b90565b610b48806101716000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220d74e9be787aa8f46ee15734f687a8167856521ca7a9e46a20bc17bd9a88d4a2c64736f6c63430006080033"; + "0x608060405234801561001057600080fd5b506040518060400160405280600b81526020016a0aa9c92be9a96a4be8aa8960ab1b8152506040518060400160405280600b81526020016a0aa9c92be9a96a4be8aa8960ab1b8152506012828281600390805190602001906100739291906100c7565b5080516100879060049060208401906100c7565b50506005805460ff19166012179055506100a9816001600160e01b036100b116565b505050610162565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010857805160ff1916838001178555610135565b82800160010185558215610135579182015b8281111561013557825182559160200191906001019061011a565b50610141929150610145565b5090565b61015f91905b80821115610141576000815560010161014b565b90565b610b48806101716000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212201d1df3378e4896d0244f44cbdac50b37fe2c4cbe9d4f69b809479d3008aacdb964736f6c63430006080033"; diff --git a/types/MockUniSethEthFactory.ts b/types/MockUniSethEthFactory.ts index 438a15d7..60fcfe3d 100644 --- a/types/MockUniSethEthFactory.ts +++ b/types/MockUniSethEthFactory.ts @@ -326,4 +326,4 @@ const _abi = [ ]; const _bytecode = - "0x608060405234801561001057600080fd5b506040518060400160405280600c81526020016b0aa9c92bea68aa890be8aa8960a31b8152506040518060400160405280600c81526020016b0aa9c92bea68aa890be8aa8960a31b8152506012828281600390805190602001906100759291906100c9565b5080516100899060049060208401906100c9565b50506005805460ff19166012179055506100ab816001600160e01b036100b316565b505050610164565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010a57805160ff1916838001178555610137565b82800160010185558215610137579182015b8281111561013757825182559160200191906001019061011c565b50610143929150610147565b5090565b61016191905b80821115610143576000815560010161014d565b90565b610b48806101736000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212205c9efe695aa90a3f94a7df7e0136e61b13e849092972adb58623b79ff9efde0464736f6c63430006080033"; + "0x608060405234801561001057600080fd5b506040518060400160405280600c81526020016b0aa9c92bea68aa890be8aa8960a31b8152506040518060400160405280600c81526020016b0aa9c92bea68aa890be8aa8960a31b8152506012828281600390805190602001906100759291906100c9565b5080516100899060049060208401906100c9565b50506005805460ff19166012179055506100ab816001600160e01b036100b316565b505050610164565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010a57805160ff1916838001178555610137565b82800160010185558215610137579182015b8281111561013757825182559160200191906001019061011c565b50610143929150610147565b5090565b61016191905b80821115610143576000815560010161014d565b90565b610b48806101736000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220f881f74afadd0965a22f885e46fd853cab255bb7cf89562218dc025f64067e9964736f6c63430006080033"; diff --git a/types/MockUniUsdcEthFactory.ts b/types/MockUniUsdcEthFactory.ts index fad6ce6a..a3c7af94 100644 --- a/types/MockUniUsdcEthFactory.ts +++ b/types/MockUniUsdcEthFactory.ts @@ -326,4 +326,4 @@ const _abi = [ ]; const _bytecode = - "0x608060405234801561001057600080fd5b506040518060400160405280600c81526020016b0aa9c92beaaa68886be8aa8960a31b8152506040518060400160405280600c81526020016b0aa9c92beaaa68886be8aa8960a31b8152506012828281600390805190602001906100759291906100c9565b5080516100899060049060208401906100c9565b50506005805460ff19166012179055506100ab816001600160e01b036100b316565b505050610164565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010a57805160ff1916838001178555610137565b82800160010185558215610137579182015b8281111561013757825182559160200191906001019061011c565b50610143929150610147565b5090565b61016191905b80821115610143576000815560010161014d565b90565b610b48806101736000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122029e386a1293ee397ed9a47aebc6db6249e67292fe00203654c627e65c5ff9cf264736f6c63430006080033"; + "0x608060405234801561001057600080fd5b506040518060400160405280600c81526020016b0aa9c92beaaa68886be8aa8960a31b8152506040518060400160405280600c81526020016b0aa9c92beaaa68886be8aa8960a31b8152506012828281600390805190602001906100759291906100c9565b5080516100899060049060208401906100c9565b50506005805460ff19166012179055506100ab816001600160e01b036100b316565b505050610164565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010a57805160ff1916838001178555610137565b82800160010185558215610137579182015b8281111561013757825182559160200191906001019061011c565b50610143929150610147565b5090565b61016191905b80821115610143576000815560010161014d565b90565b610b48806101736000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220b00d0ba85dd2ceae931208749da4b07e488127fb0de926a7181909706525077764736f6c63430006080033"; diff --git a/types/MockUsdFactory.ts b/types/MockUsdFactory.ts index 92b31634..74f4de46 100644 --- a/types/MockUsdFactory.ts +++ b/types/MockUsdFactory.ts @@ -326,4 +326,4 @@ const _abi = [ ]; const _bytecode = - "0x608060405234801561001057600080fd5b50604051806040016040528060038152602001621554d160ea1b815250604051806040016040528060038152602001621554d160ea1b8152506012828281600390805190602001906100639291906100b7565b5080516100779060049060208401906100b7565b50506005805460ff1916601217905550610099816001600160e01b036100a116565b505050610152565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100f857805160ff1916838001178555610125565b82800160010185558215610125579182015b8281111561012557825182559160200191906001019061010a565b50610131929150610135565b5090565b61014f91905b80821115610131576000815560010161013b565b90565b610b48806101616000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220a0de2869d88f9e5c9f44a1d51059643e3ccd0a59d4d46ce4d2f5554ddfbd5bfc64736f6c63430006080033"; + "0x608060405234801561001057600080fd5b50604051806040016040528060038152602001621554d160ea1b815250604051806040016040528060038152602001621554d160ea1b8152506012828281600390805190602001906100639291906100b7565b5080516100779060049060208401906100b7565b50506005805460ff1916601217905550610099816001600160e01b036100a116565b505050610152565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100f857805160ff1916838001178555610125565b82800160010185558215610125579182015b8281111561012557825182559160200191906001019061010a565b50610131929150610135565b5090565b61014f91905b80821115610131576000815560010161013b565b90565b610b48806101616000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122085b4ba9d9d8c704c30e6ca61d7b9bc38d772fdc0b2df5f60b595a38cd5b7b3cc64736f6c63430006080033"; diff --git a/types/MockUsdcFactory.ts b/types/MockUsdcFactory.ts index a2c34441..e31b14e8 100644 --- a/types/MockUsdcFactory.ts +++ b/types/MockUsdcFactory.ts @@ -326,4 +326,4 @@ const _abi = [ ]; const _bytecode = - "0x608060405234801561001057600080fd5b50604051806040016040528060048152602001635553444360e01b815250604051806040016040528060088152602001672aa9a21021b7b4b760c11b8152506006828281600390805190602001906100699291906100bd565b50805161007d9060049060208401906100bd565b50506005805460ff191660121790555061009f816001600160e01b036100a716565b505050610158565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100fe57805160ff191683800117855561012b565b8280016001018555821561012b579182015b8281111561012b578251825591602001919060010190610110565b5061013792915061013b565b5090565b61015591905b808211156101375760008155600101610141565b90565b610b48806101676000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220978aad16b0662b2de8146d390c47b15e11b2905ed2d2e8b3d93e5288583f734f64736f6c63430006080033"; + "0x608060405234801561001057600080fd5b50604051806040016040528060048152602001635553444360e01b815250604051806040016040528060088152602001672aa9a21021b7b4b760c11b8152506006828281600390805190602001906100699291906100bd565b50805161007d9060049060208401906100bd565b50506005805460ff191660121790555061009f816001600160e01b036100a716565b505050610158565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100fe57805160ff191683800117855561012b565b8280016001018555821561012b579182015b8281111561012b578251825591602001919060010190610110565b5061013792915061013b565b5090565b61015591905b808211156101375760008155600101610141565b90565b610b48806101676000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212208940eec75986da8ca52beca0ff61bed55ceaf12fd2b554e3a52b7d753f0920fe64736f6c63430006080033"; diff --git a/types/MockUsdtFactory.ts b/types/MockUsdtFactory.ts index b0803c48..0bf0c9d7 100644 --- a/types/MockUsdtFactory.ts +++ b/types/MockUsdtFactory.ts @@ -326,4 +326,4 @@ const _abi = [ ]; const _bytecode = - "0x608060405234801561001057600080fd5b50604051806040016040528060048152602001631554d11560e21b815250604051806040016040528060098152602001682aa9a22a1021b7b4b760b91b81525060068282816003908051906020019061006a9291906100be565b50805161007e9060049060208401906100be565b50506005805460ff19166012179055506100a0816001600160e01b036100a816565b505050610159565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100ff57805160ff191683800117855561012c565b8280016001018555821561012c579182015b8281111561012c578251825591602001919060010190610111565b5061013892915061013c565b5090565b61015691905b808211156101385760008155600101610142565b90565b610b48806101686000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220f44842a74d61e3d8af36d0db2adb44c66786d2bc414d056b043ec574447b012a64736f6c63430006080033"; + "0x608060405234801561001057600080fd5b50604051806040016040528060048152602001631554d11560e21b815250604051806040016040528060098152602001682aa9a22a1021b7b4b760b91b81525060068282816003908051906020019061006a9291906100be565b50805161007e9060049060208401906100be565b50506005805460ff19166012179055506100a0816001600160e01b036100a816565b505050610159565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100ff57805160ff191683800117855561012c565b8280016001018555821561012c579182015b8281111561012c578251825591602001919060010190610111565b5061013892915061013c565b5090565b61015691905b808211156101385760008155600101610142565b90565b610b48806101686000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212206d9939a903d071b71d936e4e686a22a0af955b3ada0ba79e7875cbb27657991964736f6c63430006080033"; diff --git a/types/MockVariableDebtToken.d.ts b/types/MockVariableDebtToken.d.ts new file mode 100644 index 00000000..30a2a703 --- /dev/null +++ b/types/MockVariableDebtToken.d.ts @@ -0,0 +1,362 @@ +/* Generated by ts-generator ver. 0.0.8 */ +/* tslint:disable */ + +import { Contract, ContractTransaction, EventFilter, Signer } from "ethers"; +import { Listener, Provider } from "ethers/providers"; +import { Arrayish, BigNumber, BigNumberish, Interface } from "ethers/utils"; +import { + TransactionOverrides, + TypedEventDescription, + TypedFunctionDescription +} from "."; + +interface MockVariableDebtTokenInterface extends Interface { + functions: { + DEBT_TOKEN_REVISION: TypedFunctionDescription<{ encode([]: []): string }>; + + allowance: TypedFunctionDescription<{ + encode([owner, spender]: [string, string]): string; + }>; + + approve: TypedFunctionDescription<{ + encode([spender, _amount]: [string, BigNumberish]): string; + }>; + + balanceOf: TypedFunctionDescription<{ encode([_user]: [string]): string }>; + + burn: TypedFunctionDescription<{ + encode([_user, _amount]: [string, BigNumberish]): string; + }>; + + decimals: TypedFunctionDescription<{ encode([]: []): string }>; + + decreaseAllowance: TypedFunctionDescription<{ + encode([spender, subtractedValue]: [string, BigNumberish]): string; + }>; + + getUserIndex: TypedFunctionDescription<{ + encode([_user]: [string]): string; + }>; + + increaseAllowance: TypedFunctionDescription<{ + encode([spender, addedValue]: [string, BigNumberish]): string; + }>; + + initialize: TypedFunctionDescription<{ + encode([_decimals, _name, _symbol]: [ + BigNumberish, + string, + string + ]): string; + }>; + + mint: TypedFunctionDescription<{ + encode([_user, _amount]: [string, BigNumberish]): string; + }>; + + name: TypedFunctionDescription<{ encode([]: []): string }>; + + principalBalanceOf: TypedFunctionDescription<{ + encode([_user]: [string]): string; + }>; + + symbol: TypedFunctionDescription<{ encode([]: []): string }>; + + totalSupply: TypedFunctionDescription<{ encode([]: []): string }>; + + transfer: TypedFunctionDescription<{ + encode([recipient, _amount]: [string, BigNumberish]): string; + }>; + + transferFrom: TypedFunctionDescription<{ + encode([sender, recipient, _amount]: [ + string, + string, + BigNumberish + ]): string; + }>; + + underlyingAssetAddress: TypedFunctionDescription<{ + encode([]: []): string; + }>; + }; + + events: { + Approval: TypedEventDescription<{ + encodeTopics([owner, spender, value]: [ + string | null, + string | null, + null + ]): string[]; + }>; + + Transfer: TypedEventDescription<{ + encodeTopics([from, to, value]: [ + string | null, + string | null, + null + ]): string[]; + }>; + + burnDebt: TypedEventDescription<{ + encodeTopics([ + _user, + _amount, + _previousBalance, + _currentBalance, + _balanceIncrease, + _index + ]: [null, null, null, null, null, null]): string[]; + }>; + + mintDebt: TypedEventDescription<{ + encodeTopics([ + _user, + _amount, + _previousBalance, + _currentBalance, + _balanceIncrease, + _index + ]: [null, null, null, null, null, null]): string[]; + }>; + }; +} + +export class MockVariableDebtToken extends Contract { + connect(signerOrProvider: Signer | Provider | string): MockVariableDebtToken; + attach(addressOrName: string): MockVariableDebtToken; + deployed(): Promise; + + on(event: EventFilter | string, listener: Listener): MockVariableDebtToken; + once(event: EventFilter | string, listener: Listener): MockVariableDebtToken; + addListener( + eventName: EventFilter | string, + listener: Listener + ): MockVariableDebtToken; + removeAllListeners(eventName: EventFilter | string): MockVariableDebtToken; + removeListener(eventName: any, listener: Listener): MockVariableDebtToken; + + interface: MockVariableDebtTokenInterface; + + functions: { + DEBT_TOKEN_REVISION(): Promise; + + allowance(owner: string, spender: string): Promise; + + approve( + spender: string, + _amount: BigNumberish, + overrides?: TransactionOverrides + ): Promise; + + balanceOf(_user: string): Promise; + + burn( + _user: string, + _amount: BigNumberish, + overrides?: TransactionOverrides + ): Promise; + + decimals(): Promise; + + decreaseAllowance( + spender: string, + subtractedValue: BigNumberish, + overrides?: TransactionOverrides + ): Promise; + + getUserIndex(_user: string): Promise; + + increaseAllowance( + spender: string, + addedValue: BigNumberish, + overrides?: TransactionOverrides + ): Promise; + + initialize( + _decimals: BigNumberish, + _name: string, + _symbol: string, + overrides?: TransactionOverrides + ): Promise; + + mint( + _user: string, + _amount: BigNumberish, + overrides?: TransactionOverrides + ): Promise; + + name(): Promise; + + principalBalanceOf(_user: string): Promise; + + symbol(): Promise; + + totalSupply(): Promise; + + transfer( + recipient: string, + _amount: BigNumberish, + overrides?: TransactionOverrides + ): Promise; + + transferFrom( + sender: string, + recipient: string, + _amount: BigNumberish, + overrides?: TransactionOverrides + ): Promise; + + underlyingAssetAddress(): Promise; + }; + + DEBT_TOKEN_REVISION(): Promise; + + allowance(owner: string, spender: string): Promise; + + approve( + spender: string, + _amount: BigNumberish, + overrides?: TransactionOverrides + ): Promise; + + balanceOf(_user: string): Promise; + + burn( + _user: string, + _amount: BigNumberish, + overrides?: TransactionOverrides + ): Promise; + + decimals(): Promise; + + decreaseAllowance( + spender: string, + subtractedValue: BigNumberish, + overrides?: TransactionOverrides + ): Promise; + + getUserIndex(_user: string): Promise; + + increaseAllowance( + spender: string, + addedValue: BigNumberish, + overrides?: TransactionOverrides + ): Promise; + + initialize( + _decimals: BigNumberish, + _name: string, + _symbol: string, + overrides?: TransactionOverrides + ): Promise; + + mint( + _user: string, + _amount: BigNumberish, + overrides?: TransactionOverrides + ): Promise; + + name(): Promise; + + principalBalanceOf(_user: string): Promise; + + symbol(): Promise; + + totalSupply(): Promise; + + transfer( + recipient: string, + _amount: BigNumberish, + overrides?: TransactionOverrides + ): Promise; + + transferFrom( + sender: string, + recipient: string, + _amount: BigNumberish, + overrides?: TransactionOverrides + ): Promise; + + underlyingAssetAddress(): Promise; + + filters: { + Approval( + owner: string | null, + spender: string | null, + value: null + ): EventFilter; + + Transfer(from: string | null, to: string | null, value: null): EventFilter; + + burnDebt( + _user: null, + _amount: null, + _previousBalance: null, + _currentBalance: null, + _balanceIncrease: null, + _index: null + ): EventFilter; + + mintDebt( + _user: null, + _amount: null, + _previousBalance: null, + _currentBalance: null, + _balanceIncrease: null, + _index: null + ): EventFilter; + }; + + estimate: { + DEBT_TOKEN_REVISION(): Promise; + + allowance(owner: string, spender: string): Promise; + + approve(spender: string, _amount: BigNumberish): Promise; + + balanceOf(_user: string): Promise; + + burn(_user: string, _amount: BigNumberish): Promise; + + decimals(): Promise; + + decreaseAllowance( + spender: string, + subtractedValue: BigNumberish + ): Promise; + + getUserIndex(_user: string): Promise; + + increaseAllowance( + spender: string, + addedValue: BigNumberish + ): Promise; + + initialize( + _decimals: BigNumberish, + _name: string, + _symbol: string + ): Promise; + + mint(_user: string, _amount: BigNumberish): Promise; + + name(): Promise; + + principalBalanceOf(_user: string): Promise; + + symbol(): Promise; + + totalSupply(): Promise; + + transfer(recipient: string, _amount: BigNumberish): Promise; + + transferFrom( + sender: string, + recipient: string, + _amount: BigNumberish + ): Promise; + + underlyingAssetAddress(): Promise; + }; +} diff --git a/types/MockVariableDebtTokenFactory.ts b/types/MockVariableDebtTokenFactory.ts new file mode 100644 index 00000000..f5a214c3 --- /dev/null +++ b/types/MockVariableDebtTokenFactory.ts @@ -0,0 +1,573 @@ +/* Generated by ts-generator ver. 0.0.8 */ +/* tslint:disable */ + +import { Contract, ContractFactory, Signer } from "ethers"; +import { Provider } from "ethers/providers"; +import { UnsignedTransaction } from "ethers/utils/transaction"; + +import { TransactionOverrides } from "."; +import { MockVariableDebtToken } from "./MockVariableDebtToken"; + +export class MockVariableDebtTokenFactory extends ContractFactory { + constructor(signer?: Signer) { + super(_abi, _bytecode, signer); + } + + deploy( + _pool: string, + _underlyingAssetAddress: string, + _tokenName: string, + _tokenSymbol: string, + overrides?: TransactionOverrides + ): Promise { + return super.deploy( + _pool, + _underlyingAssetAddress, + _tokenName, + _tokenSymbol, + overrides + ) as Promise; + } + getDeployTransaction( + _pool: string, + _underlyingAssetAddress: string, + _tokenName: string, + _tokenSymbol: string, + overrides?: TransactionOverrides + ): UnsignedTransaction { + return super.getDeployTransaction( + _pool, + _underlyingAssetAddress, + _tokenName, + _tokenSymbol, + overrides + ); + } + attach(address: string): MockVariableDebtToken { + return super.attach(address) as MockVariableDebtToken; + } + connect(signer: Signer): MockVariableDebtTokenFactory { + return super.connect(signer) as MockVariableDebtTokenFactory; + } + static connect( + address: string, + signerOrProvider: Signer | Provider + ): MockVariableDebtToken { + return new Contract( + address, + _abi, + signerOrProvider + ) as MockVariableDebtToken; + } +} + +const _abi = [ + { + inputs: [ + { + internalType: "address", + name: "_pool", + type: "address" + }, + { + internalType: "address", + name: "_underlyingAssetAddress", + type: "address" + }, + { + internalType: "string", + name: "_tokenName", + type: "string" + }, + { + internalType: "string", + name: "_tokenSymbol", + type: "string" + } + ], + stateMutability: "nonpayable", + type: "constructor" + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: "address", + name: "owner", + type: "address" + }, + { + indexed: true, + internalType: "address", + name: "spender", + type: "address" + }, + { + indexed: false, + internalType: "uint256", + name: "value", + type: "uint256" + } + ], + name: "Approval", + type: "event" + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: "address", + name: "from", + type: "address" + }, + { + indexed: true, + internalType: "address", + name: "to", + type: "address" + }, + { + indexed: false, + internalType: "uint256", + name: "value", + type: "uint256" + } + ], + name: "Transfer", + type: "event" + }, + { + anonymous: false, + inputs: [ + { + indexed: false, + internalType: "address", + name: "_user", + type: "address" + }, + { + indexed: false, + internalType: "uint256", + name: "_amount", + type: "uint256" + }, + { + indexed: false, + internalType: "uint256", + name: "_previousBalance", + type: "uint256" + }, + { + indexed: false, + internalType: "uint256", + name: "_currentBalance", + type: "uint256" + }, + { + indexed: false, + internalType: "uint256", + name: "_balanceIncrease", + type: "uint256" + }, + { + indexed: false, + internalType: "uint256", + name: "_index", + type: "uint256" + } + ], + name: "burnDebt", + type: "event" + }, + { + anonymous: false, + inputs: [ + { + indexed: false, + internalType: "address", + name: "_user", + type: "address" + }, + { + indexed: false, + internalType: "uint256", + name: "_amount", + type: "uint256" + }, + { + indexed: false, + internalType: "uint256", + name: "_previousBalance", + type: "uint256" + }, + { + indexed: false, + internalType: "uint256", + name: "_currentBalance", + type: "uint256" + }, + { + indexed: false, + internalType: "uint256", + name: "_balanceIncrease", + type: "uint256" + }, + { + indexed: false, + internalType: "uint256", + name: "_index", + type: "uint256" + } + ], + name: "mintDebt", + type: "event" + }, + { + inputs: [], + name: "DEBT_TOKEN_REVISION", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256" + } + ], + stateMutability: "view", + type: "function" + }, + { + inputs: [ + { + internalType: "address", + name: "owner", + type: "address" + }, + { + internalType: "address", + name: "spender", + type: "address" + } + ], + name: "allowance", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256" + } + ], + stateMutability: "view", + type: "function" + }, + { + inputs: [ + { + internalType: "address", + name: "spender", + type: "address" + }, + { + internalType: "uint256", + name: "_amount", + type: "uint256" + } + ], + name: "approve", + outputs: [ + { + internalType: "bool", + name: "", + type: "bool" + } + ], + stateMutability: "nonpayable", + type: "function" + }, + { + inputs: [ + { + internalType: "address", + name: "_user", + type: "address" + } + ], + name: "balanceOf", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256" + } + ], + stateMutability: "view", + type: "function" + }, + { + inputs: [ + { + internalType: "address", + name: "_user", + type: "address" + }, + { + internalType: "uint256", + name: "_amount", + type: "uint256" + } + ], + name: "burn", + outputs: [], + stateMutability: "nonpayable", + type: "function" + }, + { + inputs: [], + name: "decimals", + outputs: [ + { + internalType: "uint8", + name: "", + type: "uint8" + } + ], + stateMutability: "view", + type: "function" + }, + { + inputs: [ + { + internalType: "address", + name: "spender", + type: "address" + }, + { + internalType: "uint256", + name: "subtractedValue", + type: "uint256" + } + ], + name: "decreaseAllowance", + outputs: [ + { + internalType: "bool", + name: "", + type: "bool" + } + ], + stateMutability: "nonpayable", + type: "function" + }, + { + inputs: [ + { + internalType: "address", + name: "_user", + type: "address" + } + ], + name: "getUserIndex", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256" + } + ], + stateMutability: "view", + type: "function" + }, + { + inputs: [ + { + internalType: "address", + name: "spender", + type: "address" + }, + { + internalType: "uint256", + name: "addedValue", + type: "uint256" + } + ], + name: "increaseAllowance", + outputs: [ + { + internalType: "bool", + name: "", + type: "bool" + } + ], + stateMutability: "nonpayable", + type: "function" + }, + { + inputs: [ + { + internalType: "uint8", + name: "_decimals", + type: "uint8" + }, + { + internalType: "string", + name: "_name", + type: "string" + }, + { + internalType: "string", + name: "_symbol", + type: "string" + } + ], + name: "initialize", + outputs: [], + stateMutability: "nonpayable", + type: "function" + }, + { + inputs: [ + { + internalType: "address", + name: "_user", + type: "address" + }, + { + internalType: "uint256", + name: "_amount", + type: "uint256" + } + ], + name: "mint", + outputs: [], + stateMutability: "nonpayable", + type: "function" + }, + { + inputs: [], + name: "name", + outputs: [ + { + internalType: "string", + name: "", + type: "string" + } + ], + stateMutability: "view", + type: "function" + }, + { + inputs: [ + { + internalType: "address", + name: "_user", + type: "address" + } + ], + name: "principalBalanceOf", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256" + } + ], + stateMutability: "view", + type: "function" + }, + { + inputs: [], + name: "symbol", + outputs: [ + { + internalType: "string", + name: "", + type: "string" + } + ], + stateMutability: "view", + type: "function" + }, + { + inputs: [], + name: "totalSupply", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256" + } + ], + stateMutability: "view", + type: "function" + }, + { + inputs: [ + { + internalType: "address", + name: "recipient", + type: "address" + }, + { + internalType: "uint256", + name: "_amount", + type: "uint256" + } + ], + name: "transfer", + outputs: [ + { + internalType: "bool", + name: "", + type: "bool" + } + ], + stateMutability: "nonpayable", + type: "function" + }, + { + inputs: [ + { + internalType: "address", + name: "sender", + type: "address" + }, + { + internalType: "address", + name: "recipient", + type: "address" + }, + { + internalType: "uint256", + name: "_amount", + type: "uint256" + } + ], + name: "transferFrom", + outputs: [ + { + internalType: "bool", + name: "", + type: "bool" + } + ], + stateMutability: "nonpayable", + type: "function" + }, + { + inputs: [], + name: "underlyingAssetAddress", + outputs: [ + { + internalType: "address", + name: "", + type: "address" + } + ], + stateMutability: "view", + type: "function" + } +]; + +const _bytecode = + "0x60c0604052600080553480156200001557600080fd5b50604051620015c4380380620015c4833981810160405260808110156200003b57600080fd5b815160208301516040808501805191519395929483019291846401000000008211156200006757600080fd5b9083019060208201858111156200007d57600080fd5b82516401000000008111828201881017156200009857600080fd5b82525081516020918201929091019080838360005b83811015620000c7578181015183820152602001620000ad565b50505050905090810190601f168015620000f55780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200011957600080fd5b9083019060208201858111156200012f57600080fd5b82516401000000008111828201881017156200014a57600080fd5b82525081516020918201929091019080838360005b83811015620001795781810151838201526020016200015f565b50505050905090810190601f168015620001a75780820380516001836020036101000a031916815260200191505b506040525050506001600160601b0319606085811b821660a05284901b16608052815184908490849084908490849084908490620001ed90603590602085019062000216565b5080516200020390603690602084019062000216565b50505050505050505050505050620002bb565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200025957805160ff191683800117855562000289565b8280016001018555821562000289579182015b82811115620002895782518255916020019190600101906200026c565b50620002979291506200029b565b5090565b620002b891905b80821115620002975760008155600101620002a2565b90565b60805160601c60a05160601c6112bc620003086000398061076052806107ec528061097a5280610b0b5280610bdd52508061081b52806109a95280610a835280610c0c52506112bc6000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c806389d1a0fc116100a2578063a9059cbb11610071578063a9059cbb14610455578063b9a7b62214610481578063c634dfaa14610489578063dd62ed3e146104af578063ee9907a4146104dd57610116565b806389d1a0fc146103fd57806395d89b41146104215780639dc29fac14610429578063a457c2d71461037f57610116565b80633118724e116100e95780633118724e14610228578063313ce56714610361578063395093511461037f57806340c10f19146103ab57806370a08231146103d757610116565b806306fdde031461011b578063095ea7b31461019857806318160ddd146101d857806323b872dd146101f2575b600080fd5b610123610503565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015d578181015183820152602001610145565b50505050905090810190601f16801561018a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101c4600480360360408110156101ae57600080fd5b506001600160a01b038135169060200135610591565b604080519115158252519081900360200190f35b6101e06105d9565b60408051918252519081900360200190f35b6101c46004803603606081101561020857600080fd5b506001600160a01b038135811691602081013590911690604001356105df565b61035f6004803603606081101561023e57600080fd5b60ff823516919081019060408101602082013564010000000081111561026357600080fd5b82018360208201111561027557600080fd5b8035906020019184600183028401116401000000008311171561029757600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156102ea57600080fd5b8201836020820111156102fc57600080fd5b8035906020019184600183028401116401000000008311171561031e57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610627945050505050565b005b6103696106fd565b6040805160ff9092168252519081900360200190f35b6101c46004803603604081101561039557600080fd5b506001600160a01b038135169060200135610706565b61035f600480360360408110156103c157600080fd5b506001600160a01b038135169060200135610755565b6101e0600480360360208110156103ed57600080fd5b50356001600160a01b0316610924565b610405610a81565b604080516001600160a01b039092168252519081900360200190f35b610123610aa5565b61035f6004803603604081101561043f57600080fd5b506001600160a01b038135169060200135610b00565b6101c46004803603604081101561046b57600080fd5b506001600160a01b0381351690602001356105df565b6101e0610d2a565b6101e06004803603602081101561049f57600080fd5b50356001600160a01b0316610d2f565b6101e0600480360360408110156104c557600080fd5b506001600160a01b0381358116916020013516610706565b6101e0600480360360208110156104f357600080fd5b50356001600160a01b0316610d4a565b6035805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105895780601f1061055e57610100808354040283529160200191610589565b820191906000526020600020905b81548152906001019060200180831161056c57829003601f168201915b505050505081565b6040805162461bcd60e51b81526020600482015260166024820152751054141493d5905317d393d517d4d5541413d495115160521b6044820152905160009181900360640190fd5b60345481565b6040805162461bcd60e51b81526020600482015260166024820152751514905394d1915497d393d517d4d5541413d495115160521b6044820152905160009181900360640190fd5b6000610631610d65565b60015490915060ff16806106485750610648610d6b565b80610654575060005481115b61068f5760405162461bcd60e51b815260040180806020018281038252602e815260200180611227602e913960400191505060405180910390fd5b60015460ff161580156106ae576001805460ff19168117905560008290555b83516106c190603590602087019061116d565b5082516106d590603690602086019061116d565b506037805460ff191660ff871617905580156106f6576001805460ff191690555b5050505050565b60375460ff1681565b6040805162461bcd60e51b815260206004820152601760248201527f414c4c4f57414e43455f4e4f545f535550504f525445440000000000000000006044820152905160009181900360640190fd5b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146107bc5760405162461bcd60e51b81526004018080602001828103825260328152602001806112556032913960400191505060405180910390fd5b60008060006107ca85610d71565b919450925090506107ea856107e5868463ffffffff610de116565b610e44565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663386497fd7f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561088057600080fd5b505afa158015610894573d6000803e3d6000fd5b505050506040513d60208110156108aa57600080fd5b50516001600160a01b03861660008181526039602090815260409182902084905581519283528201879052818101869052606082018590526080820184905260a082019290925290517f94ba3ac5ed6fee7b49ed817c5ee964eed9bd5da6860344f95fc56997e920381d9181900360c00190a15050505050565b6001600160a01b03811660009081526038602052604081205461094957506000610a7c565b610a79610a7460396000856001600160a01b03166001600160a01b0316815260200190815260200160002054610a687f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663386497fd7f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610a0e57600080fd5b505afa158015610a22573d6000803e3d6000fd5b505050506040513d6020811015610a3857600080fd5b50516001600160a01b038716600090815260386020526040902054610a5c90610ea3565b9063ffffffff610eb916565b9063ffffffff610efd16565b610f35565b90505b919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6036805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105895780601f1061055e57610100808354040283529160200191610589565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610b675760405162461bcd60e51b81526004018080602001828103825260328152602001806112556032913960400191505060405180910390fd5b6000806000610b7585610d71565b92509250925083811115610b9c57610b97856107e5838763ffffffff610f5516565b610bb5565b610bb585610bb0868463ffffffff610f5516565b610f97565b83821415610bdb576001600160a01b038516600090815260396020526040812055610cb7565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663386497fd7f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610c7157600080fd5b505afa158015610c85573d6000803e3d6000fd5b505050506040513d6020811015610c9b57600080fd5b50516001600160a01b0386166000908152603960205260409020555b6001600160a01b038516600081815260396020908152604091829020548251938452908301879052828201869052606083018590526080830184905260a0830152517fc57f977ee00c44453a91f798753002bf12fca5f5ca2ee8db560720f51d4b0f629181900360c00190a15050505050565b600181565b6001600160a01b031660009081526038602052604090205490565b6001600160a01b031660009081526039602052604090205490565b60025b90565b303b1590565b6001600160a01b0381166000908152603860205260408120548190819080610da3575060009250829150819050610dda565b6000610dbe82610db288610924565b9063ffffffff610f5516565b905081610dd1818363ffffffff610de116565b90955093509150505b9193909250565b600082820183811015610e3b576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b603454610e57908263ffffffff610de116565b6034556001600160a01b038216600090815260386020526040902054610e83908263ffffffff610de116565b6001600160a01b0390921660009081526038602052604090209190915550565b6000610a7982633b9aca0063ffffffff610fd616565b6000610e3b6b033b2e3c9fd0803ce8000000610ef1610ede868663ffffffff610fd616565b6b019d971e4fe8401e7400000090610de1565b9063ffffffff61102f16565b600060028204610f2d83610ef1610f20876b033b2e3c9fd0803ce8000000610fd6565b849063ffffffff610de116565b949350505050565b6000631dcd6500610f4e633b9aca00610ef18386610de1565b9392505050565b6000610e3b83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611071565b603454610faa908263ffffffff610f5516565b6034556001600160a01b038216600090815260386020526040902054610e83908263ffffffff610f5516565b600082610fe557506000610e3e565b82820282848281610ff257fe5b0414610e3b5760405162461bcd60e51b81526004018080602001828103825260218152602001806112066021913960400191505060405180910390fd5b6000610e3b83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611108565b600081848411156111005760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156110c55781810151838201526020016110ad565b50505050905090810190601f1680156110f25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836111575760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156110c55781810151838201526020016110ad565b50600083858161116357fe5b0495945050505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106111ae57805160ff19168380011785556111db565b828001600101855582156111db579182015b828111156111db5782518255916020019190600101906111c0565b506111e79291506111eb565b5090565b610d6891905b808211156111e757600081556001016111f156fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a65645468652063616c6c6572206f6620746869732066756e6374696f6e206d7573742062652061206c656e64696e6720706f6f6ca26469706673582212207fee64db0369e474f10a3b8204b311ae45954b48a0ec7c76bc218ee0ec53cf9e64736f6c63430006080033"; diff --git a/types/MockWbtcFactory.ts b/types/MockWbtcFactory.ts index f23d023d..f83343b8 100644 --- a/types/MockWbtcFactory.ts +++ b/types/MockWbtcFactory.ts @@ -326,4 +326,4 @@ const _abi = [ ]; const _bytecode = - "0x608060405234801561001057600080fd5b50604051806040016040528060048152602001635742544360e01b815250604051806040016040528060098152602001682ba12a219021b7b4b760b91b81525060128282816003908051906020019061006a9291906100be565b50805161007e9060049060208401906100be565b50506005805460ff19166012179055506100a0816001600160e01b036100a816565b505050610159565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100ff57805160ff191683800117855561012c565b8280016001018555821561012c579182015b8281111561012c578251825591602001919060010190610111565b5061013892915061013c565b5090565b61015691905b808211156101385760008155600101610142565b90565b610b48806101686000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220a21cbda9a530789a8dff8e4d2d1d56a2bfdfe1a07adb80d2141a588c1f9db51d64736f6c63430006080033"; + "0x608060405234801561001057600080fd5b50604051806040016040528060048152602001635742544360e01b815250604051806040016040528060098152602001682ba12a219021b7b4b760b91b81525060128282816003908051906020019061006a9291906100be565b50805161007e9060049060208401906100be565b50506005805460ff19166012179055506100a0816001600160e01b036100a816565b505050610159565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100ff57805160ff191683800117855561012c565b8280016001018555821561012c579182015b8281111561012c578251825591602001919060010190610111565b5061013892915061013c565b5090565b61015691905b808211156101385760008155600101610142565b90565b610b48806101686000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122072bc373208b69f3ae78351d95f1cd39eb96616f328192923a9bc9014dffc7c6064736f6c63430006080033"; diff --git a/types/MockZrxFactory.ts b/types/MockZrxFactory.ts index b53406a4..925e023f 100644 --- a/types/MockZrxFactory.ts +++ b/types/MockZrxFactory.ts @@ -326,4 +326,4 @@ const _abi = [ ]; const _bytecode = - "0x608060405234801561001057600080fd5b50604051806040016040528060038152602001620b4a4b60eb1b81525060405180604001604052806007815260200166183c1021b7b4b760c91b8152506012828281600390805190602001906100679291906100bb565b50805161007b9060049060208401906100bb565b50506005805460ff191660121790555061009d816001600160e01b036100a516565b505050610156565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100fc57805160ff1916838001178555610129565b82800160010185558215610129579182015b8281111561012957825182559160200191906001019061010e565b50610135929150610139565b5090565b61015391905b80821115610135576000815560010161013f565b90565b610b48806101656000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122078756f81a2e1b2f18a8597bfa5a8df537a906a0b1c3e2d3037e43154e4a05a0a64736f6c63430006080033"; + "0x608060405234801561001057600080fd5b50604051806040016040528060038152602001620b4a4b60eb1b81525060405180604001604052806007815260200166183c1021b7b4b760c91b8152506012828281600390805190602001906100679291906100bb565b50805161007b9060049060208401906100bb565b50506005805460ff191660121790555061009d816001600160e01b036100a516565b505050610156565b6005805460ff191660ff92909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100fc57805160ff1916838001178555610129565b82800160010185558215610129579182015b8281111561012957825182559160200191906001019061010e565b50610135929150610139565b5090565b61015391905b80821115610135576000815560010161013f565b90565b610b48806101656000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806370a082311161007157806370a082311461021057806395d89b4114610236578063a0712d681461023e578063a457c2d71461025b578063a9059cbb14610287578063dd62ed3e146102b3576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd14610190578063313ce567146101c657806339509351146101e4575b600080fd5b6100c16102e1565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610377565b604080519115158252519081900360200190f35b61017e610394565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b0381358116916020810135909116906040013561039a565b6101ce610427565b6040805160ff9092168252519081900360200190f35b610162600480360360408110156101fa57600080fd5b506001600160a01b038135169060200135610430565b61017e6004803603602081101561022657600080fd5b50356001600160a01b0316610484565b6100c161049f565b6101626004803603602081101561025457600080fd5b5035610500565b6101626004803603604081101561027157600080fd5b506001600160a01b038135169060200135610514565b6101626004803603604081101561029d57600080fd5b506001600160a01b038135169060200135610582565b61017e600480360360408110156102c957600080fd5b506001600160a01b0381358116916020013516610596565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b820191906000526020600020905b81548152906001019060200180831161035057829003601f168201915b5050505050905090565b600061038b6103846105c1565b84846105c5565b50600192915050565b60025490565b60006103a78484846106b1565b61041d846103b36105c1565b61041885604051806060016040528060288152602001610a7d602891396001600160a01b038a166000908152600160205260408120906103f16105c1565b6001600160a01b03168152602081019190915260400160002054919063ffffffff61081816565b6105c5565b5060019392505050565b60055460ff1690565b600061038b61043d6105c1565b84610418856001600061044e6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff6108af16565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561036d5780601f106103425761010080835404028352916020019161036d565b600061050c3383610910565b506001919050565b600061038b6105216105c1565b8461041885604051806060016040528060258152602001610aee602591396001600061054b6105c1565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff61081816565b600061038b61058f6105c1565b84846106b1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b03831661060a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610aca6024913960400191505060405180910390fd5b6001600160a01b03821661064f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610a356022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166106f65760405162461bcd60e51b8152600401808060200182810382526025815260200180610aa56025913960400191505060405180910390fd5b6001600160a01b03821661073b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610a126023913960400191505060405180910390fd5b610746838383610a0c565b61078981604051806060016040528060268152602001610a57602691396001600160a01b038616600090815260208190526040902054919063ffffffff61081816565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107be908263ffffffff6108af16565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108a75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561086c578181015183820152602001610854565b50505050905090810190601f1680156108995780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610909576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661096b576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61097760008383610a0c565b60025461098a908263ffffffff6108af16565b6002556001600160a01b0382166000908152602081905260409020546109b6908263ffffffff6108af16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122061ccc5c8eefe093b8aa11b4c0bc124d48c3a619bc8115c5a5fef887019af7e3564736f6c63430006080033"; diff --git a/types/OneSplitAdapterFactory.ts b/types/OneSplitAdapterFactory.ts index 27c208d2..56cd4daf 100644 --- a/types/OneSplitAdapterFactory.ts +++ b/types/OneSplitAdapterFactory.ts @@ -151,4 +151,4 @@ const _abi = [ ]; const _bytecode = - "0x608060405234801561001057600080fd5b5060408051731814222fa8c8c1c1bf380e3bbfbd9de8657da47681527376b47460d7f7c5222cfb6b6a75615ab10895dde46020820152600a8183015290517f8d2e03fe8af77d72ac9d334b8bc58153f47fc0c0ec0c926c1686754201cfdc5d9181900360600190a1610bc6806100876000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80630ed2fc951461003b57806393ed430914610089575b600080fd5b6100776004803603608081101561005157600080fd5b506001600160a01b038135811691602081013590911690604081013590606001356100fb565b60408051918252519081900360200190f35b6100f96004803603602081101561009f57600080fd5b8101906020810181356401000000008111156100ba57600080fd5b8201836020820111156100cc57600080fd5b803590602001918460208302840111640100000000831117156100ee57600080fd5b5090925090506104f4565b005b60008061010661059b565b6001600160a01b0316866001600160a01b031614610125576000610127565b835b6040805163b3596f0760e01b81526001600160a01b038916600482015290519192506000917376b47460d7f7c5222cfb6b6a75615ab10895dde49163b3596f07916024808301926020929190829003018186803b15801561018757600080fd5b505afa15801561019b573d6000803e3d6000fd5b505050506040513d60208110156101b157600080fd5b50516040805163b3596f0760e01b81526001600160a01b038916600482015290519192506000917376b47460d7f7c5222cfb6b6a75615ab10895dde49163b3596f07916024808301926020929190829003018186803b15801561021357600080fd5b505afa158015610227573d6000803e3d6000fd5b505050506040513d602081101561023d57600080fd5b5051604080516370a0823160e01b815230600482015290519192506000916001600160a01b038a16916370a08231916024808301926020929190829003018186803b15801561028b57600080fd5b505afa15801561029f573d6000803e3d6000fd5b505050506040513d60208110156102b557600080fd5b5051604080516335cac4d560e11b81526001600160a01b038c811660048301528b166024820152604481018a9052600060648201819052600a608483015261020060a48301529151929350731814222fa8c8c1c1bf380e3bbfbd9de8657da47692636b9589aa92889260c4808201939182900301818588803b15801561033a57600080fd5b505af115801561034e573d6000803e3d6000fd5b505050505060006103e7828a6001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b1580156103af57600080fd5b505afa1580156103c3573d6000803e3d6000fd5b505050506040513d60208110156103d957600080fd5b50519063ffffffff6105b316565b9050606487900361042e610401868b63ffffffff6105fe16565b6104226064610416888763ffffffff6105fe16565b9063ffffffff6105fe16565b9063ffffffff61065716565b1015610474576040805162461bcd60e51b815260206004820152601060248201526f494e56414c49445f534c49505041474560801b604482015290519081900360640190fd5b731814222fa8c8c1c1bf380e3bbfbd9de8657da4766001600160a01b0316896001600160a01b03168b6001600160a01b03167fa6fee24309b1d83d9ec7b9e4dbb73c6f882746efbfb26db7b7d9e9f2fb6dc95a8b85604051808381526020018281526020019250505060405180910390a49450505050505b949350505050565b60005b818110156105965761050761059b565b6001600160a01b031683838381811061051c57fe5b905060200201356001600160a01b03166001600160a01b03161461058e5761058e731814222fa8c8c1c1bf380e3bbfbd9de8657da47661055a610699565b85858581811061056657fe5b905060200201356001600160a01b03166001600160a01b031661069f9092919063ffffffff16565b6001016104f7565b505050565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee90565b60006105f583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506107b2565b90505b92915050565b60008261060d575060006105f8565b8282028284828161061a57fe5b04146105f55760405162461bcd60e51b8152600401808060200182810382526021815260200180610b106021913960400191505060405180910390fd5b60006105f583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610849565b60011990565b801580610725575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156106f757600080fd5b505afa15801561070b573d6000803e3d6000fd5b505050506040513d602081101561072157600080fd5b5051155b6107605760405162461bcd60e51b8152600401808060200182810382526036815260200180610b5b6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526105969084906108ae565b600081848411156108415760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156108065781810151838201526020016107ee565b50505050905090810190601f1680156108335780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836108985760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156108065781810151838201526020016107ee565b5060008385816108a457fe5b0495945050505050565b6060610903826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661095f9092919063ffffffff16565b8051909150156105965780806020019051602081101561092257600080fd5b50516105965760405162461bcd60e51b815260040180806020018281038252602a815260200180610b31602a913960400191505060405180910390fd5b60606104ec8484600085606061097485610ad6565b6109c5576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310610a045780518252601f1990920191602091820191016109e5565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610a66576040519150601f19603f3d011682016040523d82523d6000602084013e610a6b565b606091505b50915091508115610a7f5791506104ec9050565b805115610a8f5780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156108065781810151838201526020016107ee565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906104ec57505015159291505056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a26469706673582212208feab8b8969fcadba8a22d5b8ed1cc59039f86ba2611f214a3dec442aac4f39b64736f6c63430006080033"; + "0x608060405234801561001057600080fd5b5060408051731814222fa8c8c1c1bf380e3bbfbd9de8657da47681527376b47460d7f7c5222cfb6b6a75615ab10895dde46020820152600a8183015290517f8d2e03fe8af77d72ac9d334b8bc58153f47fc0c0ec0c926c1686754201cfdc5d9181900360600190a1610b5d806100876000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80630ed2fc951461003b57806393ed430914610089575b600080fd5b6100776004803603608081101561005157600080fd5b506001600160a01b038135811691602081013590911690604081013590606001356100fb565b60408051918252519081900360200190f35b6100f96004803603602081101561009f57600080fd5b8101906020810181356401000000008111156100ba57600080fd5b8201836020820111156100cc57600080fd5b803590602001918460208302840111640100000000831117156100ee57600080fd5b5090925090506104f2565b005b600080610106610599565b6001600160a01b0316866001600160a01b031614610125576000610127565b835b6040805163b3596f0760e01b81526001600160a01b038916600482015290519192506000917376b47460d7f7c5222cfb6b6a75615ab10895dde49163b3596f07916024808301926020929190829003018186803b15801561018757600080fd5b505afa15801561019b573d6000803e3d6000fd5b505050506040513d60208110156101b157600080fd5b50516040805163b3596f0760e01b81526001600160a01b038916600482015290519192506000917376b47460d7f7c5222cfb6b6a75615ab10895dde49163b3596f07916024808301926020929190829003018186803b15801561021357600080fd5b505afa158015610227573d6000803e3d6000fd5b505050506040513d602081101561023d57600080fd5b5051604080516370a0823160e01b815230600482015290519192506000916001600160a01b038a16916370a08231916024808301926020929190829003018186803b15801561028b57600080fd5b505afa15801561029f573d6000803e3d6000fd5b505050506040513d60208110156102b557600080fd5b5051604080516335cac4d560e11b81526001600160a01b038c811660048301528b166024820152604481018a9052600060648201819052600a608483015261020060a48301529151929350731814222fa8c8c1c1bf380e3bbfbd9de8657da47692636b9589aa92889260c4808201939182900301818588803b15801561033a57600080fd5b505af115801561034e573d6000803e3d6000fd5b505050505060006103e7828a6001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b1580156103af57600080fd5b505afa1580156103c3573d6000803e3d6000fd5b505050506040513d60208110156103d957600080fd5b50519063ffffffff6105b116565b9050606487900361042e610401868b63ffffffff6105fc16565b6104226064610416888763ffffffff6105fc16565b9063ffffffff6105fc16565b9063ffffffff61065516565b1015610474576040805162461bcd60e51b815260206004820152601060248201526f494e56414c49445f534c49505041474560801b604482015290519081900360640190fd5b731814222fa8c8c1c1bf380e3bbfbd9de8657da4766001600160a01b0316896001600160a01b03168b6001600160a01b03167fa6fee24309b1d83d9ec7b9e4dbb73c6f882746efbfb26db7b7d9e9f2fb6dc95a8b85604051808381526020018281526020019250505060405180910390a49998505050505050505050565b60005b8181101561059457610505610599565b6001600160a01b031683838381811061051a57fe5b905060200201356001600160a01b03166001600160a01b03161461058c5761058c731814222fa8c8c1c1bf380e3bbfbd9de8657da476610558610697565b85858581811061056457fe5b905060200201356001600160a01b03166001600160a01b031661069d9092919063ffffffff16565b6001016104f5565b505050565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee90565b60006105f383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506107b0565b90505b92915050565b60008261060b575060006105f6565b8282028284828161061857fe5b04146105f35760405162461bcd60e51b8152600401808060200182810382526021815260200180610aa76021913960400191505060405180910390fd5b60006105f383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610847565b60011990565b801580610723575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156106f557600080fd5b505afa158015610709573d6000803e3d6000fd5b505050506040513d602081101561071f57600080fd5b5051155b61075e5760405162461bcd60e51b8152600401808060200182810382526036815260200180610af26036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790526105949084906108ac565b6000818484111561083f5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156108045781810151838201526020016107ec565b50505050905090810190601f1680156108315780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836108965760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156108045781810151838201526020016107ec565b5060008385816108a257fe5b0495945050505050565b6108be826001600160a01b0316610a6a565b61090f576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b6020831061094d5780518252601f19909201916020918201910161092e565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146109af576040519150601f19603f3d011682016040523d82523d6000602084013e6109b4565b606091505b509150915081610a0b576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b805115610a6457808060200190516020811015610a2757600080fd5b5051610a645760405162461bcd60e51b815260040180806020018281038252602a815260200180610ac8602a913960400191505060405180910390fd5b50505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610a9e57508115155b94935050505056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220fc45accf95836cf324cd68150730543f84ce17523a2367fa0f1221eb5eca3c0264736f6c63430006080033"; diff --git a/types/ReserveLogicFactory.ts b/types/ReserveLogicFactory.ts index 15b28d20..b8113d05 100644 --- a/types/ReserveLogicFactory.ts +++ b/types/ReserveLogicFactory.ts @@ -86,4 +86,4 @@ const _abi = [ ]; const _bytecode = - "0x610e3f610026600b82828239805160001a60731461001957fe5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061006c5760003560e01c80630c1282ce1461007157806358ba22fa146100af5780637d368d2e146100d25780638acb830b146100ef578063b5887a641461013c578063fade6ba01461018d575b600080fd5b61009d6004803603604081101561008757600080fd5b50803590602001356001600160a01b03166101b9565b60408051918252519081900360200190f35b61009d600480360360408110156100c557600080fd5b508035906020013561021e565b61009d600480360360208110156100e857600080fd5b503561023f565b8180156100fb57600080fd5b5061013a600480360360a081101561011257600080fd5b508035906001600160a01b0360208201351690604081013590606081013590608001356102dd565b005b81801561014857600080fd5b5061013a600480360360a081101561015f57600080fd5b508035906001600160a01b036020820135811691604081013582169160608201358116916080013516610329565b61009d600480360360408110156101a357600080fd5b50803590602001356001600160a01b03166103f6565b6000806101c584610429565b9050806101d6576000915050610218565b60006101f16001600160a01b0385163063ffffffff61052916565b9050610213610206828463ffffffff6105d316565b839063ffffffff61062d16565b925050505b92915050565b60008260030154600014610236578260030154610238565b815b9392505050565b60008160020154600014156102d1578160090160009054906101000a90046001600160a01b03166001600160a01b03166334762ca56040518163ffffffff1660e01b815260040160206040518083038186803b15801561029e57600080fd5b505afa1580156102b2573d6000803e3d6000fd5b505050506040513d60208110156102c857600080fd5b505190506102d8565b5060028101545b919050565b6102e685610671565b60006103016102f487610429565b859063ffffffff6105d316565b905061031486828563ffffffff61072916565b6103218686856000610787565b505050505050565b60068501546001600160a01b0316156103735760405162461bcd60e51b8152600401808060200182810382526024815260200180610dc56024913960400191505060405180910390fd5b845461038457610381610a74565b85555b600485015461039b57610395610a74565b60048601555b6006850180546001600160a01b03199081166001600160a01b03968716179091556007860180548216948616949094179093556008850180548416928516929092179091556009909301805490911692909116919091179055565b600061023861040484610429565b61041d6001600160a01b0385163063ffffffff61052916565b9063ffffffff6105d316565b60006102188260080160009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561047e57600080fd5b505afa158015610492573d6000803e3d6000fd5b505050506040513d60208110156104a857600080fd5b50516007840154604080516318160ddd60e01b815290516001600160a01b03909216916318160ddd91600480820192602092909190829003018186803b1580156104f157600080fd5b505afa158015610505573d6000803e3d6000fd5b505050506040513d602081101561051b57600080fd5b50519063ffffffff6105d316565b600061053483610a84565b1561054a57506001600160a01b03811631610218565b826001600160a01b03166370a08231836040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b1580156105a057600080fd5b505afa1580156105b4573d6000803e3d6000fd5b505050506040513d60208110156105ca57600080fd5b50519050610218565b600082820183811015610238576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000600282046106698361065d610650876b033b2e3c9fd0803ce8000000610aa9565b849063ffffffff6105d316565b9063ffffffff610b0216565b949350505050565b600061067c82610429565b9050801561070557600182015460098301546000916106a891600160a01b900464ffffffffff16610b44565b83549091506106be90829063ffffffff610b8f16565b8355600283015460098401546000916106e491600160a01b900464ffffffffff16610bc7565b90506106fd846004015482610b8f90919063ffffffff16565b600485015550505b50600901805464ffffffffff60a01b1916600160a01b4264ffffffffff1602179055565b600061074c61073784610c16565b61074084610c16565b9063ffffffff61062d16565b9050600061076861075b610a74565b839063ffffffff6105d316565b855490915061077e90829063ffffffff610b8f16565b90945550505050565b60078401546040805163487b7e7960e11b815290516000926001600160a01b0316916390f6fcf2916004808301926020929190829003018186803b1580156107ce57600080fd5b505afa1580156107e2573d6000803e3d6000fd5b505050506040513d60208110156107f857600080fd5b50516006860154909150600090610821906001600160a01b03878116911663ffffffff61052916565b6009870154909150600090819081906001600160a01b03166357e37af08961085f89610853898d63ffffffff6105d316565b9063ffffffff610c2c16565b8c60070160009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156108af57600080fd5b505afa1580156108c3573d6000803e3d6000fd5b505050506040513d60208110156108d957600080fd5b505160088e0154604080516318160ddd60e01b815290516001600160a01b03909216916318160ddd91600480820192602092909190829003018186803b15801561092257600080fd5b505afa158015610936573d6000803e3d6000fd5b505050506040513d602081101561094c57600080fd5b5051604080516001600160e01b031960e088901b1681526001600160a01b039095166004860152602485019390935260448401919091526064830152608482018990525160a4808301926060929190829003018186803b1580156109af57600080fd5b505afa1580156109c3573d6000803e3d6000fd5b505050506040513d60608110156109d957600080fd5b50805160208083015160409384015160018e0184905560038e0182905560028e018190558d5460048f015486518681529485018490528487018c905260608501839052608085019190915260a0840152935192965094509192506001600160a01b038a16917f131cf1f61e39fd78f61f07d78533f5b6c13629c80ef6965983e92c72efbaa4a4919081900360c00190a2505050505050505050565b6b033b2e3c9fd0803ce800000090565b6001600160a01b03811673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14919050565b600082610ab857506000610218565b82820282848281610ac557fe5b04146102385760405162461bcd60e51b8152600401808060200182810382526021815260200180610de96021913960400191505060405180910390fd5b600061023883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610c6e565b600080610b5e4264ffffffffff851663ffffffff610c2c16565b90506000610b726107376301e13380610c16565b9050610213610b7f610a74565b61041d878463ffffffff610b8f16565b60006102386b033b2e3c9fd0803ce800000061065d610bb4868663ffffffff610aa916565b6b019d971e4fe8401e74000000906105d3565b600080610be14264ffffffffff851663ffffffff610c2c16565b90506000610bf9856301e1338063ffffffff610b0216565b905061021382610c0a610650610a74565b9063ffffffff610d1016565b600061021882633b9aca0063ffffffff610aa916565b600061023883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610d6a565b60008183610cfa5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610cbf578181015183820152602001610ca7565b50505050905090810190601f168015610cec5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581610d0657fe5b0495945050505050565b600060028206610d2c576b033b2e3c9fd0803ce8000000610d2e565b825b90506002820491505b811561021857610d478384610b8f565b92506002820615610d5f57610d5c8184610b8f565b90505b600282049150610d37565b60008184841115610dbc5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610cbf578181015183820152602001610ca7565b50505090039056fe526573657276652068617320616c7265616479206265656e20696e697469616c697a6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a264697066735822122046c369049a9b1ac94d9c97601b2e0840f3e264c998dbc1e1d8295a544a0297c364736f6c63430006080033"; + "0x610ecb610026600b82828239805160001a60731461001957fe5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061006c5760003560e01c80630c1282ce1461007157806358ba22fa146100af5780637d368d2e146100d25780638acb830b146100ef578063b5887a641461013c578063fade6ba01461018d575b600080fd5b61009d6004803603604081101561008757600080fd5b50803590602001356001600160a01b03166101b9565b60408051918252519081900360200190f35b61009d600480360360408110156100c557600080fd5b5080359060200135610279565b61009d600480360360208110156100e857600080fd5b503561029a565b8180156100fb57600080fd5b5061013a600480360360a081101561011257600080fd5b508035906001600160a01b036020820135169060408101359060608101359060800135610338565b005b81801561014857600080fd5b5061013a600480360360a081101561015f57600080fd5b508035906001600160a01b036020820135811691604081013582169160608201358116916080013516610384565b61009d600480360360408110156101a357600080fd5b50803590602001356001600160a01b0316610451565b6000806101c5846104dd565b9050806101d6576000915050610273565b604080516370a0823160e01b815230600482015290516000916001600160a01b038616916370a0823191602480820192602092909190829003018186803b15801561022057600080fd5b505afa158015610234573d6000803e3d6000fd5b505050506040513d602081101561024a57600080fd5b5051905061026e610261828463ffffffff6105a516565b839063ffffffff6105ff16565b925050505b92915050565b60008260030154600014610291578260030154610293565b815b9392505050565b600081600201546000141561032c578160090160009054906101000a90046001600160a01b03166001600160a01b03166334762ca56040518163ffffffff1660e01b815260040160206040518083038186803b1580156102f957600080fd5b505afa15801561030d573d6000803e3d6000fd5b505050506040513d602081101561032357600080fd5b50519050610333565b5060028101545b919050565b61034185610643565b600061035c61034f876104dd565b859063ffffffff6105a516565b905061036f86828563ffffffff6106fb16565b61037c8686856000610759565b505050505050565b60068501546001600160a01b0316156103ce5760405162461bcd60e51b8152600401808060200182810382526024815260200180610e516024913960400191505060405180910390fd5b84546103df576103dc610aa0565b85555b60048501546103f6576103f0610aa0565b60048601555b6006850180546001600160a01b03199081166001600160a01b03968716179091556007860180548216948616949094179093556008850180548416928516929092179091556009909301805490911692909116919091179055565b600061029361045f846104dd565b604080516370a0823160e01b815230600482015290516001600160a01b038616916370a08231916024808301926020929190829003018186803b1580156104a557600080fd5b505afa1580156104b9573d6000803e3d6000fd5b505050506040513d60208110156104cf57600080fd5b50519063ffffffff6105a516565b60006102738260080160009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561053257600080fd5b505afa158015610546573d6000803e3d6000fd5b505050506040513d602081101561055c57600080fd5b50516007840154604080516318160ddd60e01b815290516001600160a01b03909216916318160ddd91600480820192602092909190829003018186803b1580156104a557600080fd5b600082820183811015610293576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60006002820461063b8361062f610622876b033b2e3c9fd0803ce8000000610ab0565b849063ffffffff6105a516565b9063ffffffff610b0916565b949350505050565b600061064e826104dd565b905080156106d7576001820154600983015460009161067a91600160a01b900464ffffffffff16610b4b565b835490915061069090829063ffffffff610ba216565b8355600283015460098401546000916106b691600160a01b900464ffffffffff16610bda565b90506106cf846004015482610ba290919063ffffffff16565b600485015550505b50600901805464ffffffffff60a01b1916600160a01b4264ffffffffff1602179055565b600061071e61070984610cfc565b61071284610cfc565b9063ffffffff6105ff16565b9050600061073a61072d610aa0565b839063ffffffff6105a516565b855490915061075090829063ffffffff610ba216565b90945550505050565b60078401546040805163487b7e7960e11b815290516000926001600160a01b0316916390f6fcf2916004808301926020929190829003018186803b1580156107a057600080fd5b505afa1580156107b4573d6000803e3d6000fd5b505050506040513d60208110156107ca57600080fd5b50516006860154604080516370a0823160e01b81526001600160a01b0392831660048201529051929350600092918716916370a0823191602480820192602092909190829003018186803b15801561082157600080fd5b505afa158015610835573d6000803e3d6000fd5b505050506040513d602081101561084b57600080fd5b50516009870154909150600090819081906001600160a01b03166357e37af08961088b8961087f898d63ffffffff6105a516565b9063ffffffff610d1216565b8c60070160009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156108db57600080fd5b505afa1580156108ef573d6000803e3d6000fd5b505050506040513d602081101561090557600080fd5b505160088e0154604080516318160ddd60e01b815290516001600160a01b03909216916318160ddd91600480820192602092909190829003018186803b15801561094e57600080fd5b505afa158015610962573d6000803e3d6000fd5b505050506040513d602081101561097857600080fd5b5051604080516001600160e01b031960e088901b1681526001600160a01b039095166004860152602485019390935260448401919091526064830152608482018990525160a4808301926060929190829003018186803b1580156109db57600080fd5b505afa1580156109ef573d6000803e3d6000fd5b505050506040513d6060811015610a0557600080fd5b50805160208083015160409384015160018e0184905560038e0182905560028e018190558d5460048f015486518681529485018490528487018c905260608501839052608085019190915260a0840152935192965094509192506001600160a01b038a16917f131cf1f61e39fd78f61f07d78533f5b6c13629c80ef6965983e92c72efbaa4a4919081900360c00190a2505050505050505050565b6b033b2e3c9fd0803ce800000090565b600082610abf57506000610273565b82820282848281610acc57fe5b04146102935760405162461bcd60e51b8152600401808060200182810382526021815260200180610e756021913960400191505060405180910390fd5b600061029383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610d54565b600080610b654264ffffffffff851663ffffffff610d1216565b90506000610b796107096301e13380610cfc565b905061026e610b86610aa0565b610b96878463ffffffff610ba216565b9063ffffffff6105a516565b60006102936b033b2e3c9fd0803ce800000061062f610bc7868663ffffffff610ab016565b6b019d971e4fe8401e74000000906105a5565b600080610bf44264ffffffffff851663ffffffff610d1216565b905080610c0b57610c03610aa0565b915050610273565b6000610c1e82600163ffffffff610d1216565b9050600060028311610c31576000610c42565b610c4283600263ffffffff610d1216565b90506000610c5a876301e1338063ffffffff610b0916565b90506000610c6e828063ffffffff610ba216565b90506000610c82828463ffffffff610ba216565b90506000610cab600261062f85610c9f8b8b63ffffffff610ab016565b9063ffffffff610ab016565b90506000610cca600661062f85610c9f8a818e8e63ffffffff610ab016565b9050610ced81610b968481610ce58a8e63ffffffff610ab016565b610b96610aa0565b9b9a5050505050505050505050565b600061027382633b9aca0063ffffffff610ab016565b600061029383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610df6565b60008183610de05760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610da5578181015183820152602001610d8d565b50505050905090810190601f168015610dd25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581610dec57fe5b0495945050505050565b60008184841115610e485760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610da5578181015183820152602001610d8d565b50505090039056fe526573657276652068617320616c7265616479206265656e20696e697469616c697a6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a2646970667358221220bc2ecf55acc1c09cd9863ed15e8fb5c2c406110ea71474e8d568ebb92168745064736f6c63430006080033"; diff --git a/types/StableDebtToken.d.ts b/types/StableDebtToken.d.ts index f10adf93..554a8cf2 100644 --- a/types/StableDebtToken.d.ts +++ b/types/StableDebtToken.d.ts @@ -12,6 +12,8 @@ import { interface StableDebtTokenInterface extends Interface { functions: { + DEBT_TOKEN_REVISION: TypedFunctionDescription<{ encode([]: []): string }>; + allowance: TypedFunctionDescription<{ encode([owner, spender]: [string, string]): string; }>; @@ -48,11 +50,11 @@ interface StableDebtTokenInterface extends Interface { encode([spender, addedValue]: [string, BigNumberish]): string; }>; - init: TypedFunctionDescription<{ - encode([_name, _symbol, _decimals]: [ + initialize: TypedFunctionDescription<{ + encode([_decimals, _name, _symbol]: [ + BigNumberish, string, - string, - BigNumberish + string ]): string; }>; @@ -148,6 +150,8 @@ export class StableDebtToken extends Contract { interface: StableDebtTokenInterface; functions: { + DEBT_TOKEN_REVISION(): Promise; + allowance(owner: string, spender: string): Promise; approve( @@ -184,10 +188,10 @@ export class StableDebtToken extends Contract { overrides?: TransactionOverrides ): Promise; - init( + initialize( + _decimals: BigNumberish, _name: string, _symbol: string, - _decimals: BigNumberish, overrides?: TransactionOverrides ): Promise; @@ -222,6 +226,8 @@ export class StableDebtToken extends Contract { underlyingAssetAddress(): Promise; }; + DEBT_TOKEN_REVISION(): Promise; + allowance(owner: string, spender: string): Promise; approve( @@ -258,10 +264,10 @@ export class StableDebtToken extends Contract { overrides?: TransactionOverrides ): Promise; - init( + initialize( + _decimals: BigNumberish, _name: string, _symbol: string, - _decimals: BigNumberish, overrides?: TransactionOverrides ): Promise; @@ -323,6 +329,8 @@ export class StableDebtToken extends Contract { }; estimate: { + DEBT_TOKEN_REVISION(): Promise; + allowance(owner: string, spender: string): Promise; approve(spender: string, _amount: BigNumberish): Promise; @@ -349,10 +357,10 @@ export class StableDebtToken extends Contract { addedValue: BigNumberish ): Promise; - init( + initialize( + _decimals: BigNumberish, _name: string, - _symbol: string, - _decimals: BigNumberish + _symbol: string ): Promise; mint( diff --git a/types/StableDebtTokenFactory.ts b/types/StableDebtTokenFactory.ts index d6d82ce3..ac547f27 100644 --- a/types/StableDebtTokenFactory.ts +++ b/types/StableDebtTokenFactory.ts @@ -16,18 +16,32 @@ export class StableDebtTokenFactory extends ContractFactory { deploy( _pool: string, _underlyingAsset: string, + _name: string, + _symbol: string, overrides?: TransactionOverrides ): Promise { - return super.deploy(_pool, _underlyingAsset, overrides) as Promise< - StableDebtToken - >; + return super.deploy( + _pool, + _underlyingAsset, + _name, + _symbol, + overrides + ) as Promise; } getDeployTransaction( _pool: string, _underlyingAsset: string, + _name: string, + _symbol: string, overrides?: TransactionOverrides ): UnsignedTransaction { - return super.getDeployTransaction(_pool, _underlyingAsset, overrides); + return super.getDeployTransaction( + _pool, + _underlyingAsset, + _name, + _symbol, + overrides + ); } attach(address: string): StableDebtToken { return super.attach(address) as StableDebtToken; @@ -55,6 +69,16 @@ const _abi = [ internalType: "address", name: "_underlyingAsset", type: "address" + }, + { + internalType: "string", + name: "_name", + type: "string" + }, + { + internalType: "string", + name: "_symbol", + type: "string" } ], stateMutability: "nonpayable", @@ -190,6 +214,19 @@ const _abi = [ name: "mintDebt", type: "event" }, + { + inputs: [], + name: "DEBT_TOKEN_REVISION", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256" + } + ], + stateMutability: "view", + type: "function" + }, { inputs: [ { @@ -389,6 +426,11 @@ const _abi = [ }, { inputs: [ + { + internalType: "uint8", + name: "_decimals", + type: "uint8" + }, { internalType: "string", name: "_name", @@ -398,14 +440,9 @@ const _abi = [ internalType: "string", name: "_symbol", type: "string" - }, - { - internalType: "uint8", - name: "_decimals", - type: "uint8" } ], - name: "init", + name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" @@ -560,4 +597,4 @@ const _abi = [ ]; const _bytecode = - "0x608060405234801561001057600080fd5b506112bc806100206000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806381e75277116100ad578063a457c2d711610071578063a457c2d714610285578063a9059cbb146104be578063c634dfaa146104ea578063dd62ed3e14610510578063e78c9b3b1461053e57610121565b806381e752771461031757806389d1a0fc1461045e57806390f6fcf21461048257806395d89b411461048a5780639dc29fac1461049257610121565b806323b872dd116100f457806323b872dd14610231578063313ce56714610267578063395093511461028557806370a08231146102b157806379ce6b8c146102d757610121565b806306fdde0314610126578063095ea7b3146101a3578063156e29f6146101e357806318160ddd14610217575b600080fd5b61012e610564565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610168578181015183820152602001610150565b50505050905090810190601f1680156101955780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101cf600480360360408110156101b957600080fd5b506001600160a01b0381351690602001356105f1565b604080519115158252519081900360200190f35b610215600480360360608110156101f957600080fd5b506001600160a01b038135169060208101359060400135610639565b005b61021f610837565b60408051918252519081900360200190f35b6101cf6004803603606081101561024757600080fd5b506001600160a01b0381358116916020810135909116906040013561083d565b61026f610885565b6040805160ff9092168252519081900360200190f35b6101cf6004803603604081101561029b57600080fd5b506001600160a01b03813516906020013561088e565b61021f600480360360208110156102c757600080fd5b50356001600160a01b03166108dd565b6102fd600480360360208110156102ed57600080fd5b50356001600160a01b0316610987565b6040805164ffffffffff9092168252519081900360200190f35b610215600480360360a081101561032d57600080fd5b81019060208101813564010000000081111561034857600080fd5b82018360208201111561035a57600080fd5b8035906020019184600183028401116401000000008311171561037c57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156103cf57600080fd5b8201836020820111156103e157600080fd5b8035906020019184600183028401116401000000008311171561040357600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505060ff8335169350506001600160a01b036020830135811692604001351690506109ac565b610466610a91565b604080516001600160a01b039092168252519081900360200190f35b61021f610aa5565b61012e610aac565b610215600480360360408110156104a857600080fd5b506001600160a01b038135169060200135610b04565b6101cf600480360360408110156104d457600080fd5b506001600160a01b03813516906020013561083d565b61021f6004803603602081101561050057600080fd5b50356001600160a01b0316610c8a565b61021f6004803603604081101561052657600080fd5b506001600160a01b038135811691602001351661088e565b61021f6004803603602081101561055457600080fd5b50356001600160a01b0316610ca5565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105e95780601f106105be576101008083540402835291602001916105e9565b820191906000526020600020905b8154815290600101906020018083116105cc57829003601f168201915b505050505081565b6040805162461bcd60e51b81526020600482015260166024820152751054141493d5905317d393d517d4d5541413d495115160521b6044820152905160009181900360640190fd5b6004546001600160a01b031633146106825760405162461bcd60e51b81526004018080602001828103825260328152602001806112556032913960400191505060405180910390fd5b61068a61117a565b600080600061069887610cc0565b9250925092506106b386600054610d2e90919063ffffffff16565b84526106be86610d91565b60208501526107406106de6106d9848963ffffffff610d2e16565b610d91565b6020860151610734906106f7908963ffffffff610da716565b61072861070387610d91565b6001600160a01b038d166000908152600760205260409020549063ffffffff610da716565b9063ffffffff610d2e16565b9063ffffffff610deb16565b60408581018290526001600160a01b0389166000908152600760205220908155600101805464ffffffffff19164264ffffffffff1617905583516107be9061078790610d91565b6107346107a1876020015189610da790919063ffffffff16565b6107286107af600054610d91565b6006549063ffffffff610da716565b6006556107cb8787610e23565b60408085015181516001600160a01b038a16815260208101899052808301869052606081018590526080810184905260a081019190915290517f94ba3ac5ed6fee7b49ed817c5ee964eed9bd5da6860344f95fc56997e920381d9181900360c00190a150505050505050565b60005481565b6040805162461bcd60e51b81526020600482015260166024820152751514905394d1915497d393d517d4d5541413d495115160521b6044820152905160009181900360640190fd5b60035460ff1681565b6040805162461bcd60e51b815260206004820152601760248201527f414c4c4f57414e43455f4e4f545f535550504f525445440000000000000000006044820152905160009181900360640190fd5b6001600160a01b03811660009081526005602052604081205461090257506000610982565b6001600160a01b038216600090815260076020526040812080546001820154919291610935919064ffffffffff16610e81565b905061097d6109788261096c60056000896001600160a01b03166001600160a01b0316815260200190815260200160002054610d91565b9063ffffffff610da716565b610ed9565b925050505b919050565b6001600160a01b031660009081526007602052604090206001015464ffffffffff1690565b84516109bf90600190602088019061119b565b5083516109d390600290602087019061119b565b506003805460ff191660ff851617610100600160a81b0319166101006001600160a01b03858116919091029190911790915560408051630261bf8b60e01b8152905191831691630261bf8b91600480820192602092909190829003018186803b158015610a3f57600080fd5b505afa158015610a53573d6000803e3d6000fd5b505050506040513d6020811015610a6957600080fd5b5051600480546001600160a01b0319166001600160a01b039092169190911790555050505050565b60035461010090046001600160a01b031681565b6006545b90565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156105e95780601f106105be576101008083540402835291602001916105e9565b6004546001600160a01b03163314610b4d5760405162461bcd60e51b81526004018080602001828103825260328152602001806112556032913960400191505060405180910390fd5b6000806000610b5b85610cc0565b9250925092506000610b7885600054610ef990919063ffffffff16565b90506000610b8586610d91565b905081610b96576000600655610bed565b610be9610ba283610d91565b6001600160a01b03891660009081526007602052604090205461073490610bcf908563ffffffff610da716565b610bdd6107af600054610d91565b9063ffffffff610ef916565b6006555b83861415610c20576001600160a01b0387166000908152600760205260408120908155600101805464ffffffffff191690555b610c2a8787610f3b565b604080516001600160a01b038916815260208101889052808201879052606081018690526080810185905290517fecde08620c30706a4d7ba53e9163327f2e12a6cea2709dd6a9226fed28c2bb729181900360a00190a150505050505050565b6001600160a01b031660009081526005602052604090205490565b6001600160a01b031660009081526007602052604090205490565b6001600160a01b0381166000908152600560205260408120548190819080610cf2575060009250829150819050610d27565b6000610d0182610bdd886108dd565b9050610d0d8682610e23565b81610d1e818363ffffffff610d2e16565b90955093509150505b9193909250565b600082820183811015610d88576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b6000610d8b82633b9aca0063ffffffff610f7916565b6000610d886b033b2e3c9fd0803ce8000000610ddf610dcc868663ffffffff610f7916565b6b019d971e4fe8401e7400000090610d2e565b9063ffffffff610fd216565b600060028204610e1b83610ddf610e0e876b033b2e3c9fd0803ce8000000610f79565b849063ffffffff610d2e16565b949350505050565b600054610e36908263ffffffff610d2e16565b60009081556001600160a01b038316815260056020526040902054610e61908263ffffffff610d2e16565b6001600160a01b0390921660009081526005602052604090209190915550565b600080610e9b4264ffffffffff851663ffffffff610ef916565b90506000610eb3856301e1338063ffffffff610fd216565b9050610ed082610ec4610e0e611014565b9063ffffffff61102416565b95945050505050565b6000631dcd6500610ef2633b9aca00610ddf8386610d2e565b9392505050565b6000610d8883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061107e565b600054610f4e908263ffffffff610ef916565b60009081556001600160a01b038316815260056020526040902054610e61908263ffffffff610ef916565b600082610f8857506000610d8b565b82820282848281610f9557fe5b0414610d885760405162461bcd60e51b81526004018080602001828103825260218152602001806112346021913960400191505060405180910390fd5b6000610d8883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611115565b6b033b2e3c9fd0803ce800000090565b600060028206611040576b033b2e3c9fd0803ce8000000611042565b825b90506002820491505b8115610d8b5761105b8384610da7565b92506002820615611073576110708184610da7565b90505b60028204915061104b565b6000818484111561110d5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156110d25781810151838201526020016110ba565b50505050905090810190601f1680156110ff5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836111645760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156110d25781810151838201526020016110ba565b50600083858161117057fe5b0495945050505050565b60405180606001604052806000815260200160008152602001600081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106111dc57805160ff1916838001178555611209565b82800160010185558215611209579182015b828111156112095782518255916020019190600101906111ee565b50611215929150611219565b5090565b610aa991905b80821115611215576000815560010161121f56fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775468652063616c6c6572206f6620746869732066756e6374696f6e206d7573742062652061206c656e64696e6720706f6f6ca2646970667358221220dd7fd93e92ad4379803e80757f6b5a617933a2c1f8fa561f42f72ddd64f564b064736f6c63430006080033"; + "0x60c0604052600080553480156200001557600080fd5b506040516200171638038062001716833981810160405260808110156200003b57600080fd5b815160208301516040808501805191519395929483019291846401000000008211156200006757600080fd5b9083019060208201858111156200007d57600080fd5b82516401000000008111828201881017156200009857600080fd5b82525081516020918201929091019080838360005b83811015620000c7578181015183820152602001620000ad565b50505050905090810190601f168015620000f55780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200011957600080fd5b9083019060208201858111156200012f57600080fd5b82516401000000008111828201881017156200014a57600080fd5b82525081516020918201929091019080838360005b83811015620001795781810151838201526020016200015f565b50505050905090810190601f168015620001a75780820380516001836020036101000a031916815260200191505b506040525050506001600160601b0319606085811b821660a05284901b1660805281518490849084908490620001e59060359060208501906200020a565b508051620001fb9060369060208401906200020a565b505050505050505050620002af565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200024d57805160ff19168380011785556200027d565b828001600101855582156200027d579182015b828111156200027d57825182559160200191906001019062000260565b506200028b9291506200028f565b5090565b620002ac91905b808211156200028b576000815560010162000296565b90565b60805160601c60a05160601c611438620002de600039806106485280610b5f525080610ad052506114386000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c806389d1a0fc116100ad578063a9059cbb11610071578063a9059cbb146104b9578063b9a7b622146104e5578063c634dfaa146104ed578063dd62ed3e14610513578063e78c9b3b146105415761012c565b806389d1a0fc1461045957806390f6fcf21461047d57806395d89b41146104855780639dc29fac1461048d578063a457c2d7146103c75761012c565b80633118724e116100f45780633118724e14610272578063313ce567146103a957806339509351146103c757806370a08231146103f357806379ce6b8c146104195761012c565b806306fdde0314610131578063095ea7b3146101ae578063156e29f6146101ee57806318160ddd1461022257806323b872dd1461023c575b600080fd5b610139610567565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561017357818101518382015260200161015b565b50505050905090810190601f1680156101a05780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101da600480360360408110156101c457600080fd5b506001600160a01b0381351690602001356105f5565b604080519115158252519081900360200190f35b6102206004803603606081101561020457600080fd5b506001600160a01b03813516906020810135906040013561063d565b005b61022a610883565b60408051918252519081900360200190f35b6101da6004803603606081101561025257600080fd5b506001600160a01b03813581169160208101359091169060400135610889565b6102206004803603606081101561028857600080fd5b60ff82351691908101906040810160208201356401000000008111156102ad57600080fd5b8201836020820111156102bf57600080fd5b803590602001918460018302840111640100000000831117156102e157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561033457600080fd5b82018360208201111561034657600080fd5b8035906020019184600183028401116401000000008311171561036857600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506108d1945050505050565b6103b16109a7565b6040805160ff9092168252519081900360200190f35b6101da600480360360408110156103dd57600080fd5b506001600160a01b0381351690602001356109b0565b61022a6004803603602081101561040957600080fd5b50356001600160a01b03166109ff565b61043f6004803603602081101561042f57600080fd5b50356001600160a01b0316610aa9565b6040805164ffffffffff9092168252519081900360200190f35b610461610ace565b604080516001600160a01b039092168252519081900360200190f35b61022a610af2565b610139610af9565b610220600480360360408110156104a357600080fd5b506001600160a01b038135169060200135610b54565b6101da600480360360408110156104cf57600080fd5b506001600160a01b038135169060200135610889565b61022a610d59565b61022a6004803603602081101561050357600080fd5b50356001600160a01b0316610d5e565b61022a6004803603604081101561052957600080fd5b506001600160a01b03813581169160200135166109b0565b61022a6004803603602081101561055757600080fd5b50356001600160a01b0316610d79565b6035805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105ed5780601f106105c2576101008083540402835291602001916105ed565b820191906000526020600020905b8154815290600101906020018083116105d057829003601f168201915b505050505081565b6040805162461bcd60e51b81526020600482015260166024820152751054141493d5905317d393d517d4d5541413d495115160521b6044820152905160009181900360640190fd5b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146106a45760405162461bcd60e51b81526004018080602001828103825260328152602001806113d16032913960400191505060405180910390fd5b6106ac6112c1565b60008060006106ba87610d94565b9250925092506106d581603454610df890919063ffffffff16565b602085018190526106ec908763ffffffff610df816565b84526106f786610e5b565b6040850152610779610717610712848963ffffffff610df816565b610e5b565b604086015161076d90610730908963ffffffff610e7116565b61076161073c87610e5b565b6001600160a01b038d166000908152603a60205260409020549063ffffffff610e7116565b9063ffffffff610df816565b9063ffffffff610eb516565b606085018190526001600160a01b0388166000908152603a60205260409020908155600101805464ffffffffff19164264ffffffffff1617905583516107fb906107c290610e5b565b61076d6107dc876040015189610e7190919063ffffffff16565b6107616107ec8960200151610e5b565b6039549063ffffffff610e7116565b60395561081787610812888463ffffffff610df816565b610eed565b606080850151604080516001600160a01b038b168152602081018a90528082018790529283018590526080830184905260a0830191909152517f94ba3ac5ed6fee7b49ed817c5ee964eed9bd5da6860344f95fc56997e920381d9181900360c00190a150505050505050565b60345481565b6040805162461bcd60e51b81526020600482015260166024820152751514905394d1915497d393d517d4d5541413d495115160521b6044820152905160009181900360640190fd5b60006108db610f4c565b60015490915060ff16806108f257506108f2610f51565b806108fe575060005481115b6109395760405162461bcd60e51b815260040180806020018281038252602e8152602001806113a3602e913960400191505060405180910390fd5b60015460ff16158015610958576001805460ff19168117905560008290555b835161096b9060359060208701906112e9565b50825161097f9060369060208601906112e9565b506037805460ff191660ff871617905580156109a0576001805460ff191690555b5050505050565b60375460ff1681565b6040805162461bcd60e51b815260206004820152601760248201527f414c4c4f57414e43455f4e4f545f535550504f525445440000000000000000006044820152905160009181900360640190fd5b6001600160a01b038116600090815260386020526040812054610a2457506000610aa4565b6001600160a01b0382166000908152603a6020526040812080546001820154919291610a57919064ffffffffff16610f57565b9050610a9f610a9a82610a8e60386000896001600160a01b03166001600160a01b0316815260200190815260200160002054610e5b565b9063ffffffff610e7116565b611079565b925050505b919050565b6001600160a01b03166000908152603a602052604090206001015464ffffffffff1690565b7f000000000000000000000000000000000000000000000000000000000000000081565b6039545b90565b6036805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105ed5780601f106105c2576101008083540402835291602001916105ed565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610bbb5760405162461bcd60e51b81526004018080602001828103825260328152602001806113d16032913960400191505060405180910390fd5b6000806000610bc985610d94565b9250925092506000610be682603454610df890919063ffffffff16565b90506000610bfa828763ffffffff61109916565b90506000610c2387610c1786603454610df890919063ffffffff16565b9063ffffffff61109916565b90506000610c3088610e5b565b905081610c41576000603955610c8a565b610c86610c4d84610e5b565b6001600160a01b038b166000908152603a602052604090205461076d90610c7a908563ffffffff610e7116565b610c176107ec89610e5b565b6039555b85881415610cbd576001600160a01b0389166000908152603a60205260408120908155600101805464ffffffffff191690555b87851115610cde57610cd989610812878b63ffffffff61109916565b610cf7565b610cf789610cf28a8863ffffffff61109916565b6110db565b604080516001600160a01b038b168152602081018a9052808201899052606081018890526080810187905290517fecde08620c30706a4d7ba53e9163327f2e12a6cea2709dd6a9226fed28c2bb729181900360a00190a1505050505050505050565b600181565b6001600160a01b031660009081526038602052604090205490565b6001600160a01b03166000908152603a602052604090205490565b6001600160a01b0381166000908152603860205260408120548190819080610dc6575060009250829150819050610df1565b6000610dd582610c17886109ff565b905081610de8818363ffffffff610df816565b90955093509150505b9193909250565b600082820183811015610e52576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b6000610e5582633b9aca0063ffffffff61111a16565b6000610e526b033b2e3c9fd0803ce8000000610ea9610e96868663ffffffff61111a16565b6b019d971e4fe8401e7400000090610df8565b9063ffffffff61117316565b600060028204610ee583610ea9610ed8876b033b2e3c9fd0803ce800000061111a565b849063ffffffff610df816565b949350505050565b603454610f00908263ffffffff610df816565b6034556001600160a01b038216600090815260386020526040902054610f2c908263ffffffff610df816565b6001600160a01b0390921660009081526038602052604090209190915550565b600190565b303b1590565b600080610f714264ffffffffff851663ffffffff61109916565b905080610f8857610f806111b5565b915050610e55565b6000610f9b82600163ffffffff61109916565b9050600060028311610fae576000610fbf565b610fbf83600263ffffffff61109916565b90506000610fd7876301e1338063ffffffff61117316565b90506000610feb828063ffffffff610e7116565b90506000610fff828463ffffffff610e7116565b905060006110286002610ea98561101c8b8b63ffffffff61111a16565b9063ffffffff61111a16565b905060006110476006610ea98561101c8a818e8e63ffffffff61111a16565b905061106a8161076184816110628a8e63ffffffff61111a16565b6107616111b5565b9b9a5050505050505050505050565b6000631dcd6500611092633b9aca00610ea98386610df8565b9392505050565b6000610e5283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111c5565b6034546110ee908263ffffffff61109916565b6034556001600160a01b038216600090815260386020526040902054610f2c908263ffffffff61109916565b60008261112957506000610e55565b8282028284828161113657fe5b0414610e525760405162461bcd60e51b81526004018080602001828103825260218152602001806113826021913960400191505060405180910390fd5b6000610e5283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061125c565b6b033b2e3c9fd0803ce800000090565b600081848411156112545760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611219578181015183820152602001611201565b50505050905090810190601f1680156112465780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836112ab5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611219578181015183820152602001611201565b5060008385816112b757fe5b0495945050505050565b6040518060800160405280600081526020016000815260200160008152602001600081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061132a57805160ff1916838001178555611357565b82800160010185558215611357579182015b8281111561135757825182559160200191906001019061133c565b50611363929150611367565b5090565b610af691905b80821115611363576000815560010161136d56fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a65645468652063616c6c6572206f6620746869732066756e6374696f6e206d7573742062652061206c656e64696e6720706f6f6ca26469706673582212200b7c6b6ae4a35b0337e61be21d4727e8688c0484c35d3b40911e138ce1493a9664736f6c63430006080033"; diff --git a/types/TokenDistributorFactory.ts b/types/TokenDistributorFactory.ts index 50337462..6f4a41c9 100644 --- a/types/TokenDistributorFactory.ts +++ b/types/TokenDistributorFactory.ts @@ -358,4 +358,4 @@ const _abi = [ ]; const _bytecode = - "0x6080604052600060015534801561001557600080fd5b506001600055611ee38061002a6000396000f3fe6080604052600436106100ec5760003560e01c80634f1b86eb1161008a57806393ed43091161005957806393ed4309146104ff578063cc8cc9d8146105ad578063e5b5019a146106dd578063eed64c30146106f2576100f3565b80634f1b86eb146102525780636138889b146102675780637623bac5146103175780638c0c9a25146104ea576100f3565b8063217ab806116100c6578063217ab806146101e257806323879bb1146102135780632cbcda251461022857806340d58a4a1461023d576100f3565b8063043c41d4146100f8578063135206581461011f5780631cced51b14610134576100f3565b366100f357005b600080fd5b34801561010457600080fd5b5061010d610822565b60408051918252519081900360200190f35b34801561012b57600080fd5b5061010d610828565b34801561014057600080fd5b5061014961082e565b604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561018d578181015183820152602001610175565b50505050905001838103825284818151815260200191508051906020019060200280838360005b838110156101cc5781810151838201526020016101b4565b5050505090500194505050505060405180910390f35b3480156101ee57600080fd5b506101f76108eb565b604080516001600160a01b039092168252519081900360200190f35b34801561021f57600080fd5b5061010d6108fa565b34801561023457600080fd5b506101f76108ff565b34801561024957600080fd5b5061010d61090e565b34801561025e57600080fd5b506101f7610913565b34801561027357600080fd5b506103156004803603602081101561028a57600080fd5b810190602081018135600160201b8111156102a457600080fd5b8201836020820111156102b657600080fd5b803590602001918460208302840111600160201b831117156102d757600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610922945050505050565b005b34801561032357600080fd5b50610315600480360360c081101561033a57600080fd5b6001600160a01b0382358116926020810135821692604082013590921691810190608081016060820135600160201b81111561037557600080fd5b82018360208201111561038757600080fd5b803590602001918460208302840111600160201b831117156103a857600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156103f757600080fd5b82018360208201111561040957600080fd5b803590602001918460208302840111600160201b8311171561042a57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561047957600080fd5b82018360208201111561048b57600080fd5b803590602001918460208302840111600160201b831117156104ac57600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061099a945050505050565b3480156104f657600080fd5b506101f7610b65565b34801561050b57600080fd5b506103156004803603602081101561052257600080fd5b810190602081018135600160201b81111561053c57600080fd5b82018360208201111561054e57600080fd5b803590602001918460208302840111600160201b8311171561056f57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610b7d945050505050565b3480156105b957600080fd5b50610315600480360360408110156105d057600080fd5b810190602081018135600160201b8111156105ea57600080fd5b8201836020820111156105fc57600080fd5b803590602001918460208302840111600160201b8311171561061d57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561066c57600080fd5b82018360208201111561067e57600080fd5b803590602001918460208302840111600160201b8311171561069f57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610caf945050505050565b3480156106e957600080fd5b5061010d610cf8565b3480156106fe57600080fd5b506103156004803603604081101561071557600080fd5b810190602081018135600160201b81111561072f57600080fd5b82018360208201111561074157600080fd5b803590602001918460208302840111600160201b8311171561076257600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156107b157600080fd5b8201836020820111156107c357600080fd5b803590602001918460208302840111600160201b831117156107e457600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610cfe945050505050565b60011981565b61271081565b606080603560000180548060200260200160405190810160405280929190818152602001828054801561088a57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161086c575b5050505050915060356001018054806020026020016040519081016040528092919081815260200182805480156108e057602002820191906000526020600020905b8154815260200190600101908083116108cc575b505050505090509091565b6038546001600160a01b031681565b600381565b6039546001600160a01b031681565b600181565b6037546001600160a01b031681565b60005b815181101561099657600061095f3084848151811061094057fe5b60200260200101516001600160a01b0316610d6890919063ffffffff16565b90506000811161096f575061098e565b61098c83838151811061097e57fe5b602002602001015182610e14565b505b600101610925565b5050565b6109cd6040518060400160405280601281526020017124b739b4b2329034b734ba34b0b634bd32b960711b81525061119c565b60006109d76112d2565b9050610a096040518060400160405280600e81526020016d5265766973696f6e20697320257360901b815250826112d8565b610a3360405180604001604052806008815260200167546869733a20257360c01b8152503061142d565b60025460ff1680610a475750610a47611526565b80610a53575060015481115b610a8e5760405162461bcd60e51b815260040180806020018281038252602e815260200180611e1d602e913960400191505060405180910390fd5b60025460ff16158015610aaf576002805460ff191660019081179091558290555b603880546001600160a01b03808b166001600160a01b031992831617909255603780548a84169083161790556039805492891692909116919091179055610af6858561152c565b610aff83610b7d565b604080516001600160a01b03808a16825280891660208301528a168183015290517f99566d155bc7902033d8db6b0f091f12209d9651abdae3aad004632bd3e657b59181900360600190a18015610b5b576002805460ff191690555b5050505050505050565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81565b6039546040516020602482018181528451604484015284516000946001600160a01b0316936393ed430960e01b9387939283926064019180860191028083838b5b83811015610bd6578181015183820152602001610bbe565b5050505090500192505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518082805190602001908083835b60208310610c435780518252601f199092019160209182019101610c24565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610ca3576040519150601f19603f3d011682016040523d82523d6000602084013e610ca8565b606091505b5050505050565b60005b8251811015610cf357610ceb838281518110610cca57fe5b6020026020010151838381518110610cde57fe5b6020026020010151610e14565b600101610cb2565b505050565b60001981565b60005b8251811015610cf3576000610d3f838381518110610d1b57fe5b6020026020010151610d333087868151811061094057fe5b9063ffffffff61168616565b905060008111610d4f5750610d60565b610d5e84838151811061097e57fe5b505b600101610d01565b6000610d73836116b1565b15610d8957506001600160a01b03811631610e0e565b826001600160a01b03166370a08231836040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610ddf57600080fd5b505afa158015610df3573d6000803e3d6000fd5b505050506040513d6020811015610e0957600080fd5b505190505b92915050565b81610e1d611cf7565b604080516035805460606020820284018101855293830181815292939192849290918491840182828015610e7a57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610e5c575b5050505050815260200160018201805480602002602001604051908101604052809291908181526020018280548015610ed257602002820191906000526020600020905b815481526020019060010190808311610ebe575b505050505081525050905060008090505b815151811015610ca8576000610f2b612710610f1f85602001518581518110610f0857fe5b6020026020010151886116d690919063ffffffff16565b9063ffffffff61172f16565b905080610f385750611194565b825180516000919084908110610f4a57fe5b60200260200101516001600160a01b03161461101457610f9583600001518381518110610f7357fe5b602002602001015182886001600160a01b03166117719092919063ffffffff16565b7f60ce3cc2d133631eac66a476f14997a9fa682bd05a60dd993cf02285822d78d883600001518381518110610fc657fe5b602002602001015184602001518481518110610fde57fe5b602090810291909101810151604080516001600160a01b03909416845291830152818101849052519081900360600190a1611192565b60375481906001600160a01b0386811691161461118757603954603754604080516001600160a01b038981166024830152928316604482015260648101869052600a6084808301919091528251808303909101815260a490910182526020810180516001600160e01b0316630ed2fc9560e01b17815291518151600095606095169382918083835b602083106110bb5780518252601f19909201916020918201910161109c565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d806000811461111b576040519150601f19603f3d011682016040523d82523d6000602084013e611120565b606091505b50915091508161116b576040805162461bcd60e51b81526020600482015260116024820152704552524f525f4f4e5f45584348414e474560781b604482015290519081900360640190fd5b80806020019051602081101561118057600080fd5b5051925050505b6111908161184a565b505b505b600101610ee3565b6040516020602482018181528351604484015283516000936a636f6e736f6c652e6c6f67938693928392606401918501908083838a5b838110156111ea5781810151838201526020016111d2565b50505050905090810190601f1680156112175780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b031663104c13eb60e21b178152905182519295509350839250908083835b602083106112725780518252601f199092019160209182019101611253565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114610ca3576040519150601f19603f3d011682016040523d82523d6000602084013e610ca8565b60035b90565b60006a636f6e736f6c652e6c6f676001600160a01b031683836040516024018080602001838152602001828103825284818151815260200191508051906020019080838360005b8381101561133757818101518382015260200161131f565b50505050905090810190601f1680156113645780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b03166309710a9d60e41b17815290518251929650945084935091508083835b602083106113c05780518252601f1990920191602091820191016113a1565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114611420576040519150601f19603f3d011682016040523d82523d6000602084013e611425565b606091505b505050505050565b60006a636f6e736f6c652e6c6f676001600160a01b031683836040516024018080602001836001600160a01b03166001600160a01b03168152602001828103825284818151815260200191508051906020019080838360005b8381101561149e578181015183820152602001611486565b50505050905090810190601f1680156114cb5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b031663319af33360e01b1781529051825192965094508493509150808383602083106113c05780518252601f1990920191602091820191016113a1565b303b1590565b8051825114611582576040805162461bcd60e51b815260206004820152601d60248201527f4172726179206c656e677468732073686f756c6420626520657175616c000000604482015290519081900360640190fd5b60408051808201909152828152602080820183905283516035916115aa918391870190611d11565b5060208281015180516115c39260018501920190611d76565b509050507fdc9f439f707945ade720b0154668dd64af0689fb88b40abdb0f0289156d23e9d8282604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561162e578181015183820152602001611616565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561166d578181015183820152602001611655565b5050505090500194505050505060405180910390a15050565b60006116aa612710610f1f6116a1868663ffffffff6116d616565b61138890611940565b9392505050565b6001600160a01b03811673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14919050565b6000826116e557506000610e0e565b828202828482816116f257fe5b04146116aa5760405162461bcd60e51b8152600401808060200182810382526021815260200180611dfc6021913960400191505060405180910390fd5b60006116aa83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061199a565b8061177b57610cf3565b611784836116b1565b15611830576040516000906001600160a01b0384169061c35090849084818181858888f193505050503d80600081146117d9576040519150601f19603f3d011682016040523d82523d6000602084013e6117de565b606091505b505090508061182a576040805162461bcd60e51b815260206004820152601360248201527211551217d514905394d1915497d19052531151606a1b604482015290519081900360640190fd5b50610cf3565b610cf36001600160a01b038416838363ffffffff611a3c16565b6037546038546040805163a9059cbb60e01b81526001600160a01b039283166004820152602481018590529051919092169163a9059cbb9160448083019260209291908290030181600087803b1580156118a357600080fd5b505af11580156118b7573d6000803e3d6000fd5b505050506040513d60208110156118cd57600080fd5b505161190a5760405162461bcd60e51b8152600401808060200182810382526039815260200180611e4b6039913960400191505060405180910390fd5b6040805182815290517fb90306ad06b2a6ff86ddc9327db583062895ef6540e62dc50add009db5b356eb9181900360200190a150565b6000828201838110156116aa576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60008183611a265760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156119eb5781810151838201526020016119d3565b50505050905090810190601f168015611a185780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581611a3257fe5b0495945050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610cf39084906060611ade826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611b3a9092919063ffffffff16565b805190915015610cf357808060200190516020811015611afd57600080fd5b5051610cf35760405162461bcd60e51b815260040180806020018281038252602a815260200180611e84602a913960400191505060405180910390fd5b6060611b498484600085611b51565b949350505050565b6060611b5c85611cbe565b611bad576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611bec5780518252601f199092019160209182019101611bcd565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611c4e576040519150601f19603f3d011682016040523d82523d6000602084013e611c53565b606091505b50915091508115611c67579150611b499050565b805115611c775780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156119eb5781810151838201526020016119d3565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611b49575050151592915050565b604051806040016040528060608152602001606081525090565b828054828255906000526020600020908101928215611d66579160200282015b82811115611d6657825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190611d31565b50611d72929150611dbd565b5090565b828054828255906000526020600020908101928215611db1579160200282015b82811115611db1578251825591602001919060010190611d96565b50611d72929150611de1565b6112d591905b80821115611d725780546001600160a01b0319168155600101611dc3565b6112d591905b80821115611d725760008155600101611de756fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a6564494e5445524e414c5f4255524e2e205265766572746564207472616e7366657220746f20726563697069656e744275726e20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212209035e9113ad61308cc07ac8ea656336000c19174bf7cf6e4ee1bc25dcacceca864736f6c63430006080033"; + "0x6080604052600060015534801561001557600080fd5b506001600055611a188061002a6000396000f3fe6080604052600436106100ec5760003560e01c80634f1b86eb1161008a57806393ed43091161005957806393ed4309146104ff578063cc8cc9d8146105ad578063e5b5019a146106dd578063eed64c30146106f2576100f3565b80634f1b86eb146102525780636138889b146102675780637623bac5146103175780638c0c9a25146104ea576100f3565b8063217ab806116100c6578063217ab806146101e257806323879bb1146102135780632cbcda251461022857806340d58a4a1461023d576100f3565b8063043c41d4146100f8578063135206581461011f5780631cced51b14610134576100f3565b366100f357005b600080fd5b34801561010457600080fd5b5061010d610822565b60408051918252519081900360200190f35b34801561012b57600080fd5b5061010d610828565b34801561014057600080fd5b5061014961082e565b604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561018d578181015183820152602001610175565b50505050905001838103825284818151815260200191508051906020019060200280838360005b838110156101cc5781810151838201526020016101b4565b5050505090500194505050505060405180910390f35b3480156101ee57600080fd5b506101f76108eb565b604080516001600160a01b039092168252519081900360200190f35b34801561021f57600080fd5b5061010d6108fa565b34801561023457600080fd5b506101f76108ff565b34801561024957600080fd5b5061010d61090e565b34801561025e57600080fd5b506101f7610913565b34801561027357600080fd5b506103156004803603602081101561028a57600080fd5b810190602081018135600160201b8111156102a457600080fd5b8201836020820111156102b657600080fd5b803590602001918460208302840111600160201b831117156102d757600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610922945050505050565b005b34801561032357600080fd5b50610315600480360360c081101561033a57600080fd5b6001600160a01b0382358116926020810135821692604082013590921691810190608081016060820135600160201b81111561037557600080fd5b82018360208201111561038757600080fd5b803590602001918460208302840111600160201b831117156103a857600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156103f757600080fd5b82018360208201111561040957600080fd5b803590602001918460208302840111600160201b8311171561042a57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561047957600080fd5b82018360208201111561048b57600080fd5b803590602001918460208302840111600160201b831117156104ac57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506109fd945050505050565b3480156104f657600080fd5b506101f7610b3c565b34801561050b57600080fd5b506103156004803603602081101561052257600080fd5b810190602081018135600160201b81111561053c57600080fd5b82018360208201111561054e57600080fd5b803590602001918460208302840111600160201b8311171561056f57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610b54945050505050565b3480156105b957600080fd5b50610315600480360360408110156105d057600080fd5b810190602081018135600160201b8111156105ea57600080fd5b8201836020820111156105fc57600080fd5b803590602001918460208302840111600160201b8311171561061d57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561066c57600080fd5b82018360208201111561067e57600080fd5b803590602001918460208302840111600160201b8311171561069f57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610c86945050505050565b3480156106e957600080fd5b5061010d610ccf565b3480156106fe57600080fd5b506103156004803603604081101561071557600080fd5b810190602081018135600160201b81111561072f57600080fd5b82018360208201111561074157600080fd5b803590602001918460208302840111600160201b8311171561076257600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156107b157600080fd5b8201836020820111156107c357600080fd5b803590602001918460208302840111600160201b831117156107e457600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610cd5945050505050565b60011981565b61271081565b606080603560000180548060200260200160405190810160405280929190818152602001828054801561088a57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161086c575b5050505050915060356001018054806020026020016040519081016040528092919081815260200182805480156108e057602002820191906000526020600020905b8154815260200190600101908083116108cc575b505050505090509091565b6038546001600160a01b031681565b600381565b6039546001600160a01b031681565b600181565b6037546001600160a01b031681565b60005b81518110156109f957600082828151811061093c57fe5b60200260200101516001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561099957600080fd5b505afa1580156109ad573d6000803e3d6000fd5b505050506040513d60208110156109c357600080fd5b50519050806109d257506109f1565b6109ef8383815181106109e157fe5b602002602001015182610dc4565b505b600101610925565b5050565b6000610a0761114c565b60025490915060ff1680610a1e5750610a1e611152565b80610a2a575060015481115b610a655760405162461bcd60e51b815260040180806020018281038252602e815260200180611952602e913960400191505060405180910390fd5b60025460ff16158015610a86576002805460ff191660019081179091558290555b603880546001600160a01b03808b166001600160a01b031992831617909255603780548a84169083161790556039805492891692909116919091179055610acd8585611158565b610ad683610b54565b604080516001600160a01b03808a16825280891660208301528a168183015290517f99566d155bc7902033d8db6b0f091f12209d9651abdae3aad004632bd3e657b59181900360600190a18015610b32576002805460ff191690555b5050505050505050565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81565b6039546040516020602482018181528451604484015284516000946001600160a01b0316936393ed430960e01b9387939283926064019180860191028083838b5b83811015610bad578181015183820152602001610b95565b5050505090500192505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518082805190602001908083835b60208310610c1a5780518252601f199092019160209182019101610bfb565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610c7a576040519150601f19603f3d011682016040523d82523d6000602084013e610c7f565b606091505b5050505050565b60005b8251811015610cca57610cc2838281518110610ca157fe5b6020026020010151838381518110610cb557fe5b6020026020010151610dc4565b600101610c89565b505050565b60001981565b60005b8251811015610cca576000610d9b838381518110610cf257fe5b6020026020010151858481518110610d0657fe5b60200260200101516001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610d6357600080fd5b505afa158015610d77573d6000803e3d6000fd5b505050506040513d6020811015610d8d57600080fd5b50519063ffffffff6112b216565b905060008111610dab5750610dbc565b610dba8483815181106109e157fe5b505b600101610cd8565b81610dcd61182c565b604080516035805460606020820284018101855293830181815292939192849290918491840182828015610e2a57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610e0c575b5050505050815260200160018201805480602002602001604051908101604052809291908181526020018280548015610e8257602002820191906000526020600020905b815481526020019060010190808311610e6e575b505050505081525050905060008090505b815151811015610c7f576000610edb612710610ecf85602001518581518110610eb857fe5b6020026020010151886112df90919063ffffffff16565b9063ffffffff61133816565b905080610ee85750611144565b825180516000919084908110610efa57fe5b60200260200101516001600160a01b031614610fc457610f4583600001518381518110610f2357fe5b602002602001015182886001600160a01b031661137a9092919063ffffffff16565b7f60ce3cc2d133631eac66a476f14997a9fa682bd05a60dd993cf02285822d78d883600001518381518110610f7657fe5b602002602001015184602001518481518110610f8e57fe5b602090810291909101810151604080516001600160a01b03909416845291830152818101849052519081900360600190a1611142565b60375481906001600160a01b0386811691161461113757603954603754604080516001600160a01b038981166024830152928316604482015260648101869052600a6084808301919091528251808303909101815260a490910182526020810180516001600160e01b0316630ed2fc9560e01b17815291518151600095606095169382918083835b6020831061106b5780518252601f19909201916020918201910161104c565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146110cb576040519150601f19603f3d011682016040523d82523d6000602084013e6110d0565b606091505b50915091508161111b576040805162461bcd60e51b81526020600482015260116024820152704552524f525f4f4e5f45584348414e474560781b604482015290519081900360640190fd5b80806020019051602081101561113057600080fd5b5051925050505b611140816113cc565b505b505b600101610e93565b60035b90565b303b1590565b80518251146111ae576040805162461bcd60e51b815260206004820152601d60248201527f4172726179206c656e677468732073686f756c6420626520657175616c000000604482015290519081900360640190fd5b60408051808201909152828152602080820183905283516035916111d6918391870190611846565b5060208281015180516111ef92600185019201906118ab565b509050507fdc9f439f707945ade720b0154668dd64af0689fb88b40abdb0f0289156d23e9d8282604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561125a578181015183820152602001611242565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015611299578181015183820152602001611281565b5050505090500194505050505060405180910390a15050565b60006112d6612710610ecf6112cd868663ffffffff6112df16565b611388906114c2565b90505b92915050565b6000826112ee575060006112d9565b828202828482816112fb57fe5b04146112d65760405162461bcd60e51b81526004018080602001828103825260218152602001806119316021913960400191505060405180910390fd5b60006112d683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061151c565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610cca9084906115be565b6037546038546040805163a9059cbb60e01b81526001600160a01b039283166004820152602481018590529051919092169163a9059cbb9160448083019260209291908290030181600087803b15801561142557600080fd5b505af1158015611439573d6000803e3d6000fd5b505050506040513d602081101561144f57600080fd5b505161148c5760405162461bcd60e51b81526004018080602001828103825260398152602001806119806039913960400191505060405180910390fd5b6040805182815290517fb90306ad06b2a6ff86ddc9327db583062895ef6540e62dc50add009db5b356eb9181900360200190a150565b6000828201838110156112d6576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600081836115a85760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561156d578181015183820152602001611555565b50505050905090810190601f16801561159a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816115b457fe5b0495945050505050565b6060611613826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661166f9092919063ffffffff16565b805190915015610cca5780806020019051602081101561163257600080fd5b5051610cca5760405162461bcd60e51b815260040180806020018281038252602a8152602001806119b9602a913960400191505060405180910390fd5b606061167e8484600085611686565b949350505050565b6060611691856117f3565b6116e2576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106117215780518252601f199092019160209182019101611702565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611783576040519150601f19603f3d011682016040523d82523d6000602084013e611788565b606091505b5091509150811561179c57915061167e9050565b8051156117ac5780518082602001fd5b60405162461bcd60e51b815260206004820181815286516024840152865187939192839260440191908501908083836000831561156d578181015183820152602001611555565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061167e575050151592915050565b604051806040016040528060608152602001606081525090565b82805482825590600052602060002090810192821561189b579160200282015b8281111561189b57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190611866565b506118a79291506118f2565b5090565b8280548282559060005260206000209081019282156118e6579160200282015b828111156118e65782518255916020019190600101906118cb565b506118a7929150611916565b61114f91905b808211156118a75780546001600160a01b03191681556001016118f8565b61114f91905b808211156118a7576000815560010161191c56fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a6564494e5445524e414c5f4255524e2e205265766572746564207472616e7366657220746f20726563697069656e744275726e20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212201277ca0ef650d0c6b55f4491ef8c7d36dc933f3a13702baa4e87c0e80181467264736f6c63430006080033"; diff --git a/types/VariableDebtToken.d.ts b/types/VariableDebtToken.d.ts index 8b9c379c..a139cbe1 100644 --- a/types/VariableDebtToken.d.ts +++ b/types/VariableDebtToken.d.ts @@ -12,6 +12,8 @@ import { interface VariableDebtTokenInterface extends Interface { functions: { + DEBT_TOKEN_REVISION: TypedFunctionDescription<{ encode([]: []): string }>; + allowance: TypedFunctionDescription<{ encode([owner, spender]: [string, string]): string; }>; @@ -40,11 +42,11 @@ interface VariableDebtTokenInterface extends Interface { encode([spender, addedValue]: [string, BigNumberish]): string; }>; - init: TypedFunctionDescription<{ - encode([_name, _symbol, _decimals]: [ + initialize: TypedFunctionDescription<{ + encode([_decimals, _name, _symbol]: [ + BigNumberish, string, - string, - BigNumberish + string ]): string; }>; @@ -137,6 +139,8 @@ export class VariableDebtToken extends Contract { interface: VariableDebtTokenInterface; functions: { + DEBT_TOKEN_REVISION(): Promise; + allowance(owner: string, spender: string): Promise; approve( @@ -169,10 +173,10 @@ export class VariableDebtToken extends Contract { overrides?: TransactionOverrides ): Promise; - init( + initialize( + _decimals: BigNumberish, _name: string, _symbol: string, - _decimals: BigNumberish, overrides?: TransactionOverrides ): Promise; @@ -206,6 +210,8 @@ export class VariableDebtToken extends Contract { underlyingAssetAddress(): Promise; }; + DEBT_TOKEN_REVISION(): Promise; + allowance(owner: string, spender: string): Promise; approve( @@ -238,10 +244,10 @@ export class VariableDebtToken extends Contract { overrides?: TransactionOverrides ): Promise; - init( + initialize( + _decimals: BigNumberish, _name: string, _symbol: string, - _decimals: BigNumberish, overrides?: TransactionOverrides ): Promise; @@ -303,6 +309,8 @@ export class VariableDebtToken extends Contract { }; estimate: { + DEBT_TOKEN_REVISION(): Promise; + allowance(owner: string, spender: string): Promise; approve(spender: string, _amount: BigNumberish): Promise; @@ -325,10 +333,10 @@ export class VariableDebtToken extends Contract { addedValue: BigNumberish ): Promise; - init( + initialize( + _decimals: BigNumberish, _name: string, - _symbol: string, - _decimals: BigNumberish + _symbol: string ): Promise; mint(_user: string, _amount: BigNumberish): Promise; diff --git a/types/VariableDebtTokenFactory.ts b/types/VariableDebtTokenFactory.ts index ce20142a..b9542757 100644 --- a/types/VariableDebtTokenFactory.ts +++ b/types/VariableDebtTokenFactory.ts @@ -16,18 +16,32 @@ export class VariableDebtTokenFactory extends ContractFactory { deploy( _pool: string, _underlyingAsset: string, + _name: string, + _symbol: string, overrides?: TransactionOverrides ): Promise { - return super.deploy(_pool, _underlyingAsset, overrides) as Promise< - VariableDebtToken - >; + return super.deploy( + _pool, + _underlyingAsset, + _name, + _symbol, + overrides + ) as Promise; } getDeployTransaction( _pool: string, _underlyingAsset: string, + _name: string, + _symbol: string, overrides?: TransactionOverrides ): UnsignedTransaction { - return super.getDeployTransaction(_pool, _underlyingAsset, overrides); + return super.getDeployTransaction( + _pool, + _underlyingAsset, + _name, + _symbol, + overrides + ); } attach(address: string): VariableDebtToken { return super.attach(address) as VariableDebtToken; @@ -55,6 +69,16 @@ const _abi = [ internalType: "address", name: "_underlyingAsset", type: "address" + }, + { + internalType: "string", + name: "_name", + type: "string" + }, + { + internalType: "string", + name: "_symbol", + type: "string" } ], stateMutability: "nonpayable", @@ -196,6 +220,19 @@ const _abi = [ name: "mintDebt", type: "event" }, + { + inputs: [], + name: "DEBT_TOKEN_REVISION", + outputs: [ + { + internalType: "uint256", + name: "", + type: "uint256" + } + ], + stateMutability: "view", + type: "function" + }, { inputs: [ { @@ -363,6 +400,11 @@ const _abi = [ }, { inputs: [ + { + internalType: "uint8", + name: "_decimals", + type: "uint8" + }, { internalType: "string", name: "_name", @@ -372,14 +414,9 @@ const _abi = [ internalType: "string", name: "_symbol", type: "string" - }, - { - internalType: "uint8", - name: "_decimals", - type: "uint8" } ], - name: "init", + name: "initialize", outputs: [], stateMutability: "nonpayable", type: "function" @@ -529,4 +566,4 @@ const _abi = [ ]; const _bytecode = - "0x608060405234801561001057600080fd5b50611132806100206000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c806381e75277116100a2578063a457c2d711610071578063a457c2d71461023b578063a9059cbb1461045a578063c634dfaa14610486578063dd62ed3e146104ac578063ee9907a4146104da5761010b565b806381e75277146102bb57806389d1a0fc1461040257806395d89b41146104265780639dc29fac1461042e5761010b565b8063313ce567116100de578063313ce5671461021d578063395093511461023b57806340c10f191461026757806370a08231146102955761010b565b806306fdde0314610110578063095ea7b31461018d57806318160ddd146101cd57806323b872dd146101e7575b600080fd5b610118610500565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015257818101518382015260200161013a565b50505050905090810190601f16801561017f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101b9600480360360408110156101a357600080fd5b506001600160a01b03813516906020013561058d565b604080519115158252519081900360200190f35b6101d56105d5565b60408051918252519081900360200190f35b6101b9600480360360608110156101fd57600080fd5b506001600160a01b038135811691602081013590911690604001356105db565b610225610623565b6040805160ff9092168252519081900360200190f35b6101b96004803603604081101561025157600080fd5b506001600160a01b03813516906020013561062c565b6102936004803603604081101561027d57600080fd5b506001600160a01b03813516906020013561067b565b005b6101d5600480360360208110156102ab57600080fd5b50356001600160a01b03166107db565b610293600480360360a08110156102d157600080fd5b8101906020810181356401000000008111156102ec57600080fd5b8201836020820111156102fe57600080fd5b8035906020019184600183028401116401000000008311171561032057600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561037357600080fd5b82018360208201111561038557600080fd5b803590602001918460018302840111640100000000831117156103a757600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505060ff8335169350506001600160a01b036020830135811692604001351690506108e8565b61040a6109cd565b604080516001600160a01b039092168252519081900360200190f35b6101186109e1565b6102936004803603604081101561044457600080fd5b506001600160a01b038135169060200135610a39565b6101b96004803603604081101561047057600080fd5b506001600160a01b0381351690602001356105db565b6101d56004803603602081101561049c57600080fd5b50356001600160a01b0316610bd4565b6101d5600480360360408110156104c257600080fd5b506001600160a01b038135811691602001351661062c565b6101d5600480360360208110156104f057600080fd5b50356001600160a01b0316610bef565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105855780601f1061055a57610100808354040283529160200191610585565b820191906000526020600020905b81548152906001019060200180831161056857829003601f168201915b505050505081565b6040805162461bcd60e51b81526020600482015260166024820152751054141493d5905317d393d517d4d5541413d495115160521b6044820152905160009181900360640190fd5b60005481565b6040805162461bcd60e51b81526020600482015260166024820152751514905394d1915497d393d517d4d5541413d495115160521b6044820152905160009181900360640190fd5b60035460ff1681565b6040805162461bcd60e51b815260206004820152601760248201527f414c4c4f57414e43455f4e4f545f535550504f525445440000000000000000006044820152905160009181900360640190fd5b6004546001600160a01b031633146106c45760405162461bcd60e51b81526004018080602001828103825260328152602001806110cb6032913960400191505060405180910390fd5b60008060006106d285610c0a565b9250925092506106e28585610c84565b600480546003546040805163386497fd60e01b81526001600160a01b036101009093048316948101949094525191169163386497fd916024808301926020929190829003018186803b15801561073757600080fd5b505afa15801561074b573d6000803e3d6000fd5b505050506040513d602081101561076157600080fd5b50516001600160a01b03861660008181526006602090815260409182902084905581519283528201879052818101869052606082018590526080820184905260a082019290925290517f94ba3ac5ed6fee7b49ed817c5ee964eed9bd5da6860344f95fc56997e920381d9181900360c00190a15050505050565b6001600160a01b038116600090815260056020526040812054610800575060006108e3565b6001600160a01b038083166000908152600660209081526040918290205460048054600354855163386497fd60e01b815261010090910487169281019290925293516108e0956108db9593946108cf949091169263386497fd9260248083019392829003018186803b15801561087557600080fd5b505afa158015610889573d6000803e3d6000fd5b505050506040513d602081101561089f57600080fd5b50516001600160a01b0387166000908152600560205260409020546108c390610ce2565b9063ffffffff610cf816565b9063ffffffff610d4516565b610d7d565b90505b919050565b84516108fb90600190602088019061100e565b50835161090f90600290602087019061100e565b506003805460ff191660ff851617610100600160a81b0319166101006001600160a01b03858116919091029190911790915560408051630261bf8b60e01b8152905191831691630261bf8b91600480820192602092909190829003018186803b15801561097b57600080fd5b505afa15801561098f573d6000803e3d6000fd5b505050506040513d60208110156109a557600080fd5b5051600480546001600160a01b0319166001600160a01b039092169190911790555050505050565b60035461010090046001600160a01b031681565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156105855780601f1061055a57610100808354040283529160200191610585565b6004546001600160a01b03163314610a825760405162461bcd60e51b81526004018080602001828103825260328152602001806110cb6032913960400191505060405180910390fd5b6000806000610a9085610c0a565b925092509250610aa08585610d9d565b83821415610ac6576001600160a01b038516600090815260066020526040812055610b61565b600480546003546040805163386497fd60e01b81526001600160a01b036101009093048316948101949094525191169163386497fd916024808301926020929190829003018186803b158015610b1b57600080fd5b505afa158015610b2f573d6000803e3d6000fd5b505050506040513d6020811015610b4557600080fd5b50516001600160a01b0386166000908152600660205260409020555b6001600160a01b038516600081815260066020908152604091829020548251938452908301879052828201869052606083018590526080830184905260a0830152517fc57f977ee00c44453a91f798753002bf12fca5f5ca2ee8db560720f51d4b0f629181900360c00190a15050505050565b6001600160a01b031660009081526005602052604090205490565b6001600160a01b031660009081526006602052604090205490565b6001600160a01b0381166000908152600560205260408120548190819080610c3c575060009250829150819050610c7d565b6000610c5782610c4b886107db565b9063ffffffff610ddb16565b9050610c638682610c84565b81610c74818363ffffffff610e1d16565b90955093509150505b9193909250565b600054610c97908263ffffffff610e1d16565b60009081556001600160a01b038316815260056020526040902054610cc2908263ffffffff610e1d16565b6001600160a01b0390921660009081526005602052604090209190915550565b60006108e082633b9aca0063ffffffff610e7716565b6000610d3c6b033b2e3c9fd0803ce8000000610d30610d1d868663ffffffff610e7716565b6b019d971e4fe8401e7400000090610e1d565b9063ffffffff610ed016565b90505b92915050565b600060028204610d7583610d30610d68876b033b2e3c9fd0803ce8000000610e77565b849063ffffffff610e1d16565b949350505050565b6000631dcd6500610d96633b9aca00610d308386610e1d565b9392505050565b600054610db0908263ffffffff610ddb16565b60009081556001600160a01b038316815260056020526040902054610cc2908263ffffffff610ddb16565b6000610d3c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610f12565b600082820183811015610d3c576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600082610e8657506000610d3f565b82820282848281610e9357fe5b0414610d3c5760405162461bcd60e51b81526004018080602001828103825260218152602001806110aa6021913960400191505060405180910390fd5b6000610d3c83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610fa9565b60008184841115610fa15760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610f66578181015183820152602001610f4e565b50505050905090810190601f168015610f935780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183610ff85760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610f66578181015183820152602001610f4e565b50600083858161100457fe5b0495945050505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061104f57805160ff191683800117855561107c565b8280016001018555821561107c579182015b8281111561107c578251825591602001919060010190611061565b5061108892915061108c565b5090565b6110a691905b808211156110885760008155600101611092565b9056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775468652063616c6c6572206f6620746869732066756e6374696f6e206d7573742062652061206c656e64696e6720706f6f6ca26469706673582212205eb273895711cfca3593a94311cf13f9c13bbe4a457e4121181f0e0abdc3ec4c64736f6c63430006080033"; + "0x60c0604052600080553480156200001557600080fd5b50604051620015b8380380620015b8833981810160405260808110156200003b57600080fd5b815160208301516040808501805191519395929483019291846401000000008211156200006757600080fd5b9083019060208201858111156200007d57600080fd5b82516401000000008111828201881017156200009857600080fd5b82525081516020918201929091019080838360005b83811015620000c7578181015183820152602001620000ad565b50505050905090810190601f168015620000f55780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200011957600080fd5b9083019060208201858111156200012f57600080fd5b82516401000000008111828201881017156200014a57600080fd5b82525081516020918201929091019080838360005b83811015620001795781810151838201526020016200015f565b50505050905090810190601f168015620001a75780820380516001836020036101000a031916815260200191505b506040525050506001600160601b0319606085811b821660a05284901b1660805281518490849084908490620001e59060359060208501906200020a565b508051620001fb9060369060208401906200020a565b505050505050505050620002af565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200024d57805160ff19168380011785556200027d565b828001600101855582156200027d579182015b828111156200027d57825182559160200191906001019062000260565b506200028b9291506200028f565b5090565b620002ac91905b808211156200028b576000815560010162000296565b90565b60805160601c60a05160601c6112bc620002fc6000398061076052806107ec528061097a5280610b0b5280610bdd52508061081b52806109a95280610a835280610c0c52506112bc6000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c806389d1a0fc116100a2578063a9059cbb11610071578063a9059cbb14610455578063b9a7b62214610481578063c634dfaa14610489578063dd62ed3e146104af578063ee9907a4146104dd57610116565b806389d1a0fc146103fd57806395d89b41146104215780639dc29fac14610429578063a457c2d71461037f57610116565b80633118724e116100e95780633118724e14610228578063313ce56714610361578063395093511461037f57806340c10f19146103ab57806370a08231146103d757610116565b806306fdde031461011b578063095ea7b31461019857806318160ddd146101d857806323b872dd146101f2575b600080fd5b610123610503565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015d578181015183820152602001610145565b50505050905090810190601f16801561018a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101c4600480360360408110156101ae57600080fd5b506001600160a01b038135169060200135610591565b604080519115158252519081900360200190f35b6101e06105d9565b60408051918252519081900360200190f35b6101c46004803603606081101561020857600080fd5b506001600160a01b038135811691602081013590911690604001356105df565b61035f6004803603606081101561023e57600080fd5b60ff823516919081019060408101602082013564010000000081111561026357600080fd5b82018360208201111561027557600080fd5b8035906020019184600183028401116401000000008311171561029757600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156102ea57600080fd5b8201836020820111156102fc57600080fd5b8035906020019184600183028401116401000000008311171561031e57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610627945050505050565b005b6103696106fd565b6040805160ff9092168252519081900360200190f35b6101c46004803603604081101561039557600080fd5b506001600160a01b038135169060200135610706565b61035f600480360360408110156103c157600080fd5b506001600160a01b038135169060200135610755565b6101e0600480360360208110156103ed57600080fd5b50356001600160a01b0316610924565b610405610a81565b604080516001600160a01b039092168252519081900360200190f35b610123610aa5565b61035f6004803603604081101561043f57600080fd5b506001600160a01b038135169060200135610b00565b6101c46004803603604081101561046b57600080fd5b506001600160a01b0381351690602001356105df565b6101e0610d2a565b6101e06004803603602081101561049f57600080fd5b50356001600160a01b0316610d2f565b6101e0600480360360408110156104c557600080fd5b506001600160a01b0381358116916020013516610706565b6101e0600480360360208110156104f357600080fd5b50356001600160a01b0316610d4a565b6035805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105895780601f1061055e57610100808354040283529160200191610589565b820191906000526020600020905b81548152906001019060200180831161056c57829003601f168201915b505050505081565b6040805162461bcd60e51b81526020600482015260166024820152751054141493d5905317d393d517d4d5541413d495115160521b6044820152905160009181900360640190fd5b60345481565b6040805162461bcd60e51b81526020600482015260166024820152751514905394d1915497d393d517d4d5541413d495115160521b6044820152905160009181900360640190fd5b6000610631610d65565b60015490915060ff16806106485750610648610d6b565b80610654575060005481115b61068f5760405162461bcd60e51b815260040180806020018281038252602e815260200180611227602e913960400191505060405180910390fd5b60015460ff161580156106ae576001805460ff19168117905560008290555b83516106c190603590602087019061116d565b5082516106d590603690602086019061116d565b506037805460ff191660ff871617905580156106f6576001805460ff191690555b5050505050565b60375460ff1681565b6040805162461bcd60e51b815260206004820152601760248201527f414c4c4f57414e43455f4e4f545f535550504f525445440000000000000000006044820152905160009181900360640190fd5b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146107bc5760405162461bcd60e51b81526004018080602001828103825260328152602001806112556032913960400191505060405180910390fd5b60008060006107ca85610d71565b919450925090506107ea856107e5868463ffffffff610de116565b610e44565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663386497fd7f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561088057600080fd5b505afa158015610894573d6000803e3d6000fd5b505050506040513d60208110156108aa57600080fd5b50516001600160a01b03861660008181526039602090815260409182902084905581519283528201879052818101869052606082018590526080820184905260a082019290925290517f94ba3ac5ed6fee7b49ed817c5ee964eed9bd5da6860344f95fc56997e920381d9181900360c00190a15050505050565b6001600160a01b03811660009081526038602052604081205461094957506000610a7c565b610a79610a7460396000856001600160a01b03166001600160a01b0316815260200190815260200160002054610a687f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663386497fd7f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610a0e57600080fd5b505afa158015610a22573d6000803e3d6000fd5b505050506040513d6020811015610a3857600080fd5b50516001600160a01b038716600090815260386020526040902054610a5c90610ea3565b9063ffffffff610eb916565b9063ffffffff610efd16565b610f35565b90505b919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6036805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105895780601f1061055e57610100808354040283529160200191610589565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610b675760405162461bcd60e51b81526004018080602001828103825260328152602001806112556032913960400191505060405180910390fd5b6000806000610b7585610d71565b92509250925083811115610b9c57610b97856107e5838763ffffffff610f5516565b610bb5565b610bb585610bb0868463ffffffff610f5516565b610f97565b83821415610bdb576001600160a01b038516600090815260396020526040812055610cb7565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663386497fd7f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610c7157600080fd5b505afa158015610c85573d6000803e3d6000fd5b505050506040513d6020811015610c9b57600080fd5b50516001600160a01b0386166000908152603960205260409020555b6001600160a01b038516600081815260396020908152604091829020548251938452908301879052828201869052606083018590526080830184905260a0830152517fc57f977ee00c44453a91f798753002bf12fca5f5ca2ee8db560720f51d4b0f629181900360c00190a15050505050565b600181565b6001600160a01b031660009081526038602052604090205490565b6001600160a01b031660009081526039602052604090205490565b60015b90565b303b1590565b6001600160a01b0381166000908152603860205260408120548190819080610da3575060009250829150819050610dda565b6000610dbe82610db288610924565b9063ffffffff610f5516565b905081610dd1818363ffffffff610de116565b90955093509150505b9193909250565b600082820183811015610e3b576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b603454610e57908263ffffffff610de116565b6034556001600160a01b038216600090815260386020526040902054610e83908263ffffffff610de116565b6001600160a01b0390921660009081526038602052604090209190915550565b6000610a7982633b9aca0063ffffffff610fd616565b6000610e3b6b033b2e3c9fd0803ce8000000610ef1610ede868663ffffffff610fd616565b6b019d971e4fe8401e7400000090610de1565b9063ffffffff61102f16565b600060028204610f2d83610ef1610f20876b033b2e3c9fd0803ce8000000610fd6565b849063ffffffff610de116565b949350505050565b6000631dcd6500610f4e633b9aca00610ef18386610de1565b9392505050565b6000610e3b83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611071565b603454610faa908263ffffffff610f5516565b6034556001600160a01b038216600090815260386020526040902054610e83908263ffffffff610f5516565b600082610fe557506000610e3e565b82820282848281610ff257fe5b0414610e3b5760405162461bcd60e51b81526004018080602001828103825260218152602001806112066021913960400191505060405180910390fd5b6000610e3b83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611108565b600081848411156111005760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156110c55781810151838201526020016110ad565b50505050905090810190601f1680156110f25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836111575760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156110c55781810151838201526020016110ad565b50600083858161116357fe5b0495945050505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106111ae57805160ff19168380011785556111db565b828001600101855582156111db579182015b828111156111db5782518255916020019190600101906111c0565b506111e79291506111eb565b5090565b610d6891905b808211156111e757600081556001016111f156fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a65645468652063616c6c6572206f6620746869732066756e6374696f6e206d7573742062652061206c656e64696e6720706f6f6ca26469706673582212209b025ae3240706a18ce1151e902f76bcbe7cb4433504db56ada03e6d653f0dde64736f6c63430006080033"; diff --git a/types/WalletBalanceProviderFactory.ts b/types/WalletBalanceProviderFactory.ts index 259aba3c..529ce25a 100644 --- a/types/WalletBalanceProviderFactory.ts +++ b/types/WalletBalanceProviderFactory.ts @@ -134,4 +134,4 @@ const _abi = [ ]; const _bytecode = - "0x608060405234801561001057600080fd5b506040516109863803806109868339818101604052602081101561003357600080fd5b5051600080546001600160a01b039092166001600160a01b0319909216919091179055610921806100656000396000f3fe6080604052600436106100385760003560e01c80639e3c930914610083578063b59b28ef1461014f578063f7888aec146102d35761007e565b3661007e5761004633610320565b61007c576040805162461bcd60e51b8152602060048201526002602482015261191960f11b604482015290519081900360640190fd5b005b600080fd5b34801561008f57600080fd5b506100b6600480360360208110156100a657600080fd5b50356001600160a01b031661035c565b604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b838110156100fa5781810151838201526020016100e2565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015610139578181015183820152602001610121565b5050505090500194505050505060405180910390f35b34801561015b57600080fd5b506102836004803603604081101561017257600080fd5b81019060208101813564010000000081111561018d57600080fd5b82018360208201111561019f57600080fd5b803590602001918460208302840111640100000000831117156101c157600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561021157600080fd5b82018360208201111561022357600080fd5b8035906020019184602083028401116401000000008311171561024557600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506106a0945050505050565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156102bf5781810151838201526020016102a7565b505050509050019250505060405180910390f35b3480156102df57600080fd5b5061030e600480360360408110156102f657600080fd5b506001600160a01b038135811691602001351661081c565b60408051918252519081900360200190f35b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061035457508115155b949350505050565b60608060008060009054906101000a90046001600160a01b03166001600160a01b0316630261bf8b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156103ae57600080fd5b505afa1580156103c2573d6000803e3d6000fd5b505050506040513d60208110156103d857600080fd5b505160408051630240bc6b60e21b815290519192506060916001600160a01b03841691630902f1ac916004808301926000929190829003018186803b15801561042057600080fd5b505afa158015610434573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561045d57600080fd5b810190808051604051939291908464010000000082111561047d57600080fd5b90830190602082018581111561049257600080fd5b82518660208202830111640100000000821117156104af57600080fd5b82525081516020918201928201910280838360005b838110156104dc5781810151838201526020016104c4565b5050505090500160405250505090506060815167ffffffffffffffff8111801561050557600080fd5b5060405190808252806020026020018201604052801561052f578160200160208202803683370190505b50905060005b8251811015610694576000846001600160a01b0316633e15014185848151811061055b57fe5b60200260200101516040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b031681526020019150506101406040518083038186803b1580156105aa57600080fd5b505afa1580156105be573d6000803e3d6000fd5b505050506040513d6101408110156105d557600080fd5b5061010001519050806106025760008383815181106105f057fe5b6020026020010181815250505061068c565b61062784838151811061061157fe5b60200260200101516001600160a01b03166108c6565b15610666576106498885848151811061063c57fe5b602002602001015161081c565b83838151811061065557fe5b60200260200101818152505061068a565b876001600160a01b03163183838151811061067d57fe5b6020026020010181815250505b505b600101610535565b50909350915050915091565b606080825184510267ffffffffffffffff811180156106be57600080fd5b506040519080825280602002602001820160405280156106e8578160200160208202803683370190505b50905060005b84518110156108125760005b845181101561080957600085518302905061071a86838151811061061157fe5b1561075c5786838151811061072b57fe5b60200260200101516001600160a01b031631848383018151811061074b57fe5b602002602001018181525050610800565b61078186838151811061076b57fe5b60200260200101516001600160a01b0316610320565b6107c2576040805162461bcd60e51b815260206004820152600d60248201526c24a72b20a624a22faa27a5a2a760991b604482015290519081900360640190fd5b6107e58784815181106107d157fe5b602002602001015187848151811061063c57fe5b84838301815181106107f357fe5b6020026020010181815250505b506001016106fa565b506001016106ee565b5090505b92915050565b6000610830826001600160a01b0316610320565b156108be57816001600160a01b03166370a08231846040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561088b57600080fd5b505afa15801561089f573d6000803e3d6000fd5b505050506040513d60208110156108b557600080fd5b50519050610816565b506000610816565b6001600160a01b03811673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1491905056fea2646970667358221220ba894c2eba77f05be9d541a00a65fbec4e5924a19f513c8f596076cb70bd139c64736f6c63430006080033"; + "0x608060405234801561001057600080fd5b506040516108bc3803806108bc8339818101604052602081101561003357600080fd5b5051600080546001600160a01b039092166001600160a01b0319909216919091179055610857806100656000396000f3fe6080604052600436106100385760003560e01c80639e3c930914610083578063b59b28ef1461014f578063f7888aec146102d35761007e565b3661007e5761004633610320565b61007c576040805162461bcd60e51b8152602060048201526002602482015261191960f11b604482015290519081900360640190fd5b005b600080fd5b34801561008f57600080fd5b506100b6600480360360208110156100a657600080fd5b50356001600160a01b031661035c565b604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b838110156100fa5781810151838201526020016100e2565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015610139578181015183820152602001610121565b5050505090500194505050505060405180910390f35b34801561015b57600080fd5b506102836004803603604081101561017257600080fd5b81019060208101813564010000000081111561018d57600080fd5b82018360208201111561019f57600080fd5b803590602001918460208302840111640100000000831117156101c157600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561021157600080fd5b82018360208201111561022357600080fd5b8035906020019184602083028401116401000000008311171561024557600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061064d945050505050565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156102bf5781810151838201526020016102a7565b505050509050019250505060405180910390f35b3480156102df57600080fd5b5061030e600480360360408110156102f657600080fd5b506001600160a01b0381358116916020013516610777565b60408051918252519081900360200190f35b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061035457508115155b949350505050565b60608060008060009054906101000a90046001600160a01b03166001600160a01b0316630261bf8b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156103ae57600080fd5b505afa1580156103c2573d6000803e3d6000fd5b505050506040513d60208110156103d857600080fd5b505160408051630240bc6b60e21b815290519192506060916001600160a01b03841691630902f1ac916004808301926000929190829003018186803b15801561042057600080fd5b505afa158015610434573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561045d57600080fd5b810190808051604051939291908464010000000082111561047d57600080fd5b90830190602082018581111561049257600080fd5b82518660208202830111640100000000821117156104af57600080fd5b82525081516020918201928201910280838360005b838110156104dc5781810151838201526020016104c4565b5050505090500160405250505090506060815167ffffffffffffffff8111801561050557600080fd5b5060405190808252806020026020018201604052801561052f578160200160208202803683370190505b50905060005b8251811015610641576000846001600160a01b0316633e15014185848151811061055b57fe5b60200260200101516040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b031681526020019150506101406040518083038186803b1580156105aa57600080fd5b505afa1580156105be573d6000803e3d6000fd5b505050506040513d6101408110156105d557600080fd5b5061010001519050806106025760008383815181106105f057fe5b60200260200101818152505050610639565b61061f8885848151811061061257fe5b6020026020010151610777565b83838151811061062b57fe5b602002602001018181525050505b600101610535565b50909350915050915091565b606080825184510267ffffffffffffffff8111801561066b57600080fd5b50604051908082528060200260200182016040528015610695578160200160208202803683370190505b50905060005b845181101561076d5760005b84518110156107645760008551830290506106dd8683815181106106c757fe5b60200260200101516001600160a01b0316610320565b61071e576040805162461bcd60e51b815260206004820152600d60248201526c24a72b20a624a22faa27a5a2a760991b604482015290519081900360640190fd5b61074187848151811061072d57fe5b602002602001015187848151811061061257fe5b848383018151811061074f57fe5b602002602001018181525050506001016106a7565b5060010161069b565b5090505b92915050565b600061078b826001600160a01b0316610320565b1561081957816001600160a01b03166370a08231846040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b1580156107e657600080fd5b505afa1580156107fa573d6000803e3d6000fd5b505050506040513d602081101561081057600080fd5b50519050610771565b50600061077156fea264697066735822122034fc927b8c23c0caa3ecab84fba4ad99d8060c0991fa524bf75ee93544a094eb64736f6c63430006080033";