From ef3b276459696d8fe7b785c4cfa6290412849dea Mon Sep 17 00:00:00 2001 From: Yun Yeo Date: Wed, 23 Feb 2022 20:27:05 +0900 Subject: [PATCH] add IPFS_HASH --- .ust.env | 2 +- ... => 0e44cf6626a9b0524b3394ddb7fb6239.json} | 2152 ++++----- .../4c2a2252764a9eb98af799fa244238e8.json | 3848 +++++++++++++++++ ...setListingProposalGenericExecutor.dbg.json | 2 +- .../AssetListingProposalGenericExecutor.json | 4 +- .../IAaveDistributionManager.dbg.json | 4 + .../IAaveDistributionManager.json | 179 + .../IAaveIncentivesController.dbg.json | 4 + .../IAaveIncentivesController.json | 445 ++ ...vePullRewardsIncentivesController.dbg.json | 4 + .../IAavePullRewardsIncentivesController.json | 471 ++ .../interfaces/IERC20.sol/IERC20.dbg.json | 2 +- .../interfaces/IERC20.sol/IERC20.json | 13 + .../ILendingPool.sol/ILendingPool.dbg.json | 2 +- .../ILendingPoolAddressesProvider.dbg.json | 2 +- .../ILendingPoolConfiguratorV2.dbg.json | 2 +- .../IOverlyingAsset.dbg.json | 2 +- .../IProposalGenericExecutor.dbg.json | 2 +- .../lib/DataTypes.sol/DataTypes.dbg.json | 2 +- 19 files changed, 6091 insertions(+), 1051 deletions(-) rename artifacts/build-info/{ebbdadd2e204bd6b1f4422115c71b57e.json => 0e44cf6626a9b0524b3394ddb7fb6239.json} (93%) create mode 100644 artifacts/build-info/4c2a2252764a9eb98af799fa244238e8.json create mode 100644 artifacts/contracts/assetListing/interfaces/IAaveDistributionManager.sol/IAaveDistributionManager.dbg.json create mode 100644 artifacts/contracts/assetListing/interfaces/IAaveDistributionManager.sol/IAaveDistributionManager.json create mode 100644 artifacts/contracts/assetListing/interfaces/IAaveIncentivesController.sol/IAaveIncentivesController.dbg.json create mode 100644 artifacts/contracts/assetListing/interfaces/IAaveIncentivesController.sol/IAaveIncentivesController.json create mode 100644 artifacts/contracts/assetListing/interfaces/IAavePullRewardsIncentivesController.sol/IAavePullRewardsIncentivesController.dbg.json create mode 100644 artifacts/contracts/assetListing/interfaces/IAavePullRewardsIncentivesController.sol/IAavePullRewardsIncentivesController.json diff --git a/.ust.env b/.ust.env index 5e5b0fd..08abf5c 100644 --- a/.ust.env +++ b/.ust.env @@ -13,7 +13,7 @@ DECIMALS=6 ENABLE_BORROW=true ENABLE_AS_COLLATERAL=false ENABLE_STABLE_BORROW=false -IPFS_HASH= +IPFS_HASH=QmYcKbka4WWgwVTcxE7esz2NJfzQbza5ya6oTUKhuFzPrN CHAINLINK_ORACLE_PROXY=0xa20623070413d42a5C01Db2c8111640DD7A5A03a # By default executor and governance addresses set to mainnet addresses diff --git a/artifacts/build-info/ebbdadd2e204bd6b1f4422115c71b57e.json b/artifacts/build-info/0e44cf6626a9b0524b3394ddb7fb6239.json similarity index 93% rename from artifacts/build-info/ebbdadd2e204bd6b1f4422115c71b57e.json rename to artifacts/build-info/0e44cf6626a9b0524b3394ddb7fb6239.json index c833732..9a25a14 100644 --- a/artifacts/build-info/ebbdadd2e204bd6b1f4422115c71b57e.json +++ b/artifacts/build-info/0e44cf6626a9b0524b3394ddb7fb6239.json @@ -1,5 +1,5 @@ { - "id": "ebbdadd2e204bd6b1f4422115c71b57e", + "id": "0e44cf6626a9b0524b3394ddb7fb6239", "_format": "hh-sol-build-info-1", "solcVersion": "0.6.12", "solcLongVersion": "0.6.12+commit.27d51765", @@ -10,7 +10,7 @@ "content": "// SPDX-License-Identifier: AGPL-3.0\npragma solidity 0.6.12;\n\nimport {IERC20} from './interfaces/IERC20.sol';\nimport {ILendingPoolConfiguratorV2} from './interfaces/ILendingPoolConfiguratorV2.sol';\nimport {IProposalGenericExecutor} from './interfaces/IProposalGenericExecutor.sol';\nimport {IOverlyingAsset} from './interfaces/IOverlyingAsset.sol';\nimport {ILendingPoolAddressesProvider} from './interfaces/ILendingPoolAddressesProvider.sol';\n/**\n * @title AssetListingProposalGenericExecutor\n * @notice Proposal payload to be executed by the Aave Governance contract via DELEGATECALL\n * @author Aave\n **/\ncontract AssetListingProposalGenericExecutor is IProposalGenericExecutor {\n event ProposalExecuted();\n\n ILendingPoolAddressesProvider public constant LENDING_POOL_ADDRESSES_PROVIDER = \n ILendingPoolAddressesProvider(0xB53C1a33016B2DC2fF3653530bfF1848a515c8c5);\n /**\n * @dev Payload execution function, called once a proposal passed in the Aave governance\n */\n function execute(\n address token,\n address aToken,\n address stableDebtToken,\n address variablDebtToken,\n address interestStrategy,\n uint256 ltv,\n uint256 liquidationThreshold,\n uint256 liquidationBonus,\n uint256 reserveFactor,\n uint8 decimals,\n bool enableBorrow,\n bool enableStableBorrow,\n bool enableAsCollateral\n ) external override {\n ILendingPoolConfiguratorV2 LENDING_POOL_CONFIGURATOR_V2 =\n ILendingPoolConfiguratorV2(LENDING_POOL_ADDRESSES_PROVIDER.getLendingPoolConfigurator());\n require(\n token == IOverlyingAsset(aToken).UNDERLYING_ASSET_ADDRESS(),\n 'ATOKEN: WRONG_UNDERLYING_TOKEN'\n );\n require(\n token == IOverlyingAsset(stableDebtToken).UNDERLYING_ASSET_ADDRESS(),\n 'STABLE_DEBT: WRONG_UNDERLYING_TOKEN'\n );\n require(\n token == IOverlyingAsset(variablDebtToken).UNDERLYING_ASSET_ADDRESS(),\n 'VARIABLE_DEBT: WRONG_UNDERLYING_TOKEN'\n );\n LENDING_POOL_CONFIGURATOR_V2.initReserve(\n aToken,\n stableDebtToken,\n variablDebtToken,\n decimals,\n interestStrategy\n );\n if (enableBorrow) {\n LENDING_POOL_CONFIGURATOR_V2.enableBorrowingOnReserve(token, enableStableBorrow);\n }\n LENDING_POOL_CONFIGURATOR_V2.setReserveFactor(token, reserveFactor);\n if (enableAsCollateral) {\n LENDING_POOL_CONFIGURATOR_V2.configureReserveAsCollateral(\n token,\n ltv,\n liquidationThreshold,\n liquidationBonus\n );\n }\n\n emit ProposalExecuted();\n }\n}\n" }, "contracts/assetListing/interfaces/IERC20.sol": { - "content": "// SPDX-License-Identifier: MIT\npragma solidity 0.6.12;\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP.\n * From https://github.com/OpenZeppelin/openzeppelin-contracts\n */\ninterface IERC20 {\n /**\n * @dev Returns the amount of tokens in existence.\n */\n function totalSupply() external view returns (uint256);\n\n /**\n * @dev Returns the amount of tokens owned by `account`.\n */\n function balanceOf(address account) external view returns (uint256);\n\n /**\n * @dev Moves `amount` tokens from the caller's account to `recipient`.\n *\n * Returns a boolean value indicating whether the operation succeeded.\n *\n * Emits a {Transfer} event.\n */\n function transfer(address recipient, uint256 amount) external returns (bool);\n\n /**\n * @dev Returns the remaining number of tokens that `spender` will be\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\n * zero by default.\n *\n * This value changes when {approve} or {transferFrom} are called.\n */\n function allowance(address owner, address spender) external view returns (uint256);\n\n /**\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\n *\n * Returns a boolean value indicating whether the operation succeeded.\n *\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\n * that someone may use both the old and the new allowance by unfortunate\n * transaction ordering. One possible solution to mitigate this race\n * condition is to first reduce the spender's allowance to 0 and set the\n * desired value afterwards:\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n *\n * Emits an {Approval} event.\n */\n function approve(address spender, uint256 amount) external returns (bool);\n\n /**\n * @dev Moves `amount` tokens from `sender` to `recipient` using the\n * allowance mechanism. `amount` is then deducted from the caller's\n * allowance.\n *\n * Returns a boolean value indicating whether the operation succeeded.\n *\n * Emits a {Transfer} event.\n */\n function transferFrom(\n address sender,\n address recipient,\n uint256 amount\n ) external returns (bool);\n\n /**\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\n * another (`to`).\n *\n * Note that `value` may be zero.\n */\n event Transfer(address indexed from, address indexed to, uint256 value);\n\n /**\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n * a call to {approve}. `value` is the new allowance.\n */\n event Approval(address indexed owner, address indexed spender, uint256 value);\n}\n" + "content": "// SPDX-License-Identifier: MIT\npragma solidity 0.6.12;\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP.\n * From https://github.com/OpenZeppelin/openzeppelin-contracts\n */\ninterface IERC20 {\n /**\n * @dev Returns the amount of tokens in existence.\n */\n function totalSupply() external view returns (uint256);\n\n /**\n * @dev Returns the amount of tokens owned by `account`.\n */\n function balanceOf(address account) external view returns (uint256);\n\n /**\n * @dev Moves `amount` tokens from the caller's account to `recipient`.\n *\n * Returns a boolean value indicating whether the operation succeeded.\n *\n * Emits a {Transfer} event.\n */\n function transfer(address recipient, uint256 amount) external returns (bool);\n\n /**\n * @dev Returns the remaining number of tokens that `spender` will be\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\n * zero by default.\n *\n * This value changes when {approve} or {transferFrom} are called.\n */\n function allowance(address owner, address spender) external view returns (uint256);\n\n /**\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\n *\n * Returns a boolean value indicating whether the operation succeeded.\n *\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\n * that someone may use both the old and the new allowance by unfortunate\n * transaction ordering. One possible solution to mitigate this race\n * condition is to first reduce the spender's allowance to 0 and set the\n * desired value afterwards:\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n *\n * Emits an {Approval} event.\n */\n function approve(address spender, uint256 amount) external returns (bool);\n\n /**\n * @dev Moves `amount` tokens from `sender` to `recipient` using the\n * allowance mechanism. `amount` is then deducted from the caller's\n * allowance.\n *\n * Returns a boolean value indicating whether the operation succeeded.\n *\n * Emits a {Transfer} event.\n */\n function transferFrom(\n address sender,\n address recipient,\n uint256 amount\n ) external returns (bool);\n\n function decimals() external view returns (uint8);\n\n /**\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\n * another (`to`).\n *\n * Note that `value` may be zero.\n */\n event Transfer(address indexed from, address indexed to, uint256 value);\n\n /**\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n * a call to {approve}. `value` is the new allowance.\n */\n event Approval(address indexed owner, address indexed spender, uint256 value);\n}\n" }, "contracts/assetListing/interfaces/ILendingPoolConfiguratorV2.sol": { "content": "// SPDX-License-Identifier: AGPL-3.0\npragma solidity 0.6.12;\n\ninterface ILendingPoolConfiguratorV2 {\n /**\n * @dev Initializes a reserve\n * @param aTokenImpl The address of the aToken contract implementation\n * @param stableDebtTokenImpl The address of the stable debt token contract\n * @param variableDebtTokenImpl The address of the variable debt token contract\n * @param underlyingAssetDecimals The decimals of the reserve underlying asset\n * @param interestRateStrategyAddress The address of the interest rate strategy contract for this reserve\n **/\n function initReserve(\n address aTokenImpl,\n address stableDebtTokenImpl,\n address variableDebtTokenImpl,\n uint8 underlyingAssetDecimals,\n address interestRateStrategyAddress\n ) external;\n\n /**\n * @dev Configures the reserve collateralization parameters\n * all the values are expressed in percentages with two decimals of precision. A valid value is 10000, which means 100.00%\n * @param asset The address of the underlying asset of the reserve\n * @param ltv The loan to value of the asset when used as collateral\n * @param liquidationThreshold The threshold at which loans using this asset as collateral will be considered undercollateralized\n * @param liquidationBonus The bonus liquidators receive to liquidate this asset. The values is always above 100%. A value of 105%\n * means the liquidator will receive a 5% bonus\n **/\n function configureReserveAsCollateral(\n address asset,\n uint256 ltv,\n uint256 liquidationThreshold,\n uint256 liquidationBonus\n ) external;\n\n /**\n * @dev Enables borrowing on a reserve\n * @param asset The address of the underlying asset of the reserve\n * @param stableBorrowRateEnabled True if stable borrow rate needs to be enabled by default on this reserve\n **/\n function enableBorrowingOnReserve(address asset, bool stableBorrowRateEnabled) external;\n\n /**\n * @dev Updates the reserve factor of a reserve\n * @param asset The address of the underlying asset of the reserve\n * @param reserveFactor The new reserve factor of the reserve\n **/\n function setReserveFactor(address asset, uint256 reserveFactor) external;\n}\n" @@ -172,15 +172,15 @@ "evm": { "bytecode": { "linkReferences": {}, - "object": "608060405234801561001057600080fd5b5061064c806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806306eefdf41461003b5780633fa572311461005f575b600080fd5b6100436100e6565b604080516001600160a01b039092168252519081900360200190f35b6100e460048036036101a081101561007657600080fd5b506001600160a01b0381358116916020810135821691604082013581169160608101358216916080820135169060a08101359060c08101359060e0810135906101008101359060ff6101208201351690610140810135151590610160810135151590610180013515156100fe565b005b73b53c1a33016b2dc2ff3653530bff1848a515c8c581565b600073b53c1a33016b2dc2ff3653530bff1848a515c8c56001600160a01b03166385c858b16040518163ffffffff1660e01b815260040160206040518083038186803b15801561014d57600080fd5b505afa158015610161573d6000803e3d6000fd5b505050506040513d602081101561017757600080fd5b5051604080516358b50cef60e11b815290519192506001600160a01b038f169163b16a19de91600480820192602092909190829003018186803b1580156101bd57600080fd5b505afa1580156101d1573d6000803e3d6000fd5b505050506040513d60208110156101e757600080fd5b50516001600160a01b038f8116911614610248576040805162461bcd60e51b815260206004820152601e60248201527f41544f4b454e3a2057524f4e475f554e4445524c59494e475f544f4b454e0000604482015290519081900360640190fd5b8b6001600160a01b031663b16a19de6040518163ffffffff1660e01b815260040160206040518083038186803b15801561028157600080fd5b505afa158015610295573d6000803e3d6000fd5b505050506040513d60208110156102ab57600080fd5b50516001600160a01b038f81169116146102f65760405162461bcd60e51b81526004018080602001828103825260238152602001806105cf6023913960400191505060405180910390fd5b8a6001600160a01b031663b16a19de6040518163ffffffff1660e01b815260040160206040518083038186803b15801561032f57600080fd5b505afa158015610343573d6000803e3d6000fd5b505050506040513d602081101561035957600080fd5b50516001600160a01b038f81169116146103a45760405162461bcd60e51b81526004018080602001828103825260258152602001806105f26025913960400191505060405180910390fd5b60408051636e801a7160e01b81526001600160a01b038f811660048301528e811660248301528d8116604483015260ff881660648301528c81166084830152915191831691636e801a719160a48082019260009290919082900301818387803b15801561041057600080fd5b505af1158015610424573d6000803e3d6000fd5b5050505083156104a057806001600160a01b031663eede87c18f856040518363ffffffff1660e01b815260040180836001600160a01b03168152602001821515815260200192505050600060405180830381600087803b15801561048757600080fd5b505af115801561049b573d6000803e3d6000fd5b505050505b806001600160a01b0316634b4e67538f886040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156104f757600080fd5b505af115801561050b573d6000803e3d6000fd5b50505050811561059557806001600160a01b0316637c4e560b8f8b8b8b6040518563ffffffff1660e01b815260040180856001600160a01b03168152602001848152602001838152602001828152602001945050505050600060405180830381600087803b15801561057c57600080fd5b505af1158015610590573d6000803e3d6000fd5b505050505b6040517fcf88c657fb0ecbed2a624b6b4c626e2ceda32ea9ed16ea81de6362a6d965bd0890600090a1505050505050505050505050505056fe535441424c455f444542543a2057524f4e475f554e4445524c59494e475f544f4b454e5641524941424c455f444542543a2057524f4e475f554e4445524c59494e475f544f4b454ea2646970667358221220527f105fd4db718b2b7ee46c86bb043b46695bebc5d2d8eb9221b8f1dfb688e664736f6c634300060c0033", - "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x64C DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x36 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x6EEFDF4 EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0x3FA57231 EQ PUSH2 0x5F JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43 PUSH2 0xE6 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH2 0xE4 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH2 0x1A0 DUP2 LT ISZERO PUSH2 0x76 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 CALLDATALOAD DUP2 AND SWAP2 PUSH1 0x20 DUP2 ADD CALLDATALOAD DUP3 AND SWAP2 PUSH1 0x40 DUP3 ADD CALLDATALOAD DUP2 AND SWAP2 PUSH1 0x60 DUP2 ADD CALLDATALOAD DUP3 AND SWAP2 PUSH1 0x80 DUP3 ADD CALLDATALOAD AND SWAP1 PUSH1 0xA0 DUP2 ADD CALLDATALOAD SWAP1 PUSH1 0xC0 DUP2 ADD CALLDATALOAD SWAP1 PUSH1 0xE0 DUP2 ADD CALLDATALOAD SWAP1 PUSH2 0x100 DUP2 ADD CALLDATALOAD SWAP1 PUSH1 0xFF PUSH2 0x120 DUP3 ADD CALLDATALOAD AND SWAP1 PUSH2 0x140 DUP2 ADD CALLDATALOAD ISZERO ISZERO SWAP1 PUSH2 0x160 DUP2 ADD CALLDATALOAD ISZERO ISZERO SWAP1 PUSH2 0x180 ADD CALLDATALOAD ISZERO ISZERO PUSH2 0xFE JUMP JUMPDEST STOP JUMPDEST PUSH20 0xB53C1A33016B2DC2FF3653530BFF1848A515C8C5 DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH20 0xB53C1A33016B2DC2FF3653530BFF1848A515C8C5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x85C858B1 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x14D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x161 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x177 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD PUSH1 0x40 DUP1 MLOAD PUSH4 0x58B50CEF PUSH1 0xE1 SHL DUP2 MSTORE SWAP1 MLOAD SWAP2 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP16 AND SWAP2 PUSH4 0xB16A19DE SWAP2 PUSH1 0x4 DUP1 DUP3 ADD SWAP3 PUSH1 0x20 SWAP3 SWAP1 SWAP2 SWAP1 DUP3 SWAP1 SUB ADD DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1BD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1D1 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x1E7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP16 DUP2 AND SWAP2 AND EQ PUSH2 0x248 JUMPI PUSH1 0x40 DUP1 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x41544F4B454E3A2057524F4E475F554E4445524C59494E475F544F4B454E0000 PUSH1 0x44 DUP3 ADD MSTORE SWAP1 MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x64 ADD SWAP1 REVERT JUMPDEST DUP12 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xB16A19DE PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x281 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x295 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x2AB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP16 DUP2 AND SWAP2 AND EQ PUSH2 0x2F6 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0x23 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH2 0x5CF PUSH1 0x23 SWAP2 CODECOPY PUSH1 0x40 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP11 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xB16A19DE PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x32F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x343 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x359 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP16 DUP2 AND SWAP2 AND EQ PUSH2 0x3A4 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0x25 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH2 0x5F2 PUSH1 0x25 SWAP2 CODECOPY PUSH1 0x40 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH4 0x6E801A71 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP16 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE DUP15 DUP2 AND PUSH1 0x24 DUP4 ADD MSTORE DUP14 DUP2 AND PUSH1 0x44 DUP4 ADD MSTORE PUSH1 0xFF DUP9 AND PUSH1 0x64 DUP4 ADD MSTORE DUP13 DUP2 AND PUSH1 0x84 DUP4 ADD MSTORE SWAP2 MLOAD SWAP2 DUP4 AND SWAP2 PUSH4 0x6E801A71 SWAP2 PUSH1 0xA4 DUP1 DUP3 ADD SWAP3 PUSH1 0x0 SWAP3 SWAP1 SWAP2 SWAP1 DUP3 SWAP1 SUB ADD DUP2 DUP4 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x410 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x424 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP DUP4 ISZERO PUSH2 0x4A0 JUMPI DUP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xEEDE87C1 DUP16 DUP6 PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD DUP3 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD SWAP3 POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x487 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x49B JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP JUMPDEST DUP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x4B4E6753 DUP16 DUP9 PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP3 POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x4F7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x50B JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP DUP2 ISZERO PUSH2 0x595 JUMPI DUP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x7C4E560B DUP16 DUP12 DUP12 DUP12 PUSH1 0x40 MLOAD DUP6 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP6 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP5 POP POP POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x57C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x590 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0xCF88C657FB0ECBED2A624B6B4C626E2CEDA32EA9ED16EA81DE6362A6D965BD08 SWAP1 PUSH1 0x0 SWAP1 LOG1 POP POP POP POP POP POP POP POP POP POP POP POP POP POP JUMP INVALID MSTORE8 SLOAD COINBASE TIMESTAMP 0x4C GASLIMIT 0x5F DIFFICULTY GASLIMIT TIMESTAMP SLOAD GASPRICE KECCAK256 JUMPI MSTORE 0x4F 0x4E SELFBALANCE 0x5F SSTORE 0x4E DIFFICULTY GASLIMIT MSTORE 0x4C MSIZE 0x49 0x4E SELFBALANCE 0x5F SLOAD 0x4F 0x4B GASLIMIT 0x4E JUMP COINBASE MSTORE 0x49 COINBASE TIMESTAMP 0x4C GASLIMIT 0x5F DIFFICULTY GASLIMIT TIMESTAMP SLOAD GASPRICE KECCAK256 JUMPI MSTORE 0x4F 0x4E SELFBALANCE 0x5F SSTORE 0x4E DIFFICULTY GASLIMIT MSTORE 0x4C MSIZE 0x49 0x4E SELFBALANCE 0x5F SLOAD 0x4F 0x4B GASLIMIT 0x4E LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 MSTORE PUSH32 0x105FD4DB718B2B7EE46C86BB043B46695BEBC5D2D8EB9221B8F1DFB688E66473 PUSH16 0x6C634300060C00330000000000000000 ", + "object": "608060405234801561001057600080fd5b5061064c806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806306eefdf41461003b5780633fa572311461005f575b600080fd5b6100436100e6565b604080516001600160a01b039092168252519081900360200190f35b6100e460048036036101a081101561007657600080fd5b506001600160a01b0381358116916020810135821691604082013581169160608101358216916080820135169060a08101359060c08101359060e0810135906101008101359060ff6101208201351690610140810135151590610160810135151590610180013515156100fe565b005b73b53c1a33016b2dc2ff3653530bff1848a515c8c581565b600073b53c1a33016b2dc2ff3653530bff1848a515c8c56001600160a01b03166385c858b16040518163ffffffff1660e01b815260040160206040518083038186803b15801561014d57600080fd5b505afa158015610161573d6000803e3d6000fd5b505050506040513d602081101561017757600080fd5b5051604080516358b50cef60e11b815290519192506001600160a01b038f169163b16a19de91600480820192602092909190829003018186803b1580156101bd57600080fd5b505afa1580156101d1573d6000803e3d6000fd5b505050506040513d60208110156101e757600080fd5b50516001600160a01b038f8116911614610248576040805162461bcd60e51b815260206004820152601e60248201527f41544f4b454e3a2057524f4e475f554e4445524c59494e475f544f4b454e0000604482015290519081900360640190fd5b8b6001600160a01b031663b16a19de6040518163ffffffff1660e01b815260040160206040518083038186803b15801561028157600080fd5b505afa158015610295573d6000803e3d6000fd5b505050506040513d60208110156102ab57600080fd5b50516001600160a01b038f81169116146102f65760405162461bcd60e51b81526004018080602001828103825260238152602001806105cf6023913960400191505060405180910390fd5b8a6001600160a01b031663b16a19de6040518163ffffffff1660e01b815260040160206040518083038186803b15801561032f57600080fd5b505afa158015610343573d6000803e3d6000fd5b505050506040513d602081101561035957600080fd5b50516001600160a01b038f81169116146103a45760405162461bcd60e51b81526004018080602001828103825260258152602001806105f26025913960400191505060405180910390fd5b60408051636e801a7160e01b81526001600160a01b038f811660048301528e811660248301528d8116604483015260ff881660648301528c81166084830152915191831691636e801a719160a48082019260009290919082900301818387803b15801561041057600080fd5b505af1158015610424573d6000803e3d6000fd5b5050505083156104a057806001600160a01b031663eede87c18f856040518363ffffffff1660e01b815260040180836001600160a01b03168152602001821515815260200192505050600060405180830381600087803b15801561048757600080fd5b505af115801561049b573d6000803e3d6000fd5b505050505b806001600160a01b0316634b4e67538f886040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156104f757600080fd5b505af115801561050b573d6000803e3d6000fd5b50505050811561059557806001600160a01b0316637c4e560b8f8b8b8b6040518563ffffffff1660e01b815260040180856001600160a01b03168152602001848152602001838152602001828152602001945050505050600060405180830381600087803b15801561057c57600080fd5b505af1158015610590573d6000803e3d6000fd5b505050505b6040517fcf88c657fb0ecbed2a624b6b4c626e2ceda32ea9ed16ea81de6362a6d965bd0890600090a1505050505050505050505050505056fe535441424c455f444542543a2057524f4e475f554e4445524c59494e475f544f4b454e5641524941424c455f444542543a2057524f4e475f554e4445524c59494e475f544f4b454ea2646970667358221220392baa87503be1f8ea455b94dfe484f868b7def49be5e3c1a94c4029053d920f64736f6c634300060c0033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x64C DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x36 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x6EEFDF4 EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0x3FA57231 EQ PUSH2 0x5F JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43 PUSH2 0xE6 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH2 0xE4 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH2 0x1A0 DUP2 LT ISZERO PUSH2 0x76 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 CALLDATALOAD DUP2 AND SWAP2 PUSH1 0x20 DUP2 ADD CALLDATALOAD DUP3 AND SWAP2 PUSH1 0x40 DUP3 ADD CALLDATALOAD DUP2 AND SWAP2 PUSH1 0x60 DUP2 ADD CALLDATALOAD DUP3 AND SWAP2 PUSH1 0x80 DUP3 ADD CALLDATALOAD AND SWAP1 PUSH1 0xA0 DUP2 ADD CALLDATALOAD SWAP1 PUSH1 0xC0 DUP2 ADD CALLDATALOAD SWAP1 PUSH1 0xE0 DUP2 ADD CALLDATALOAD SWAP1 PUSH2 0x100 DUP2 ADD CALLDATALOAD SWAP1 PUSH1 0xFF PUSH2 0x120 DUP3 ADD CALLDATALOAD AND SWAP1 PUSH2 0x140 DUP2 ADD CALLDATALOAD ISZERO ISZERO SWAP1 PUSH2 0x160 DUP2 ADD CALLDATALOAD ISZERO ISZERO SWAP1 PUSH2 0x180 ADD CALLDATALOAD ISZERO ISZERO PUSH2 0xFE JUMP JUMPDEST STOP JUMPDEST PUSH20 0xB53C1A33016B2DC2FF3653530BFF1848A515C8C5 DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH20 0xB53C1A33016B2DC2FF3653530BFF1848A515C8C5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x85C858B1 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x14D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x161 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x177 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD PUSH1 0x40 DUP1 MLOAD PUSH4 0x58B50CEF PUSH1 0xE1 SHL DUP2 MSTORE SWAP1 MLOAD SWAP2 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP16 AND SWAP2 PUSH4 0xB16A19DE SWAP2 PUSH1 0x4 DUP1 DUP3 ADD SWAP3 PUSH1 0x20 SWAP3 SWAP1 SWAP2 SWAP1 DUP3 SWAP1 SUB ADD DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1BD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1D1 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x1E7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP16 DUP2 AND SWAP2 AND EQ PUSH2 0x248 JUMPI PUSH1 0x40 DUP1 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x41544F4B454E3A2057524F4E475F554E4445524C59494E475F544F4B454E0000 PUSH1 0x44 DUP3 ADD MSTORE SWAP1 MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x64 ADD SWAP1 REVERT JUMPDEST DUP12 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xB16A19DE PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x281 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x295 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x2AB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP16 DUP2 AND SWAP2 AND EQ PUSH2 0x2F6 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0x23 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH2 0x5CF PUSH1 0x23 SWAP2 CODECOPY PUSH1 0x40 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP11 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xB16A19DE PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x32F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x343 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x359 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP16 DUP2 AND SWAP2 AND EQ PUSH2 0x3A4 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0x25 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH2 0x5F2 PUSH1 0x25 SWAP2 CODECOPY PUSH1 0x40 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH4 0x6E801A71 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP16 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE DUP15 DUP2 AND PUSH1 0x24 DUP4 ADD MSTORE DUP14 DUP2 AND PUSH1 0x44 DUP4 ADD MSTORE PUSH1 0xFF DUP9 AND PUSH1 0x64 DUP4 ADD MSTORE DUP13 DUP2 AND PUSH1 0x84 DUP4 ADD MSTORE SWAP2 MLOAD SWAP2 DUP4 AND SWAP2 PUSH4 0x6E801A71 SWAP2 PUSH1 0xA4 DUP1 DUP3 ADD SWAP3 PUSH1 0x0 SWAP3 SWAP1 SWAP2 SWAP1 DUP3 SWAP1 SUB ADD DUP2 DUP4 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x410 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x424 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP DUP4 ISZERO PUSH2 0x4A0 JUMPI DUP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xEEDE87C1 DUP16 DUP6 PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD DUP3 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD SWAP3 POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x487 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x49B JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP JUMPDEST DUP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x4B4E6753 DUP16 DUP9 PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP3 POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x4F7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x50B JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP DUP2 ISZERO PUSH2 0x595 JUMPI DUP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x7C4E560B DUP16 DUP12 DUP12 DUP12 PUSH1 0x40 MLOAD DUP6 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP6 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP5 POP POP POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x57C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x590 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0xCF88C657FB0ECBED2A624B6B4C626E2CEDA32EA9ED16EA81DE6362A6D965BD08 SWAP1 PUSH1 0x0 SWAP1 LOG1 POP POP POP POP POP POP POP POP POP POP POP POP POP POP JUMP INVALID MSTORE8 SLOAD COINBASE TIMESTAMP 0x4C GASLIMIT 0x5F DIFFICULTY GASLIMIT TIMESTAMP SLOAD GASPRICE KECCAK256 JUMPI MSTORE 0x4F 0x4E SELFBALANCE 0x5F SSTORE 0x4E DIFFICULTY GASLIMIT MSTORE 0x4C MSIZE 0x49 0x4E SELFBALANCE 0x5F SLOAD 0x4F 0x4B GASLIMIT 0x4E JUMP COINBASE MSTORE 0x49 COINBASE TIMESTAMP 0x4C GASLIMIT 0x5F DIFFICULTY GASLIMIT TIMESTAMP SLOAD GASPRICE KECCAK256 JUMPI MSTORE 0x4F 0x4E SELFBALANCE 0x5F SSTORE 0x4E DIFFICULTY GASLIMIT MSTORE 0x4C MSIZE 0x49 0x4E SELFBALANCE 0x5F SLOAD 0x4F 0x4B GASLIMIT 0x4E LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 CODECOPY 0x2B 0xAA DUP8 POP EXTCODESIZE 0xE1 0xF8 0xEA GASLIMIT JUMPDEST SWAP5 0xDF 0xE4 DUP5 0xF8 PUSH9 0xB7DEF49BE5E3C1A94C BLOCKHASH 0x29 SDIV RETURNDATASIZE SWAP3 0xF PUSH5 0x736F6C6343 STOP MOD 0xC STOP CALLER ", "sourceMap": "605:1888:0:-:0;;;;;;;;;;;;;;;;;;;" }, "deployedBytecode": { "immutableReferences": {}, "linkReferences": {}, - "object": "608060405234801561001057600080fd5b50600436106100365760003560e01c806306eefdf41461003b5780633fa572311461005f575b600080fd5b6100436100e6565b604080516001600160a01b039092168252519081900360200190f35b6100e460048036036101a081101561007657600080fd5b506001600160a01b0381358116916020810135821691604082013581169160608101358216916080820135169060a08101359060c08101359060e0810135906101008101359060ff6101208201351690610140810135151590610160810135151590610180013515156100fe565b005b73b53c1a33016b2dc2ff3653530bff1848a515c8c581565b600073b53c1a33016b2dc2ff3653530bff1848a515c8c56001600160a01b03166385c858b16040518163ffffffff1660e01b815260040160206040518083038186803b15801561014d57600080fd5b505afa158015610161573d6000803e3d6000fd5b505050506040513d602081101561017757600080fd5b5051604080516358b50cef60e11b815290519192506001600160a01b038f169163b16a19de91600480820192602092909190829003018186803b1580156101bd57600080fd5b505afa1580156101d1573d6000803e3d6000fd5b505050506040513d60208110156101e757600080fd5b50516001600160a01b038f8116911614610248576040805162461bcd60e51b815260206004820152601e60248201527f41544f4b454e3a2057524f4e475f554e4445524c59494e475f544f4b454e0000604482015290519081900360640190fd5b8b6001600160a01b031663b16a19de6040518163ffffffff1660e01b815260040160206040518083038186803b15801561028157600080fd5b505afa158015610295573d6000803e3d6000fd5b505050506040513d60208110156102ab57600080fd5b50516001600160a01b038f81169116146102f65760405162461bcd60e51b81526004018080602001828103825260238152602001806105cf6023913960400191505060405180910390fd5b8a6001600160a01b031663b16a19de6040518163ffffffff1660e01b815260040160206040518083038186803b15801561032f57600080fd5b505afa158015610343573d6000803e3d6000fd5b505050506040513d602081101561035957600080fd5b50516001600160a01b038f81169116146103a45760405162461bcd60e51b81526004018080602001828103825260258152602001806105f26025913960400191505060405180910390fd5b60408051636e801a7160e01b81526001600160a01b038f811660048301528e811660248301528d8116604483015260ff881660648301528c81166084830152915191831691636e801a719160a48082019260009290919082900301818387803b15801561041057600080fd5b505af1158015610424573d6000803e3d6000fd5b5050505083156104a057806001600160a01b031663eede87c18f856040518363ffffffff1660e01b815260040180836001600160a01b03168152602001821515815260200192505050600060405180830381600087803b15801561048757600080fd5b505af115801561049b573d6000803e3d6000fd5b505050505b806001600160a01b0316634b4e67538f886040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156104f757600080fd5b505af115801561050b573d6000803e3d6000fd5b50505050811561059557806001600160a01b0316637c4e560b8f8b8b8b6040518563ffffffff1660e01b815260040180856001600160a01b03168152602001848152602001838152602001828152602001945050505050600060405180830381600087803b15801561057c57600080fd5b505af1158015610590573d6000803e3d6000fd5b505050505b6040517fcf88c657fb0ecbed2a624b6b4c626e2ceda32ea9ed16ea81de6362a6d965bd0890600090a1505050505050505050505050505056fe535441424c455f444542543a2057524f4e475f554e4445524c59494e475f544f4b454e5641524941424c455f444542543a2057524f4e475f554e4445524c59494e475f544f4b454ea2646970667358221220527f105fd4db718b2b7ee46c86bb043b46695bebc5d2d8eb9221b8f1dfb688e664736f6c634300060c0033", - "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x36 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x6EEFDF4 EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0x3FA57231 EQ PUSH2 0x5F JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43 PUSH2 0xE6 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH2 0xE4 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH2 0x1A0 DUP2 LT ISZERO PUSH2 0x76 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 CALLDATALOAD DUP2 AND SWAP2 PUSH1 0x20 DUP2 ADD CALLDATALOAD DUP3 AND SWAP2 PUSH1 0x40 DUP3 ADD CALLDATALOAD DUP2 AND SWAP2 PUSH1 0x60 DUP2 ADD CALLDATALOAD DUP3 AND SWAP2 PUSH1 0x80 DUP3 ADD CALLDATALOAD AND SWAP1 PUSH1 0xA0 DUP2 ADD CALLDATALOAD SWAP1 PUSH1 0xC0 DUP2 ADD CALLDATALOAD SWAP1 PUSH1 0xE0 DUP2 ADD CALLDATALOAD SWAP1 PUSH2 0x100 DUP2 ADD CALLDATALOAD SWAP1 PUSH1 0xFF PUSH2 0x120 DUP3 ADD CALLDATALOAD AND SWAP1 PUSH2 0x140 DUP2 ADD CALLDATALOAD ISZERO ISZERO SWAP1 PUSH2 0x160 DUP2 ADD CALLDATALOAD ISZERO ISZERO SWAP1 PUSH2 0x180 ADD CALLDATALOAD ISZERO ISZERO PUSH2 0xFE JUMP JUMPDEST STOP JUMPDEST PUSH20 0xB53C1A33016B2DC2FF3653530BFF1848A515C8C5 DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH20 0xB53C1A33016B2DC2FF3653530BFF1848A515C8C5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x85C858B1 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x14D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x161 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x177 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD PUSH1 0x40 DUP1 MLOAD PUSH4 0x58B50CEF PUSH1 0xE1 SHL DUP2 MSTORE SWAP1 MLOAD SWAP2 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP16 AND SWAP2 PUSH4 0xB16A19DE SWAP2 PUSH1 0x4 DUP1 DUP3 ADD SWAP3 PUSH1 0x20 SWAP3 SWAP1 SWAP2 SWAP1 DUP3 SWAP1 SUB ADD DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1BD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1D1 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x1E7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP16 DUP2 AND SWAP2 AND EQ PUSH2 0x248 JUMPI PUSH1 0x40 DUP1 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x41544F4B454E3A2057524F4E475F554E4445524C59494E475F544F4B454E0000 PUSH1 0x44 DUP3 ADD MSTORE SWAP1 MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x64 ADD SWAP1 REVERT JUMPDEST DUP12 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xB16A19DE PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x281 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x295 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x2AB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP16 DUP2 AND SWAP2 AND EQ PUSH2 0x2F6 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0x23 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH2 0x5CF PUSH1 0x23 SWAP2 CODECOPY PUSH1 0x40 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP11 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xB16A19DE PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x32F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x343 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x359 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP16 DUP2 AND SWAP2 AND EQ PUSH2 0x3A4 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0x25 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH2 0x5F2 PUSH1 0x25 SWAP2 CODECOPY PUSH1 0x40 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH4 0x6E801A71 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP16 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE DUP15 DUP2 AND PUSH1 0x24 DUP4 ADD MSTORE DUP14 DUP2 AND PUSH1 0x44 DUP4 ADD MSTORE PUSH1 0xFF DUP9 AND PUSH1 0x64 DUP4 ADD MSTORE DUP13 DUP2 AND PUSH1 0x84 DUP4 ADD MSTORE SWAP2 MLOAD SWAP2 DUP4 AND SWAP2 PUSH4 0x6E801A71 SWAP2 PUSH1 0xA4 DUP1 DUP3 ADD SWAP3 PUSH1 0x0 SWAP3 SWAP1 SWAP2 SWAP1 DUP3 SWAP1 SUB ADD DUP2 DUP4 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x410 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x424 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP DUP4 ISZERO PUSH2 0x4A0 JUMPI DUP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xEEDE87C1 DUP16 DUP6 PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD DUP3 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD SWAP3 POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x487 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x49B JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP JUMPDEST DUP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x4B4E6753 DUP16 DUP9 PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP3 POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x4F7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x50B JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP DUP2 ISZERO PUSH2 0x595 JUMPI DUP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x7C4E560B DUP16 DUP12 DUP12 DUP12 PUSH1 0x40 MLOAD DUP6 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP6 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP5 POP POP POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x57C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x590 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0xCF88C657FB0ECBED2A624B6B4C626E2CEDA32EA9ED16EA81DE6362A6D965BD08 SWAP1 PUSH1 0x0 SWAP1 LOG1 POP POP POP POP POP POP POP POP POP POP POP POP POP POP JUMP INVALID MSTORE8 SLOAD COINBASE TIMESTAMP 0x4C GASLIMIT 0x5F DIFFICULTY GASLIMIT TIMESTAMP SLOAD GASPRICE KECCAK256 JUMPI MSTORE 0x4F 0x4E SELFBALANCE 0x5F SSTORE 0x4E DIFFICULTY GASLIMIT MSTORE 0x4C MSIZE 0x49 0x4E SELFBALANCE 0x5F SLOAD 0x4F 0x4B GASLIMIT 0x4E JUMP COINBASE MSTORE 0x49 COINBASE TIMESTAMP 0x4C GASLIMIT 0x5F DIFFICULTY GASLIMIT TIMESTAMP SLOAD GASPRICE KECCAK256 JUMPI MSTORE 0x4F 0x4E SELFBALANCE 0x5F SSTORE 0x4E DIFFICULTY GASLIMIT MSTORE 0x4C MSIZE 0x49 0x4E SELFBALANCE 0x5F SLOAD 0x4F 0x4B GASLIMIT 0x4E LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 MSTORE PUSH32 0x105FD4DB718B2B7EE46C86BB043B46695BEBC5D2D8EB9221B8F1DFB688E66473 PUSH16 0x6C634300060C00330000000000000000 ", + "object": "608060405234801561001057600080fd5b50600436106100365760003560e01c806306eefdf41461003b5780633fa572311461005f575b600080fd5b6100436100e6565b604080516001600160a01b039092168252519081900360200190f35b6100e460048036036101a081101561007657600080fd5b506001600160a01b0381358116916020810135821691604082013581169160608101358216916080820135169060a08101359060c08101359060e0810135906101008101359060ff6101208201351690610140810135151590610160810135151590610180013515156100fe565b005b73b53c1a33016b2dc2ff3653530bff1848a515c8c581565b600073b53c1a33016b2dc2ff3653530bff1848a515c8c56001600160a01b03166385c858b16040518163ffffffff1660e01b815260040160206040518083038186803b15801561014d57600080fd5b505afa158015610161573d6000803e3d6000fd5b505050506040513d602081101561017757600080fd5b5051604080516358b50cef60e11b815290519192506001600160a01b038f169163b16a19de91600480820192602092909190829003018186803b1580156101bd57600080fd5b505afa1580156101d1573d6000803e3d6000fd5b505050506040513d60208110156101e757600080fd5b50516001600160a01b038f8116911614610248576040805162461bcd60e51b815260206004820152601e60248201527f41544f4b454e3a2057524f4e475f554e4445524c59494e475f544f4b454e0000604482015290519081900360640190fd5b8b6001600160a01b031663b16a19de6040518163ffffffff1660e01b815260040160206040518083038186803b15801561028157600080fd5b505afa158015610295573d6000803e3d6000fd5b505050506040513d60208110156102ab57600080fd5b50516001600160a01b038f81169116146102f65760405162461bcd60e51b81526004018080602001828103825260238152602001806105cf6023913960400191505060405180910390fd5b8a6001600160a01b031663b16a19de6040518163ffffffff1660e01b815260040160206040518083038186803b15801561032f57600080fd5b505afa158015610343573d6000803e3d6000fd5b505050506040513d602081101561035957600080fd5b50516001600160a01b038f81169116146103a45760405162461bcd60e51b81526004018080602001828103825260258152602001806105f26025913960400191505060405180910390fd5b60408051636e801a7160e01b81526001600160a01b038f811660048301528e811660248301528d8116604483015260ff881660648301528c81166084830152915191831691636e801a719160a48082019260009290919082900301818387803b15801561041057600080fd5b505af1158015610424573d6000803e3d6000fd5b5050505083156104a057806001600160a01b031663eede87c18f856040518363ffffffff1660e01b815260040180836001600160a01b03168152602001821515815260200192505050600060405180830381600087803b15801561048757600080fd5b505af115801561049b573d6000803e3d6000fd5b505050505b806001600160a01b0316634b4e67538f886040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156104f757600080fd5b505af115801561050b573d6000803e3d6000fd5b50505050811561059557806001600160a01b0316637c4e560b8f8b8b8b6040518563ffffffff1660e01b815260040180856001600160a01b03168152602001848152602001838152602001828152602001945050505050600060405180830381600087803b15801561057c57600080fd5b505af1158015610590573d6000803e3d6000fd5b505050505b6040517fcf88c657fb0ecbed2a624b6b4c626e2ceda32ea9ed16ea81de6362a6d965bd0890600090a1505050505050505050505050505056fe535441424c455f444542543a2057524f4e475f554e4445524c59494e475f544f4b454e5641524941424c455f444542543a2057524f4e475f554e4445524c59494e475f544f4b454ea2646970667358221220392baa87503be1f8ea455b94dfe484f868b7def49be5e3c1a94c4029053d920f64736f6c634300060c0033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x36 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x6EEFDF4 EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0x3FA57231 EQ PUSH2 0x5F JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43 PUSH2 0xE6 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH2 0xE4 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH2 0x1A0 DUP2 LT ISZERO PUSH2 0x76 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 CALLDATALOAD DUP2 AND SWAP2 PUSH1 0x20 DUP2 ADD CALLDATALOAD DUP3 AND SWAP2 PUSH1 0x40 DUP3 ADD CALLDATALOAD DUP2 AND SWAP2 PUSH1 0x60 DUP2 ADD CALLDATALOAD DUP3 AND SWAP2 PUSH1 0x80 DUP3 ADD CALLDATALOAD AND SWAP1 PUSH1 0xA0 DUP2 ADD CALLDATALOAD SWAP1 PUSH1 0xC0 DUP2 ADD CALLDATALOAD SWAP1 PUSH1 0xE0 DUP2 ADD CALLDATALOAD SWAP1 PUSH2 0x100 DUP2 ADD CALLDATALOAD SWAP1 PUSH1 0xFF PUSH2 0x120 DUP3 ADD CALLDATALOAD AND SWAP1 PUSH2 0x140 DUP2 ADD CALLDATALOAD ISZERO ISZERO SWAP1 PUSH2 0x160 DUP2 ADD CALLDATALOAD ISZERO ISZERO SWAP1 PUSH2 0x180 ADD CALLDATALOAD ISZERO ISZERO PUSH2 0xFE JUMP JUMPDEST STOP JUMPDEST PUSH20 0xB53C1A33016B2DC2FF3653530BFF1848A515C8C5 DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH20 0xB53C1A33016B2DC2FF3653530BFF1848A515C8C5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x85C858B1 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x14D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x161 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x177 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD PUSH1 0x40 DUP1 MLOAD PUSH4 0x58B50CEF PUSH1 0xE1 SHL DUP2 MSTORE SWAP1 MLOAD SWAP2 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP16 AND SWAP2 PUSH4 0xB16A19DE SWAP2 PUSH1 0x4 DUP1 DUP3 ADD SWAP3 PUSH1 0x20 SWAP3 SWAP1 SWAP2 SWAP1 DUP3 SWAP1 SUB ADD DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1BD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1D1 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x1E7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP16 DUP2 AND SWAP2 AND EQ PUSH2 0x248 JUMPI PUSH1 0x40 DUP1 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x41544F4B454E3A2057524F4E475F554E4445524C59494E475F544F4B454E0000 PUSH1 0x44 DUP3 ADD MSTORE SWAP1 MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x64 ADD SWAP1 REVERT JUMPDEST DUP12 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xB16A19DE PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x281 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x295 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x2AB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP16 DUP2 AND SWAP2 AND EQ PUSH2 0x2F6 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0x23 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH2 0x5CF PUSH1 0x23 SWAP2 CODECOPY PUSH1 0x40 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP11 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xB16A19DE PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x32F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x343 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x359 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP16 DUP2 AND SWAP2 AND EQ PUSH2 0x3A4 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0x25 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH2 0x5F2 PUSH1 0x25 SWAP2 CODECOPY PUSH1 0x40 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH4 0x6E801A71 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP16 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE DUP15 DUP2 AND PUSH1 0x24 DUP4 ADD MSTORE DUP14 DUP2 AND PUSH1 0x44 DUP4 ADD MSTORE PUSH1 0xFF DUP9 AND PUSH1 0x64 DUP4 ADD MSTORE DUP13 DUP2 AND PUSH1 0x84 DUP4 ADD MSTORE SWAP2 MLOAD SWAP2 DUP4 AND SWAP2 PUSH4 0x6E801A71 SWAP2 PUSH1 0xA4 DUP1 DUP3 ADD SWAP3 PUSH1 0x0 SWAP3 SWAP1 SWAP2 SWAP1 DUP3 SWAP1 SUB ADD DUP2 DUP4 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x410 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x424 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP DUP4 ISZERO PUSH2 0x4A0 JUMPI DUP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xEEDE87C1 DUP16 DUP6 PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD DUP3 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD SWAP3 POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x487 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x49B JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP JUMPDEST DUP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x4B4E6753 DUP16 DUP9 PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP3 POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x4F7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x50B JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP DUP2 ISZERO PUSH2 0x595 JUMPI DUP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x7C4E560B DUP16 DUP12 DUP12 DUP12 PUSH1 0x40 MLOAD DUP6 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP6 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP5 POP POP POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x57C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x590 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0xCF88C657FB0ECBED2A624B6B4C626E2CEDA32EA9ED16EA81DE6362A6D965BD08 SWAP1 PUSH1 0x0 SWAP1 LOG1 POP POP POP POP POP POP POP POP POP POP POP POP POP POP JUMP INVALID MSTORE8 SLOAD COINBASE TIMESTAMP 0x4C GASLIMIT 0x5F DIFFICULTY GASLIMIT TIMESTAMP SLOAD GASPRICE KECCAK256 JUMPI MSTORE 0x4F 0x4E SELFBALANCE 0x5F SSTORE 0x4E DIFFICULTY GASLIMIT MSTORE 0x4C MSIZE 0x49 0x4E SELFBALANCE 0x5F SLOAD 0x4F 0x4B GASLIMIT 0x4E JUMP COINBASE MSTORE 0x49 COINBASE TIMESTAMP 0x4C GASLIMIT 0x5F DIFFICULTY GASLIMIT TIMESTAMP SLOAD GASPRICE KECCAK256 JUMPI MSTORE 0x4F 0x4E SELFBALANCE 0x5F SSTORE 0x4E DIFFICULTY GASLIMIT MSTORE 0x4C MSIZE 0x49 0x4E SELFBALANCE 0x5F SLOAD 0x4F 0x4B GASLIMIT 0x4E LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 CODECOPY 0x2B 0xAA DUP8 POP EXTCODESIZE 0xE1 0xF8 0xEA GASLIMIT JUMPDEST SWAP5 0xDF 0xE4 DUP5 0xF8 PUSH9 0xB7DEF49BE5E3C1A94C BLOCKHASH 0x29 SDIV RETURNDATASIZE SWAP3 0xF PUSH5 0x736F6C6343 STOP MOD 0xC STOP CALLER ", "sourceMap": "605:1888:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;711:158;;;:::i;:::-;;;;-1:-1:-1;;;;;711:158:0;;;;;;;;;;;;;;976:1515;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;976:1515:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;711:158;826:42;711:158;:::o;976:1515::-;1358:55;826:42;-1:-1:-1;;;;;1449:58:0;;:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1449:60:0;1540:50;;;-1:-1:-1;;;1540:50:0;;;;1449:60;;-1:-1:-1;;;;;;1540:48:0;;;;;:50;;;;;1449:60;;1540:50;;;;;;;;:48;:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1540:50:0;-1:-1:-1;;;;;1531:59:0;;;;;;1516:120;;;;;-1:-1:-1;;;1516:120:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;1682:15;-1:-1:-1;;;;;1666:57:0;;:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1666:59:0;-1:-1:-1;;;;;1657:68:0;;;;;;1642:134;;;;-1:-1:-1;;;1642:134:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1822:16;-1:-1:-1;;;;;1806:58:0;;:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1806:60:0;-1:-1:-1;;;;;1797:69:0;;;;;;1782:137;;;;-1:-1:-1;;;1782:137:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1925:147;;;-1:-1:-1;;;1925:147:0;;-1:-1:-1;;;;;1925:147:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:40;;;;;;:147;;;;;-1:-1:-1;;1925:147:0;;;;;;;;-1:-1:-1;1925:40:0;:147;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2082:12;2078:113;;;2104:28;-1:-1:-1;;;;;2104:53:0;;2158:5;2165:18;2104:80;;;;;;;;;;;;;-1:-1:-1;;;;;2104:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2078:113;2196:28;-1:-1:-1;;;;;2196:45:0;;2242:5;2249:13;2196:67;;;;;;;;;;;;;-1:-1:-1;;;;;2196:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2273:18;2269:188;;;2301:28;-1:-1:-1;;;;;2301:57:0;;2368:5;2383:3;2396:20;2426:16;2301:149;;;;;;;;;;;;;-1:-1:-1;;;;;2301:149:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2269:188;2468:18;;;;;;;976:1515;;;;;;;;;;;;;;:::o" }, "gasEstimates": { @@ -199,7 +199,7 @@ "execute(address,address,address,address,address,uint256,uint256,uint256,uint256,uint8,bool,bool,bool)": "3fa57231" } }, - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[],\"name\":\"ProposalExecuted\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"LENDING_POOL_ADDRESSES_PROVIDER\",\"outputs\":[{\"internalType\":\"contract ILendingPoolAddressesProvider\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"aToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"stableDebtToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"variablDebtToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"interestStrategy\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"ltv\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidationThreshold\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidationBonus\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveFactor\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"decimals\",\"type\":\"uint8\"},{\"internalType\":\"bool\",\"name\":\"enableBorrow\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"enableStableBorrow\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"enableAsCollateral\",\"type\":\"bool\"}],\"name\":\"execute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"Aave*\",\"kind\":\"dev\",\"methods\":{\"execute(address,address,address,address,address,uint256,uint256,uint256,uint256,uint8,bool,bool,bool)\":{\"details\":\"Payload execution function, called once a proposal passed in the Aave governance\"}},\"title\":\"AssetListingProposalGenericExecutor\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Proposal payload to be executed by the Aave Governance contract via DELEGATECALL\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/assetListing/AssetListingProposalGenericExecutor.sol\":\"AssetListingProposalGenericExecutor\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/assetListing/AssetListingProposalGenericExecutor.sol\":{\"content\":\"// SPDX-License-Identifier: AGPL-3.0\\npragma solidity 0.6.12;\\n\\nimport {IERC20} from './interfaces/IERC20.sol';\\nimport {ILendingPoolConfiguratorV2} from './interfaces/ILendingPoolConfiguratorV2.sol';\\nimport {IProposalGenericExecutor} from './interfaces/IProposalGenericExecutor.sol';\\nimport {IOverlyingAsset} from './interfaces/IOverlyingAsset.sol';\\nimport {ILendingPoolAddressesProvider} from './interfaces/ILendingPoolAddressesProvider.sol';\\n/**\\n * @title AssetListingProposalGenericExecutor\\n * @notice Proposal payload to be executed by the Aave Governance contract via DELEGATECALL\\n * @author Aave\\n **/\\ncontract AssetListingProposalGenericExecutor is IProposalGenericExecutor {\\n event ProposalExecuted();\\n\\n ILendingPoolAddressesProvider public constant LENDING_POOL_ADDRESSES_PROVIDER = \\n ILendingPoolAddressesProvider(0xB53C1a33016B2DC2fF3653530bfF1848a515c8c5);\\n /**\\n * @dev Payload execution function, called once a proposal passed in the Aave governance\\n */\\n function execute(\\n address token,\\n address aToken,\\n address stableDebtToken,\\n address variablDebtToken,\\n address interestStrategy,\\n uint256 ltv,\\n uint256 liquidationThreshold,\\n uint256 liquidationBonus,\\n uint256 reserveFactor,\\n uint8 decimals,\\n bool enableBorrow,\\n bool enableStableBorrow,\\n bool enableAsCollateral\\n ) external override {\\n ILendingPoolConfiguratorV2 LENDING_POOL_CONFIGURATOR_V2 =\\n ILendingPoolConfiguratorV2(LENDING_POOL_ADDRESSES_PROVIDER.getLendingPoolConfigurator());\\n require(\\n token == IOverlyingAsset(aToken).UNDERLYING_ASSET_ADDRESS(),\\n 'ATOKEN: WRONG_UNDERLYING_TOKEN'\\n );\\n require(\\n token == IOverlyingAsset(stableDebtToken).UNDERLYING_ASSET_ADDRESS(),\\n 'STABLE_DEBT: WRONG_UNDERLYING_TOKEN'\\n );\\n require(\\n token == IOverlyingAsset(variablDebtToken).UNDERLYING_ASSET_ADDRESS(),\\n 'VARIABLE_DEBT: WRONG_UNDERLYING_TOKEN'\\n );\\n LENDING_POOL_CONFIGURATOR_V2.initReserve(\\n aToken,\\n stableDebtToken,\\n variablDebtToken,\\n decimals,\\n interestStrategy\\n );\\n if (enableBorrow) {\\n LENDING_POOL_CONFIGURATOR_V2.enableBorrowingOnReserve(token, enableStableBorrow);\\n }\\n LENDING_POOL_CONFIGURATOR_V2.setReserveFactor(token, reserveFactor);\\n if (enableAsCollateral) {\\n LENDING_POOL_CONFIGURATOR_V2.configureReserveAsCollateral(\\n token,\\n ltv,\\n liquidationThreshold,\\n liquidationBonus\\n );\\n }\\n\\n emit ProposalExecuted();\\n }\\n}\\n\",\"keccak256\":\"0x6235dc9fec35174fcb9930ea5b5d7037a6a132aedd1b4332bf773788d61f52d3\",\"license\":\"AGPL-3.0\"},\"contracts/assetListing/interfaces/IERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity 0.6.12;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\n * From https://github.com/OpenZeppelin/openzeppelin-contracts\\n */\\ninterface IERC20 {\\n /**\\n * @dev Returns the amount of tokens in existence.\\n */\\n function totalSupply() external view returns (uint256);\\n\\n /**\\n * @dev Returns the amount of tokens owned by `account`.\\n */\\n function balanceOf(address account) external view returns (uint256);\\n\\n /**\\n * @dev Moves `amount` tokens from the caller's account to `recipient`.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transfer(address recipient, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Returns the remaining number of tokens that `spender` will be\\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\\n * zero by default.\\n *\\n * This value changes when {approve} or {transferFrom} are called.\\n */\\n function allowance(address owner, address spender) external view returns (uint256);\\n\\n /**\\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\\n * that someone may use both the old and the new allowance by unfortunate\\n * transaction ordering. One possible solution to mitigate this race\\n * condition is to first reduce the spender's allowance to 0 and set the\\n * desired value afterwards:\\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n *\\n * Emits an {Approval} event.\\n */\\n function approve(address spender, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Moves `amount` tokens from `sender` to `recipient` using the\\n * allowance mechanism. `amount` is then deducted from the caller's\\n * allowance.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transferFrom(\\n address sender,\\n address recipient,\\n uint256 amount\\n ) external returns (bool);\\n\\n /**\\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n * another (`to`).\\n *\\n * Note that `value` may be zero.\\n */\\n event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n /**\\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n * a call to {approve}. `value` is the new allowance.\\n */\\n event Approval(address indexed owner, address indexed spender, uint256 value);\\n}\\n\",\"keccak256\":\"0x7ad740cacecc3591336815c8831c588f8b939e01864cba4fb00f25f2dbb559b0\",\"license\":\"MIT\"},\"contracts/assetListing/interfaces/ILendingPoolAddressesProvider.sol\":{\"content\":\"// SPDX-License-Identifier: agpl-3.0\\npragma solidity 0.6.12;\\n\\n/**\\n * @title LendingPoolAddressesProvider contract\\n * @dev Main registry of addresses part of or connected to the protocol, including permissioned roles\\n * - Acting also as factory of proxies and admin of those, so with right to change its implementations\\n * - Owned by the Aave Governance\\n * @author Aave\\n **/\\ninterface ILendingPoolAddressesProvider {\\n event MarketIdSet(string newMarketId);\\n event LendingPoolUpdated(address indexed newAddress);\\n event ConfigurationAdminUpdated(address indexed newAddress);\\n event EmergencyAdminUpdated(address indexed newAddress);\\n event LendingPoolConfiguratorUpdated(address indexed newAddress);\\n event LendingPoolCollateralManagerUpdated(address indexed newAddress);\\n event PriceOracleUpdated(address indexed newAddress);\\n event LendingRateOracleUpdated(address indexed newAddress);\\n event ProxyCreated(bytes32 id, address indexed newAddress);\\n event AddressSet(bytes32 id, address indexed newAddress, bool hasProxy);\\n\\n function getMarketId() external view returns (string memory);\\n\\n function setMarketId(string calldata marketId) external;\\n\\n function setAddress(bytes32 id, address newAddress) external;\\n\\n function setAddressAsProxy(bytes32 id, address impl) external;\\n\\n function getAddress(bytes32 id) external view returns (address);\\n\\n function getLendingPool() external view returns (address);\\n\\n function setLendingPoolImpl(address pool) external;\\n\\n function getLendingPoolConfigurator() external view returns (address);\\n\\n function setLendingPoolConfiguratorImpl(address configurator) external;\\n\\n function getLendingPoolCollateralManager() external view returns (address);\\n\\n function setLendingPoolCollateralManager(address manager) external;\\n\\n function getPoolAdmin() external view returns (address);\\n\\n function setPoolAdmin(address admin) external;\\n\\n function getEmergencyAdmin() external view returns (address);\\n\\n function setEmergencyAdmin(address admin) external;\\n\\n function getPriceOracle() external view returns (address);\\n\\n function setPriceOracle(address priceOracle) external;\\n\\n function getLendingRateOracle() external view returns (address);\\n\\n function setLendingRateOracle(address lendingRateOracle) external;\\n}\\n\",\"keccak256\":\"0xcb0e2c4c19c0bde86907b6ab45b6a1db4932d3642fc51410d56c9411a65b9f1d\",\"license\":\"agpl-3.0\"},\"contracts/assetListing/interfaces/ILendingPoolConfiguratorV2.sol\":{\"content\":\"// SPDX-License-Identifier: AGPL-3.0\\npragma solidity 0.6.12;\\n\\ninterface ILendingPoolConfiguratorV2 {\\n /**\\n * @dev Initializes a reserve\\n * @param aTokenImpl The address of the aToken contract implementation\\n * @param stableDebtTokenImpl The address of the stable debt token contract\\n * @param variableDebtTokenImpl The address of the variable debt token contract\\n * @param underlyingAssetDecimals The decimals of the reserve underlying asset\\n * @param interestRateStrategyAddress The address of the interest rate strategy contract for this reserve\\n **/\\n function initReserve(\\n address aTokenImpl,\\n address stableDebtTokenImpl,\\n address variableDebtTokenImpl,\\n uint8 underlyingAssetDecimals,\\n address interestRateStrategyAddress\\n ) external;\\n\\n /**\\n * @dev Configures the reserve collateralization parameters\\n * all the values are expressed in percentages with two decimals of precision. A valid value is 10000, which means 100.00%\\n * @param asset The address of the underlying asset of the reserve\\n * @param ltv The loan to value of the asset when used as collateral\\n * @param liquidationThreshold The threshold at which loans using this asset as collateral will be considered undercollateralized\\n * @param liquidationBonus The bonus liquidators receive to liquidate this asset. The values is always above 100%. A value of 105%\\n * means the liquidator will receive a 5% bonus\\n **/\\n function configureReserveAsCollateral(\\n address asset,\\n uint256 ltv,\\n uint256 liquidationThreshold,\\n uint256 liquidationBonus\\n ) external;\\n\\n /**\\n * @dev Enables borrowing on a reserve\\n * @param asset The address of the underlying asset of the reserve\\n * @param stableBorrowRateEnabled True if stable borrow rate needs to be enabled by default on this reserve\\n **/\\n function enableBorrowingOnReserve(address asset, bool stableBorrowRateEnabled) external;\\n\\n /**\\n * @dev Updates the reserve factor of a reserve\\n * @param asset The address of the underlying asset of the reserve\\n * @param reserveFactor The new reserve factor of the reserve\\n **/\\n function setReserveFactor(address asset, uint256 reserveFactor) external;\\n}\\n\",\"keccak256\":\"0xfcaf57f45ef2e526939f63352b900ca2b2ed850f24c16b8a77fc0d71d0dfcb0a\",\"license\":\"AGPL-3.0\"},\"contracts/assetListing/interfaces/IOverlyingAsset.sol\":{\"content\":\"// SPDX-License-Identifier: AGPL-3.0\\npragma solidity 0.6.12;\\n\\ninterface IOverlyingAsset {\\n function UNDERLYING_ASSET_ADDRESS() external view returns (address);\\n}\\n\",\"keccak256\":\"0x2a4d2c57be60d9a2726ca9e055fdb4bef92d5c406e3634c03f2c94e728f50dc0\",\"license\":\"AGPL-3.0\"},\"contracts/assetListing/interfaces/IProposalGenericExecutor.sol\":{\"content\":\"// SPDX-License-Identifier: AGPL-3.0\\npragma solidity 0.6.12;\\n\\ninterface IProposalGenericExecutor {\\n function execute(\\n address token,\\n address aToken,\\n address stableDebtToken,\\n address variablDebtToken,\\n address interestStrategy,\\n uint256 ltv,\\n uint256 liquidationThreshold,\\n uint256 liquidationBonus,\\n uint256 reserveFactor,\\n uint8 decimals,\\n bool enableBorrow,\\n bool enableBorrowOnReserve,\\n bool enableAsCollateral\\n ) external;\\n}\",\"keccak256\":\"0x989e228fcd3f788c2a91747c03a56df19915296dc14492a4ab69e028f4ec990a\",\"license\":\"AGPL-3.0\"}},\"version\":1}", + "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[],\"name\":\"ProposalExecuted\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"LENDING_POOL_ADDRESSES_PROVIDER\",\"outputs\":[{\"internalType\":\"contract ILendingPoolAddressesProvider\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"aToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"stableDebtToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"variablDebtToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"interestStrategy\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"ltv\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidationThreshold\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidationBonus\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveFactor\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"decimals\",\"type\":\"uint8\"},{\"internalType\":\"bool\",\"name\":\"enableBorrow\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"enableStableBorrow\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"enableAsCollateral\",\"type\":\"bool\"}],\"name\":\"execute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"Aave*\",\"kind\":\"dev\",\"methods\":{\"execute(address,address,address,address,address,uint256,uint256,uint256,uint256,uint8,bool,bool,bool)\":{\"details\":\"Payload execution function, called once a proposal passed in the Aave governance\"}},\"title\":\"AssetListingProposalGenericExecutor\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Proposal payload to be executed by the Aave Governance contract via DELEGATECALL\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/assetListing/AssetListingProposalGenericExecutor.sol\":\"AssetListingProposalGenericExecutor\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/assetListing/AssetListingProposalGenericExecutor.sol\":{\"content\":\"// SPDX-License-Identifier: AGPL-3.0\\npragma solidity 0.6.12;\\n\\nimport {IERC20} from './interfaces/IERC20.sol';\\nimport {ILendingPoolConfiguratorV2} from './interfaces/ILendingPoolConfiguratorV2.sol';\\nimport {IProposalGenericExecutor} from './interfaces/IProposalGenericExecutor.sol';\\nimport {IOverlyingAsset} from './interfaces/IOverlyingAsset.sol';\\nimport {ILendingPoolAddressesProvider} from './interfaces/ILendingPoolAddressesProvider.sol';\\n/**\\n * @title AssetListingProposalGenericExecutor\\n * @notice Proposal payload to be executed by the Aave Governance contract via DELEGATECALL\\n * @author Aave\\n **/\\ncontract AssetListingProposalGenericExecutor is IProposalGenericExecutor {\\n event ProposalExecuted();\\n\\n ILendingPoolAddressesProvider public constant LENDING_POOL_ADDRESSES_PROVIDER = \\n ILendingPoolAddressesProvider(0xB53C1a33016B2DC2fF3653530bfF1848a515c8c5);\\n /**\\n * @dev Payload execution function, called once a proposal passed in the Aave governance\\n */\\n function execute(\\n address token,\\n address aToken,\\n address stableDebtToken,\\n address variablDebtToken,\\n address interestStrategy,\\n uint256 ltv,\\n uint256 liquidationThreshold,\\n uint256 liquidationBonus,\\n uint256 reserveFactor,\\n uint8 decimals,\\n bool enableBorrow,\\n bool enableStableBorrow,\\n bool enableAsCollateral\\n ) external override {\\n ILendingPoolConfiguratorV2 LENDING_POOL_CONFIGURATOR_V2 =\\n ILendingPoolConfiguratorV2(LENDING_POOL_ADDRESSES_PROVIDER.getLendingPoolConfigurator());\\n require(\\n token == IOverlyingAsset(aToken).UNDERLYING_ASSET_ADDRESS(),\\n 'ATOKEN: WRONG_UNDERLYING_TOKEN'\\n );\\n require(\\n token == IOverlyingAsset(stableDebtToken).UNDERLYING_ASSET_ADDRESS(),\\n 'STABLE_DEBT: WRONG_UNDERLYING_TOKEN'\\n );\\n require(\\n token == IOverlyingAsset(variablDebtToken).UNDERLYING_ASSET_ADDRESS(),\\n 'VARIABLE_DEBT: WRONG_UNDERLYING_TOKEN'\\n );\\n LENDING_POOL_CONFIGURATOR_V2.initReserve(\\n aToken,\\n stableDebtToken,\\n variablDebtToken,\\n decimals,\\n interestStrategy\\n );\\n if (enableBorrow) {\\n LENDING_POOL_CONFIGURATOR_V2.enableBorrowingOnReserve(token, enableStableBorrow);\\n }\\n LENDING_POOL_CONFIGURATOR_V2.setReserveFactor(token, reserveFactor);\\n if (enableAsCollateral) {\\n LENDING_POOL_CONFIGURATOR_V2.configureReserveAsCollateral(\\n token,\\n ltv,\\n liquidationThreshold,\\n liquidationBonus\\n );\\n }\\n\\n emit ProposalExecuted();\\n }\\n}\\n\",\"keccak256\":\"0x6235dc9fec35174fcb9930ea5b5d7037a6a132aedd1b4332bf773788d61f52d3\",\"license\":\"AGPL-3.0\"},\"contracts/assetListing/interfaces/IERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity 0.6.12;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\n * From https://github.com/OpenZeppelin/openzeppelin-contracts\\n */\\ninterface IERC20 {\\n /**\\n * @dev Returns the amount of tokens in existence.\\n */\\n function totalSupply() external view returns (uint256);\\n\\n /**\\n * @dev Returns the amount of tokens owned by `account`.\\n */\\n function balanceOf(address account) external view returns (uint256);\\n\\n /**\\n * @dev Moves `amount` tokens from the caller's account to `recipient`.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transfer(address recipient, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Returns the remaining number of tokens that `spender` will be\\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\\n * zero by default.\\n *\\n * This value changes when {approve} or {transferFrom} are called.\\n */\\n function allowance(address owner, address spender) external view returns (uint256);\\n\\n /**\\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\\n * that someone may use both the old and the new allowance by unfortunate\\n * transaction ordering. One possible solution to mitigate this race\\n * condition is to first reduce the spender's allowance to 0 and set the\\n * desired value afterwards:\\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n *\\n * Emits an {Approval} event.\\n */\\n function approve(address spender, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Moves `amount` tokens from `sender` to `recipient` using the\\n * allowance mechanism. `amount` is then deducted from the caller's\\n * allowance.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transferFrom(\\n address sender,\\n address recipient,\\n uint256 amount\\n ) external returns (bool);\\n\\n function decimals() external view returns (uint8);\\n\\n /**\\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n * another (`to`).\\n *\\n * Note that `value` may be zero.\\n */\\n event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n /**\\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n * a call to {approve}. `value` is the new allowance.\\n */\\n event Approval(address indexed owner, address indexed spender, uint256 value);\\n}\\n\",\"keccak256\":\"0x015be41ca78e3214be72344d8d16163daab2cae76d1159bedeebd951105f6f9b\",\"license\":\"MIT\"},\"contracts/assetListing/interfaces/ILendingPoolAddressesProvider.sol\":{\"content\":\"// SPDX-License-Identifier: agpl-3.0\\npragma solidity 0.6.12;\\n\\n/**\\n * @title LendingPoolAddressesProvider contract\\n * @dev Main registry of addresses part of or connected to the protocol, including permissioned roles\\n * - Acting also as factory of proxies and admin of those, so with right to change its implementations\\n * - Owned by the Aave Governance\\n * @author Aave\\n **/\\ninterface ILendingPoolAddressesProvider {\\n event MarketIdSet(string newMarketId);\\n event LendingPoolUpdated(address indexed newAddress);\\n event ConfigurationAdminUpdated(address indexed newAddress);\\n event EmergencyAdminUpdated(address indexed newAddress);\\n event LendingPoolConfiguratorUpdated(address indexed newAddress);\\n event LendingPoolCollateralManagerUpdated(address indexed newAddress);\\n event PriceOracleUpdated(address indexed newAddress);\\n event LendingRateOracleUpdated(address indexed newAddress);\\n event ProxyCreated(bytes32 id, address indexed newAddress);\\n event AddressSet(bytes32 id, address indexed newAddress, bool hasProxy);\\n\\n function getMarketId() external view returns (string memory);\\n\\n function setMarketId(string calldata marketId) external;\\n\\n function setAddress(bytes32 id, address newAddress) external;\\n\\n function setAddressAsProxy(bytes32 id, address impl) external;\\n\\n function getAddress(bytes32 id) external view returns (address);\\n\\n function getLendingPool() external view returns (address);\\n\\n function setLendingPoolImpl(address pool) external;\\n\\n function getLendingPoolConfigurator() external view returns (address);\\n\\n function setLendingPoolConfiguratorImpl(address configurator) external;\\n\\n function getLendingPoolCollateralManager() external view returns (address);\\n\\n function setLendingPoolCollateralManager(address manager) external;\\n\\n function getPoolAdmin() external view returns (address);\\n\\n function setPoolAdmin(address admin) external;\\n\\n function getEmergencyAdmin() external view returns (address);\\n\\n function setEmergencyAdmin(address admin) external;\\n\\n function getPriceOracle() external view returns (address);\\n\\n function setPriceOracle(address priceOracle) external;\\n\\n function getLendingRateOracle() external view returns (address);\\n\\n function setLendingRateOracle(address lendingRateOracle) external;\\n}\\n\",\"keccak256\":\"0xcb0e2c4c19c0bde86907b6ab45b6a1db4932d3642fc51410d56c9411a65b9f1d\",\"license\":\"agpl-3.0\"},\"contracts/assetListing/interfaces/ILendingPoolConfiguratorV2.sol\":{\"content\":\"// SPDX-License-Identifier: AGPL-3.0\\npragma solidity 0.6.12;\\n\\ninterface ILendingPoolConfiguratorV2 {\\n /**\\n * @dev Initializes a reserve\\n * @param aTokenImpl The address of the aToken contract implementation\\n * @param stableDebtTokenImpl The address of the stable debt token contract\\n * @param variableDebtTokenImpl The address of the variable debt token contract\\n * @param underlyingAssetDecimals The decimals of the reserve underlying asset\\n * @param interestRateStrategyAddress The address of the interest rate strategy contract for this reserve\\n **/\\n function initReserve(\\n address aTokenImpl,\\n address stableDebtTokenImpl,\\n address variableDebtTokenImpl,\\n uint8 underlyingAssetDecimals,\\n address interestRateStrategyAddress\\n ) external;\\n\\n /**\\n * @dev Configures the reserve collateralization parameters\\n * all the values are expressed in percentages with two decimals of precision. A valid value is 10000, which means 100.00%\\n * @param asset The address of the underlying asset of the reserve\\n * @param ltv The loan to value of the asset when used as collateral\\n * @param liquidationThreshold The threshold at which loans using this asset as collateral will be considered undercollateralized\\n * @param liquidationBonus The bonus liquidators receive to liquidate this asset. The values is always above 100%. A value of 105%\\n * means the liquidator will receive a 5% bonus\\n **/\\n function configureReserveAsCollateral(\\n address asset,\\n uint256 ltv,\\n uint256 liquidationThreshold,\\n uint256 liquidationBonus\\n ) external;\\n\\n /**\\n * @dev Enables borrowing on a reserve\\n * @param asset The address of the underlying asset of the reserve\\n * @param stableBorrowRateEnabled True if stable borrow rate needs to be enabled by default on this reserve\\n **/\\n function enableBorrowingOnReserve(address asset, bool stableBorrowRateEnabled) external;\\n\\n /**\\n * @dev Updates the reserve factor of a reserve\\n * @param asset The address of the underlying asset of the reserve\\n * @param reserveFactor The new reserve factor of the reserve\\n **/\\n function setReserveFactor(address asset, uint256 reserveFactor) external;\\n}\\n\",\"keccak256\":\"0xfcaf57f45ef2e526939f63352b900ca2b2ed850f24c16b8a77fc0d71d0dfcb0a\",\"license\":\"AGPL-3.0\"},\"contracts/assetListing/interfaces/IOverlyingAsset.sol\":{\"content\":\"// SPDX-License-Identifier: AGPL-3.0\\npragma solidity 0.6.12;\\n\\ninterface IOverlyingAsset {\\n function UNDERLYING_ASSET_ADDRESS() external view returns (address);\\n}\\n\",\"keccak256\":\"0x2a4d2c57be60d9a2726ca9e055fdb4bef92d5c406e3634c03f2c94e728f50dc0\",\"license\":\"AGPL-3.0\"},\"contracts/assetListing/interfaces/IProposalGenericExecutor.sol\":{\"content\":\"// SPDX-License-Identifier: AGPL-3.0\\npragma solidity 0.6.12;\\n\\ninterface IProposalGenericExecutor {\\n function execute(\\n address token,\\n address aToken,\\n address stableDebtToken,\\n address variablDebtToken,\\n address interestStrategy,\\n uint256 ltv,\\n uint256 liquidationThreshold,\\n uint256 liquidationBonus,\\n uint256 reserveFactor,\\n uint8 decimals,\\n bool enableBorrow,\\n bool enableBorrowOnReserve,\\n bool enableAsCollateral\\n ) external;\\n}\",\"keccak256\":\"0x989e228fcd3f788c2a91747c03a56df19915296dc14492a4ab69e028f4ec990a\",\"license\":\"AGPL-3.0\"}},\"version\":1}", "storageLayout": { "storage": [], "types": null @@ -332,6 +332,19 @@ "stateMutability": "view", "type": "function" }, + { + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [], "name": "totalSupply", @@ -451,12 +464,13 @@ "allowance(address,address)": "dd62ed3e", "approve(address,uint256)": "095ea7b3", "balanceOf(address)": "70a08231", + "decimals()": "313ce567", "totalSupply()": "18160ddd", "transfer(address,uint256)": "a9059cbb", "transferFrom(address,address,uint256)": "23b872dd" } }, - "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"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\"},{\"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\":[],\"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\"}],\"devdoc\":{\"details\":\"Interface of the ERC20 standard as defined in the EIP. From https://github.com/OpenZeppelin/openzeppelin-contracts\",\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero.\"}},\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"details\":\"Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default. This value changes when {approve} or {transferFrom} are called.\"},\"approve(address,uint256)\":{\"details\":\"Sets `amount` as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the amount of tokens owned by `account`.\"},\"totalSupply()\":{\"details\":\"Returns the amount of tokens in existence.\"},\"transfer(address,uint256)\":{\"details\":\"Moves `amount` tokens from the caller's account to `recipient`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Moves `amount` tokens from `sender` to `recipient` using the allowance mechanism. `amount` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/assetListing/interfaces/IERC20.sol\":\"IERC20\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/assetListing/interfaces/IERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity 0.6.12;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\n * From https://github.com/OpenZeppelin/openzeppelin-contracts\\n */\\ninterface IERC20 {\\n /**\\n * @dev Returns the amount of tokens in existence.\\n */\\n function totalSupply() external view returns (uint256);\\n\\n /**\\n * @dev Returns the amount of tokens owned by `account`.\\n */\\n function balanceOf(address account) external view returns (uint256);\\n\\n /**\\n * @dev Moves `amount` tokens from the caller's account to `recipient`.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transfer(address recipient, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Returns the remaining number of tokens that `spender` will be\\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\\n * zero by default.\\n *\\n * This value changes when {approve} or {transferFrom} are called.\\n */\\n function allowance(address owner, address spender) external view returns (uint256);\\n\\n /**\\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\\n * that someone may use both the old and the new allowance by unfortunate\\n * transaction ordering. One possible solution to mitigate this race\\n * condition is to first reduce the spender's allowance to 0 and set the\\n * desired value afterwards:\\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n *\\n * Emits an {Approval} event.\\n */\\n function approve(address spender, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Moves `amount` tokens from `sender` to `recipient` using the\\n * allowance mechanism. `amount` is then deducted from the caller's\\n * allowance.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transferFrom(\\n address sender,\\n address recipient,\\n uint256 amount\\n ) external returns (bool);\\n\\n /**\\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n * another (`to`).\\n *\\n * Note that `value` may be zero.\\n */\\n event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n /**\\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n * a call to {approve}. `value` is the new allowance.\\n */\\n event Approval(address indexed owner, address indexed spender, uint256 value);\\n}\\n\",\"keccak256\":\"0x7ad740cacecc3591336815c8831c588f8b939e01864cba4fb00f25f2dbb559b0\",\"license\":\"MIT\"}},\"version\":1}", + "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"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\"},{\"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\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"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\"}],\"devdoc\":{\"details\":\"Interface of the ERC20 standard as defined in the EIP. From https://github.com/OpenZeppelin/openzeppelin-contracts\",\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero.\"}},\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"details\":\"Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default. This value changes when {approve} or {transferFrom} are called.\"},\"approve(address,uint256)\":{\"details\":\"Sets `amount` as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the amount of tokens owned by `account`.\"},\"totalSupply()\":{\"details\":\"Returns the amount of tokens in existence.\"},\"transfer(address,uint256)\":{\"details\":\"Moves `amount` tokens from the caller's account to `recipient`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Moves `amount` tokens from `sender` to `recipient` using the allowance mechanism. `amount` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/assetListing/interfaces/IERC20.sol\":\"IERC20\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/assetListing/interfaces/IERC20.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity 0.6.12;\\n\\n/**\\n * @dev Interface of the ERC20 standard as defined in the EIP.\\n * From https://github.com/OpenZeppelin/openzeppelin-contracts\\n */\\ninterface IERC20 {\\n /**\\n * @dev Returns the amount of tokens in existence.\\n */\\n function totalSupply() external view returns (uint256);\\n\\n /**\\n * @dev Returns the amount of tokens owned by `account`.\\n */\\n function balanceOf(address account) external view returns (uint256);\\n\\n /**\\n * @dev Moves `amount` tokens from the caller's account to `recipient`.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transfer(address recipient, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Returns the remaining number of tokens that `spender` will be\\n * allowed to spend on behalf of `owner` through {transferFrom}. This is\\n * zero by default.\\n *\\n * This value changes when {approve} or {transferFrom} are called.\\n */\\n function allowance(address owner, address spender) external view returns (uint256);\\n\\n /**\\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * IMPORTANT: Beware that changing an allowance with this method brings the risk\\n * that someone may use both the old and the new allowance by unfortunate\\n * transaction ordering. One possible solution to mitigate this race\\n * condition is to first reduce the spender's allowance to 0 and set the\\n * desired value afterwards:\\n * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\\n *\\n * Emits an {Approval} event.\\n */\\n function approve(address spender, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Moves `amount` tokens from `sender` to `recipient` using the\\n * allowance mechanism. `amount` is then deducted from the caller's\\n * allowance.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transferFrom(\\n address sender,\\n address recipient,\\n uint256 amount\\n ) external returns (bool);\\n\\n function decimals() external view returns (uint8);\\n\\n /**\\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n * another (`to`).\\n *\\n * Note that `value` may be zero.\\n */\\n event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n /**\\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n * a call to {approve}. `value` is the new allowance.\\n */\\n event Approval(address indexed owner, address indexed spender, uint256 value);\\n}\\n\",\"keccak256\":\"0x015be41ca78e3214be72344d8d16163daab2cae76d1159bedeebd951105f6f9b\",\"license\":\"MIT\"}},\"version\":1}", "storageLayout": { "storage": [], "types": null @@ -2686,7 +2700,7 @@ "id": 3, "nodeType": "ImportDirective", "scope": 138, - "sourceUnit": 216, + "sourceUnit": 221, "src": "62:47:0", "symbolAliases": [ { @@ -2714,7 +2728,7 @@ "id": 5, "nodeType": "ImportDirective", "scope": 138, - "sourceUnit": 787, + "sourceUnit": 792, "src": "110:87:0", "symbolAliases": [ { @@ -2742,7 +2756,7 @@ "id": 7, "nodeType": "ImportDirective", "scope": 138, - "sourceUnit": 827, + "sourceUnit": 832, "src": "198:83:0", "symbolAliases": [ { @@ -2770,7 +2784,7 @@ "id": 9, "nodeType": "ImportDirective", "scope": 138, - "sourceUnit": 795, + "sourceUnit": 800, "src": "282:65:0", "symbolAliases": [ { @@ -2798,7 +2812,7 @@ "id": 11, "nodeType": "ImportDirective", "scope": 138, - "sourceUnit": 742, + "sourceUnit": 747, "src": "348:93:0", "symbolAliases": [ { @@ -2830,10 +2844,10 @@ "id": 13, "name": "IProposalGenericExecutor", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 826, + "referencedDeclaration": 831, "src": "653:24:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IProposalGenericExecutor_$826", + "typeIdentifier": "t_contract$_IProposalGenericExecutor_$831", "typeString": "contract IProposalGenericExecutor" } }, @@ -2843,7 +2857,7 @@ } ], "contractDependencies": [ - 826 + 831 ], "contractKind": "contract", "documentation": { @@ -2856,7 +2870,7 @@ "id": 137, "linearizedBaseContracts": [ 137, - 826 + 831 ], "name": "AssetListingProposalGenericExecutor", "nodeType": "ContractDefinition", @@ -2888,7 +2902,7 @@ "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_ILendingPoolAddressesProvider_$741", + "typeIdentifier": "t_contract$_ILendingPoolAddressesProvider_$746", "typeString": "contract ILendingPoolAddressesProvider" }, "typeName": { @@ -2896,10 +2910,10 @@ "id": 17, "name": "ILendingPoolAddressesProvider", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 741, + "referencedDeclaration": 746, "src": "711:29:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_ILendingPoolAddressesProvider_$741", + "typeIdentifier": "t_contract$_ILendingPoolAddressesProvider_$746", "typeString": "contract ILendingPoolAddressesProvider" } }, @@ -2936,10 +2950,10 @@ "name": "ILendingPoolAddressesProvider", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 741, + "referencedDeclaration": 746, "src": "796:29:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ILendingPoolAddressesProvider_$741_$", + "typeIdentifier": "t_type$_t_contract$_ILendingPoolAddressesProvider_$746_$", "typeString": "type(contract ILendingPoolAddressesProvider)" } }, @@ -2954,7 +2968,7 @@ "src": "796:73:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_ILendingPoolAddressesProvider_$741", + "typeIdentifier": "t_contract$_ILendingPoolAddressesProvider_$746", "typeString": "contract ILendingPoolAddressesProvider" } }, @@ -2962,7 +2976,7 @@ }, { "baseFunctions": [ - 825 + 830 ], "body": { "id": 135, @@ -2986,7 +3000,7 @@ "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_ILendingPoolConfiguratorV2_$786", + "typeIdentifier": "t_contract$_ILendingPoolConfiguratorV2_$791", "typeString": "contract ILendingPoolConfiguratorV2" }, "typeName": { @@ -2994,10 +3008,10 @@ "id": 52, "name": "ILendingPoolConfiguratorV2", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 786, + "referencedDeclaration": 791, "src": "1358:26:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_ILendingPoolConfiguratorV2_$786", + "typeIdentifier": "t_contract$_ILendingPoolConfiguratorV2_$791", "typeString": "contract ILendingPoolConfiguratorV2" } }, @@ -3023,7 +3037,7 @@ "referencedDeclaration": 21, "src": "1449:31:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_ILendingPoolAddressesProvider_$741", + "typeIdentifier": "t_contract$_ILendingPoolAddressesProvider_$746", "typeString": "contract ILendingPoolAddressesProvider" } }, @@ -3034,7 +3048,7 @@ "lValueRequested": false, "memberName": "getLendingPoolConfigurator", "nodeType": "MemberAccess", - "referencedDeclaration": 685, + "referencedDeclaration": 690, "src": "1449:58:0", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", @@ -3068,10 +3082,10 @@ "name": "ILendingPoolConfiguratorV2", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 786, + "referencedDeclaration": 791, "src": "1422:26:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ILendingPoolConfiguratorV2_$786_$", + "typeIdentifier": "t_type$_t_contract$_ILendingPoolConfiguratorV2_$791_$", "typeString": "type(contract ILendingPoolConfiguratorV2)" } }, @@ -3086,7 +3100,7 @@ "src": "1422:88:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_ILendingPoolConfiguratorV2_$786", + "typeIdentifier": "t_contract$_ILendingPoolConfiguratorV2_$791", "typeString": "contract ILendingPoolConfiguratorV2" } }, @@ -3156,10 +3170,10 @@ "name": "IOverlyingAsset", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 794, + "referencedDeclaration": 799, "src": "1540:15:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IOverlyingAsset_$794_$", + "typeIdentifier": "t_type$_t_contract$_IOverlyingAsset_$799_$", "typeString": "type(contract IOverlyingAsset)" } }, @@ -3174,7 +3188,7 @@ "src": "1540:23:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_IOverlyingAsset_$794", + "typeIdentifier": "t_contract$_IOverlyingAsset_$799", "typeString": "contract IOverlyingAsset" } }, @@ -3185,7 +3199,7 @@ "lValueRequested": false, "memberName": "UNDERLYING_ASSET_ADDRESS", "nodeType": "MemberAccess", - "referencedDeclaration": 793, + "referencedDeclaration": 798, "src": "1540:48:0", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", @@ -3339,10 +3353,10 @@ "name": "IOverlyingAsset", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 794, + "referencedDeclaration": 799, "src": "1666:15:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IOverlyingAsset_$794_$", + "typeIdentifier": "t_type$_t_contract$_IOverlyingAsset_$799_$", "typeString": "type(contract IOverlyingAsset)" } }, @@ -3357,7 +3371,7 @@ "src": "1666:32:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_IOverlyingAsset_$794", + "typeIdentifier": "t_contract$_IOverlyingAsset_$799", "typeString": "contract IOverlyingAsset" } }, @@ -3368,7 +3382,7 @@ "lValueRequested": false, "memberName": "UNDERLYING_ASSET_ADDRESS", "nodeType": "MemberAccess", - "referencedDeclaration": 793, + "referencedDeclaration": 798, "src": "1666:57:0", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", @@ -3522,10 +3536,10 @@ "name": "IOverlyingAsset", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 794, + "referencedDeclaration": 799, "src": "1806:15:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IOverlyingAsset_$794_$", + "typeIdentifier": "t_type$_t_contract$_IOverlyingAsset_$799_$", "typeString": "type(contract IOverlyingAsset)" } }, @@ -3540,7 +3554,7 @@ "src": "1806:33:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_IOverlyingAsset_$794", + "typeIdentifier": "t_contract$_IOverlyingAsset_$799", "typeString": "contract IOverlyingAsset" } }, @@ -3551,7 +3565,7 @@ "lValueRequested": false, "memberName": "UNDERLYING_ASSET_ADDRESS", "nodeType": "MemberAccess", - "referencedDeclaration": 793, + "referencedDeclaration": 798, "src": "1806:58:0", "typeDescriptions": { "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", @@ -3744,7 +3758,7 @@ "referencedDeclaration": 53, "src": "1925:28:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_ILendingPoolConfiguratorV2_$786", + "typeIdentifier": "t_contract$_ILendingPoolConfiguratorV2_$791", "typeString": "contract ILendingPoolConfiguratorV2" } }, @@ -3755,7 +3769,7 @@ "lValueRequested": false, "memberName": "initReserve", "nodeType": "MemberAccess", - "referencedDeclaration": 757, + "referencedDeclaration": 762, "src": "1925:40:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_address_$_t_uint8_$_t_address_$returns$__$", @@ -3855,7 +3869,7 @@ "referencedDeclaration": 53, "src": "2104:28:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_ILendingPoolConfiguratorV2_$786", + "typeIdentifier": "t_contract$_ILendingPoolConfiguratorV2_$791", "typeString": "contract ILendingPoolConfiguratorV2" } }, @@ -3866,7 +3880,7 @@ "lValueRequested": false, "memberName": "enableBorrowingOnReserve", "nodeType": "MemberAccess", - "referencedDeclaration": 777, + "referencedDeclaration": 782, "src": "2104:53:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_bool_$returns$__$", @@ -3946,7 +3960,7 @@ "referencedDeclaration": 53, "src": "2196:28:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_ILendingPoolConfiguratorV2_$786", + "typeIdentifier": "t_contract$_ILendingPoolConfiguratorV2_$791", "typeString": "contract ILendingPoolConfiguratorV2" } }, @@ -3957,7 +3971,7 @@ "lValueRequested": false, "memberName": "setReserveFactor", "nodeType": "MemberAccess", - "referencedDeclaration": 785, + "referencedDeclaration": 790, "src": "2196:45:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", @@ -4091,7 +4105,7 @@ "referencedDeclaration": 53, "src": "2301:28:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_ILendingPoolConfiguratorV2_$786", + "typeIdentifier": "t_contract$_ILendingPoolConfiguratorV2_$791", "typeString": "contract ILendingPoolConfiguratorV2" } }, @@ -4102,7 +4116,7 @@ "lValueRequested": false, "memberName": "configureReserveAsCollateral", "nodeType": "MemberAccess", - "referencedDeclaration": 769, + "referencedDeclaration": 774, "src": "2301:57:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$_t_uint256_$_t_uint256_$returns$__$", @@ -4590,10 +4604,10 @@ "absolutePath": "contracts/assetListing/interfaces/IERC20.sol", "exportedSymbols": { "IERC20": [ - 215 + 220 ] }, - "id": 216, + "id": 221, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ @@ -4619,9 +4633,9 @@ "text": " @dev Interface of the ERC20 standard as defined in the EIP.\n From https://github.com/OpenZeppelin/openzeppelin-contracts" }, "fullyImplemented": false, - "id": 215, + "id": 220, "linearizedBaseContracts": [ - 215 + 220 ], "name": "IERC20", "nodeType": "ContractDefinition", @@ -4683,7 +4697,7 @@ ], "src": "322:9:1" }, - "scope": 215, + "scope": 220, "src": "277:55:1", "stateMutability": "view", "virtual": false, @@ -4776,7 +4790,7 @@ ], "src": "465:9:1" }, - "scope": 215, + "scope": 220, "src": "407:68:1", "stateMutability": "view", "virtual": false, @@ -4897,7 +4911,7 @@ ], "src": "749:6:1" }, - "scope": 215, + "scope": 220, "src": "679:77:1", "stateMutability": "nonpayable", "virtual": false, @@ -5019,7 +5033,7 @@ ], "src": "1088:9:1" }, - "scope": 215, + "scope": 220, "src": "1015:83:1", "stateMutability": "view", "virtual": false, @@ -5140,7 +5154,7 @@ ], "src": "1788:6:1" }, - "scope": 215, + "scope": 220, "src": "1721:74:1", "stateMutability": "nonpayable", "virtual": false, @@ -5290,37 +5304,95 @@ ], "src": "2188:6:1" }, - "scope": 215, + "scope": 220, "src": "2082:113:1", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, + { + "body": null, + "documentation": null, + "functionSelector": "313ce567", + "id": 201, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "decimals", + "nodeType": "FunctionDefinition", + "overrides": null, + "parameters": { + "id": 197, + "nodeType": "ParameterList", + "parameters": [], + "src": "2216:2:1" + }, + "returnParameters": { + "id": 200, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 199, + "mutability": "mutable", + "name": "", + "nodeType": "VariableDeclaration", + "overrides": null, + "scope": 201, + "src": "2242:5:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + }, + "typeName": { + "id": 198, + "name": "uint8", + "nodeType": "ElementaryTypeName", + "src": "2242:5:1", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + }, + "value": null, + "visibility": "internal" + } + ], + "src": "2241:7:1" + }, + "scope": 220, + "src": "2199:50:1", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, { "anonymous": false, "documentation": { - "id": 197, + "id": 202, "nodeType": "StructuredDocumentation", - "src": "2199:148:1", + "src": "2253:148:1", "text": " @dev Emitted when `value` tokens are moved from one account (`from`) to\n another (`to`).\n Note that `value` may be zero." }, - "id": 205, + "id": 210, "name": "Transfer", "nodeType": "EventDefinition", "parameters": { - "id": 204, + "id": 209, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 199, + "id": 204, "indexed": true, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 205, - "src": "2365:20:1", + "scope": 210, + "src": "2419:20:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5328,10 +5400,10 @@ "typeString": "address" }, "typeName": { - "id": 198, + "id": 203, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2365:7:1", + "src": "2419:7:1", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -5343,14 +5415,14 @@ }, { "constant": false, - "id": 201, + "id": 206, "indexed": true, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 205, - "src": "2387:18:1", + "scope": 210, + "src": "2441:18:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5358,10 +5430,10 @@ "typeString": "address" }, "typeName": { - "id": 200, + "id": 205, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2387:7:1", + "src": "2441:7:1", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -5373,14 +5445,14 @@ }, { "constant": false, - "id": 203, + "id": 208, "indexed": false, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 205, - "src": "2407:13:1", + "scope": 210, + "src": "2461:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5388,10 +5460,10 @@ "typeString": "uint256" }, "typeName": { - "id": 202, + "id": 207, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2407:7:1", + "src": "2461:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5401,35 +5473,35 @@ "visibility": "internal" } ], - "src": "2364:57:1" + "src": "2418:57:1" }, - "src": "2350:72:1" + "src": "2404:72:1" }, { "anonymous": false, "documentation": { - "id": 206, + "id": 211, "nodeType": "StructuredDocumentation", - "src": "2426:142:1", + "src": "2480:142:1", "text": " @dev Emitted when the allowance of a `spender` for an `owner` is set by\n a call to {approve}. `value` is the new allowance." }, - "id": 214, + "id": 219, "name": "Approval", "nodeType": "EventDefinition", "parameters": { - "id": 213, + "id": 218, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 208, + "id": 213, "indexed": true, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 214, - "src": "2586:21:1", + "scope": 219, + "src": "2640:21:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5437,10 +5509,10 @@ "typeString": "address" }, "typeName": { - "id": 207, + "id": 212, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2586:7:1", + "src": "2640:7:1", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -5452,14 +5524,14 @@ }, { "constant": false, - "id": 210, + "id": 215, "indexed": true, "mutability": "mutable", "name": "spender", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 214, - "src": "2609:23:1", + "scope": 219, + "src": "2663:23:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5467,10 +5539,10 @@ "typeString": "address" }, "typeName": { - "id": 209, + "id": 214, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2609:7:1", + "src": "2663:7:1", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -5482,14 +5554,14 @@ }, { "constant": false, - "id": 212, + "id": 217, "indexed": false, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 214, - "src": "2634:13:1", + "scope": 219, + "src": "2688:13:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5497,10 +5569,10 @@ "typeString": "uint256" }, "typeName": { - "id": 211, + "id": 216, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2634:7:1", + "src": "2688:7:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5510,16 +5582,16 @@ "visibility": "internal" } ], - "src": "2585:63:1" + "src": "2639:63:1" }, - "src": "2571:78:1" + "src": "2625:78:1" } ], - "scope": 216, - "src": "191:2460:1" + "scope": 221, + "src": "191:2514:1" } ], - "src": "32:2620:1" + "src": "32:2674:1" }, "id": 1 }, @@ -5528,15 +5600,15 @@ "absolutePath": "contracts/assetListing/interfaces/ILendingPool.sol", "exportedSymbols": { "ILendingPool": [ - 590 + 595 ] }, - "id": 591, + "id": 596, "license": "agpl-3.0", "nodeType": "SourceUnit", "nodes": [ { - "id": 217, + "id": 222, "literals": [ "solidity", "0.6", @@ -5546,7 +5618,7 @@ "src": "37:23:2" }, { - "id": 218, + "id": 223, "literals": [ "experimental", "ABIEncoderV2" @@ -5557,16 +5629,16 @@ { "absolutePath": "contracts/assetListing/interfaces/ILendingPoolAddressesProvider.sol", "file": "./ILendingPoolAddressesProvider.sol", - "id": 220, + "id": 225, "nodeType": "ImportDirective", - "scope": 591, - "sourceUnit": 742, + "scope": 596, + "sourceUnit": 747, "src": "96:82:2", "symbolAliases": [ { "foreign": { "argumentTypes": null, - "id": 219, + "id": 224, "name": "ILendingPoolAddressesProvider", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -5585,16 +5657,16 @@ { "absolutePath": "contracts/assetListing/lib/DataTypes.sol", "file": "../lib/DataTypes.sol", - "id": 222, + "id": 227, "nodeType": "ImportDirective", - "scope": 591, - "sourceUnit": 865, + "scope": 596, + "sourceUnit": 870, "src": "179:47:2", "symbolAliases": [ { "foreign": { "argumentTypes": null, - "id": 221, + "id": 226, "name": "DataTypes", "nodeType": "Identifier", "overloadedDeclarations": [], @@ -5617,9 +5689,9 @@ "contractKind": "interface", "documentation": null, "fullyImplemented": false, - "id": 590, + "id": 595, "linearizedBaseContracts": [ - 590 + 595 ], "name": "ILendingPool", "nodeType": "ContractDefinition", @@ -5627,27 +5699,27 @@ { "anonymous": false, "documentation": { - "id": 223, + "id": 228, "nodeType": "StructuredDocumentation", "src": "255:325:2", "text": " @dev Emitted on deposit()\n @param reserve The address of the underlying asset of the reserve\n @param user The address initiating the deposit\n @param onBehalfOf The beneficiary of the deposit, receiving the aTokens\n @param amount The amount deposited\n @param referral The referral code used*" }, - "id": 235, + "id": 240, "name": "Deposit", "nodeType": "EventDefinition", "parameters": { - "id": 234, + "id": 239, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 225, + "id": 230, "indexed": true, "mutability": "mutable", "name": "reserve", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 235, + "scope": 240, "src": "602:23:2", "stateVariable": false, "storageLocation": "default", @@ -5656,7 +5728,7 @@ "typeString": "address" }, "typeName": { - "id": 224, + "id": 229, "name": "address", "nodeType": "ElementaryTypeName", "src": "602:7:2", @@ -5671,13 +5743,13 @@ }, { "constant": false, - "id": 227, + "id": 232, "indexed": false, "mutability": "mutable", "name": "user", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 235, + "scope": 240, "src": "631:12:2", "stateVariable": false, "storageLocation": "default", @@ -5686,7 +5758,7 @@ "typeString": "address" }, "typeName": { - "id": 226, + "id": 231, "name": "address", "nodeType": "ElementaryTypeName", "src": "631:7:2", @@ -5701,13 +5773,13 @@ }, { "constant": false, - "id": 229, + "id": 234, "indexed": true, "mutability": "mutable", "name": "onBehalfOf", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 235, + "scope": 240, "src": "649:26:2", "stateVariable": false, "storageLocation": "default", @@ -5716,7 +5788,7 @@ "typeString": "address" }, "typeName": { - "id": 228, + "id": 233, "name": "address", "nodeType": "ElementaryTypeName", "src": "649:7:2", @@ -5731,13 +5803,13 @@ }, { "constant": false, - "id": 231, + "id": 236, "indexed": false, "mutability": "mutable", "name": "amount", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 235, + "scope": 240, "src": "681:14:2", "stateVariable": false, "storageLocation": "default", @@ -5746,7 +5818,7 @@ "typeString": "uint256" }, "typeName": { - "id": 230, + "id": 235, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "681:7:2", @@ -5760,13 +5832,13 @@ }, { "constant": false, - "id": 233, + "id": 238, "indexed": true, "mutability": "mutable", "name": "referral", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 235, + "scope": 240, "src": "701:23:2", "stateVariable": false, "storageLocation": "default", @@ -5775,7 +5847,7 @@ "typeString": "uint16" }, "typeName": { - "id": 232, + "id": 237, "name": "uint16", "nodeType": "ElementaryTypeName", "src": "701:6:2", @@ -5795,27 +5867,27 @@ { "anonymous": false, "documentation": { - "id": 236, + "id": 241, "nodeType": "StructuredDocumentation", "src": "733:288:2", "text": " @dev Emitted on withdraw()\n @param reserve The address of the underlyng asset being withdrawn\n @param user The address initiating the withdrawal, owner of aTokens\n @param to Address that will receive the underlying\n @param amount The amount to be withdrawn*" }, - "id": 246, + "id": 251, "name": "Withdraw", "nodeType": "EventDefinition", "parameters": { - "id": 245, + "id": 250, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 238, + "id": 243, "indexed": true, "mutability": "mutable", "name": "reserve", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 246, + "scope": 251, "src": "1039:23:2", "stateVariable": false, "storageLocation": "default", @@ -5824,7 +5896,7 @@ "typeString": "address" }, "typeName": { - "id": 237, + "id": 242, "name": "address", "nodeType": "ElementaryTypeName", "src": "1039:7:2", @@ -5839,13 +5911,13 @@ }, { "constant": false, - "id": 240, + "id": 245, "indexed": true, "mutability": "mutable", "name": "user", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 246, + "scope": 251, "src": "1064:20:2", "stateVariable": false, "storageLocation": "default", @@ -5854,7 +5926,7 @@ "typeString": "address" }, "typeName": { - "id": 239, + "id": 244, "name": "address", "nodeType": "ElementaryTypeName", "src": "1064:7:2", @@ -5869,13 +5941,13 @@ }, { "constant": false, - "id": 242, + "id": 247, "indexed": true, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 246, + "scope": 251, "src": "1086:18:2", "stateVariable": false, "storageLocation": "default", @@ -5884,7 +5956,7 @@ "typeString": "address" }, "typeName": { - "id": 241, + "id": 246, "name": "address", "nodeType": "ElementaryTypeName", "src": "1086:7:2", @@ -5899,13 +5971,13 @@ }, { "constant": false, - "id": 244, + "id": 249, "indexed": false, "mutability": "mutable", "name": "amount", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 246, + "scope": 251, "src": "1106:14:2", "stateVariable": false, "storageLocation": "default", @@ -5914,7 +5986,7 @@ "typeString": "uint256" }, "typeName": { - "id": 243, + "id": 248, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1106:7:2", @@ -5934,27 +6006,27 @@ { "anonymous": false, "documentation": { - "id": 247, + "id": 252, "nodeType": "StructuredDocumentation", "src": "1126:605:2", "text": " @dev Emitted on borrow() and flashLoan() when debt needs to be opened\n @param reserve The address of the underlying asset being borrowed\n @param user The address of the user initiating the borrow(), receiving the funds on borrow() or just\n initiator of the transaction on flashLoan()\n @param onBehalfOf The address that will be getting the debt\n @param amount The amount borrowed out\n @param borrowRateMode The rate mode: 1 for Stable, 2 for Variable\n @param borrowRate The numeric rate at which the user has borrowed\n @param referral The referral code used*" }, - "id": 263, + "id": 268, "name": "Borrow", "nodeType": "EventDefinition", "parameters": { - "id": 262, + "id": 267, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 249, + "id": 254, "indexed": true, "mutability": "mutable", "name": "reserve", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 263, + "scope": 268, "src": "1752:23:2", "stateVariable": false, "storageLocation": "default", @@ -5963,7 +6035,7 @@ "typeString": "address" }, "typeName": { - "id": 248, + "id": 253, "name": "address", "nodeType": "ElementaryTypeName", "src": "1752:7:2", @@ -5978,13 +6050,13 @@ }, { "constant": false, - "id": 251, + "id": 256, "indexed": false, "mutability": "mutable", "name": "user", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 263, + "scope": 268, "src": "1781:12:2", "stateVariable": false, "storageLocation": "default", @@ -5993,7 +6065,7 @@ "typeString": "address" }, "typeName": { - "id": 250, + "id": 255, "name": "address", "nodeType": "ElementaryTypeName", "src": "1781:7:2", @@ -6008,13 +6080,13 @@ }, { "constant": false, - "id": 253, + "id": 258, "indexed": true, "mutability": "mutable", "name": "onBehalfOf", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 263, + "scope": 268, "src": "1799:26:2", "stateVariable": false, "storageLocation": "default", @@ -6023,7 +6095,7 @@ "typeString": "address" }, "typeName": { - "id": 252, + "id": 257, "name": "address", "nodeType": "ElementaryTypeName", "src": "1799:7:2", @@ -6038,13 +6110,13 @@ }, { "constant": false, - "id": 255, + "id": 260, "indexed": false, "mutability": "mutable", "name": "amount", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 263, + "scope": 268, "src": "1831:14:2", "stateVariable": false, "storageLocation": "default", @@ -6053,7 +6125,7 @@ "typeString": "uint256" }, "typeName": { - "id": 254, + "id": 259, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1831:7:2", @@ -6067,13 +6139,13 @@ }, { "constant": false, - "id": 257, + "id": 262, "indexed": false, "mutability": "mutable", "name": "borrowRateMode", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 263, + "scope": 268, "src": "1851:22:2", "stateVariable": false, "storageLocation": "default", @@ -6082,7 +6154,7 @@ "typeString": "uint256" }, "typeName": { - "id": 256, + "id": 261, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1851:7:2", @@ -6096,13 +6168,13 @@ }, { "constant": false, - "id": 259, + "id": 264, "indexed": false, "mutability": "mutable", "name": "borrowRate", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 263, + "scope": 268, "src": "1879:18:2", "stateVariable": false, "storageLocation": "default", @@ -6111,7 +6183,7 @@ "typeString": "uint256" }, "typeName": { - "id": 258, + "id": 263, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1879:7:2", @@ -6125,13 +6197,13 @@ }, { "constant": false, - "id": 261, + "id": 266, "indexed": true, "mutability": "mutable", "name": "referral", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 263, + "scope": 268, "src": "1903:23:2", "stateVariable": false, "storageLocation": "default", @@ -6140,7 +6212,7 @@ "typeString": "uint16" }, "typeName": { - "id": 260, + "id": 265, "name": "uint16", "nodeType": "ElementaryTypeName", "src": "1903:6:2", @@ -6160,27 +6232,27 @@ { "anonymous": false, "documentation": { - "id": 264, + "id": 269, "nodeType": "StructuredDocumentation", "src": "1935:311:2", "text": " @dev Emitted on repay()\n @param reserve The address of the underlying asset of the reserve\n @param user The beneficiary of the repayment, getting his debt reduced\n @param repayer The address of the user initiating the repay(), providing the funds\n @param amount The amount repaid*" }, - "id": 274, + "id": 279, "name": "Repay", "nodeType": "EventDefinition", "parameters": { - "id": 273, + "id": 278, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 266, + "id": 271, "indexed": true, "mutability": "mutable", "name": "reserve", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 274, + "scope": 279, "src": "2266:23:2", "stateVariable": false, "storageLocation": "default", @@ -6189,7 +6261,7 @@ "typeString": "address" }, "typeName": { - "id": 265, + "id": 270, "name": "address", "nodeType": "ElementaryTypeName", "src": "2266:7:2", @@ -6204,13 +6276,13 @@ }, { "constant": false, - "id": 268, + "id": 273, "indexed": true, "mutability": "mutable", "name": "user", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 274, + "scope": 279, "src": "2295:20:2", "stateVariable": false, "storageLocation": "default", @@ -6219,7 +6291,7 @@ "typeString": "address" }, "typeName": { - "id": 267, + "id": 272, "name": "address", "nodeType": "ElementaryTypeName", "src": "2295:7:2", @@ -6234,13 +6306,13 @@ }, { "constant": false, - "id": 270, + "id": 275, "indexed": true, "mutability": "mutable", "name": "repayer", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 274, + "scope": 279, "src": "2321:23:2", "stateVariable": false, "storageLocation": "default", @@ -6249,7 +6321,7 @@ "typeString": "address" }, "typeName": { - "id": 269, + "id": 274, "name": "address", "nodeType": "ElementaryTypeName", "src": "2321:7:2", @@ -6264,13 +6336,13 @@ }, { "constant": false, - "id": 272, + "id": 277, "indexed": false, "mutability": "mutable", "name": "amount", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 274, + "scope": 279, "src": "2350:14:2", "stateVariable": false, "storageLocation": "default", @@ -6279,7 +6351,7 @@ "typeString": "uint256" }, "typeName": { - "id": 271, + "id": 276, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "2350:7:2", @@ -6299,27 +6371,27 @@ { "anonymous": false, "documentation": { - "id": 275, + "id": 280, "nodeType": "StructuredDocumentation", "src": "2373:253:2", "text": " @dev Emitted on swapBorrowRateMode()\n @param reserve The address of the underlying asset of the reserve\n @param user The address of the user swapping his rate mode\n @param rateMode The rate mode that the user wants to swap to*" }, - "id": 283, + "id": 288, "name": "Swap", "nodeType": "EventDefinition", "parameters": { - "id": 282, + "id": 287, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 277, + "id": 282, "indexed": true, "mutability": "mutable", "name": "reserve", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 283, + "scope": 288, "src": "2640:23:2", "stateVariable": false, "storageLocation": "default", @@ -6328,7 +6400,7 @@ "typeString": "address" }, "typeName": { - "id": 276, + "id": 281, "name": "address", "nodeType": "ElementaryTypeName", "src": "2640:7:2", @@ -6343,13 +6415,13 @@ }, { "constant": false, - "id": 279, + "id": 284, "indexed": true, "mutability": "mutable", "name": "user", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 283, + "scope": 288, "src": "2665:20:2", "stateVariable": false, "storageLocation": "default", @@ -6358,7 +6430,7 @@ "typeString": "address" }, "typeName": { - "id": 278, + "id": 283, "name": "address", "nodeType": "ElementaryTypeName", "src": "2665:7:2", @@ -6373,13 +6445,13 @@ }, { "constant": false, - "id": 281, + "id": 286, "indexed": false, "mutability": "mutable", "name": "rateMode", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 283, + "scope": 288, "src": "2687:16:2", "stateVariable": false, "storageLocation": "default", @@ -6388,7 +6460,7 @@ "typeString": "uint256" }, "typeName": { - "id": 280, + "id": 285, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "2687:7:2", @@ -6408,27 +6480,27 @@ { "anonymous": false, "documentation": { - "id": 284, + "id": 289, "nodeType": "StructuredDocumentation", "src": "2709:208:2", "text": " @dev Emitted on setUserUseReserveAsCollateral()\n @param reserve The address of the underlying asset of the reserve\n @param user The address of the user enabling the usage as collateral*" }, - "id": 290, + "id": 295, "name": "ReserveUsedAsCollateralEnabled", "nodeType": "EventDefinition", "parameters": { - "id": 289, + "id": 294, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 286, + "id": 291, "indexed": true, "mutability": "mutable", "name": "reserve", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 290, + "scope": 295, "src": "2957:23:2", "stateVariable": false, "storageLocation": "default", @@ -6437,7 +6509,7 @@ "typeString": "address" }, "typeName": { - "id": 285, + "id": 290, "name": "address", "nodeType": "ElementaryTypeName", "src": "2957:7:2", @@ -6452,13 +6524,13 @@ }, { "constant": false, - "id": 288, + "id": 293, "indexed": true, "mutability": "mutable", "name": "user", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 290, + "scope": 295, "src": "2982:20:2", "stateVariable": false, "storageLocation": "default", @@ -6467,7 +6539,7 @@ "typeString": "address" }, "typeName": { - "id": 287, + "id": 292, "name": "address", "nodeType": "ElementaryTypeName", "src": "2982:7:2", @@ -6488,27 +6560,27 @@ { "anonymous": false, "documentation": { - "id": 291, + "id": 296, "nodeType": "StructuredDocumentation", "src": "3008:208:2", "text": " @dev Emitted on setUserUseReserveAsCollateral()\n @param reserve The address of the underlying asset of the reserve\n @param user The address of the user enabling the usage as collateral*" }, - "id": 297, + "id": 302, "name": "ReserveUsedAsCollateralDisabled", "nodeType": "EventDefinition", "parameters": { - "id": 296, + "id": 301, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 293, + "id": 298, "indexed": true, "mutability": "mutable", "name": "reserve", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 297, + "scope": 302, "src": "3257:23:2", "stateVariable": false, "storageLocation": "default", @@ -6517,7 +6589,7 @@ "typeString": "address" }, "typeName": { - "id": 292, + "id": 297, "name": "address", "nodeType": "ElementaryTypeName", "src": "3257:7:2", @@ -6532,13 +6604,13 @@ }, { "constant": false, - "id": 295, + "id": 300, "indexed": true, "mutability": "mutable", "name": "user", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 297, + "scope": 302, "src": "3282:20:2", "stateVariable": false, "storageLocation": "default", @@ -6547,7 +6619,7 @@ "typeString": "address" }, "typeName": { - "id": 294, + "id": 299, "name": "address", "nodeType": "ElementaryTypeName", "src": "3282:7:2", @@ -6568,27 +6640,27 @@ { "anonymous": false, "documentation": { - "id": 298, + "id": 303, "nodeType": "StructuredDocumentation", "src": "3308:213:2", "text": " @dev Emitted on rebalanceStableBorrowRate()\n @param reserve The address of the underlying asset of the reserve\n @param user The address of the user for which the rebalance has been executed*" }, - "id": 304, + "id": 309, "name": "RebalanceStableBorrowRate", "nodeType": "EventDefinition", "parameters": { - "id": 303, + "id": 308, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 300, + "id": 305, "indexed": true, "mutability": "mutable", "name": "reserve", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 304, + "scope": 309, "src": "3556:23:2", "stateVariable": false, "storageLocation": "default", @@ -6597,7 +6669,7 @@ "typeString": "address" }, "typeName": { - "id": 299, + "id": 304, "name": "address", "nodeType": "ElementaryTypeName", "src": "3556:7:2", @@ -6612,13 +6684,13 @@ }, { "constant": false, - "id": 302, + "id": 307, "indexed": true, "mutability": "mutable", "name": "user", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 304, + "scope": 309, "src": "3581:20:2", "stateVariable": false, "storageLocation": "default", @@ -6627,7 +6699,7 @@ "typeString": "address" }, "typeName": { - "id": 301, + "id": 306, "name": "address", "nodeType": "ElementaryTypeName", "src": "3581:7:2", @@ -6648,27 +6720,27 @@ { "anonymous": false, "documentation": { - "id": 305, + "id": 310, "nodeType": "StructuredDocumentation", "src": "3607:370:2", "text": " @dev Emitted on flashLoan()\n @param target The address of the flash loan receiver contract\n @param initiator The address initiating the flash loan\n @param asset The address of the asset being flash borrowed\n @param amount The amount flash borrowed\n @param premium The fee flash borrowed\n @param referralCode The referral code used*" }, - "id": 319, + "id": 324, "name": "FlashLoan", "nodeType": "EventDefinition", "parameters": { - "id": 318, + "id": 323, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 307, + "id": 312, "indexed": true, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 319, + "scope": 324, "src": "4001:22:2", "stateVariable": false, "storageLocation": "default", @@ -6677,7 +6749,7 @@ "typeString": "address" }, "typeName": { - "id": 306, + "id": 311, "name": "address", "nodeType": "ElementaryTypeName", "src": "4001:7:2", @@ -6692,13 +6764,13 @@ }, { "constant": false, - "id": 309, + "id": 314, "indexed": true, "mutability": "mutable", "name": "initiator", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 319, + "scope": 324, "src": "4029:25:2", "stateVariable": false, "storageLocation": "default", @@ -6707,7 +6779,7 @@ "typeString": "address" }, "typeName": { - "id": 308, + "id": 313, "name": "address", "nodeType": "ElementaryTypeName", "src": "4029:7:2", @@ -6722,13 +6794,13 @@ }, { "constant": false, - "id": 311, + "id": 316, "indexed": true, "mutability": "mutable", "name": "asset", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 319, + "scope": 324, "src": "4060:21:2", "stateVariable": false, "storageLocation": "default", @@ -6737,7 +6809,7 @@ "typeString": "address" }, "typeName": { - "id": 310, + "id": 315, "name": "address", "nodeType": "ElementaryTypeName", "src": "4060:7:2", @@ -6752,13 +6824,13 @@ }, { "constant": false, - "id": 313, + "id": 318, "indexed": false, "mutability": "mutable", "name": "amount", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 319, + "scope": 324, "src": "4087:14:2", "stateVariable": false, "storageLocation": "default", @@ -6767,7 +6839,7 @@ "typeString": "uint256" }, "typeName": { - "id": 312, + "id": 317, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "4087:7:2", @@ -6781,13 +6853,13 @@ }, { "constant": false, - "id": 315, + "id": 320, "indexed": false, "mutability": "mutable", "name": "premium", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 319, + "scope": 324, "src": "4107:15:2", "stateVariable": false, "storageLocation": "default", @@ -6796,7 +6868,7 @@ "typeString": "uint256" }, "typeName": { - "id": 314, + "id": 319, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "4107:7:2", @@ -6810,13 +6882,13 @@ }, { "constant": false, - "id": 317, + "id": 322, "indexed": false, "mutability": "mutable", "name": "referralCode", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 319, + "scope": 324, "src": "4128:19:2", "stateVariable": false, "storageLocation": "default", @@ -6825,7 +6897,7 @@ "typeString": "uint16" }, "typeName": { - "id": 316, + "id": 321, "name": "uint16", "nodeType": "ElementaryTypeName", "src": "4128:6:2", @@ -6845,16 +6917,16 @@ { "anonymous": false, "documentation": { - "id": 320, + "id": 325, "nodeType": "StructuredDocumentation", "src": "4156:56:2", "text": " @dev Emitted when the pause is triggered." }, - "id": 322, + "id": 327, "name": "Paused", "nodeType": "EventDefinition", "parameters": { - "id": 321, + "id": 326, "nodeType": "ParameterList", "parameters": [], "src": "4227:2:2" @@ -6864,16 +6936,16 @@ { "anonymous": false, "documentation": { - "id": 323, + "id": 328, "nodeType": "StructuredDocumentation", "src": "4234:53:2", "text": " @dev Emitted when the pause is lifted." }, - "id": 325, + "id": 330, "name": "Unpaused", "nodeType": "EventDefinition", "parameters": { - "id": 324, + "id": 329, "nodeType": "ParameterList", "parameters": [], "src": "4304:2:2" @@ -6883,27 +6955,27 @@ { "anonymous": false, "documentation": { - "id": 326, + "id": 331, "nodeType": "StructuredDocumentation", "src": "4311:928:2", "text": " @dev Emitted when a borrower is liquidated. This event is emitted by the LendingPool via\n LendingPoolCollateral manager using a DELEGATECALL\n This allows to have the events in the generated ABI for LendingPool.\n @param collateralAsset The address of the underlying asset used as collateral, to receive as result of the liquidation\n @param debtAsset The address of the underlying borrowed asset to be repaid with the liquidation\n @param user The address of the borrower getting liquidated\n @param debtToCover The debt amount of borrowed `asset` the liquidator wants to cover\n @param liquidatedCollateralAmount The amount of collateral received by the liiquidator\n @param liquidator The address of the liquidator\n @param receiveAToken `true` if the liquidators wants to receive the collateral aTokens, `false` if he wants\n to receive the underlying collateral asset directly*" }, - "id": 342, + "id": 347, "name": "LiquidationCall", "nodeType": "EventDefinition", "parameters": { - "id": 341, + "id": 346, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 328, + "id": 333, "indexed": true, "mutability": "mutable", "name": "collateralAsset", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 342, + "scope": 347, "src": "5269:31:2", "stateVariable": false, "storageLocation": "default", @@ -6912,7 +6984,7 @@ "typeString": "address" }, "typeName": { - "id": 327, + "id": 332, "name": "address", "nodeType": "ElementaryTypeName", "src": "5269:7:2", @@ -6927,13 +6999,13 @@ }, { "constant": false, - "id": 330, + "id": 335, "indexed": true, "mutability": "mutable", "name": "debtAsset", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 342, + "scope": 347, "src": "5306:25:2", "stateVariable": false, "storageLocation": "default", @@ -6942,7 +7014,7 @@ "typeString": "address" }, "typeName": { - "id": 329, + "id": 334, "name": "address", "nodeType": "ElementaryTypeName", "src": "5306:7:2", @@ -6957,13 +7029,13 @@ }, { "constant": false, - "id": 332, + "id": 337, "indexed": true, "mutability": "mutable", "name": "user", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 342, + "scope": 347, "src": "5337:20:2", "stateVariable": false, "storageLocation": "default", @@ -6972,7 +7044,7 @@ "typeString": "address" }, "typeName": { - "id": 331, + "id": 336, "name": "address", "nodeType": "ElementaryTypeName", "src": "5337:7:2", @@ -6987,13 +7059,13 @@ }, { "constant": false, - "id": 334, + "id": 339, "indexed": false, "mutability": "mutable", "name": "debtToCover", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 342, + "scope": 347, "src": "5363:19:2", "stateVariable": false, "storageLocation": "default", @@ -7002,7 +7074,7 @@ "typeString": "uint256" }, "typeName": { - "id": 333, + "id": 338, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "5363:7:2", @@ -7016,13 +7088,13 @@ }, { "constant": false, - "id": 336, + "id": 341, "indexed": false, "mutability": "mutable", "name": "liquidatedCollateralAmount", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 342, + "scope": 347, "src": "5388:34:2", "stateVariable": false, "storageLocation": "default", @@ -7031,7 +7103,7 @@ "typeString": "uint256" }, "typeName": { - "id": 335, + "id": 340, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "5388:7:2", @@ -7045,13 +7117,13 @@ }, { "constant": false, - "id": 338, + "id": 343, "indexed": false, "mutability": "mutable", "name": "liquidator", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 342, + "scope": 347, "src": "5428:18:2", "stateVariable": false, "storageLocation": "default", @@ -7060,7 +7132,7 @@ "typeString": "address" }, "typeName": { - "id": 337, + "id": 342, "name": "address", "nodeType": "ElementaryTypeName", "src": "5428:7:2", @@ -7075,13 +7147,13 @@ }, { "constant": false, - "id": 340, + "id": 345, "indexed": false, "mutability": "mutable", "name": "receiveAToken", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 342, + "scope": 347, "src": "5452:18:2", "stateVariable": false, "storageLocation": "default", @@ -7090,7 +7162,7 @@ "typeString": "bool" }, "typeName": { - "id": 339, + "id": 344, "name": "bool", "nodeType": "ElementaryTypeName", "src": "5452:4:2", @@ -7110,27 +7182,27 @@ { "anonymous": false, "documentation": { - "id": 343, + "id": 348, "nodeType": "StructuredDocumentation", "src": "5479:722:2", "text": " @dev Emitted when the state of a reserve is updated. NOTE: This event is actually declared\n in the ReserveLogic library and emitted in the updateInterestRates() function. Since the function is internal,\n the event will actually be fired by the LendingPool contract. The event is therefore replicated here so it\n gets added to the LendingPool ABI\n @param reserve The address of the underlying asset of the reserve\n @param liquidityRate The new liquidity rate\n @param stableBorrowRate The new stable borrow rate\n @param variableBorrowRate The new variable borrow rate\n @param liquidityIndex The new liquidity index\n @param variableBorrowIndex The new variable borrow index*" }, - "id": 357, + "id": 362, "name": "ReserveDataUpdated", "nodeType": "EventDefinition", "parameters": { - "id": 356, + "id": 361, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 345, + "id": 350, "indexed": true, "mutability": "mutable", "name": "reserve", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 357, + "scope": 362, "src": "6234:23:2", "stateVariable": false, "storageLocation": "default", @@ -7139,7 +7211,7 @@ "typeString": "address" }, "typeName": { - "id": 344, + "id": 349, "name": "address", "nodeType": "ElementaryTypeName", "src": "6234:7:2", @@ -7154,13 +7226,13 @@ }, { "constant": false, - "id": 347, + "id": 352, "indexed": false, "mutability": "mutable", "name": "liquidityRate", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 357, + "scope": 362, "src": "6263:21:2", "stateVariable": false, "storageLocation": "default", @@ -7169,7 +7241,7 @@ "typeString": "uint256" }, "typeName": { - "id": 346, + "id": 351, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "6263:7:2", @@ -7183,13 +7255,13 @@ }, { "constant": false, - "id": 349, + "id": 354, "indexed": false, "mutability": "mutable", "name": "stableBorrowRate", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 357, + "scope": 362, "src": "6290:24:2", "stateVariable": false, "storageLocation": "default", @@ -7198,7 +7270,7 @@ "typeString": "uint256" }, "typeName": { - "id": 348, + "id": 353, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "6290:7:2", @@ -7212,13 +7284,13 @@ }, { "constant": false, - "id": 351, + "id": 356, "indexed": false, "mutability": "mutable", "name": "variableBorrowRate", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 357, + "scope": 362, "src": "6320:26:2", "stateVariable": false, "storageLocation": "default", @@ -7227,7 +7299,7 @@ "typeString": "uint256" }, "typeName": { - "id": 350, + "id": 355, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "6320:7:2", @@ -7241,13 +7313,13 @@ }, { "constant": false, - "id": 353, + "id": 358, "indexed": false, "mutability": "mutable", "name": "liquidityIndex", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 357, + "scope": 362, "src": "6352:22:2", "stateVariable": false, "storageLocation": "default", @@ -7256,7 +7328,7 @@ "typeString": "uint256" }, "typeName": { - "id": 352, + "id": 357, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "6352:7:2", @@ -7270,13 +7342,13 @@ }, { "constant": false, - "id": 355, + "id": 360, "indexed": false, "mutability": "mutable", "name": "variableBorrowIndex", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 357, + "scope": 362, "src": "6380:27:2", "stateVariable": false, "storageLocation": "default", @@ -7285,7 +7357,7 @@ "typeString": "uint256" }, "typeName": { - "id": 354, + "id": 359, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "6380:7:2", @@ -7305,13 +7377,13 @@ { "body": null, "documentation": { - "id": 358, + "id": 363, "nodeType": "StructuredDocumentation", "src": "6416:712:2", "text": " @dev Deposits an `amount` of underlying asset into the reserve, receiving in return overlying aTokens.\n - E.g. User deposits 100 USDC and gets in return 100 aUSDC\n @param asset The address of the underlying asset to deposit\n @param amount The amount to be deposited\n @param onBehalfOf The address that will receive the aTokens, same as msg.sender if the user\n wants to receive them on his own wallet, or a different address if the beneficiary of aTokens\n is a different wallet\n @param referralCode Code used to register the integrator originating the operation, for potential rewards.\n 0 if the action is executed directly by the user, without any middle-man*" }, "functionSelector": "e8eda9df", - "id": 369, + "id": 374, "implemented": false, "kind": "function", "modifiers": [], @@ -7319,17 +7391,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 367, + "id": 372, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 360, + "id": 365, "mutability": "mutable", "name": "asset", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 369, + "scope": 374, "src": "7153:13:2", "stateVariable": false, "storageLocation": "default", @@ -7338,7 +7410,7 @@ "typeString": "address" }, "typeName": { - "id": 359, + "id": 364, "name": "address", "nodeType": "ElementaryTypeName", "src": "7153:7:2", @@ -7353,12 +7425,12 @@ }, { "constant": false, - "id": 362, + "id": 367, "mutability": "mutable", "name": "amount", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 369, + "scope": 374, "src": "7172:14:2", "stateVariable": false, "storageLocation": "default", @@ -7367,7 +7439,7 @@ "typeString": "uint256" }, "typeName": { - "id": 361, + "id": 366, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "7172:7:2", @@ -7381,12 +7453,12 @@ }, { "constant": false, - "id": 364, + "id": 369, "mutability": "mutable", "name": "onBehalfOf", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 369, + "scope": 374, "src": "7192:18:2", "stateVariable": false, "storageLocation": "default", @@ -7395,7 +7467,7 @@ "typeString": "address" }, "typeName": { - "id": 363, + "id": 368, "name": "address", "nodeType": "ElementaryTypeName", "src": "7192:7:2", @@ -7410,12 +7482,12 @@ }, { "constant": false, - "id": 366, + "id": 371, "mutability": "mutable", "name": "referralCode", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 369, + "scope": 374, "src": "7216:19:2", "stateVariable": false, "storageLocation": "default", @@ -7424,7 +7496,7 @@ "typeString": "uint16" }, "typeName": { - "id": 365, + "id": 370, "name": "uint16", "nodeType": "ElementaryTypeName", "src": "7216:6:2", @@ -7440,12 +7512,12 @@ "src": "7147:92:2" }, "returnParameters": { - "id": 368, + "id": 373, "nodeType": "ParameterList", "parameters": [], "src": "7248:0:2" }, - "scope": 590, + "scope": 595, "src": "7131:118:2", "stateMutability": "nonpayable", "virtual": false, @@ -7454,13 +7526,13 @@ { "body": null, "documentation": { - "id": 370, + "id": 375, "nodeType": "StructuredDocumentation", "src": "7253:665:2", "text": " @dev Withdraws an `amount` of underlying asset from the reserve, burning the equivalent aTokens owned\n E.g. User has 100 aUSDC, calls withdraw() and receives 100 USDC, burning the 100 aUSDC\n @param asset The address of the underlying asset to withdraw\n @param amount The underlying amount to be withdrawn\n - Send the value type(uint256).max in order to withdraw the whole aToken balance\n @param to Address that will receive the underlying, same as msg.sender if the user\n wants to receive it on his own wallet, or a different address if the beneficiary is a\n different wallet\n @return The final amount withdrawn*" }, "functionSelector": "69328dec", - "id": 381, + "id": 386, "implemented": false, "kind": "function", "modifiers": [], @@ -7468,17 +7540,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 377, + "id": 382, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 372, + "id": 377, "mutability": "mutable", "name": "asset", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 381, + "scope": 386, "src": "7944:13:2", "stateVariable": false, "storageLocation": "default", @@ -7487,7 +7559,7 @@ "typeString": "address" }, "typeName": { - "id": 371, + "id": 376, "name": "address", "nodeType": "ElementaryTypeName", "src": "7944:7:2", @@ -7502,12 +7574,12 @@ }, { "constant": false, - "id": 374, + "id": 379, "mutability": "mutable", "name": "amount", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 381, + "scope": 386, "src": "7963:14:2", "stateVariable": false, "storageLocation": "default", @@ -7516,7 +7588,7 @@ "typeString": "uint256" }, "typeName": { - "id": 373, + "id": 378, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "7963:7:2", @@ -7530,12 +7602,12 @@ }, { "constant": false, - "id": 376, + "id": 381, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 381, + "scope": 386, "src": "7983:10:2", "stateVariable": false, "storageLocation": "default", @@ -7544,7 +7616,7 @@ "typeString": "address" }, "typeName": { - "id": 375, + "id": 380, "name": "address", "nodeType": "ElementaryTypeName", "src": "7983:7:2", @@ -7561,17 +7633,17 @@ "src": "7938:59:2" }, "returnParameters": { - "id": 380, + "id": 385, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 379, + "id": 384, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 381, + "scope": 386, "src": "8016:7:2", "stateVariable": false, "storageLocation": "default", @@ -7580,7 +7652,7 @@ "typeString": "uint256" }, "typeName": { - "id": 378, + "id": 383, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "8016:7:2", @@ -7595,7 +7667,7 @@ ], "src": "8015:9:2" }, - "scope": 590, + "scope": 595, "src": "7921:104:2", "stateMutability": "nonpayable", "virtual": false, @@ -7604,13 +7676,13 @@ { "body": null, "documentation": { - "id": 382, + "id": 387, "nodeType": "StructuredDocumentation", "src": "8029:1189:2", "text": " @dev Allows users to borrow a specific `amount` of the reserve underlying asset, provided that the borrower\n already deposited enough collateral, or he was given enough allowance by a credit delegator on the\n corresponding debt token (StableDebtToken or VariableDebtToken)\n - E.g. User borrows 100 USDC passing as `onBehalfOf` his own address, receiving the 100 USDC in his wallet\n and 100 stable/variable debt tokens, depending on the `interestRateMode`\n @param asset The address of the underlying asset to borrow\n @param amount The amount to be borrowed\n @param interestRateMode The interest rate mode at which the user wants to borrow: 1 for Stable, 2 for Variable\n @param referralCode Code used to register the integrator originating the operation, for potential rewards.\n 0 if the action is executed directly by the user, without any middle-man\n @param onBehalfOf Address of the user who will receive the debt. Should be the address of the borrower itself\n calling the function if he wants to borrow against his own collateral, or the address of the credit delegator\n if he has been given credit delegation allowance*" }, "functionSelector": "a415bcad", - "id": 395, + "id": 400, "implemented": false, "kind": "function", "modifiers": [], @@ -7618,17 +7690,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 393, + "id": 398, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 384, + "id": 389, "mutability": "mutable", "name": "asset", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 395, + "scope": 400, "src": "9242:13:2", "stateVariable": false, "storageLocation": "default", @@ -7637,7 +7709,7 @@ "typeString": "address" }, "typeName": { - "id": 383, + "id": 388, "name": "address", "nodeType": "ElementaryTypeName", "src": "9242:7:2", @@ -7652,12 +7724,12 @@ }, { "constant": false, - "id": 386, + "id": 391, "mutability": "mutable", "name": "amount", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 395, + "scope": 400, "src": "9261:14:2", "stateVariable": false, "storageLocation": "default", @@ -7666,7 +7738,7 @@ "typeString": "uint256" }, "typeName": { - "id": 385, + "id": 390, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "9261:7:2", @@ -7680,12 +7752,12 @@ }, { "constant": false, - "id": 388, + "id": 393, "mutability": "mutable", "name": "interestRateMode", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 395, + "scope": 400, "src": "9281:24:2", "stateVariable": false, "storageLocation": "default", @@ -7694,7 +7766,7 @@ "typeString": "uint256" }, "typeName": { - "id": 387, + "id": 392, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "9281:7:2", @@ -7708,12 +7780,12 @@ }, { "constant": false, - "id": 390, + "id": 395, "mutability": "mutable", "name": "referralCode", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 395, + "scope": 400, "src": "9311:19:2", "stateVariable": false, "storageLocation": "default", @@ -7722,7 +7794,7 @@ "typeString": "uint16" }, "typeName": { - "id": 389, + "id": 394, "name": "uint16", "nodeType": "ElementaryTypeName", "src": "9311:6:2", @@ -7736,12 +7808,12 @@ }, { "constant": false, - "id": 392, + "id": 397, "mutability": "mutable", "name": "onBehalfOf", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 395, + "scope": 400, "src": "9336:18:2", "stateVariable": false, "storageLocation": "default", @@ -7750,7 +7822,7 @@ "typeString": "address" }, "typeName": { - "id": 391, + "id": 396, "name": "address", "nodeType": "ElementaryTypeName", "src": "9336:7:2", @@ -7767,12 +7839,12 @@ "src": "9236:122:2" }, "returnParameters": { - "id": 394, + "id": 399, "nodeType": "ParameterList", "parameters": [], "src": "9367:0:2" }, - "scope": 590, + "scope": 595, "src": "9221:147:2", "stateMutability": "nonpayable", "virtual": false, @@ -7781,13 +7853,13 @@ { "body": null, "documentation": { - "id": 396, + "id": 401, "nodeType": "StructuredDocumentation", "src": "9372:862:2", "text": " @notice Repays a borrowed `amount` on a specific reserve, burning the equivalent debt tokens owned\n - E.g. User repays 100 USDC, burning 100 variable/stable debt tokens of the `onBehalfOf` address\n @param asset The address of the borrowed underlying asset previously borrowed\n @param amount The amount to repay\n - Send the value type(uint256).max in order to repay the whole debt for `asset` on the specific `debtMode`\n @param rateMode The interest rate mode at of the debt the user wants to repay: 1 for Stable, 2 for Variable\n @param onBehalfOf Address of the user who will get his debt reduced/removed. Should be the address of the\n user calling the function if he wants to reduce/remove his own debt, or the address of any other\n other borrower whose debt should be removed\n @return The final amount repaid*" }, "functionSelector": "573ade81", - "id": 409, + "id": 414, "implemented": false, "kind": "function", "modifiers": [], @@ -7795,17 +7867,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 405, + "id": 410, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 398, + "id": 403, "mutability": "mutable", "name": "asset", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 409, + "scope": 414, "src": "10257:13:2", "stateVariable": false, "storageLocation": "default", @@ -7814,7 +7886,7 @@ "typeString": "address" }, "typeName": { - "id": 397, + "id": 402, "name": "address", "nodeType": "ElementaryTypeName", "src": "10257:7:2", @@ -7829,12 +7901,12 @@ }, { "constant": false, - "id": 400, + "id": 405, "mutability": "mutable", "name": "amount", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 409, + "scope": 414, "src": "10276:14:2", "stateVariable": false, "storageLocation": "default", @@ -7843,7 +7915,7 @@ "typeString": "uint256" }, "typeName": { - "id": 399, + "id": 404, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "10276:7:2", @@ -7857,12 +7929,12 @@ }, { "constant": false, - "id": 402, + "id": 407, "mutability": "mutable", "name": "rateMode", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 409, + "scope": 414, "src": "10296:16:2", "stateVariable": false, "storageLocation": "default", @@ -7871,7 +7943,7 @@ "typeString": "uint256" }, "typeName": { - "id": 401, + "id": 406, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "10296:7:2", @@ -7885,12 +7957,12 @@ }, { "constant": false, - "id": 404, + "id": 409, "mutability": "mutable", "name": "onBehalfOf", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 409, + "scope": 414, "src": "10318:18:2", "stateVariable": false, "storageLocation": "default", @@ -7899,7 +7971,7 @@ "typeString": "address" }, "typeName": { - "id": 403, + "id": 408, "name": "address", "nodeType": "ElementaryTypeName", "src": "10318:7:2", @@ -7916,17 +7988,17 @@ "src": "10251:89:2" }, "returnParameters": { - "id": 408, + "id": 413, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 407, + "id": 412, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 409, + "scope": 414, "src": "10359:7:2", "stateVariable": false, "storageLocation": "default", @@ -7935,7 +8007,7 @@ "typeString": "uint256" }, "typeName": { - "id": 406, + "id": 411, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "10359:7:2", @@ -7950,7 +8022,7 @@ ], "src": "10358:9:2" }, - "scope": 590, + "scope": 595, "src": "10237:131:2", "stateMutability": "nonpayable", "virtual": false, @@ -7959,13 +8031,13 @@ { "body": null, "documentation": { - "id": 410, + "id": 415, "nodeType": "StructuredDocumentation", "src": "10372:231:2", "text": " @dev Allows a borrower to swap his debt between stable and variable mode, or viceversa\n @param asset The address of the underlying asset borrowed\n @param rateMode The rate mode that the user wants to swap to*" }, "functionSelector": "94ba89a2", - "id": 417, + "id": 422, "implemented": false, "kind": "function", "modifiers": [], @@ -7973,17 +8045,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 415, + "id": 420, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 412, + "id": 417, "mutability": "mutable", "name": "asset", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 417, + "scope": 422, "src": "10634:13:2", "stateVariable": false, "storageLocation": "default", @@ -7992,7 +8064,7 @@ "typeString": "address" }, "typeName": { - "id": 411, + "id": 416, "name": "address", "nodeType": "ElementaryTypeName", "src": "10634:7:2", @@ -8007,12 +8079,12 @@ }, { "constant": false, - "id": 414, + "id": 419, "mutability": "mutable", "name": "rateMode", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 417, + "scope": 422, "src": "10649:16:2", "stateVariable": false, "storageLocation": "default", @@ -8021,7 +8093,7 @@ "typeString": "uint256" }, "typeName": { - "id": 413, + "id": 418, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "10649:7:2", @@ -8037,12 +8109,12 @@ "src": "10633:33:2" }, "returnParameters": { - "id": 416, + "id": 421, "nodeType": "ParameterList", "parameters": [], "src": "10675:0:2" }, - "scope": 590, + "scope": 595, "src": "10606:70:2", "stateMutability": "nonpayable", "virtual": false, @@ -8051,13 +8123,13 @@ { "body": null, "documentation": { - "id": 418, + "id": 423, "nodeType": "StructuredDocumentation", "src": "10680:553:2", "text": " @dev Rebalances the stable interest rate of a user to the current stable rate defined on the reserve.\n - Users can be rebalanced if the following conditions are satisfied:\n 1. Usage ratio is above 95%\n 2. the current deposit APY is below REBALANCE_UP_THRESHOLD * maxVariableBorrowRate, which means that too much has been\n borrowed at a stable rate and depositors are not earning enough\n @param asset The address of the underlying asset borrowed\n @param user The address of the user to be rebalanced*" }, "functionSelector": "cd112382", - "id": 425, + "id": 430, "implemented": false, "kind": "function", "modifiers": [], @@ -8065,17 +8137,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 423, + "id": 428, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 420, + "id": 425, "mutability": "mutable", "name": "asset", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 425, + "scope": 430, "src": "11271:13:2", "stateVariable": false, "storageLocation": "default", @@ -8084,7 +8156,7 @@ "typeString": "address" }, "typeName": { - "id": 419, + "id": 424, "name": "address", "nodeType": "ElementaryTypeName", "src": "11271:7:2", @@ -8099,12 +8171,12 @@ }, { "constant": false, - "id": 422, + "id": 427, "mutability": "mutable", "name": "user", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 425, + "scope": 430, "src": "11286:12:2", "stateVariable": false, "storageLocation": "default", @@ -8113,7 +8185,7 @@ "typeString": "address" }, "typeName": { - "id": 421, + "id": 426, "name": "address", "nodeType": "ElementaryTypeName", "src": "11286:7:2", @@ -8130,12 +8202,12 @@ "src": "11270:29:2" }, "returnParameters": { - "id": 424, + "id": 429, "nodeType": "ParameterList", "parameters": [], "src": "11308:0:2" }, - "scope": 590, + "scope": 595, "src": "11236:73:2", "stateMutability": "nonpayable", "virtual": false, @@ -8144,13 +8216,13 @@ { "body": null, "documentation": { - "id": 426, + "id": 431, "nodeType": "StructuredDocumentation", "src": "11313:266:2", "text": " @dev Allows depositors to enable/disable a specific deposited asset as collateral\n @param asset The address of the underlying asset deposited\n @param useAsCollateral `true` if the user wants to use the deposit as collateral, `false` otherwise*" }, "functionSelector": "5a3b74b9", - "id": 433, + "id": 438, "implemented": false, "kind": "function", "modifiers": [], @@ -8158,17 +8230,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 431, + "id": 436, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 428, + "id": 433, "mutability": "mutable", "name": "asset", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 433, + "scope": 438, "src": "11621:13:2", "stateVariable": false, "storageLocation": "default", @@ -8177,7 +8249,7 @@ "typeString": "address" }, "typeName": { - "id": 427, + "id": 432, "name": "address", "nodeType": "ElementaryTypeName", "src": "11621:7:2", @@ -8192,12 +8264,12 @@ }, { "constant": false, - "id": 430, + "id": 435, "mutability": "mutable", "name": "useAsCollateral", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 433, + "scope": 438, "src": "11636:20:2", "stateVariable": false, "storageLocation": "default", @@ -8206,7 +8278,7 @@ "typeString": "bool" }, "typeName": { - "id": 429, + "id": 434, "name": "bool", "nodeType": "ElementaryTypeName", "src": "11636:4:2", @@ -8222,12 +8294,12 @@ "src": "11620:37:2" }, "returnParameters": { - "id": 432, + "id": 437, "nodeType": "ParameterList", "parameters": [], "src": "11666:0:2" }, - "scope": 590, + "scope": 595, "src": "11582:85:2", "stateMutability": "nonpayable", "virtual": false, @@ -8236,13 +8308,13 @@ { "body": null, "documentation": { - "id": 434, + "id": 439, "nodeType": "StructuredDocumentation", "src": "11671:860:2", "text": " @dev Function to liquidate a non-healthy position collateral-wise, with Health Factor below 1\n - The caller (liquidator) covers `debtToCover` amount of debt of the user getting liquidated, and receives\n a proportionally amount of the `collateralAsset` plus a bonus to cover market risk\n @param collateralAsset The address of the underlying asset used as collateral, to receive as result of the liquidation\n @param debtAsset The address of the underlying borrowed asset to be repaid with the liquidation\n @param user The address of the borrower getting liquidated\n @param debtToCover The debt amount of borrowed `asset` the liquidator wants to cover\n @param receiveAToken `true` if the liquidators wants to receive the collateral aTokens, `false` if he wants\n to receive the underlying collateral asset directly*" }, "functionSelector": "00a718a9", - "id": 447, + "id": 452, "implemented": false, "kind": "function", "modifiers": [], @@ -8250,17 +8322,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 445, + "id": 450, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 436, + "id": 441, "mutability": "mutable", "name": "collateralAsset", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 447, + "scope": 452, "src": "12564:23:2", "stateVariable": false, "storageLocation": "default", @@ -8269,7 +8341,7 @@ "typeString": "address" }, "typeName": { - "id": 435, + "id": 440, "name": "address", "nodeType": "ElementaryTypeName", "src": "12564:7:2", @@ -8284,12 +8356,12 @@ }, { "constant": false, - "id": 438, + "id": 443, "mutability": "mutable", "name": "debtAsset", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 447, + "scope": 452, "src": "12593:17:2", "stateVariable": false, "storageLocation": "default", @@ -8298,7 +8370,7 @@ "typeString": "address" }, "typeName": { - "id": 437, + "id": 442, "name": "address", "nodeType": "ElementaryTypeName", "src": "12593:7:2", @@ -8313,12 +8385,12 @@ }, { "constant": false, - "id": 440, + "id": 445, "mutability": "mutable", "name": "user", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 447, + "scope": 452, "src": "12616:12:2", "stateVariable": false, "storageLocation": "default", @@ -8327,7 +8399,7 @@ "typeString": "address" }, "typeName": { - "id": 439, + "id": 444, "name": "address", "nodeType": "ElementaryTypeName", "src": "12616:7:2", @@ -8342,12 +8414,12 @@ }, { "constant": false, - "id": 442, + "id": 447, "mutability": "mutable", "name": "debtToCover", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 447, + "scope": 452, "src": "12634:19:2", "stateVariable": false, "storageLocation": "default", @@ -8356,7 +8428,7 @@ "typeString": "uint256" }, "typeName": { - "id": 441, + "id": 446, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "12634:7:2", @@ -8370,12 +8442,12 @@ }, { "constant": false, - "id": 444, + "id": 449, "mutability": "mutable", "name": "receiveAToken", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 447, + "scope": 452, "src": "12659:18:2", "stateVariable": false, "storageLocation": "default", @@ -8384,7 +8456,7 @@ "typeString": "bool" }, "typeName": { - "id": 443, + "id": 448, "name": "bool", "nodeType": "ElementaryTypeName", "src": "12659:4:2", @@ -8400,12 +8472,12 @@ "src": "12558:123:2" }, "returnParameters": { - "id": 446, + "id": 451, "nodeType": "ParameterList", "parameters": [], "src": "12690:0:2" }, - "scope": 590, + "scope": 595, "src": "12534:157:2", "stateMutability": "nonpayable", "virtual": false, @@ -8414,13 +8486,13 @@ { "body": null, "documentation": { - "id": 448, + "id": 453, "nodeType": "StructuredDocumentation", "src": "12695:1376:2", "text": " @dev Allows smartcontracts to access the liquidity of the pool within one transaction,\n as long as the amount taken plus a fee is returned.\n IMPORTANT There are security concerns for developers of flashloan receiver contracts that must be kept into consideration.\n For further details please visit https://developers.aave.com\n @param receiverAddress The address of the contract receiving the funds, implementing the IFlashLoanReceiver interface\n @param assets The addresses of the assets being flash-borrowed\n @param amounts The amounts amounts being flash-borrowed\n @param modes Types of the debt to open if the flash loan is not returned:\n 0 -> Don't open any debt, just revert if funds can't be transferred from the receiver\n 1 -> Open debt at stable rate for the value of the amount flash-borrowed to the `onBehalfOf` address\n 2 -> Open debt at variable rate for the value of the amount flash-borrowed to the `onBehalfOf` address\n @param onBehalfOf The address that will receive the debt in the case of using on `modes` 1 or 2\n @param params Variadic packed params to pass to the receiver as extra information\n @param referralCode Code used to register the integrator originating the operation, for potential rewards.\n 0 if the action is executed directly by the user, without any middle-man*" }, "functionSelector": "ab9c4b5d", - "id": 468, + "id": 473, "implemented": false, "kind": "function", "modifiers": [], @@ -8428,17 +8500,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 466, + "id": 471, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 450, + "id": 455, "mutability": "mutable", "name": "receiverAddress", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 468, + "scope": 473, "src": "14098:23:2", "stateVariable": false, "storageLocation": "default", @@ -8447,7 +8519,7 @@ "typeString": "address" }, "typeName": { - "id": 449, + "id": 454, "name": "address", "nodeType": "ElementaryTypeName", "src": "14098:7:2", @@ -8462,12 +8534,12 @@ }, { "constant": false, - "id": 453, + "id": 458, "mutability": "mutable", "name": "assets", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 468, + "scope": 473, "src": "14127:25:2", "stateVariable": false, "storageLocation": "calldata", @@ -8477,7 +8549,7 @@ }, "typeName": { "baseType": { - "id": 451, + "id": 456, "name": "address", "nodeType": "ElementaryTypeName", "src": "14127:7:2", @@ -8487,7 +8559,7 @@ "typeString": "address" } }, - "id": 452, + "id": 457, "length": null, "nodeType": "ArrayTypeName", "src": "14127:9:2", @@ -8501,12 +8573,12 @@ }, { "constant": false, - "id": 456, + "id": 461, "mutability": "mutable", "name": "amounts", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 468, + "scope": 473, "src": "14158:26:2", "stateVariable": false, "storageLocation": "calldata", @@ -8516,7 +8588,7 @@ }, "typeName": { "baseType": { - "id": 454, + "id": 459, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "14158:7:2", @@ -8525,7 +8597,7 @@ "typeString": "uint256" } }, - "id": 455, + "id": 460, "length": null, "nodeType": "ArrayTypeName", "src": "14158:9:2", @@ -8539,12 +8611,12 @@ }, { "constant": false, - "id": 459, + "id": 464, "mutability": "mutable", "name": "modes", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 468, + "scope": 473, "src": "14190:24:2", "stateVariable": false, "storageLocation": "calldata", @@ -8554,7 +8626,7 @@ }, "typeName": { "baseType": { - "id": 457, + "id": 462, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "14190:7:2", @@ -8563,7 +8635,7 @@ "typeString": "uint256" } }, - "id": 458, + "id": 463, "length": null, "nodeType": "ArrayTypeName", "src": "14190:9:2", @@ -8577,12 +8649,12 @@ }, { "constant": false, - "id": 461, + "id": 466, "mutability": "mutable", "name": "onBehalfOf", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 468, + "scope": 473, "src": "14220:18:2", "stateVariable": false, "storageLocation": "default", @@ -8591,7 +8663,7 @@ "typeString": "address" }, "typeName": { - "id": 460, + "id": 465, "name": "address", "nodeType": "ElementaryTypeName", "src": "14220:7:2", @@ -8606,12 +8678,12 @@ }, { "constant": false, - "id": 463, + "id": 468, "mutability": "mutable", "name": "params", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 468, + "scope": 473, "src": "14244:21:2", "stateVariable": false, "storageLocation": "calldata", @@ -8620,7 +8692,7 @@ "typeString": "bytes" }, "typeName": { - "id": 462, + "id": 467, "name": "bytes", "nodeType": "ElementaryTypeName", "src": "14244:5:2", @@ -8634,12 +8706,12 @@ }, { "constant": false, - "id": 465, + "id": 470, "mutability": "mutable", "name": "referralCode", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 468, + "scope": 473, "src": "14271:19:2", "stateVariable": false, "storageLocation": "default", @@ -8648,7 +8720,7 @@ "typeString": "uint16" }, "typeName": { - "id": 464, + "id": 469, "name": "uint16", "nodeType": "ElementaryTypeName", "src": "14271:6:2", @@ -8664,12 +8736,12 @@ "src": "14092:202:2" }, "returnParameters": { - "id": 467, + "id": 472, "nodeType": "ParameterList", "parameters": [], "src": "14303:0:2" }, - "scope": 590, + "scope": 595, "src": "14074:230:2", "stateMutability": "nonpayable", "virtual": false, @@ -8678,13 +8750,13 @@ { "body": null, "documentation": { - "id": 469, + "id": 474, "nodeType": "StructuredDocumentation", "src": "14308:507:2", "text": " @dev Returns the user account data across all the reserves\n @param user The address of the user\n @return totalCollateralETH the total collateral in ETH of the user\n @return totalDebtETH the total debt in ETH of the user\n @return availableBorrowsETH the borrowing power left of the user\n @return currentLiquidationThreshold the liquidation threshold of the user\n @return ltv the loan to value of the user\n @return healthFactor the current health factor of the user*" }, "functionSelector": "bf92857c", - "id": 486, + "id": 491, "implemented": false, "kind": "function", "modifiers": [], @@ -8692,17 +8764,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 472, + "id": 477, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 471, + "id": 476, "mutability": "mutable", "name": "user", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 486, + "scope": 491, "src": "14846:12:2", "stateVariable": false, "storageLocation": "default", @@ -8711,7 +8783,7 @@ "typeString": "address" }, "typeName": { - "id": 470, + "id": 475, "name": "address", "nodeType": "ElementaryTypeName", "src": "14846:7:2", @@ -8728,17 +8800,17 @@ "src": "14845:14:2" }, "returnParameters": { - "id": 485, + "id": 490, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 474, + "id": 479, "mutability": "mutable", "name": "totalCollateralETH", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 486, + "scope": 491, "src": "14902:26:2", "stateVariable": false, "storageLocation": "default", @@ -8747,7 +8819,7 @@ "typeString": "uint256" }, "typeName": { - "id": 473, + "id": 478, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "14902:7:2", @@ -8761,12 +8833,12 @@ }, { "constant": false, - "id": 476, + "id": 481, "mutability": "mutable", "name": "totalDebtETH", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 486, + "scope": 491, "src": "14936:20:2", "stateVariable": false, "storageLocation": "default", @@ -8775,7 +8847,7 @@ "typeString": "uint256" }, "typeName": { - "id": 475, + "id": 480, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "14936:7:2", @@ -8789,12 +8861,12 @@ }, { "constant": false, - "id": 478, + "id": 483, "mutability": "mutable", "name": "availableBorrowsETH", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 486, + "scope": 491, "src": "14964:27:2", "stateVariable": false, "storageLocation": "default", @@ -8803,7 +8875,7 @@ "typeString": "uint256" }, "typeName": { - "id": 477, + "id": 482, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "14964:7:2", @@ -8817,12 +8889,12 @@ }, { "constant": false, - "id": 480, + "id": 485, "mutability": "mutable", "name": "currentLiquidationThreshold", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 486, + "scope": 491, "src": "14999:35:2", "stateVariable": false, "storageLocation": "default", @@ -8831,7 +8903,7 @@ "typeString": "uint256" }, "typeName": { - "id": 479, + "id": 484, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "14999:7:2", @@ -8845,12 +8917,12 @@ }, { "constant": false, - "id": 482, + "id": 487, "mutability": "mutable", "name": "ltv", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 486, + "scope": 491, "src": "15042:11:2", "stateVariable": false, "storageLocation": "default", @@ -8859,7 +8931,7 @@ "typeString": "uint256" }, "typeName": { - "id": 481, + "id": 486, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "15042:7:2", @@ -8873,12 +8945,12 @@ }, { "constant": false, - "id": 484, + "id": 489, "mutability": "mutable", "name": "healthFactor", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 486, + "scope": 491, "src": "15061:20:2", "stateVariable": false, "storageLocation": "default", @@ -8887,7 +8959,7 @@ "typeString": "uint256" }, "typeName": { - "id": 483, + "id": 488, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "15061:7:2", @@ -8902,7 +8974,7 @@ ], "src": "14894:193:2" }, - "scope": 590, + "scope": 595, "src": "14818:270:2", "stateMutability": "view", "virtual": false, @@ -8912,7 +8984,7 @@ "body": null, "documentation": null, "functionSelector": "7a708e92", - "id": 499, + "id": 504, "implemented": false, "kind": "function", "modifiers": [], @@ -8920,17 +8992,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 497, + "id": 502, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 488, + "id": 493, "mutability": "mutable", "name": "reserve", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 499, + "scope": 504, "src": "15118:15:2", "stateVariable": false, "storageLocation": "default", @@ -8939,7 +9011,7 @@ "typeString": "address" }, "typeName": { - "id": 487, + "id": 492, "name": "address", "nodeType": "ElementaryTypeName", "src": "15118:7:2", @@ -8954,12 +9026,12 @@ }, { "constant": false, - "id": 490, + "id": 495, "mutability": "mutable", "name": "aTokenAddress", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 499, + "scope": 504, "src": "15139:21:2", "stateVariable": false, "storageLocation": "default", @@ -8968,7 +9040,7 @@ "typeString": "address" }, "typeName": { - "id": 489, + "id": 494, "name": "address", "nodeType": "ElementaryTypeName", "src": "15139:7:2", @@ -8983,12 +9055,12 @@ }, { "constant": false, - "id": 492, + "id": 497, "mutability": "mutable", "name": "stableDebtAddress", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 499, + "scope": 504, "src": "15166:25:2", "stateVariable": false, "storageLocation": "default", @@ -8997,7 +9069,7 @@ "typeString": "address" }, "typeName": { - "id": 491, + "id": 496, "name": "address", "nodeType": "ElementaryTypeName", "src": "15166:7:2", @@ -9012,12 +9084,12 @@ }, { "constant": false, - "id": 494, + "id": 499, "mutability": "mutable", "name": "variableDebtAddress", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 499, + "scope": 504, "src": "15197:27:2", "stateVariable": false, "storageLocation": "default", @@ -9026,7 +9098,7 @@ "typeString": "address" }, "typeName": { - "id": 493, + "id": 498, "name": "address", "nodeType": "ElementaryTypeName", "src": "15197:7:2", @@ -9041,12 +9113,12 @@ }, { "constant": false, - "id": 496, + "id": 501, "mutability": "mutable", "name": "interestRateStrategyAddress", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 499, + "scope": 504, "src": "15230:35:2", "stateVariable": false, "storageLocation": "default", @@ -9055,7 +9127,7 @@ "typeString": "address" }, "typeName": { - "id": 495, + "id": 500, "name": "address", "nodeType": "ElementaryTypeName", "src": "15230:7:2", @@ -9072,12 +9144,12 @@ "src": "15112:157:2" }, "returnParameters": { - "id": 498, + "id": 503, "nodeType": "ParameterList", "parameters": [], "src": "15278:0:2" }, - "scope": 590, + "scope": 595, "src": "15092:187:2", "stateMutability": "nonpayable", "virtual": false, @@ -9087,7 +9159,7 @@ "body": null, "documentation": null, "functionSelector": "1d2118f9", - "id": 506, + "id": 511, "implemented": false, "kind": "function", "modifiers": [], @@ -9095,17 +9167,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 504, + "id": 509, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 501, + "id": 506, "mutability": "mutable", "name": "reserve", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 506, + "scope": 511, "src": "15330:15:2", "stateVariable": false, "storageLocation": "default", @@ -9114,7 +9186,7 @@ "typeString": "address" }, "typeName": { - "id": 500, + "id": 505, "name": "address", "nodeType": "ElementaryTypeName", "src": "15330:7:2", @@ -9129,12 +9201,12 @@ }, { "constant": false, - "id": 503, + "id": 508, "mutability": "mutable", "name": "rateStrategyAddress", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 506, + "scope": 511, "src": "15347:27:2", "stateVariable": false, "storageLocation": "default", @@ -9143,7 +9215,7 @@ "typeString": "address" }, "typeName": { - "id": 502, + "id": 507, "name": "address", "nodeType": "ElementaryTypeName", "src": "15347:7:2", @@ -9160,12 +9232,12 @@ "src": "15329:46:2" }, "returnParameters": { - "id": 505, + "id": 510, "nodeType": "ParameterList", "parameters": [], "src": "15388:0:2" }, - "scope": 590, + "scope": 595, "src": "15283:106:2", "stateMutability": "nonpayable", "virtual": false, @@ -9175,7 +9247,7 @@ "body": null, "documentation": null, "functionSelector": "b8d29276", - "id": 513, + "id": 518, "implemented": false, "kind": "function", "modifiers": [], @@ -9183,17 +9255,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 511, + "id": 516, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 508, + "id": 513, "mutability": "mutable", "name": "reserve", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 513, + "scope": 518, "src": "15419:15:2", "stateVariable": false, "storageLocation": "default", @@ -9202,7 +9274,7 @@ "typeString": "address" }, "typeName": { - "id": 507, + "id": 512, "name": "address", "nodeType": "ElementaryTypeName", "src": "15419:7:2", @@ -9217,12 +9289,12 @@ }, { "constant": false, - "id": 510, + "id": 515, "mutability": "mutable", "name": "configuration", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 513, + "scope": 518, "src": "15436:21:2", "stateVariable": false, "storageLocation": "default", @@ -9231,7 +9303,7 @@ "typeString": "uint256" }, "typeName": { - "id": 509, + "id": 514, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "15436:7:2", @@ -9247,12 +9319,12 @@ "src": "15418:40:2" }, "returnParameters": { - "id": 512, + "id": 517, "nodeType": "ParameterList", "parameters": [], "src": "15467:0:2" }, - "scope": 590, + "scope": 595, "src": "15393:75:2", "stateMutability": "nonpayable", "virtual": false, @@ -9261,13 +9333,13 @@ { "body": null, "documentation": { - "id": 514, + "id": 519, "nodeType": "StructuredDocumentation", "src": "15472:176:2", "text": " @dev Returns the configuration of the reserve\n @param asset The address of the underlying asset of the reserve\n @return The configuration of the reserve*" }, "functionSelector": "c44b11f7", - "id": 521, + "id": 526, "implemented": false, "kind": "function", "modifiers": [], @@ -9275,17 +9347,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 517, + "id": 522, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 516, + "id": 521, "mutability": "mutable", "name": "asset", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 521, + "scope": 526, "src": "15677:13:2", "stateVariable": false, "storageLocation": "default", @@ -9294,7 +9366,7 @@ "typeString": "address" }, "typeName": { - "id": 515, + "id": 520, "name": "address", "nodeType": "ElementaryTypeName", "src": "15677:7:2", @@ -9311,33 +9383,33 @@ "src": "15676:15:2" }, "returnParameters": { - "id": 520, + "id": 525, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 519, + "id": 524, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 521, + "scope": 526, "src": "15727:40:2", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { - "typeIdentifier": "t_struct$_ReserveConfigurationMap_$856_memory_ptr", + "typeIdentifier": "t_struct$_ReserveConfigurationMap_$861_memory_ptr", "typeString": "struct DataTypes.ReserveConfigurationMap" }, "typeName": { "contractScope": null, - "id": 518, + "id": 523, "name": "DataTypes.ReserveConfigurationMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 856, + "referencedDeclaration": 861, "src": "15727:33:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_ReserveConfigurationMap_$856_storage_ptr", + "typeIdentifier": "t_struct$_ReserveConfigurationMap_$861_storage_ptr", "typeString": "struct DataTypes.ReserveConfigurationMap" } }, @@ -9347,7 +9419,7 @@ ], "src": "15726:42:2" }, - "scope": 590, + "scope": 595, "src": "15651:118:2", "stateMutability": "view", "virtual": false, @@ -9356,13 +9428,13 @@ { "body": null, "documentation": { - "id": 522, + "id": 527, "nodeType": "StructuredDocumentation", "src": "15773:159:2", "text": " @dev Returns the configuration of the user across all the reserves\n @param user The user address\n @return The configuration of the user*" }, "functionSelector": "4417a583", - "id": 529, + "id": 534, "implemented": false, "kind": "function", "modifiers": [], @@ -9370,17 +9442,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 525, + "id": 530, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 524, + "id": 529, "mutability": "mutable", "name": "user", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 529, + "scope": 534, "src": "15965:12:2", "stateVariable": false, "storageLocation": "default", @@ -9389,7 +9461,7 @@ "typeString": "address" }, "typeName": { - "id": 523, + "id": 528, "name": "address", "nodeType": "ElementaryTypeName", "src": "15965:7:2", @@ -9406,33 +9478,33 @@ "src": "15964:14:2" }, "returnParameters": { - "id": 528, + "id": 533, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 527, + "id": 532, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 529, + "scope": 534, "src": "16014:37:2", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { - "typeIdentifier": "t_struct$_UserConfigurationMap_$859_memory_ptr", + "typeIdentifier": "t_struct$_UserConfigurationMap_$864_memory_ptr", "typeString": "struct DataTypes.UserConfigurationMap" }, "typeName": { "contractScope": null, - "id": 526, + "id": 531, "name": "DataTypes.UserConfigurationMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 859, + "referencedDeclaration": 864, "src": "16014:30:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_UserConfigurationMap_$859_storage_ptr", + "typeIdentifier": "t_struct$_UserConfigurationMap_$864_storage_ptr", "typeString": "struct DataTypes.UserConfigurationMap" } }, @@ -9442,7 +9514,7 @@ ], "src": "16013:39:2" }, - "scope": 590, + "scope": 595, "src": "15935:118:2", "stateMutability": "view", "virtual": false, @@ -9451,13 +9523,13 @@ { "body": null, "documentation": { - "id": 530, + "id": 535, "nodeType": "StructuredDocumentation", "src": "16057:196:2", "text": " @dev Returns the normalized income normalized income of the reserve\n @param asset The address of the underlying asset of the reserve\n @return The reserve's normalized income" }, "functionSelector": "d15e0053", - "id": 537, + "id": 542, "implemented": false, "kind": "function", "modifiers": [], @@ -9465,17 +9537,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 533, + "id": 538, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 532, + "id": 537, "mutability": "mutable", "name": "asset", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 537, + "scope": 542, "src": "16292:13:2", "stateVariable": false, "storageLocation": "default", @@ -9484,7 +9556,7 @@ "typeString": "address" }, "typeName": { - "id": 531, + "id": 536, "name": "address", "nodeType": "ElementaryTypeName", "src": "16292:7:2", @@ -9501,17 +9573,17 @@ "src": "16291:15:2" }, "returnParameters": { - "id": 536, + "id": 541, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 535, + "id": 540, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 537, + "scope": 542, "src": "16330:7:2", "stateVariable": false, "storageLocation": "default", @@ -9520,7 +9592,7 @@ "typeString": "uint256" }, "typeName": { - "id": 534, + "id": 539, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "16330:7:2", @@ -9535,7 +9607,7 @@ ], "src": "16329:9:2" }, - "scope": 590, + "scope": 595, "src": "16256:83:2", "stateMutability": "view", "virtual": false, @@ -9544,13 +9616,13 @@ { "body": null, "documentation": { - "id": 538, + "id": 543, "nodeType": "StructuredDocumentation", "src": "16343:193:2", "text": " @dev Returns the normalized variable debt per unit of asset\n @param asset The address of the underlying asset of the reserve\n @return The reserve normalized variable debt" }, "functionSelector": "386497fd", - "id": 545, + "id": 550, "implemented": false, "kind": "function", "modifiers": [], @@ -9558,17 +9630,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 541, + "id": 546, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 540, + "id": 545, "mutability": "mutable", "name": "asset", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 545, + "scope": 550, "src": "16581:13:2", "stateVariable": false, "storageLocation": "default", @@ -9577,7 +9649,7 @@ "typeString": "address" }, "typeName": { - "id": 539, + "id": 544, "name": "address", "nodeType": "ElementaryTypeName", "src": "16581:7:2", @@ -9594,17 +9666,17 @@ "src": "16580:15:2" }, "returnParameters": { - "id": 544, + "id": 549, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 543, + "id": 548, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 545, + "scope": 550, "src": "16619:7:2", "stateVariable": false, "storageLocation": "default", @@ -9613,7 +9685,7 @@ "typeString": "uint256" }, "typeName": { - "id": 542, + "id": 547, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "16619:7:2", @@ -9628,7 +9700,7 @@ ], "src": "16618:9:2" }, - "scope": 590, + "scope": 595, "src": "16539:89:2", "stateMutability": "view", "virtual": false, @@ -9637,13 +9709,13 @@ { "body": null, "documentation": { - "id": 546, + "id": 551, "nodeType": "StructuredDocumentation", "src": "16632:178:2", "text": " @dev Returns the state and configuration of the reserve\n @param asset The address of the underlying asset of the reserve\n @return The state of the reserve*" }, "functionSelector": "35ea6a75", - "id": 553, + "id": 558, "implemented": false, "kind": "function", "modifiers": [], @@ -9651,17 +9723,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 549, + "id": 554, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 548, + "id": 553, "mutability": "mutable", "name": "asset", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 553, + "scope": 558, "src": "16837:13:2", "stateVariable": false, "storageLocation": "default", @@ -9670,7 +9742,7 @@ "typeString": "address" }, "typeName": { - "id": 547, + "id": 552, "name": "address", "nodeType": "ElementaryTypeName", "src": "16837:7:2", @@ -9687,33 +9759,33 @@ "src": "16836:15:2" }, "returnParameters": { - "id": 552, + "id": 557, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 551, + "id": 556, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 553, + "scope": 558, "src": "16875:28:2", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { - "typeIdentifier": "t_struct$_ReserveData_$853_memory_ptr", + "typeIdentifier": "t_struct$_ReserveData_$858_memory_ptr", "typeString": "struct DataTypes.ReserveData" }, "typeName": { "contractScope": null, - "id": 550, + "id": 555, "name": "DataTypes.ReserveData", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 853, + "referencedDeclaration": 858, "src": "16875:21:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_ReserveData_$853_storage_ptr", + "typeIdentifier": "t_struct$_ReserveData_$858_storage_ptr", "typeString": "struct DataTypes.ReserveData" } }, @@ -9723,7 +9795,7 @@ ], "src": "16874:30:2" }, - "scope": 590, + "scope": 595, "src": "16813:92:2", "stateMutability": "view", "virtual": false, @@ -9733,7 +9805,7 @@ "body": null, "documentation": null, "functionSelector": "d5ed3933", - "id": 568, + "id": 573, "implemented": false, "kind": "function", "modifiers": [], @@ -9741,17 +9813,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 566, + "id": 571, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 555, + "id": 560, "mutability": "mutable", "name": "asset", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 568, + "scope": 573, "src": "16940:13:2", "stateVariable": false, "storageLocation": "default", @@ -9760,7 +9832,7 @@ "typeString": "address" }, "typeName": { - "id": 554, + "id": 559, "name": "address", "nodeType": "ElementaryTypeName", "src": "16940:7:2", @@ -9775,12 +9847,12 @@ }, { "constant": false, - "id": 557, + "id": 562, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 568, + "scope": 573, "src": "16959:12:2", "stateVariable": false, "storageLocation": "default", @@ -9789,7 +9861,7 @@ "typeString": "address" }, "typeName": { - "id": 556, + "id": 561, "name": "address", "nodeType": "ElementaryTypeName", "src": "16959:7:2", @@ -9804,12 +9876,12 @@ }, { "constant": false, - "id": 559, + "id": 564, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 568, + "scope": 573, "src": "16977:10:2", "stateVariable": false, "storageLocation": "default", @@ -9818,7 +9890,7 @@ "typeString": "address" }, "typeName": { - "id": 558, + "id": 563, "name": "address", "nodeType": "ElementaryTypeName", "src": "16977:7:2", @@ -9833,12 +9905,12 @@ }, { "constant": false, - "id": 561, + "id": 566, "mutability": "mutable", "name": "amount", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 568, + "scope": 573, "src": "16993:14:2", "stateVariable": false, "storageLocation": "default", @@ -9847,7 +9919,7 @@ "typeString": "uint256" }, "typeName": { - "id": 560, + "id": 565, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "16993:7:2", @@ -9861,12 +9933,12 @@ }, { "constant": false, - "id": 563, + "id": 568, "mutability": "mutable", "name": "balanceFromAfter", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 568, + "scope": 573, "src": "17013:24:2", "stateVariable": false, "storageLocation": "default", @@ -9875,7 +9947,7 @@ "typeString": "uint256" }, "typeName": { - "id": 562, + "id": 567, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "17013:7:2", @@ -9889,12 +9961,12 @@ }, { "constant": false, - "id": 565, + "id": 570, "mutability": "mutable", "name": "balanceToBefore", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 568, + "scope": 573, "src": "17043:23:2", "stateVariable": false, "storageLocation": "default", @@ -9903,7 +9975,7 @@ "typeString": "uint256" }, "typeName": { - "id": 564, + "id": 569, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "17043:7:2", @@ -9919,12 +9991,12 @@ "src": "16934:136:2" }, "returnParameters": { - "id": 567, + "id": 572, "nodeType": "ParameterList", "parameters": [], "src": "17079:0:2" }, - "scope": 590, + "scope": 595, "src": "16909:171:2", "stateMutability": "nonpayable", "virtual": false, @@ -9934,7 +10006,7 @@ "body": null, "documentation": null, "functionSelector": "d1946dbc", - "id": 574, + "id": 579, "implemented": false, "kind": "function", "modifiers": [], @@ -9942,23 +10014,23 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 569, + "id": 574, "nodeType": "ParameterList", "parameters": [], "src": "17108:2:2" }, "returnParameters": { - "id": 573, + "id": 578, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 572, + "id": 577, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 574, + "scope": 579, "src": "17134:16:2", "stateVariable": false, "storageLocation": "memory", @@ -9968,7 +10040,7 @@ }, "typeName": { "baseType": { - "id": 570, + "id": 575, "name": "address", "nodeType": "ElementaryTypeName", "src": "17134:7:2", @@ -9978,7 +10050,7 @@ "typeString": "address" } }, - "id": 571, + "id": 576, "length": null, "nodeType": "ArrayTypeName", "src": "17134:9:2", @@ -9993,7 +10065,7 @@ ], "src": "17133:18:2" }, - "scope": 590, + "scope": 595, "src": "17084:68:2", "stateMutability": "view", "virtual": false, @@ -10003,7 +10075,7 @@ "body": null, "documentation": null, "functionSelector": "fe65acfe", - "id": 579, + "id": 584, "implemented": false, "kind": "function", "modifiers": [], @@ -10011,39 +10083,39 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 575, + "id": 580, "nodeType": "ParameterList", "parameters": [], "src": "17185:2:2" }, "returnParameters": { - "id": 578, + "id": 583, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 577, + "id": 582, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 579, + "scope": 584, "src": "17211:29:2", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_ILendingPoolAddressesProvider_$741", + "typeIdentifier": "t_contract$_ILendingPoolAddressesProvider_$746", "typeString": "contract ILendingPoolAddressesProvider" }, "typeName": { "contractScope": null, - "id": 576, + "id": 581, "name": "ILendingPoolAddressesProvider", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 741, + "referencedDeclaration": 746, "src": "17211:29:2", "typeDescriptions": { - "typeIdentifier": "t_contract$_ILendingPoolAddressesProvider_$741", + "typeIdentifier": "t_contract$_ILendingPoolAddressesProvider_$746", "typeString": "contract ILendingPoolAddressesProvider" } }, @@ -10053,7 +10125,7 @@ ], "src": "17210:31:2" }, - "scope": 590, + "scope": 595, "src": "17156:86:2", "stateMutability": "view", "virtual": false, @@ -10063,7 +10135,7 @@ "body": null, "documentation": null, "functionSelector": "bedb86fb", - "id": 584, + "id": 589, "implemented": false, "kind": "function", "modifiers": [], @@ -10071,17 +10143,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 582, + "id": 587, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 581, + "id": 586, "mutability": "mutable", "name": "val", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 584, + "scope": 589, "src": "17264:8:2", "stateVariable": false, "storageLocation": "default", @@ -10090,7 +10162,7 @@ "typeString": "bool" }, "typeName": { - "id": 580, + "id": 585, "name": "bool", "nodeType": "ElementaryTypeName", "src": "17264:4:2", @@ -10106,12 +10178,12 @@ "src": "17263:10:2" }, "returnParameters": { - "id": 583, + "id": 588, "nodeType": "ParameterList", "parameters": [], "src": "17282:0:2" }, - "scope": 590, + "scope": 595, "src": "17246:37:2", "stateMutability": "nonpayable", "virtual": false, @@ -10121,7 +10193,7 @@ "body": null, "documentation": null, "functionSelector": "5c975abb", - "id": 589, + "id": 594, "implemented": false, "kind": "function", "modifiers": [], @@ -10129,23 +10201,23 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 585, + "id": 590, "nodeType": "ParameterList", "parameters": [], "src": "17302:2:2" }, "returnParameters": { - "id": 588, + "id": 593, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 587, + "id": 592, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 589, + "scope": 594, "src": "17328:4:2", "stateVariable": false, "storageLocation": "default", @@ -10154,7 +10226,7 @@ "typeString": "bool" }, "typeName": { - "id": 586, + "id": 591, "name": "bool", "nodeType": "ElementaryTypeName", "src": "17328:4:2", @@ -10169,14 +10241,14 @@ ], "src": "17327:6:2" }, - "scope": 590, + "scope": 595, "src": "17287:47:2", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 591, + "scope": 596, "src": "228:17108:2" } ], @@ -10189,15 +10261,15 @@ "absolutePath": "contracts/assetListing/interfaces/ILendingPoolAddressesProvider.sol", "exportedSymbols": { "ILendingPoolAddressesProvider": [ - 741 + 746 ] }, - "id": 742, + "id": 747, "license": "agpl-3.0", "nodeType": "SourceUnit", "nodes": [ { - "id": 592, + "id": 597, "literals": [ "solidity", "0.6", @@ -10212,15 +10284,15 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 593, + "id": 598, "nodeType": "StructuredDocumentation", "src": "62:311:3", "text": " @title LendingPoolAddressesProvider contract\n @dev Main registry of addresses part of or connected to the protocol, including permissioned roles\n - Acting also as factory of proxies and admin of those, so with right to change its implementations\n - Owned by the Aave Governance\n @author Aave*" }, "fullyImplemented": false, - "id": 741, + "id": 746, "linearizedBaseContracts": [ - 741 + 746 ], "name": "ILendingPoolAddressesProvider", "nodeType": "ContractDefinition", @@ -10228,22 +10300,22 @@ { "anonymous": false, "documentation": null, - "id": 597, + "id": 602, "name": "MarketIdSet", "nodeType": "EventDefinition", "parameters": { - "id": 596, + "id": 601, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 595, + "id": 600, "indexed": false, "mutability": "mutable", "name": "newMarketId", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 597, + "scope": 602, "src": "436:18:3", "stateVariable": false, "storageLocation": "default", @@ -10252,7 +10324,7 @@ "typeString": "string" }, "typeName": { - "id": 594, + "id": 599, "name": "string", "nodeType": "ElementaryTypeName", "src": "436:6:3", @@ -10272,22 +10344,22 @@ { "anonymous": false, "documentation": null, - "id": 601, + "id": 606, "name": "LendingPoolUpdated", "nodeType": "EventDefinition", "parameters": { - "id": 600, + "id": 605, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 599, + "id": 604, "indexed": true, "mutability": "mutable", "name": "newAddress", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 601, + "scope": 606, "src": "484:26:3", "stateVariable": false, "storageLocation": "default", @@ -10296,7 +10368,7 @@ "typeString": "address" }, "typeName": { - "id": 598, + "id": 603, "name": "address", "nodeType": "ElementaryTypeName", "src": "484:7:3", @@ -10317,22 +10389,22 @@ { "anonymous": false, "documentation": null, - "id": 605, + "id": 610, "name": "ConfigurationAdminUpdated", "nodeType": "EventDefinition", "parameters": { - "id": 604, + "id": 609, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 603, + "id": 608, "indexed": true, "mutability": "mutable", "name": "newAddress", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 605, + "scope": 610, "src": "547:26:3", "stateVariable": false, "storageLocation": "default", @@ -10341,7 +10413,7 @@ "typeString": "address" }, "typeName": { - "id": 602, + "id": 607, "name": "address", "nodeType": "ElementaryTypeName", "src": "547:7:3", @@ -10362,22 +10434,22 @@ { "anonymous": false, "documentation": null, - "id": 609, + "id": 614, "name": "EmergencyAdminUpdated", "nodeType": "EventDefinition", "parameters": { - "id": 608, + "id": 613, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 607, + "id": 612, "indexed": true, "mutability": "mutable", "name": "newAddress", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 609, + "scope": 614, "src": "606:26:3", "stateVariable": false, "storageLocation": "default", @@ -10386,7 +10458,7 @@ "typeString": "address" }, "typeName": { - "id": 606, + "id": 611, "name": "address", "nodeType": "ElementaryTypeName", "src": "606:7:3", @@ -10407,22 +10479,22 @@ { "anonymous": false, "documentation": null, - "id": 613, + "id": 618, "name": "LendingPoolConfiguratorUpdated", "nodeType": "EventDefinition", "parameters": { - "id": 612, + "id": 617, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 611, + "id": 616, "indexed": true, "mutability": "mutable", "name": "newAddress", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 613, + "scope": 618, "src": "674:26:3", "stateVariable": false, "storageLocation": "default", @@ -10431,7 +10503,7 @@ "typeString": "address" }, "typeName": { - "id": 610, + "id": 615, "name": "address", "nodeType": "ElementaryTypeName", "src": "674:7:3", @@ -10452,22 +10524,22 @@ { "anonymous": false, "documentation": null, - "id": 617, + "id": 622, "name": "LendingPoolCollateralManagerUpdated", "nodeType": "EventDefinition", "parameters": { - "id": 616, + "id": 621, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 615, + "id": 620, "indexed": true, "mutability": "mutable", "name": "newAddress", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 617, + "scope": 622, "src": "747:26:3", "stateVariable": false, "storageLocation": "default", @@ -10476,7 +10548,7 @@ "typeString": "address" }, "typeName": { - "id": 614, + "id": 619, "name": "address", "nodeType": "ElementaryTypeName", "src": "747:7:3", @@ -10497,22 +10569,22 @@ { "anonymous": false, "documentation": null, - "id": 621, + "id": 626, "name": "PriceOracleUpdated", "nodeType": "EventDefinition", "parameters": { - "id": 620, + "id": 625, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 619, + "id": 624, "indexed": true, "mutability": "mutable", "name": "newAddress", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 621, + "scope": 626, "src": "803:26:3", "stateVariable": false, "storageLocation": "default", @@ -10521,7 +10593,7 @@ "typeString": "address" }, "typeName": { - "id": 618, + "id": 623, "name": "address", "nodeType": "ElementaryTypeName", "src": "803:7:3", @@ -10542,22 +10614,22 @@ { "anonymous": false, "documentation": null, - "id": 625, + "id": 630, "name": "LendingRateOracleUpdated", "nodeType": "EventDefinition", "parameters": { - "id": 624, + "id": 629, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 623, + "id": 628, "indexed": true, "mutability": "mutable", "name": "newAddress", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 625, + "scope": 630, "src": "865:26:3", "stateVariable": false, "storageLocation": "default", @@ -10566,7 +10638,7 @@ "typeString": "address" }, "typeName": { - "id": 622, + "id": 627, "name": "address", "nodeType": "ElementaryTypeName", "src": "865:7:3", @@ -10587,22 +10659,22 @@ { "anonymous": false, "documentation": null, - "id": 631, + "id": 636, "name": "ProxyCreated", "nodeType": "EventDefinition", "parameters": { - "id": 630, + "id": 635, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 627, + "id": 632, "indexed": false, "mutability": "mutable", "name": "id", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 631, + "scope": 636, "src": "915:10:3", "stateVariable": false, "storageLocation": "default", @@ -10611,7 +10683,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 626, + "id": 631, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "915:7:3", @@ -10625,13 +10697,13 @@ }, { "constant": false, - "id": 629, + "id": 634, "indexed": true, "mutability": "mutable", "name": "newAddress", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 631, + "scope": 636, "src": "927:26:3", "stateVariable": false, "storageLocation": "default", @@ -10640,7 +10712,7 @@ "typeString": "address" }, "typeName": { - "id": 628, + "id": 633, "name": "address", "nodeType": "ElementaryTypeName", "src": "927:7:3", @@ -10661,22 +10733,22 @@ { "anonymous": false, "documentation": null, - "id": 639, + "id": 644, "name": "AddressSet", "nodeType": "EventDefinition", "parameters": { - "id": 638, + "id": 643, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 633, + "id": 638, "indexed": false, "mutability": "mutable", "name": "id", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 639, + "scope": 644, "src": "975:10:3", "stateVariable": false, "storageLocation": "default", @@ -10685,7 +10757,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 632, + "id": 637, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "975:7:3", @@ -10699,13 +10771,13 @@ }, { "constant": false, - "id": 635, + "id": 640, "indexed": true, "mutability": "mutable", "name": "newAddress", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 639, + "scope": 644, "src": "987:26:3", "stateVariable": false, "storageLocation": "default", @@ -10714,7 +10786,7 @@ "typeString": "address" }, "typeName": { - "id": 634, + "id": 639, "name": "address", "nodeType": "ElementaryTypeName", "src": "987:7:3", @@ -10729,13 +10801,13 @@ }, { "constant": false, - "id": 637, + "id": 642, "indexed": false, "mutability": "mutable", "name": "hasProxy", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 639, + "scope": 644, "src": "1015:13:3", "stateVariable": false, "storageLocation": "default", @@ -10744,7 +10816,7 @@ "typeString": "bool" }, "typeName": { - "id": 636, + "id": 641, "name": "bool", "nodeType": "ElementaryTypeName", "src": "1015:4:3", @@ -10765,7 +10837,7 @@ "body": null, "documentation": null, "functionSelector": "568ef470", - "id": 644, + "id": 649, "implemented": false, "kind": "function", "modifiers": [], @@ -10773,23 +10845,23 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 640, + "id": 645, "nodeType": "ParameterList", "parameters": [], "src": "1054:2:3" }, "returnParameters": { - "id": 643, + "id": 648, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 642, + "id": 647, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 644, + "scope": 649, "src": "1080:13:3", "stateVariable": false, "storageLocation": "memory", @@ -10798,7 +10870,7 @@ "typeString": "string" }, "typeName": { - "id": 641, + "id": 646, "name": "string", "nodeType": "ElementaryTypeName", "src": "1080:6:3", @@ -10813,7 +10885,7 @@ ], "src": "1079:15:3" }, - "scope": 741, + "scope": 746, "src": "1034:61:3", "stateMutability": "view", "virtual": false, @@ -10823,7 +10895,7 @@ "body": null, "documentation": null, "functionSelector": "f67b1847", - "id": 649, + "id": 654, "implemented": false, "kind": "function", "modifiers": [], @@ -10831,17 +10903,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 647, + "id": 652, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 646, + "id": 651, "mutability": "mutable", "name": "marketId", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 649, + "scope": 654, "src": "1120:24:3", "stateVariable": false, "storageLocation": "calldata", @@ -10850,7 +10922,7 @@ "typeString": "string" }, "typeName": { - "id": 645, + "id": 650, "name": "string", "nodeType": "ElementaryTypeName", "src": "1120:6:3", @@ -10866,12 +10938,12 @@ "src": "1119:26:3" }, "returnParameters": { - "id": 648, + "id": 653, "nodeType": "ParameterList", "parameters": [], "src": "1154:0:3" }, - "scope": 741, + "scope": 746, "src": "1099:56:3", "stateMutability": "nonpayable", "virtual": false, @@ -10881,7 +10953,7 @@ "body": null, "documentation": null, "functionSelector": "ca446dd9", - "id": 656, + "id": 661, "implemented": false, "kind": "function", "modifiers": [], @@ -10889,17 +10961,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 654, + "id": 659, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 651, + "id": 656, "mutability": "mutable", "name": "id", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 656, + "scope": 661, "src": "1179:10:3", "stateVariable": false, "storageLocation": "default", @@ -10908,7 +10980,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 650, + "id": 655, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "1179:7:3", @@ -10922,12 +10994,12 @@ }, { "constant": false, - "id": 653, + "id": 658, "mutability": "mutable", "name": "newAddress", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 656, + "scope": 661, "src": "1191:18:3", "stateVariable": false, "storageLocation": "default", @@ -10936,7 +11008,7 @@ "typeString": "address" }, "typeName": { - "id": 652, + "id": 657, "name": "address", "nodeType": "ElementaryTypeName", "src": "1191:7:3", @@ -10953,12 +11025,12 @@ "src": "1178:32:3" }, "returnParameters": { - "id": 655, + "id": 660, "nodeType": "ParameterList", "parameters": [], "src": "1219:0:3" }, - "scope": 741, + "scope": 746, "src": "1159:61:3", "stateMutability": "nonpayable", "virtual": false, @@ -10968,7 +11040,7 @@ "body": null, "documentation": null, "functionSelector": "5dcc528c", - "id": 663, + "id": 668, "implemented": false, "kind": "function", "modifiers": [], @@ -10976,17 +11048,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 661, + "id": 666, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 658, + "id": 663, "mutability": "mutable", "name": "id", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 663, + "scope": 668, "src": "1251:10:3", "stateVariable": false, "storageLocation": "default", @@ -10995,7 +11067,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 657, + "id": 662, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "1251:7:3", @@ -11009,12 +11081,12 @@ }, { "constant": false, - "id": 660, + "id": 665, "mutability": "mutable", "name": "impl", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 663, + "scope": 668, "src": "1263:12:3", "stateVariable": false, "storageLocation": "default", @@ -11023,7 +11095,7 @@ "typeString": "address" }, "typeName": { - "id": 659, + "id": 664, "name": "address", "nodeType": "ElementaryTypeName", "src": "1263:7:3", @@ -11040,12 +11112,12 @@ "src": "1250:26:3" }, "returnParameters": { - "id": 662, + "id": 667, "nodeType": "ParameterList", "parameters": [], "src": "1285:0:3" }, - "scope": 741, + "scope": 746, "src": "1224:62:3", "stateMutability": "nonpayable", "virtual": false, @@ -11055,7 +11127,7 @@ "body": null, "documentation": null, "functionSelector": "21f8a721", - "id": 670, + "id": 675, "implemented": false, "kind": "function", "modifiers": [], @@ -11063,17 +11135,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 666, + "id": 671, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 665, + "id": 670, "mutability": "mutable", "name": "id", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 670, + "scope": 675, "src": "1310:10:3", "stateVariable": false, "storageLocation": "default", @@ -11082,7 +11154,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 664, + "id": 669, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "1310:7:3", @@ -11098,17 +11170,17 @@ "src": "1309:12:3" }, "returnParameters": { - "id": 669, + "id": 674, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 668, + "id": 673, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 670, + "scope": 675, "src": "1345:7:3", "stateVariable": false, "storageLocation": "default", @@ -11117,7 +11189,7 @@ "typeString": "address" }, "typeName": { - "id": 667, + "id": 672, "name": "address", "nodeType": "ElementaryTypeName", "src": "1345:7:3", @@ -11133,7 +11205,7 @@ ], "src": "1344:9:3" }, - "scope": 741, + "scope": 746, "src": "1290:64:3", "stateMutability": "view", "virtual": false, @@ -11143,7 +11215,7 @@ "body": null, "documentation": null, "functionSelector": "0261bf8b", - "id": 675, + "id": 680, "implemented": false, "kind": "function", "modifiers": [], @@ -11151,23 +11223,23 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 671, + "id": 676, "nodeType": "ParameterList", "parameters": [], "src": "1381:2:3" }, "returnParameters": { - "id": 674, + "id": 679, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 673, + "id": 678, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 675, + "scope": 680, "src": "1407:7:3", "stateVariable": false, "storageLocation": "default", @@ -11176,7 +11248,7 @@ "typeString": "address" }, "typeName": { - "id": 672, + "id": 677, "name": "address", "nodeType": "ElementaryTypeName", "src": "1407:7:3", @@ -11192,7 +11264,7 @@ ], "src": "1406:9:3" }, - "scope": 741, + "scope": 746, "src": "1358:58:3", "stateMutability": "view", "virtual": false, @@ -11202,7 +11274,7 @@ "body": null, "documentation": null, "functionSelector": "5aef021f", - "id": 680, + "id": 685, "implemented": false, "kind": "function", "modifiers": [], @@ -11210,17 +11282,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 678, + "id": 683, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 677, + "id": 682, "mutability": "mutable", "name": "pool", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 680, + "scope": 685, "src": "1448:12:3", "stateVariable": false, "storageLocation": "default", @@ -11229,7 +11301,7 @@ "typeString": "address" }, "typeName": { - "id": 676, + "id": 681, "name": "address", "nodeType": "ElementaryTypeName", "src": "1448:7:3", @@ -11246,12 +11318,12 @@ "src": "1447:14:3" }, "returnParameters": { - "id": 679, + "id": 684, "nodeType": "ParameterList", "parameters": [], "src": "1470:0:3" }, - "scope": 741, + "scope": 746, "src": "1420:51:3", "stateMutability": "nonpayable", "virtual": false, @@ -11261,7 +11333,7 @@ "body": null, "documentation": null, "functionSelector": "85c858b1", - "id": 685, + "id": 690, "implemented": false, "kind": "function", "modifiers": [], @@ -11269,23 +11341,23 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 681, + "id": 686, "nodeType": "ParameterList", "parameters": [], "src": "1510:2:3" }, "returnParameters": { - "id": 684, + "id": 689, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 683, + "id": 688, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 685, + "scope": 690, "src": "1536:7:3", "stateVariable": false, "storageLocation": "default", @@ -11294,7 +11366,7 @@ "typeString": "address" }, "typeName": { - "id": 682, + "id": 687, "name": "address", "nodeType": "ElementaryTypeName", "src": "1536:7:3", @@ -11310,7 +11382,7 @@ ], "src": "1535:9:3" }, - "scope": 741, + "scope": 746, "src": "1475:70:3", "stateMutability": "view", "virtual": false, @@ -11320,7 +11392,7 @@ "body": null, "documentation": null, "functionSelector": "c12542df", - "id": 690, + "id": 695, "implemented": false, "kind": "function", "modifiers": [], @@ -11328,17 +11400,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 688, + "id": 693, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 687, + "id": 692, "mutability": "mutable", "name": "configurator", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 690, + "scope": 695, "src": "1589:20:3", "stateVariable": false, "storageLocation": "default", @@ -11347,7 +11419,7 @@ "typeString": "address" }, "typeName": { - "id": 686, + "id": 691, "name": "address", "nodeType": "ElementaryTypeName", "src": "1589:7:3", @@ -11364,12 +11436,12 @@ "src": "1588:22:3" }, "returnParameters": { - "id": 689, + "id": 694, "nodeType": "ParameterList", "parameters": [], "src": "1619:0:3" }, - "scope": 741, + "scope": 746, "src": "1549:71:3", "stateMutability": "nonpayable", "virtual": false, @@ -11379,7 +11451,7 @@ "body": null, "documentation": null, "functionSelector": "712d9171", - "id": 695, + "id": 700, "implemented": false, "kind": "function", "modifiers": [], @@ -11387,23 +11459,23 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 691, + "id": 696, "nodeType": "ParameterList", "parameters": [], "src": "1664:2:3" }, "returnParameters": { - "id": 694, + "id": 699, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 693, + "id": 698, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 695, + "scope": 700, "src": "1690:7:3", "stateVariable": false, "storageLocation": "default", @@ -11412,7 +11484,7 @@ "typeString": "address" }, "typeName": { - "id": 692, + "id": 697, "name": "address", "nodeType": "ElementaryTypeName", "src": "1690:7:3", @@ -11428,7 +11500,7 @@ ], "src": "1689:9:3" }, - "scope": 741, + "scope": 746, "src": "1624:75:3", "stateMutability": "view", "virtual": false, @@ -11438,7 +11510,7 @@ "body": null, "documentation": null, "functionSelector": "398e5553", - "id": 700, + "id": 705, "implemented": false, "kind": "function", "modifiers": [], @@ -11446,17 +11518,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 698, + "id": 703, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 697, + "id": 702, "mutability": "mutable", "name": "manager", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 700, + "scope": 705, "src": "1744:15:3", "stateVariable": false, "storageLocation": "default", @@ -11465,7 +11537,7 @@ "typeString": "address" }, "typeName": { - "id": 696, + "id": 701, "name": "address", "nodeType": "ElementaryTypeName", "src": "1744:7:3", @@ -11482,12 +11554,12 @@ "src": "1743:17:3" }, "returnParameters": { - "id": 699, + "id": 704, "nodeType": "ParameterList", "parameters": [], "src": "1769:0:3" }, - "scope": 741, + "scope": 746, "src": "1703:67:3", "stateMutability": "nonpayable", "virtual": false, @@ -11497,7 +11569,7 @@ "body": null, "documentation": null, "functionSelector": "aecda378", - "id": 705, + "id": 710, "implemented": false, "kind": "function", "modifiers": [], @@ -11505,23 +11577,23 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 701, + "id": 706, "nodeType": "ParameterList", "parameters": [], "src": "1795:2:3" }, "returnParameters": { - "id": 704, + "id": 709, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 703, + "id": 708, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 705, + "scope": 710, "src": "1821:7:3", "stateVariable": false, "storageLocation": "default", @@ -11530,7 +11602,7 @@ "typeString": "address" }, "typeName": { - "id": 702, + "id": 707, "name": "address", "nodeType": "ElementaryTypeName", "src": "1821:7:3", @@ -11546,7 +11618,7 @@ ], "src": "1820:9:3" }, - "scope": 741, + "scope": 746, "src": "1774:56:3", "stateMutability": "view", "virtual": false, @@ -11556,7 +11628,7 @@ "body": null, "documentation": null, "functionSelector": "283d62ad", - "id": 710, + "id": 715, "implemented": false, "kind": "function", "modifiers": [], @@ -11564,17 +11636,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 708, + "id": 713, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 707, + "id": 712, "mutability": "mutable", "name": "admin", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 710, + "scope": 715, "src": "1856:13:3", "stateVariable": false, "storageLocation": "default", @@ -11583,7 +11655,7 @@ "typeString": "address" }, "typeName": { - "id": 706, + "id": 711, "name": "address", "nodeType": "ElementaryTypeName", "src": "1856:7:3", @@ -11600,12 +11672,12 @@ "src": "1855:15:3" }, "returnParameters": { - "id": 709, + "id": 714, "nodeType": "ParameterList", "parameters": [], "src": "1879:0:3" }, - "scope": 741, + "scope": 746, "src": "1834:46:3", "stateMutability": "nonpayable", "virtual": false, @@ -11615,7 +11687,7 @@ "body": null, "documentation": null, "functionSelector": "ddcaa9ea", - "id": 715, + "id": 720, "implemented": false, "kind": "function", "modifiers": [], @@ -11623,23 +11695,23 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 711, + "id": 716, "nodeType": "ParameterList", "parameters": [], "src": "1910:2:3" }, "returnParameters": { - "id": 714, + "id": 719, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 713, + "id": 718, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 715, + "scope": 720, "src": "1936:7:3", "stateVariable": false, "storageLocation": "default", @@ -11648,7 +11720,7 @@ "typeString": "address" }, "typeName": { - "id": 712, + "id": 717, "name": "address", "nodeType": "ElementaryTypeName", "src": "1936:7:3", @@ -11664,7 +11736,7 @@ ], "src": "1935:9:3" }, - "scope": 741, + "scope": 746, "src": "1884:61:3", "stateMutability": "view", "virtual": false, @@ -11674,7 +11746,7 @@ "body": null, "documentation": null, "functionSelector": "35da3394", - "id": 720, + "id": 725, "implemented": false, "kind": "function", "modifiers": [], @@ -11682,17 +11754,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 718, + "id": 723, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 717, + "id": 722, "mutability": "mutable", "name": "admin", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 720, + "scope": 725, "src": "1976:13:3", "stateVariable": false, "storageLocation": "default", @@ -11701,7 +11773,7 @@ "typeString": "address" }, "typeName": { - "id": 716, + "id": 721, "name": "address", "nodeType": "ElementaryTypeName", "src": "1976:7:3", @@ -11718,12 +11790,12 @@ "src": "1975:15:3" }, "returnParameters": { - "id": 719, + "id": 724, "nodeType": "ParameterList", "parameters": [], "src": "1999:0:3" }, - "scope": 741, + "scope": 746, "src": "1949:51:3", "stateMutability": "nonpayable", "virtual": false, @@ -11733,7 +11805,7 @@ "body": null, "documentation": null, "functionSelector": "fca513a8", - "id": 725, + "id": 730, "implemented": false, "kind": "function", "modifiers": [], @@ -11741,23 +11813,23 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 721, + "id": 726, "nodeType": "ParameterList", "parameters": [], "src": "2027:2:3" }, "returnParameters": { - "id": 724, + "id": 729, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 723, + "id": 728, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 725, + "scope": 730, "src": "2053:7:3", "stateVariable": false, "storageLocation": "default", @@ -11766,7 +11838,7 @@ "typeString": "address" }, "typeName": { - "id": 722, + "id": 727, "name": "address", "nodeType": "ElementaryTypeName", "src": "2053:7:3", @@ -11782,7 +11854,7 @@ ], "src": "2052:9:3" }, - "scope": 741, + "scope": 746, "src": "2004:58:3", "stateMutability": "view", "virtual": false, @@ -11792,7 +11864,7 @@ "body": null, "documentation": null, "functionSelector": "530e784f", - "id": 730, + "id": 735, "implemented": false, "kind": "function", "modifiers": [], @@ -11800,17 +11872,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 728, + "id": 733, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 727, + "id": 732, "mutability": "mutable", "name": "priceOracle", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 730, + "scope": 735, "src": "2090:19:3", "stateVariable": false, "storageLocation": "default", @@ -11819,7 +11891,7 @@ "typeString": "address" }, "typeName": { - "id": 726, + "id": 731, "name": "address", "nodeType": "ElementaryTypeName", "src": "2090:7:3", @@ -11836,12 +11908,12 @@ "src": "2089:21:3" }, "returnParameters": { - "id": 729, + "id": 734, "nodeType": "ParameterList", "parameters": [], "src": "2119:0:3" }, - "scope": 741, + "scope": 746, "src": "2066:54:3", "stateMutability": "nonpayable", "virtual": false, @@ -11851,7 +11923,7 @@ "body": null, "documentation": null, "functionSelector": "3618abba", - "id": 735, + "id": 740, "implemented": false, "kind": "function", "modifiers": [], @@ -11859,23 +11931,23 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 731, + "id": 736, "nodeType": "ParameterList", "parameters": [], "src": "2153:2:3" }, "returnParameters": { - "id": 734, + "id": 739, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 733, + "id": 738, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 735, + "scope": 740, "src": "2179:7:3", "stateVariable": false, "storageLocation": "default", @@ -11884,7 +11956,7 @@ "typeString": "address" }, "typeName": { - "id": 732, + "id": 737, "name": "address", "nodeType": "ElementaryTypeName", "src": "2179:7:3", @@ -11900,7 +11972,7 @@ ], "src": "2178:9:3" }, - "scope": 741, + "scope": 746, "src": "2124:64:3", "stateMutability": "view", "virtual": false, @@ -11910,7 +11982,7 @@ "body": null, "documentation": null, "functionSelector": "820d1274", - "id": 740, + "id": 745, "implemented": false, "kind": "function", "modifiers": [], @@ -11918,17 +11990,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 738, + "id": 743, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 737, + "id": 742, "mutability": "mutable", "name": "lendingRateOracle", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 740, + "scope": 745, "src": "2222:25:3", "stateVariable": false, "storageLocation": "default", @@ -11937,7 +12009,7 @@ "typeString": "address" }, "typeName": { - "id": 736, + "id": 741, "name": "address", "nodeType": "ElementaryTypeName", "src": "2222:7:3", @@ -11954,19 +12026,19 @@ "src": "2221:27:3" }, "returnParameters": { - "id": 739, + "id": 744, "nodeType": "ParameterList", "parameters": [], "src": "2257:0:3" }, - "scope": 741, + "scope": 746, "src": "2192:66:3", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 742, + "scope": 747, "src": "374:1886:3" } ], @@ -11979,15 +12051,15 @@ "absolutePath": "contracts/assetListing/interfaces/ILendingPoolConfiguratorV2.sol", "exportedSymbols": { "ILendingPoolConfiguratorV2": [ - 786 + 791 ] }, - "id": 787, + "id": 792, "license": "AGPL-3.0", "nodeType": "SourceUnit", "nodes": [ { - "id": 743, + "id": 748, "literals": [ "solidity", "0.6", @@ -12003,9 +12075,9 @@ "contractKind": "interface", "documentation": null, "fullyImplemented": false, - "id": 786, + "id": 791, "linearizedBaseContracts": [ - 786 + 791 ], "name": "ILendingPoolConfiguratorV2", "nodeType": "ContractDefinition", @@ -12013,13 +12085,13 @@ { "body": null, "documentation": { - "id": 744, + "id": 749, "nodeType": "StructuredDocumentation", "src": "103:465:4", "text": " @dev Initializes a reserve\n @param aTokenImpl The address of the aToken contract implementation\n @param stableDebtTokenImpl The address of the stable debt token contract\n @param variableDebtTokenImpl The address of the variable debt token contract\n @param underlyingAssetDecimals The decimals of the reserve underlying asset\n @param interestRateStrategyAddress The address of the interest rate strategy contract for this reserve*" }, "functionSelector": "6e801a71", - "id": 757, + "id": 762, "implemented": false, "kind": "function", "modifiers": [], @@ -12027,17 +12099,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 755, + "id": 760, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 746, + "id": 751, "mutability": "mutable", "name": "aTokenImpl", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 757, + "scope": 762, "src": "597:18:4", "stateVariable": false, "storageLocation": "default", @@ -12046,7 +12118,7 @@ "typeString": "address" }, "typeName": { - "id": 745, + "id": 750, "name": "address", "nodeType": "ElementaryTypeName", "src": "597:7:4", @@ -12061,12 +12133,12 @@ }, { "constant": false, - "id": 748, + "id": 753, "mutability": "mutable", "name": "stableDebtTokenImpl", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 757, + "scope": 762, "src": "621:27:4", "stateVariable": false, "storageLocation": "default", @@ -12075,7 +12147,7 @@ "typeString": "address" }, "typeName": { - "id": 747, + "id": 752, "name": "address", "nodeType": "ElementaryTypeName", "src": "621:7:4", @@ -12090,12 +12162,12 @@ }, { "constant": false, - "id": 750, + "id": 755, "mutability": "mutable", "name": "variableDebtTokenImpl", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 757, + "scope": 762, "src": "654:29:4", "stateVariable": false, "storageLocation": "default", @@ -12104,7 +12176,7 @@ "typeString": "address" }, "typeName": { - "id": 749, + "id": 754, "name": "address", "nodeType": "ElementaryTypeName", "src": "654:7:4", @@ -12119,12 +12191,12 @@ }, { "constant": false, - "id": 752, + "id": 757, "mutability": "mutable", "name": "underlyingAssetDecimals", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 757, + "scope": 762, "src": "689:29:4", "stateVariable": false, "storageLocation": "default", @@ -12133,7 +12205,7 @@ "typeString": "uint8" }, "typeName": { - "id": 751, + "id": 756, "name": "uint8", "nodeType": "ElementaryTypeName", "src": "689:5:4", @@ -12147,12 +12219,12 @@ }, { "constant": false, - "id": 754, + "id": 759, "mutability": "mutable", "name": "interestRateStrategyAddress", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 757, + "scope": 762, "src": "724:35:4", "stateVariable": false, "storageLocation": "default", @@ -12161,7 +12233,7 @@ "typeString": "address" }, "typeName": { - "id": 753, + "id": 758, "name": "address", "nodeType": "ElementaryTypeName", "src": "724:7:4", @@ -12178,12 +12250,12 @@ "src": "591:172:4" }, "returnParameters": { - "id": 756, + "id": 761, "nodeType": "ParameterList", "parameters": [], "src": "772:0:4" }, - "scope": 786, + "scope": 791, "src": "571:202:4", "stateMutability": "nonpayable", "virtual": false, @@ -12192,13 +12264,13 @@ { "body": null, "documentation": { - "id": 758, + "id": 763, "nodeType": "StructuredDocumentation", "src": "777:652:4", "text": " @dev Configures the reserve collateralization parameters\n all the values are expressed in percentages with two decimals of precision. A valid value is 10000, which means 100.00%\n @param asset The address of the underlying asset of the reserve\n @param ltv The loan to value of the asset when used as collateral\n @param liquidationThreshold The threshold at which loans using this asset as collateral will be considered undercollateralized\n @param liquidationBonus The bonus liquidators receive to liquidate this asset. The values is always above 100%. A value of 105%\n means the liquidator will receive a 5% bonus*" }, "functionSelector": "7c4e560b", - "id": 769, + "id": 774, "implemented": false, "kind": "function", "modifiers": [], @@ -12206,17 +12278,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 767, + "id": 772, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 760, + "id": 765, "mutability": "mutable", "name": "asset", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 769, + "scope": 774, "src": "1475:13:4", "stateVariable": false, "storageLocation": "default", @@ -12225,7 +12297,7 @@ "typeString": "address" }, "typeName": { - "id": 759, + "id": 764, "name": "address", "nodeType": "ElementaryTypeName", "src": "1475:7:4", @@ -12240,12 +12312,12 @@ }, { "constant": false, - "id": 762, + "id": 767, "mutability": "mutable", "name": "ltv", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 769, + "scope": 774, "src": "1494:11:4", "stateVariable": false, "storageLocation": "default", @@ -12254,7 +12326,7 @@ "typeString": "uint256" }, "typeName": { - "id": 761, + "id": 766, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1494:7:4", @@ -12268,12 +12340,12 @@ }, { "constant": false, - "id": 764, + "id": 769, "mutability": "mutable", "name": "liquidationThreshold", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 769, + "scope": 774, "src": "1511:28:4", "stateVariable": false, "storageLocation": "default", @@ -12282,7 +12354,7 @@ "typeString": "uint256" }, "typeName": { - "id": 763, + "id": 768, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1511:7:4", @@ -12296,12 +12368,12 @@ }, { "constant": false, - "id": 766, + "id": 771, "mutability": "mutable", "name": "liquidationBonus", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 769, + "scope": 774, "src": "1545:24:4", "stateVariable": false, "storageLocation": "default", @@ -12310,7 +12382,7 @@ "typeString": "uint256" }, "typeName": { - "id": 765, + "id": 770, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1545:7:4", @@ -12326,12 +12398,12 @@ "src": "1469:104:4" }, "returnParameters": { - "id": 768, + "id": 773, "nodeType": "ParameterList", "parameters": [], "src": "1582:0:4" }, - "scope": 786, + "scope": 791, "src": "1432:151:4", "stateMutability": "nonpayable", "virtual": false, @@ -12340,13 +12412,13 @@ { "body": null, "documentation": { - "id": 770, + "id": 775, "nodeType": "StructuredDocumentation", "src": "1587:230:4", "text": " @dev Enables borrowing on a reserve\n @param asset The address of the underlying asset of the reserve\n @param stableBorrowRateEnabled True if stable borrow rate needs to be enabled by default on this reserve*" }, "functionSelector": "eede87c1", - "id": 777, + "id": 782, "implemented": false, "kind": "function", "modifiers": [], @@ -12354,17 +12426,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 775, + "id": 780, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 772, + "id": 777, "mutability": "mutable", "name": "asset", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 777, + "scope": 782, "src": "1854:13:4", "stateVariable": false, "storageLocation": "default", @@ -12373,7 +12445,7 @@ "typeString": "address" }, "typeName": { - "id": 771, + "id": 776, "name": "address", "nodeType": "ElementaryTypeName", "src": "1854:7:4", @@ -12388,12 +12460,12 @@ }, { "constant": false, - "id": 774, + "id": 779, "mutability": "mutable", "name": "stableBorrowRateEnabled", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 777, + "scope": 782, "src": "1869:28:4", "stateVariable": false, "storageLocation": "default", @@ -12402,7 +12474,7 @@ "typeString": "bool" }, "typeName": { - "id": 773, + "id": 778, "name": "bool", "nodeType": "ElementaryTypeName", "src": "1869:4:4", @@ -12418,12 +12490,12 @@ "src": "1853:45:4" }, "returnParameters": { - "id": 776, + "id": 781, "nodeType": "ParameterList", "parameters": [], "src": "1907:0:4" }, - "scope": 786, + "scope": 791, "src": "1820:88:4", "stateMutability": "nonpayable", "virtual": false, @@ -12432,13 +12504,13 @@ { "body": null, "documentation": { - "id": 778, + "id": 783, "nodeType": "StructuredDocumentation", "src": "1912:193:4", "text": " @dev Updates the reserve factor of a reserve\n @param asset The address of the underlying asset of the reserve\n @param reserveFactor The new reserve factor of the reserve*" }, "functionSelector": "4b4e6753", - "id": 785, + "id": 790, "implemented": false, "kind": "function", "modifiers": [], @@ -12446,17 +12518,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 783, + "id": 788, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 780, + "id": 785, "mutability": "mutable", "name": "asset", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 785, + "scope": 790, "src": "2134:13:4", "stateVariable": false, "storageLocation": "default", @@ -12465,7 +12537,7 @@ "typeString": "address" }, "typeName": { - "id": 779, + "id": 784, "name": "address", "nodeType": "ElementaryTypeName", "src": "2134:7:4", @@ -12480,12 +12552,12 @@ }, { "constant": false, - "id": 782, + "id": 787, "mutability": "mutable", "name": "reserveFactor", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 785, + "scope": 790, "src": "2149:21:4", "stateVariable": false, "storageLocation": "default", @@ -12494,7 +12566,7 @@ "typeString": "uint256" }, "typeName": { - "id": 781, + "id": 786, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "2149:7:4", @@ -12510,19 +12582,19 @@ "src": "2133:38:4" }, "returnParameters": { - "id": 784, + "id": 789, "nodeType": "ParameterList", "parameters": [], "src": "2180:0:4" }, - "scope": 786, + "scope": 791, "src": "2108:73:4", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 787, + "scope": 792, "src": "62:2121:4" } ], @@ -12535,15 +12607,15 @@ "absolutePath": "contracts/assetListing/interfaces/IOverlyingAsset.sol", "exportedSymbols": { "IOverlyingAsset": [ - 794 + 799 ] }, - "id": 795, + "id": 800, "license": "AGPL-3.0", "nodeType": "SourceUnit", "nodes": [ { - "id": 788, + "id": 793, "literals": [ "solidity", "0.6", @@ -12559,9 +12631,9 @@ "contractKind": "interface", "documentation": null, "fullyImplemented": false, - "id": 794, + "id": 799, "linearizedBaseContracts": [ - 794 + 799 ], "name": "IOverlyingAsset", "nodeType": "ContractDefinition", @@ -12570,7 +12642,7 @@ "body": null, "documentation": null, "functionSelector": "b16a19de", - "id": 793, + "id": 798, "implemented": false, "kind": "function", "modifiers": [], @@ -12578,23 +12650,23 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 789, + "id": 794, "nodeType": "ParameterList", "parameters": [], "src": "125:2:5" }, "returnParameters": { - "id": 792, + "id": 797, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 791, + "id": 796, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 793, + "scope": 798, "src": "151:7:5", "stateVariable": false, "storageLocation": "default", @@ -12603,7 +12675,7 @@ "typeString": "address" }, "typeName": { - "id": 790, + "id": 795, "name": "address", "nodeType": "ElementaryTypeName", "src": "151:7:5", @@ -12619,14 +12691,14 @@ ], "src": "150:9:5" }, - "scope": 794, + "scope": 799, "src": "92:68:5", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 795, + "scope": 800, "src": "62:100:5" } ], @@ -12639,15 +12711,15 @@ "absolutePath": "contracts/assetListing/interfaces/IProposalGenericExecutor.sol", "exportedSymbols": { "IProposalGenericExecutor": [ - 826 + 831 ] }, - "id": 827, + "id": 832, "license": "AGPL-3.0", "nodeType": "SourceUnit", "nodes": [ { - "id": 796, + "id": 801, "literals": [ "solidity", "0.6", @@ -12663,9 +12735,9 @@ "contractKind": "interface", "documentation": null, "fullyImplemented": false, - "id": 826, + "id": 831, "linearizedBaseContracts": [ - 826 + 831 ], "name": "IProposalGenericExecutor", "nodeType": "ContractDefinition", @@ -12674,7 +12746,7 @@ "body": null, "documentation": null, "functionSelector": "3fa57231", - "id": 825, + "id": 830, "implemented": false, "kind": "function", "modifiers": [], @@ -12682,17 +12754,17 @@ "nodeType": "FunctionDefinition", "overrides": null, "parameters": { - "id": 823, + "id": 828, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 798, + "id": 803, "mutability": "mutable", "name": "token", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 825, + "scope": 830, "src": "123:13:6", "stateVariable": false, "storageLocation": "default", @@ -12701,7 +12773,7 @@ "typeString": "address" }, "typeName": { - "id": 797, + "id": 802, "name": "address", "nodeType": "ElementaryTypeName", "src": "123:7:6", @@ -12716,12 +12788,12 @@ }, { "constant": false, - "id": 800, + "id": 805, "mutability": "mutable", "name": "aToken", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 825, + "scope": 830, "src": "142:14:6", "stateVariable": false, "storageLocation": "default", @@ -12730,7 +12802,7 @@ "typeString": "address" }, "typeName": { - "id": 799, + "id": 804, "name": "address", "nodeType": "ElementaryTypeName", "src": "142:7:6", @@ -12745,12 +12817,12 @@ }, { "constant": false, - "id": 802, + "id": 807, "mutability": "mutable", "name": "stableDebtToken", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 825, + "scope": 830, "src": "162:23:6", "stateVariable": false, "storageLocation": "default", @@ -12759,7 +12831,7 @@ "typeString": "address" }, "typeName": { - "id": 801, + "id": 806, "name": "address", "nodeType": "ElementaryTypeName", "src": "162:7:6", @@ -12774,12 +12846,12 @@ }, { "constant": false, - "id": 804, + "id": 809, "mutability": "mutable", "name": "variablDebtToken", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 825, + "scope": 830, "src": "191:24:6", "stateVariable": false, "storageLocation": "default", @@ -12788,7 +12860,7 @@ "typeString": "address" }, "typeName": { - "id": 803, + "id": 808, "name": "address", "nodeType": "ElementaryTypeName", "src": "191:7:6", @@ -12803,12 +12875,12 @@ }, { "constant": false, - "id": 806, + "id": 811, "mutability": "mutable", "name": "interestStrategy", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 825, + "scope": 830, "src": "221:24:6", "stateVariable": false, "storageLocation": "default", @@ -12817,7 +12889,7 @@ "typeString": "address" }, "typeName": { - "id": 805, + "id": 810, "name": "address", "nodeType": "ElementaryTypeName", "src": "221:7:6", @@ -12832,12 +12904,12 @@ }, { "constant": false, - "id": 808, + "id": 813, "mutability": "mutable", "name": "ltv", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 825, + "scope": 830, "src": "251:11:6", "stateVariable": false, "storageLocation": "default", @@ -12846,7 +12918,7 @@ "typeString": "uint256" }, "typeName": { - "id": 807, + "id": 812, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "251:7:6", @@ -12860,12 +12932,12 @@ }, { "constant": false, - "id": 810, + "id": 815, "mutability": "mutable", "name": "liquidationThreshold", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 825, + "scope": 830, "src": "268:28:6", "stateVariable": false, "storageLocation": "default", @@ -12874,7 +12946,7 @@ "typeString": "uint256" }, "typeName": { - "id": 809, + "id": 814, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "268:7:6", @@ -12888,12 +12960,12 @@ }, { "constant": false, - "id": 812, + "id": 817, "mutability": "mutable", "name": "liquidationBonus", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 825, + "scope": 830, "src": "302:24:6", "stateVariable": false, "storageLocation": "default", @@ -12902,7 +12974,7 @@ "typeString": "uint256" }, "typeName": { - "id": 811, + "id": 816, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "302:7:6", @@ -12916,12 +12988,12 @@ }, { "constant": false, - "id": 814, + "id": 819, "mutability": "mutable", "name": "reserveFactor", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 825, + "scope": 830, "src": "332:21:6", "stateVariable": false, "storageLocation": "default", @@ -12930,7 +13002,7 @@ "typeString": "uint256" }, "typeName": { - "id": 813, + "id": 818, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "332:7:6", @@ -12944,12 +13016,12 @@ }, { "constant": false, - "id": 816, + "id": 821, "mutability": "mutable", "name": "decimals", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 825, + "scope": 830, "src": "359:14:6", "stateVariable": false, "storageLocation": "default", @@ -12958,7 +13030,7 @@ "typeString": "uint8" }, "typeName": { - "id": 815, + "id": 820, "name": "uint8", "nodeType": "ElementaryTypeName", "src": "359:5:6", @@ -12972,12 +13044,12 @@ }, { "constant": false, - "id": 818, + "id": 823, "mutability": "mutable", "name": "enableBorrow", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 825, + "scope": 830, "src": "379:17:6", "stateVariable": false, "storageLocation": "default", @@ -12986,7 +13058,7 @@ "typeString": "bool" }, "typeName": { - "id": 817, + "id": 822, "name": "bool", "nodeType": "ElementaryTypeName", "src": "379:4:6", @@ -13000,12 +13072,12 @@ }, { "constant": false, - "id": 820, + "id": 825, "mutability": "mutable", "name": "enableBorrowOnReserve", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 825, + "scope": 830, "src": "402:26:6", "stateVariable": false, "storageLocation": "default", @@ -13014,7 +13086,7 @@ "typeString": "bool" }, "typeName": { - "id": 819, + "id": 824, "name": "bool", "nodeType": "ElementaryTypeName", "src": "402:4:6", @@ -13028,12 +13100,12 @@ }, { "constant": false, - "id": 822, + "id": 827, "mutability": "mutable", "name": "enableAsCollateral", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 825, + "scope": 830, "src": "434:23:6", "stateVariable": false, "storageLocation": "default", @@ -13042,7 +13114,7 @@ "typeString": "bool" }, "typeName": { - "id": 821, + "id": 826, "name": "bool", "nodeType": "ElementaryTypeName", "src": "434:4:6", @@ -13058,19 +13130,19 @@ "src": "117:344:6" }, "returnParameters": { - "id": 824, + "id": 829, "nodeType": "ParameterList", "parameters": [], "src": "470:0:6" }, - "scope": 826, + "scope": 831, "src": "101:370:6", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 827, + "scope": 832, "src": "62:411:6" } ], @@ -13083,15 +13155,15 @@ "absolutePath": "contracts/assetListing/lib/DataTypes.sol", "exportedSymbols": { "DataTypes": [ - 864 + 869 ] }, - "id": 865, + "id": 870, "license": "agpl-3.0", "nodeType": "SourceUnit", "nodes": [ { - "id": 828, + "id": 833, "literals": [ "solidity", "0.6", @@ -13107,41 +13179,41 @@ "contractKind": "library", "documentation": null, "fullyImplemented": true, - "id": 864, + "id": 869, "linearizedBaseContracts": [ - 864 + 869 ], "name": "DataTypes", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "DataTypes.ReserveData", - "id": 853, + "id": 858, "members": [ { "constant": false, - "id": 830, + "id": 835, "mutability": "mutable", "name": "configuration", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 853, + "scope": 858, "src": "251:37:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_ReserveConfigurationMap_$856_storage_ptr", + "typeIdentifier": "t_struct$_ReserveConfigurationMap_$861_storage_ptr", "typeString": "struct DataTypes.ReserveConfigurationMap" }, "typeName": { "contractScope": null, - "id": 829, + "id": 834, "name": "ReserveConfigurationMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 856, + "referencedDeclaration": 861, "src": "251:23:7", "typeDescriptions": { - "typeIdentifier": "t_struct$_ReserveConfigurationMap_$856_storage_ptr", + "typeIdentifier": "t_struct$_ReserveConfigurationMap_$861_storage_ptr", "typeString": "struct DataTypes.ReserveConfigurationMap" } }, @@ -13150,12 +13222,12 @@ }, { "constant": false, - "id": 832, + "id": 837, "mutability": "mutable", "name": "liquidityIndex", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 853, + "scope": 858, "src": "338:22:7", "stateVariable": false, "storageLocation": "default", @@ -13164,7 +13236,7 @@ "typeString": "uint128" }, "typeName": { - "id": 831, + "id": 836, "name": "uint128", "nodeType": "ElementaryTypeName", "src": "338:7:7", @@ -13178,12 +13250,12 @@ }, { "constant": false, - "id": 834, + "id": 839, "mutability": "mutable", "name": "variableBorrowIndex", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 853, + "scope": 858, "src": "412:27:7", "stateVariable": false, "storageLocation": "default", @@ -13192,7 +13264,7 @@ "typeString": "uint128" }, "typeName": { - "id": 833, + "id": 838, "name": "uint128", "nodeType": "ElementaryTypeName", "src": "412:7:7", @@ -13206,12 +13278,12 @@ }, { "constant": false, - "id": 836, + "id": 841, "mutability": "mutable", "name": "currentLiquidityRate", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 853, + "scope": 858, "src": "493:28:7", "stateVariable": false, "storageLocation": "default", @@ -13220,7 +13292,7 @@ "typeString": "uint128" }, "typeName": { - "id": 835, + "id": 840, "name": "uint128", "nodeType": "ElementaryTypeName", "src": "493:7:7", @@ -13234,12 +13306,12 @@ }, { "constant": false, - "id": 838, + "id": 843, "mutability": "mutable", "name": "currentVariableBorrowRate", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 853, + "scope": 858, "src": "584:33:7", "stateVariable": false, "storageLocation": "default", @@ -13248,7 +13320,7 @@ "typeString": "uint128" }, "typeName": { - "id": 837, + "id": 842, "name": "uint128", "nodeType": "ElementaryTypeName", "src": "584:7:7", @@ -13262,12 +13334,12 @@ }, { "constant": false, - "id": 840, + "id": 845, "mutability": "mutable", "name": "currentStableBorrowRate", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 853, + "scope": 858, "src": "678:31:7", "stateVariable": false, "storageLocation": "default", @@ -13276,7 +13348,7 @@ "typeString": "uint128" }, "typeName": { - "id": 839, + "id": 844, "name": "uint128", "nodeType": "ElementaryTypeName", "src": "678:7:7", @@ -13290,12 +13362,12 @@ }, { "constant": false, - "id": 842, + "id": 847, "mutability": "mutable", "name": "lastUpdateTimestamp", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 853, + "scope": 858, "src": "715:26:7", "stateVariable": false, "storageLocation": "default", @@ -13304,7 +13376,7 @@ "typeString": "uint40" }, "typeName": { - "id": 841, + "id": 846, "name": "uint40", "nodeType": "ElementaryTypeName", "src": "715:6:7", @@ -13318,12 +13390,12 @@ }, { "constant": false, - "id": 844, + "id": 849, "mutability": "mutable", "name": "aTokenAddress", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 853, + "scope": 858, "src": "770:21:7", "stateVariable": false, "storageLocation": "default", @@ -13332,7 +13404,7 @@ "typeString": "address" }, "typeName": { - "id": 843, + "id": 848, "name": "address", "nodeType": "ElementaryTypeName", "src": "770:7:7", @@ -13347,12 +13419,12 @@ }, { "constant": false, - "id": 846, + "id": 851, "mutability": "mutable", "name": "stableDebtTokenAddress", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 853, + "scope": 858, "src": "797:30:7", "stateVariable": false, "storageLocation": "default", @@ -13361,7 +13433,7 @@ "typeString": "address" }, "typeName": { - "id": 845, + "id": 850, "name": "address", "nodeType": "ElementaryTypeName", "src": "797:7:7", @@ -13376,12 +13448,12 @@ }, { "constant": false, - "id": 848, + "id": 853, "mutability": "mutable", "name": "variableDebtTokenAddress", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 853, + "scope": 858, "src": "833:32:7", "stateVariable": false, "storageLocation": "default", @@ -13390,7 +13462,7 @@ "typeString": "address" }, "typeName": { - "id": 847, + "id": 852, "name": "address", "nodeType": "ElementaryTypeName", "src": "833:7:7", @@ -13405,12 +13477,12 @@ }, { "constant": false, - "id": 850, + "id": 855, "mutability": "mutable", "name": "interestRateStrategyAddress", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 853, + "scope": 858, "src": "915:35:7", "stateVariable": false, "storageLocation": "default", @@ -13419,7 +13491,7 @@ "typeString": "address" }, "typeName": { - "id": 849, + "id": 854, "name": "address", "nodeType": "ElementaryTypeName", "src": "915:7:7", @@ -13434,12 +13506,12 @@ }, { "constant": false, - "id": 852, + "id": 857, "mutability": "mutable", "name": "id", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 853, + "scope": 858, "src": "1044:8:7", "stateVariable": false, "storageLocation": "default", @@ -13448,7 +13520,7 @@ "typeString": "uint8" }, "typeName": { - "id": 851, + "id": 856, "name": "uint8", "nodeType": "ElementaryTypeName", "src": "1044:5:7", @@ -13463,22 +13535,22 @@ ], "name": "ReserveData", "nodeType": "StructDefinition", - "scope": 864, + "scope": 869, "src": "187:870:7", "visibility": "public" }, { "canonicalName": "DataTypes.ReserveConfigurationMap", - "id": 856, + "id": 861, "members": [ { "constant": false, - "id": 855, + "id": 860, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 856, + "scope": 861, "src": "1405:12:7", "stateVariable": false, "storageLocation": "default", @@ -13487,7 +13559,7 @@ "typeString": "uint256" }, "typeName": { - "id": 854, + "id": 859, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1405:7:7", @@ -13502,22 +13574,22 @@ ], "name": "ReserveConfigurationMap", "nodeType": "StructDefinition", - "scope": 864, + "scope": 869, "src": "1061:361:7", "visibility": "public" }, { "canonicalName": "DataTypes.UserConfigurationMap", - "id": 859, + "id": 864, "members": [ { "constant": false, - "id": 858, + "id": 863, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", "overrides": null, - "scope": 859, + "scope": 864, "src": "1460:12:7", "stateVariable": false, "storageLocation": "default", @@ -13526,7 +13598,7 @@ "typeString": "uint256" }, "typeName": { - "id": 857, + "id": 862, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1460:7:7", @@ -13541,28 +13613,28 @@ ], "name": "UserConfigurationMap", "nodeType": "StructDefinition", - "scope": 864, + "scope": 869, "src": "1426:51:7", "visibility": "public" }, { "canonicalName": "DataTypes.InterestRateMode", - "id": 863, + "id": 868, "members": [ { - "id": 860, + "id": 865, "name": "NONE", "nodeType": "EnumValue", "src": "1504:4:7" }, { - "id": 861, + "id": 866, "name": "STABLE", "nodeType": "EnumValue", "src": "1510:6:7" }, { - "id": 862, + "id": 867, "name": "VARIABLE", "nodeType": "EnumValue", "src": "1518:8:7" @@ -13573,7 +13645,7 @@ "src": "1481:46:7" } ], - "scope": 865, + "scope": 870, "src": "62:1467:7" } ], diff --git a/artifacts/build-info/4c2a2252764a9eb98af799fa244238e8.json b/artifacts/build-info/4c2a2252764a9eb98af799fa244238e8.json new file mode 100644 index 0000000..7df9db9 --- /dev/null +++ b/artifacts/build-info/4c2a2252764a9eb98af799fa244238e8.json @@ -0,0 +1,3848 @@ +{ + "id": "4c2a2252764a9eb98af799fa244238e8", + "_format": "hh-sol-build-info-1", + "solcVersion": "0.7.5", + "solcLongVersion": "0.7.5+commit.eb77ed08", + "input": { + "language": "Solidity", + "sources": { + "contracts/assetListing/interfaces/IAaveDistributionManager.sol": { + "content": "// SPDX-License-Identifier: agpl-3.0\npragma solidity 0.7.5;\npragma experimental ABIEncoderV2;\ninterface IAaveDistributionManager {\n event AssetConfigUpdated(address indexed asset, uint256 emission);\n event AssetIndexUpdated(address indexed asset, uint256 index);\n event UserIndexUpdated(address indexed user, address indexed asset, uint256 index);\n event DistributionEndUpdated(uint256 newDistributionEnd);\n /**\n * @dev Sets the end date for the distribution\n * @param distributionEnd The end date timestamp\n **/\n function setDistributionEnd(uint256 distributionEnd) external;\n /**\n * @dev Gets the end date for the distribution\n * @return The end of the distribution\n **/\n function getDistributionEnd() external view returns (uint256);\n /**\n * @dev for backwards compatibility with the previous DistributionManager used\n * @return The end of the distribution\n **/\n function DISTRIBUTION_END() external view returns(uint256);\n /**\n * @dev Returns the data of an user on a distribution\n * @param user Address of the user\n * @param asset The address of the reference asset of the distribution\n * @return The new index\n **/\n function getUserAssetData(address user, address asset) external view returns (uint256);\n /**\n * @dev Returns the configuration of the distribution for a certain asset\n * @param asset The address of the reference asset of the distribution\n * @return The asset index, the emission per second and the last updated timestamp\n **/\n function getAssetData(address asset) external view returns (uint256, uint256, uint256);\n}" + }, + "contracts/assetListing/interfaces/IAaveIncentivesController.sol": { + "content": "// SPDX-License-Identifier: agpl-3.0\npragma solidity 0.7.5;\npragma experimental ABIEncoderV2;\nimport {IAaveDistributionManager} from '../interfaces/IAaveDistributionManager.sol';\ninterface IAaveIncentivesController is IAaveDistributionManager {\n event RewardsAccrued(address indexed user, uint256 amount);\n event RewardsClaimed(\n address indexed user,\n address indexed to,\n address indexed claimer,\n uint256 amount\n );\n event ClaimerSet(address indexed user, address indexed claimer);\n /**\n * @dev Whitelists an address to claim the rewards on behalf of another address\n * @param user The address of the user\n * @param claimer The address of the claimer\n */\n function setClaimer(address user, address claimer) external;\n /**\n * @dev Returns the whitelisted claimer for a certain address (0x0 if not set)\n * @param user The address of the user\n * @return The claimer address\n */\n function getClaimer(address user) external view returns (address);\n /**\n * @dev Configure assets for a certain rewards emission\n * @param assets The assets to incentivize\n * @param emissionsPerSecond The emission for each asset\n */\n function configureAssets(address[] calldata assets, uint256[] calldata emissionsPerSecond)\n external;\n /**\n * @dev Called by the corresponding asset on any update that affects the rewards distribution\n * @param asset The address of the user\n * @param userBalance The balance of the user of the asset in the lending pool\n * @param totalSupply The total supply of the asset in the lending pool\n **/\n function handleAction(\n address asset,\n uint256 userBalance,\n uint256 totalSupply\n ) external;\n /**\n * @dev Returns the total of rewards of an user, already accrued + not yet accrued\n * @param user The address of the user\n * @return The rewards\n **/\n function getRewardsBalance(address[] calldata assets, address user)\n external\n view\n returns (uint256);\n /**\n * @dev Claims reward for an user, on all the assets of the lending pool, accumulating the pending rewards\n * @param amount Amount of rewards to claim\n * @param to Address that will be receiving the rewards\n * @return Rewards claimed\n **/\n function claimRewards(\n address[] calldata assets,\n uint256 amount,\n address to\n ) external returns (uint256);\n /**\n * @dev Claims reward for an user on behalf, on all the assets of the lending pool, accumulating the pending rewards. The caller must\n * be whitelisted via \"allowClaimOnBehalf\" function by the RewardsAdmin role manager\n * @param amount Amount of rewards to claim\n * @param user Address to check and claim rewards\n * @param to Address that will be receiving the rewards\n * @return Rewards claimed\n **/\n function claimRewardsOnBehalf(\n address[] calldata assets,\n uint256 amount,\n address user,\n address to\n ) external returns (uint256);\n /**\n * @dev returns the unclaimed rewards of the user\n * @param user the address of the user\n * @return the unclaimed user rewards\n */\n function getUserUnclaimedRewards(address user) external view returns (uint256);\n /**\n * @dev for backward compatibility with previous implementation of the Incentives controller\n */\n function REWARD_TOKEN() external view returns (address);\n}\n" + }, + "contracts/assetListing/interfaces/IAavePullRewardsIncentivesController.sol": { + "content": "// SPDX-License-Identifier: agpl-3.0\npragma solidity 0.7.5;\npragma experimental ABIEncoderV2;\n\nimport {IAaveIncentivesController} from '../interfaces/IAaveIncentivesController.sol';\n\ninterface IAavePullRewardsIncentivesController is IAaveIncentivesController {\n event RewardsVaultUpdated(address indexed vault);\n\n /**\n * @dev update the rewards vault address, only allowed by the Rewards admin\n * @param rewardsVault The address of the rewards vault\n **/\n function setRewardsVault(address rewardsVault) external;\n}\n" + } + }, + "settings": { + "optimizer": { + "enabled": true, + "runs": 200 + }, + "evmVersion": "istanbul", + "outputSelection": { + "*": { + "*": [ + "abi", + "evm.bytecode", + "evm.deployedBytecode", + "evm.methodIdentifiers", + "metadata", + "devdoc", + "userdoc", + "storageLayout", + "evm.gasEstimates" + ], + "": [ + "ast" + ] + } + }, + "metadata": { + "useLiteralContent": true + } + } + }, + "output": { + "contracts": { + "contracts/assetListing/interfaces/IAaveDistributionManager.sol": { + "IAaveDistributionManager": { + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "emission", + "type": "uint256" + } + ], + "name": "AssetConfigUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "AssetIndexUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "newDistributionEnd", + "type": "uint256" + } + ], + "name": "DistributionEndUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "UserIndexUpdated", + "type": "event" + }, + { + "inputs": [], + "name": "DISTRIBUTION_END", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "asset", + "type": "address" + } + ], + "name": "getAssetData", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getDistributionEnd", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "internalType": "address", + "name": "asset", + "type": "address" + } + ], + "name": "getUserAssetData", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "distributionEnd", + "type": "uint256" + } + ], + "name": "setDistributionEnd", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "kind": "dev", + "methods": { + "DISTRIBUTION_END()": { + "details": "for backwards compatibility with the previous DistributionManager used", + "returns": { + "_0": "The end of the distribution*" + } + }, + "getAssetData(address)": { + "details": "Returns the configuration of the distribution for a certain asset", + "params": { + "asset": "The address of the reference asset of the distribution" + }, + "returns": { + "_0": "The asset index, the emission per second and the last updated timestamp*" + } + }, + "getDistributionEnd()": { + "details": "Gets the end date for the distribution", + "returns": { + "_0": "The end of the distribution*" + } + }, + "getUserAssetData(address,address)": { + "details": "Returns the data of an user on a distribution", + "params": { + "asset": "The address of the reference asset of the distribution", + "user": "Address of the user" + }, + "returns": { + "_0": "The new index*" + } + }, + "setDistributionEnd(uint256)": { + "details": "Sets the end date for the distribution", + "params": { + "distributionEnd": "The end date timestamp*" + } + } + }, + "version": 1 + }, + "evm": { + "bytecode": { + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "DISTRIBUTION_END()": "919cd40f", + "getAssetData(address)": "1652e7b7", + "getDistributionEnd()": "cc69afec", + "getUserAssetData(address,address)": "3373ee4c", + "setDistributionEnd(uint256)": "39ccbdd3" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.7.5+commit.eb77ed08\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"emission\",\"type\":\"uint256\"}],\"name\":\"AssetConfigUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"AssetIndexUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newDistributionEnd\",\"type\":\"uint256\"}],\"name\":\"DistributionEndUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"UserIndexUpdated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DISTRIBUTION_END\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getAssetData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDistributionEnd\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getUserAssetData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"distributionEnd\",\"type\":\"uint256\"}],\"name\":\"setDistributionEnd\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"DISTRIBUTION_END()\":{\"details\":\"for backwards compatibility with the previous DistributionManager used\",\"returns\":{\"_0\":\"The end of the distribution*\"}},\"getAssetData(address)\":{\"details\":\"Returns the configuration of the distribution for a certain asset\",\"params\":{\"asset\":\"The address of the reference asset of the distribution\"},\"returns\":{\"_0\":\"The asset index, the emission per second and the last updated timestamp*\"}},\"getDistributionEnd()\":{\"details\":\"Gets the end date for the distribution\",\"returns\":{\"_0\":\"The end of the distribution*\"}},\"getUserAssetData(address,address)\":{\"details\":\"Returns the data of an user on a distribution\",\"params\":{\"asset\":\"The address of the reference asset of the distribution\",\"user\":\"Address of the user\"},\"returns\":{\"_0\":\"The new index*\"}},\"setDistributionEnd(uint256)\":{\"details\":\"Sets the end date for the distribution\",\"params\":{\"distributionEnd\":\"The end date timestamp*\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/assetListing/interfaces/IAaveDistributionManager.sol\":\"IAaveDistributionManager\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/assetListing/interfaces/IAaveDistributionManager.sol\":{\"content\":\"// SPDX-License-Identifier: agpl-3.0\\npragma solidity 0.7.5;\\npragma experimental ABIEncoderV2;\\ninterface IAaveDistributionManager {\\n event AssetConfigUpdated(address indexed asset, uint256 emission);\\n event AssetIndexUpdated(address indexed asset, uint256 index);\\n event UserIndexUpdated(address indexed user, address indexed asset, uint256 index);\\n event DistributionEndUpdated(uint256 newDistributionEnd);\\n /**\\n * @dev Sets the end date for the distribution\\n * @param distributionEnd The end date timestamp\\n **/\\n function setDistributionEnd(uint256 distributionEnd) external;\\n /**\\n * @dev Gets the end date for the distribution\\n * @return The end of the distribution\\n **/\\n function getDistributionEnd() external view returns (uint256);\\n /**\\n * @dev for backwards compatibility with the previous DistributionManager used\\n * @return The end of the distribution\\n **/\\n function DISTRIBUTION_END() external view returns(uint256);\\n /**\\n * @dev Returns the data of an user on a distribution\\n * @param user Address of the user\\n * @param asset The address of the reference asset of the distribution\\n * @return The new index\\n **/\\n function getUserAssetData(address user, address asset) external view returns (uint256);\\n /**\\n * @dev Returns the configuration of the distribution for a certain asset\\n * @param asset The address of the reference asset of the distribution\\n * @return The asset index, the emission per second and the last updated timestamp\\n **/\\n function getAssetData(address asset) external view returns (uint256, uint256, uint256);\\n}\",\"keccak256\":\"0xb302fe7525a60ca1045915a2c96853c94c241c04a309f839deb26f96c181f6d7\",\"license\":\"agpl-3.0\"}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "contracts/assetListing/interfaces/IAaveIncentivesController.sol": { + "IAaveIncentivesController": { + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "emission", + "type": "uint256" + } + ], + "name": "AssetConfigUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "AssetIndexUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "claimer", + "type": "address" + } + ], + "name": "ClaimerSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "newDistributionEnd", + "type": "uint256" + } + ], + "name": "DistributionEndUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "RewardsAccrued", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "claimer", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "RewardsClaimed", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "UserIndexUpdated", + "type": "event" + }, + { + "inputs": [], + "name": "DISTRIBUTION_END", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "REWARD_TOKEN", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "assets", + "type": "address[]" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + } + ], + "name": "claimRewards", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "assets", + "type": "address[]" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + } + ], + "name": "claimRewardsOnBehalf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "assets", + "type": "address[]" + }, + { + "internalType": "uint256[]", + "name": "emissionsPerSecond", + "type": "uint256[]" + } + ], + "name": "configureAssets", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "asset", + "type": "address" + } + ], + "name": "getAssetData", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "user", + "type": "address" + } + ], + "name": "getClaimer", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getDistributionEnd", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "assets", + "type": "address[]" + }, + { + "internalType": "address", + "name": "user", + "type": "address" + } + ], + "name": "getRewardsBalance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "internalType": "address", + "name": "asset", + "type": "address" + } + ], + "name": "getUserAssetData", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "user", + "type": "address" + } + ], + "name": "getUserUnclaimedRewards", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "userBalance", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "totalSupply", + "type": "uint256" + } + ], + "name": "handleAction", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "internalType": "address", + "name": "claimer", + "type": "address" + } + ], + "name": "setClaimer", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "distributionEnd", + "type": "uint256" + } + ], + "name": "setDistributionEnd", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "kind": "dev", + "methods": { + "DISTRIBUTION_END()": { + "details": "for backwards compatibility with the previous DistributionManager used", + "returns": { + "_0": "The end of the distribution*" + } + }, + "REWARD_TOKEN()": { + "details": "for backward compatibility with previous implementation of the Incentives controller" + }, + "claimRewards(address[],uint256,address)": { + "details": "Claims reward for an user, on all the assets of the lending pool, accumulating the pending rewards", + "params": { + "amount": "Amount of rewards to claim", + "to": "Address that will be receiving the rewards" + }, + "returns": { + "_0": "Rewards claimed*" + } + }, + "claimRewardsOnBehalf(address[],uint256,address,address)": { + "details": "Claims reward for an user on behalf, on all the assets of the lending pool, accumulating the pending rewards. The caller must be whitelisted via \"allowClaimOnBehalf\" function by the RewardsAdmin role manager", + "params": { + "amount": "Amount of rewards to claim", + "to": "Address that will be receiving the rewards", + "user": "Address to check and claim rewards" + }, + "returns": { + "_0": "Rewards claimed*" + } + }, + "configureAssets(address[],uint256[])": { + "details": "Configure assets for a certain rewards emission", + "params": { + "assets": "The assets to incentivize", + "emissionsPerSecond": "The emission for each asset" + } + }, + "getAssetData(address)": { + "details": "Returns the configuration of the distribution for a certain asset", + "params": { + "asset": "The address of the reference asset of the distribution" + }, + "returns": { + "_0": "The asset index, the emission per second and the last updated timestamp*" + } + }, + "getClaimer(address)": { + "details": "Returns the whitelisted claimer for a certain address (0x0 if not set)", + "params": { + "user": "The address of the user" + }, + "returns": { + "_0": "The claimer address" + } + }, + "getDistributionEnd()": { + "details": "Gets the end date for the distribution", + "returns": { + "_0": "The end of the distribution*" + } + }, + "getRewardsBalance(address[],address)": { + "details": "Returns the total of rewards of an user, already accrued + not yet accrued", + "params": { + "user": "The address of the user" + }, + "returns": { + "_0": "The rewards*" + } + }, + "getUserAssetData(address,address)": { + "details": "Returns the data of an user on a distribution", + "params": { + "asset": "The address of the reference asset of the distribution", + "user": "Address of the user" + }, + "returns": { + "_0": "The new index*" + } + }, + "getUserUnclaimedRewards(address)": { + "details": "returns the unclaimed rewards of the user", + "params": { + "user": "the address of the user" + }, + "returns": { + "_0": "the unclaimed user rewards" + } + }, + "handleAction(address,uint256,uint256)": { + "details": "Called by the corresponding asset on any update that affects the rewards distribution", + "params": { + "asset": "The address of the user", + "totalSupply": "The total supply of the asset in the lending pool*", + "userBalance": "The balance of the user of the asset in the lending pool" + } + }, + "setClaimer(address,address)": { + "details": "Whitelists an address to claim the rewards on behalf of another address", + "params": { + "claimer": "The address of the claimer", + "user": "The address of the user" + } + }, + "setDistributionEnd(uint256)": { + "details": "Sets the end date for the distribution", + "params": { + "distributionEnd": "The end date timestamp*" + } + } + }, + "version": 1 + }, + "evm": { + "bytecode": { + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "DISTRIBUTION_END()": "919cd40f", + "REWARD_TOKEN()": "99248ea7", + "claimRewards(address[],uint256,address)": "3111e7b3", + "claimRewardsOnBehalf(address[],uint256,address,address)": "6d34b96e", + "configureAssets(address[],uint256[])": "79f171b2", + "getAssetData(address)": "1652e7b7", + "getClaimer(address)": "74d945ec", + "getDistributionEnd()": "cc69afec", + "getRewardsBalance(address[],address)": "8b599f26", + "getUserAssetData(address,address)": "3373ee4c", + "getUserUnclaimedRewards(address)": "198fa81e", + "handleAction(address,uint256,uint256)": "31873e2e", + "setClaimer(address,address)": "f5cf673b", + "setDistributionEnd(uint256)": "39ccbdd3" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.7.5+commit.eb77ed08\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"emission\",\"type\":\"uint256\"}],\"name\":\"AssetConfigUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"AssetIndexUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"claimer\",\"type\":\"address\"}],\"name\":\"ClaimerSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newDistributionEnd\",\"type\":\"uint256\"}],\"name\":\"DistributionEndUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"RewardsAccrued\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"claimer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"RewardsClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"UserIndexUpdated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DISTRIBUTION_END\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"REWARD_TOKEN\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"assets\",\"type\":\"address[]\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"claimRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"assets\",\"type\":\"address[]\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"claimRewardsOnBehalf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"assets\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"emissionsPerSecond\",\"type\":\"uint256[]\"}],\"name\":\"configureAssets\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getAssetData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getClaimer\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDistributionEnd\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"assets\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getRewardsBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getUserAssetData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getUserUnclaimedRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"userBalance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalSupply\",\"type\":\"uint256\"}],\"name\":\"handleAction\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"claimer\",\"type\":\"address\"}],\"name\":\"setClaimer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"distributionEnd\",\"type\":\"uint256\"}],\"name\":\"setDistributionEnd\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"DISTRIBUTION_END()\":{\"details\":\"for backwards compatibility with the previous DistributionManager used\",\"returns\":{\"_0\":\"The end of the distribution*\"}},\"REWARD_TOKEN()\":{\"details\":\"for backward compatibility with previous implementation of the Incentives controller\"},\"claimRewards(address[],uint256,address)\":{\"details\":\"Claims reward for an user, on all the assets of the lending pool, accumulating the pending rewards\",\"params\":{\"amount\":\"Amount of rewards to claim\",\"to\":\"Address that will be receiving the rewards\"},\"returns\":{\"_0\":\"Rewards claimed*\"}},\"claimRewardsOnBehalf(address[],uint256,address,address)\":{\"details\":\"Claims reward for an user on behalf, on all the assets of the lending pool, accumulating the pending rewards. The caller must be whitelisted via \\\"allowClaimOnBehalf\\\" function by the RewardsAdmin role manager\",\"params\":{\"amount\":\"Amount of rewards to claim\",\"to\":\"Address that will be receiving the rewards\",\"user\":\"Address to check and claim rewards\"},\"returns\":{\"_0\":\"Rewards claimed*\"}},\"configureAssets(address[],uint256[])\":{\"details\":\"Configure assets for a certain rewards emission\",\"params\":{\"assets\":\"The assets to incentivize\",\"emissionsPerSecond\":\"The emission for each asset\"}},\"getAssetData(address)\":{\"details\":\"Returns the configuration of the distribution for a certain asset\",\"params\":{\"asset\":\"The address of the reference asset of the distribution\"},\"returns\":{\"_0\":\"The asset index, the emission per second and the last updated timestamp*\"}},\"getClaimer(address)\":{\"details\":\"Returns the whitelisted claimer for a certain address (0x0 if not set)\",\"params\":{\"user\":\"The address of the user\"},\"returns\":{\"_0\":\"The claimer address\"}},\"getDistributionEnd()\":{\"details\":\"Gets the end date for the distribution\",\"returns\":{\"_0\":\"The end of the distribution*\"}},\"getRewardsBalance(address[],address)\":{\"details\":\"Returns the total of rewards of an user, already accrued + not yet accrued\",\"params\":{\"user\":\"The address of the user\"},\"returns\":{\"_0\":\"The rewards*\"}},\"getUserAssetData(address,address)\":{\"details\":\"Returns the data of an user on a distribution\",\"params\":{\"asset\":\"The address of the reference asset of the distribution\",\"user\":\"Address of the user\"},\"returns\":{\"_0\":\"The new index*\"}},\"getUserUnclaimedRewards(address)\":{\"details\":\"returns the unclaimed rewards of the user\",\"params\":{\"user\":\"the address of the user\"},\"returns\":{\"_0\":\"the unclaimed user rewards\"}},\"handleAction(address,uint256,uint256)\":{\"details\":\"Called by the corresponding asset on any update that affects the rewards distribution\",\"params\":{\"asset\":\"The address of the user\",\"totalSupply\":\"The total supply of the asset in the lending pool*\",\"userBalance\":\"The balance of the user of the asset in the lending pool\"}},\"setClaimer(address,address)\":{\"details\":\"Whitelists an address to claim the rewards on behalf of another address\",\"params\":{\"claimer\":\"The address of the claimer\",\"user\":\"The address of the user\"}},\"setDistributionEnd(uint256)\":{\"details\":\"Sets the end date for the distribution\",\"params\":{\"distributionEnd\":\"The end date timestamp*\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/assetListing/interfaces/IAaveIncentivesController.sol\":\"IAaveIncentivesController\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/assetListing/interfaces/IAaveDistributionManager.sol\":{\"content\":\"// SPDX-License-Identifier: agpl-3.0\\npragma solidity 0.7.5;\\npragma experimental ABIEncoderV2;\\ninterface IAaveDistributionManager {\\n event AssetConfigUpdated(address indexed asset, uint256 emission);\\n event AssetIndexUpdated(address indexed asset, uint256 index);\\n event UserIndexUpdated(address indexed user, address indexed asset, uint256 index);\\n event DistributionEndUpdated(uint256 newDistributionEnd);\\n /**\\n * @dev Sets the end date for the distribution\\n * @param distributionEnd The end date timestamp\\n **/\\n function setDistributionEnd(uint256 distributionEnd) external;\\n /**\\n * @dev Gets the end date for the distribution\\n * @return The end of the distribution\\n **/\\n function getDistributionEnd() external view returns (uint256);\\n /**\\n * @dev for backwards compatibility with the previous DistributionManager used\\n * @return The end of the distribution\\n **/\\n function DISTRIBUTION_END() external view returns(uint256);\\n /**\\n * @dev Returns the data of an user on a distribution\\n * @param user Address of the user\\n * @param asset The address of the reference asset of the distribution\\n * @return The new index\\n **/\\n function getUserAssetData(address user, address asset) external view returns (uint256);\\n /**\\n * @dev Returns the configuration of the distribution for a certain asset\\n * @param asset The address of the reference asset of the distribution\\n * @return The asset index, the emission per second and the last updated timestamp\\n **/\\n function getAssetData(address asset) external view returns (uint256, uint256, uint256);\\n}\",\"keccak256\":\"0xb302fe7525a60ca1045915a2c96853c94c241c04a309f839deb26f96c181f6d7\",\"license\":\"agpl-3.0\"},\"contracts/assetListing/interfaces/IAaveIncentivesController.sol\":{\"content\":\"// SPDX-License-Identifier: agpl-3.0\\npragma solidity 0.7.5;\\npragma experimental ABIEncoderV2;\\nimport {IAaveDistributionManager} from '../interfaces/IAaveDistributionManager.sol';\\ninterface IAaveIncentivesController is IAaveDistributionManager {\\n event RewardsAccrued(address indexed user, uint256 amount);\\n event RewardsClaimed(\\n address indexed user,\\n address indexed to,\\n address indexed claimer,\\n uint256 amount\\n );\\n event ClaimerSet(address indexed user, address indexed claimer);\\n /**\\n * @dev Whitelists an address to claim the rewards on behalf of another address\\n * @param user The address of the user\\n * @param claimer The address of the claimer\\n */\\n function setClaimer(address user, address claimer) external;\\n /**\\n * @dev Returns the whitelisted claimer for a certain address (0x0 if not set)\\n * @param user The address of the user\\n * @return The claimer address\\n */\\n function getClaimer(address user) external view returns (address);\\n /**\\n * @dev Configure assets for a certain rewards emission\\n * @param assets The assets to incentivize\\n * @param emissionsPerSecond The emission for each asset\\n */\\n function configureAssets(address[] calldata assets, uint256[] calldata emissionsPerSecond)\\n external;\\n /**\\n * @dev Called by the corresponding asset on any update that affects the rewards distribution\\n * @param asset The address of the user\\n * @param userBalance The balance of the user of the asset in the lending pool\\n * @param totalSupply The total supply of the asset in the lending pool\\n **/\\n function handleAction(\\n address asset,\\n uint256 userBalance,\\n uint256 totalSupply\\n ) external;\\n /**\\n * @dev Returns the total of rewards of an user, already accrued + not yet accrued\\n * @param user The address of the user\\n * @return The rewards\\n **/\\n function getRewardsBalance(address[] calldata assets, address user)\\n external\\n view\\n returns (uint256);\\n /**\\n * @dev Claims reward for an user, on all the assets of the lending pool, accumulating the pending rewards\\n * @param amount Amount of rewards to claim\\n * @param to Address that will be receiving the rewards\\n * @return Rewards claimed\\n **/\\n function claimRewards(\\n address[] calldata assets,\\n uint256 amount,\\n address to\\n ) external returns (uint256);\\n /**\\n * @dev Claims reward for an user on behalf, on all the assets of the lending pool, accumulating the pending rewards. The caller must\\n * be whitelisted via \\\"allowClaimOnBehalf\\\" function by the RewardsAdmin role manager\\n * @param amount Amount of rewards to claim\\n * @param user Address to check and claim rewards\\n * @param to Address that will be receiving the rewards\\n * @return Rewards claimed\\n **/\\n function claimRewardsOnBehalf(\\n address[] calldata assets,\\n uint256 amount,\\n address user,\\n address to\\n ) external returns (uint256);\\n /**\\n * @dev returns the unclaimed rewards of the user\\n * @param user the address of the user\\n * @return the unclaimed user rewards\\n */\\n function getUserUnclaimedRewards(address user) external view returns (uint256);\\n /**\\n * @dev for backward compatibility with previous implementation of the Incentives controller\\n */\\n function REWARD_TOKEN() external view returns (address);\\n}\\n\",\"keccak256\":\"0xe1629efc7aeb807ae7d3207b9a24aff94a4af950cc695f310fccdd8a16e6923a\",\"license\":\"agpl-3.0\"}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "contracts/assetListing/interfaces/IAavePullRewardsIncentivesController.sol": { + "IAavePullRewardsIncentivesController": { + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "emission", + "type": "uint256" + } + ], + "name": "AssetConfigUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "AssetIndexUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "claimer", + "type": "address" + } + ], + "name": "ClaimerSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "newDistributionEnd", + "type": "uint256" + } + ], + "name": "DistributionEndUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "RewardsAccrued", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "claimer", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "RewardsClaimed", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "vault", + "type": "address" + } + ], + "name": "RewardsVaultUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "UserIndexUpdated", + "type": "event" + }, + { + "inputs": [], + "name": "DISTRIBUTION_END", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "REWARD_TOKEN", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "assets", + "type": "address[]" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + } + ], + "name": "claimRewards", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "assets", + "type": "address[]" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + } + ], + "name": "claimRewardsOnBehalf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "assets", + "type": "address[]" + }, + { + "internalType": "uint256[]", + "name": "emissionsPerSecond", + "type": "uint256[]" + } + ], + "name": "configureAssets", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "asset", + "type": "address" + } + ], + "name": "getAssetData", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "user", + "type": "address" + } + ], + "name": "getClaimer", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getDistributionEnd", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "assets", + "type": "address[]" + }, + { + "internalType": "address", + "name": "user", + "type": "address" + } + ], + "name": "getRewardsBalance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "internalType": "address", + "name": "asset", + "type": "address" + } + ], + "name": "getUserAssetData", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "user", + "type": "address" + } + ], + "name": "getUserUnclaimedRewards", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "userBalance", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "totalSupply", + "type": "uint256" + } + ], + "name": "handleAction", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "internalType": "address", + "name": "claimer", + "type": "address" + } + ], + "name": "setClaimer", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "distributionEnd", + "type": "uint256" + } + ], + "name": "setDistributionEnd", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "rewardsVault", + "type": "address" + } + ], + "name": "setRewardsVault", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "kind": "dev", + "methods": { + "DISTRIBUTION_END()": { + "details": "for backwards compatibility with the previous DistributionManager used", + "returns": { + "_0": "The end of the distribution*" + } + }, + "REWARD_TOKEN()": { + "details": "for backward compatibility with previous implementation of the Incentives controller" + }, + "claimRewards(address[],uint256,address)": { + "details": "Claims reward for an user, on all the assets of the lending pool, accumulating the pending rewards", + "params": { + "amount": "Amount of rewards to claim", + "to": "Address that will be receiving the rewards" + }, + "returns": { + "_0": "Rewards claimed*" + } + }, + "claimRewardsOnBehalf(address[],uint256,address,address)": { + "details": "Claims reward for an user on behalf, on all the assets of the lending pool, accumulating the pending rewards. The caller must be whitelisted via \"allowClaimOnBehalf\" function by the RewardsAdmin role manager", + "params": { + "amount": "Amount of rewards to claim", + "to": "Address that will be receiving the rewards", + "user": "Address to check and claim rewards" + }, + "returns": { + "_0": "Rewards claimed*" + } + }, + "configureAssets(address[],uint256[])": { + "details": "Configure assets for a certain rewards emission", + "params": { + "assets": "The assets to incentivize", + "emissionsPerSecond": "The emission for each asset" + } + }, + "getAssetData(address)": { + "details": "Returns the configuration of the distribution for a certain asset", + "params": { + "asset": "The address of the reference asset of the distribution" + }, + "returns": { + "_0": "The asset index, the emission per second and the last updated timestamp*" + } + }, + "getClaimer(address)": { + "details": "Returns the whitelisted claimer for a certain address (0x0 if not set)", + "params": { + "user": "The address of the user" + }, + "returns": { + "_0": "The claimer address" + } + }, + "getDistributionEnd()": { + "details": "Gets the end date for the distribution", + "returns": { + "_0": "The end of the distribution*" + } + }, + "getRewardsBalance(address[],address)": { + "details": "Returns the total of rewards of an user, already accrued + not yet accrued", + "params": { + "user": "The address of the user" + }, + "returns": { + "_0": "The rewards*" + } + }, + "getUserAssetData(address,address)": { + "details": "Returns the data of an user on a distribution", + "params": { + "asset": "The address of the reference asset of the distribution", + "user": "Address of the user" + }, + "returns": { + "_0": "The new index*" + } + }, + "getUserUnclaimedRewards(address)": { + "details": "returns the unclaimed rewards of the user", + "params": { + "user": "the address of the user" + }, + "returns": { + "_0": "the unclaimed user rewards" + } + }, + "handleAction(address,uint256,uint256)": { + "details": "Called by the corresponding asset on any update that affects the rewards distribution", + "params": { + "asset": "The address of the user", + "totalSupply": "The total supply of the asset in the lending pool*", + "userBalance": "The balance of the user of the asset in the lending pool" + } + }, + "setClaimer(address,address)": { + "details": "Whitelists an address to claim the rewards on behalf of another address", + "params": { + "claimer": "The address of the claimer", + "user": "The address of the user" + } + }, + "setDistributionEnd(uint256)": { + "details": "Sets the end date for the distribution", + "params": { + "distributionEnd": "The end date timestamp*" + } + }, + "setRewardsVault(address)": { + "details": "update the rewards vault address, only allowed by the Rewards admin", + "params": { + "rewardsVault": "The address of the rewards vault*" + } + } + }, + "version": 1 + }, + "evm": { + "bytecode": { + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "DISTRIBUTION_END()": "919cd40f", + "REWARD_TOKEN()": "99248ea7", + "claimRewards(address[],uint256,address)": "3111e7b3", + "claimRewardsOnBehalf(address[],uint256,address,address)": "6d34b96e", + "configureAssets(address[],uint256[])": "79f171b2", + "getAssetData(address)": "1652e7b7", + "getClaimer(address)": "74d945ec", + "getDistributionEnd()": "cc69afec", + "getRewardsBalance(address[],address)": "8b599f26", + "getUserAssetData(address,address)": "3373ee4c", + "getUserUnclaimedRewards(address)": "198fa81e", + "handleAction(address,uint256,uint256)": "31873e2e", + "setClaimer(address,address)": "f5cf673b", + "setDistributionEnd(uint256)": "39ccbdd3", + "setRewardsVault(address)": "f5bb3e02" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.7.5+commit.eb77ed08\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"emission\",\"type\":\"uint256\"}],\"name\":\"AssetConfigUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"AssetIndexUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"claimer\",\"type\":\"address\"}],\"name\":\"ClaimerSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newDistributionEnd\",\"type\":\"uint256\"}],\"name\":\"DistributionEndUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"RewardsAccrued\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"claimer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"RewardsClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"vault\",\"type\":\"address\"}],\"name\":\"RewardsVaultUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"UserIndexUpdated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DISTRIBUTION_END\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"REWARD_TOKEN\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"assets\",\"type\":\"address[]\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"claimRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"assets\",\"type\":\"address[]\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"claimRewardsOnBehalf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"assets\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"emissionsPerSecond\",\"type\":\"uint256[]\"}],\"name\":\"configureAssets\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getAssetData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getClaimer\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDistributionEnd\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"assets\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getRewardsBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getUserAssetData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getUserUnclaimedRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"userBalance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalSupply\",\"type\":\"uint256\"}],\"name\":\"handleAction\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"claimer\",\"type\":\"address\"}],\"name\":\"setClaimer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"distributionEnd\",\"type\":\"uint256\"}],\"name\":\"setDistributionEnd\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"rewardsVault\",\"type\":\"address\"}],\"name\":\"setRewardsVault\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"DISTRIBUTION_END()\":{\"details\":\"for backwards compatibility with the previous DistributionManager used\",\"returns\":{\"_0\":\"The end of the distribution*\"}},\"REWARD_TOKEN()\":{\"details\":\"for backward compatibility with previous implementation of the Incentives controller\"},\"claimRewards(address[],uint256,address)\":{\"details\":\"Claims reward for an user, on all the assets of the lending pool, accumulating the pending rewards\",\"params\":{\"amount\":\"Amount of rewards to claim\",\"to\":\"Address that will be receiving the rewards\"},\"returns\":{\"_0\":\"Rewards claimed*\"}},\"claimRewardsOnBehalf(address[],uint256,address,address)\":{\"details\":\"Claims reward for an user on behalf, on all the assets of the lending pool, accumulating the pending rewards. The caller must be whitelisted via \\\"allowClaimOnBehalf\\\" function by the RewardsAdmin role manager\",\"params\":{\"amount\":\"Amount of rewards to claim\",\"to\":\"Address that will be receiving the rewards\",\"user\":\"Address to check and claim rewards\"},\"returns\":{\"_0\":\"Rewards claimed*\"}},\"configureAssets(address[],uint256[])\":{\"details\":\"Configure assets for a certain rewards emission\",\"params\":{\"assets\":\"The assets to incentivize\",\"emissionsPerSecond\":\"The emission for each asset\"}},\"getAssetData(address)\":{\"details\":\"Returns the configuration of the distribution for a certain asset\",\"params\":{\"asset\":\"The address of the reference asset of the distribution\"},\"returns\":{\"_0\":\"The asset index, the emission per second and the last updated timestamp*\"}},\"getClaimer(address)\":{\"details\":\"Returns the whitelisted claimer for a certain address (0x0 if not set)\",\"params\":{\"user\":\"The address of the user\"},\"returns\":{\"_0\":\"The claimer address\"}},\"getDistributionEnd()\":{\"details\":\"Gets the end date for the distribution\",\"returns\":{\"_0\":\"The end of the distribution*\"}},\"getRewardsBalance(address[],address)\":{\"details\":\"Returns the total of rewards of an user, already accrued + not yet accrued\",\"params\":{\"user\":\"The address of the user\"},\"returns\":{\"_0\":\"The rewards*\"}},\"getUserAssetData(address,address)\":{\"details\":\"Returns the data of an user on a distribution\",\"params\":{\"asset\":\"The address of the reference asset of the distribution\",\"user\":\"Address of the user\"},\"returns\":{\"_0\":\"The new index*\"}},\"getUserUnclaimedRewards(address)\":{\"details\":\"returns the unclaimed rewards of the user\",\"params\":{\"user\":\"the address of the user\"},\"returns\":{\"_0\":\"the unclaimed user rewards\"}},\"handleAction(address,uint256,uint256)\":{\"details\":\"Called by the corresponding asset on any update that affects the rewards distribution\",\"params\":{\"asset\":\"The address of the user\",\"totalSupply\":\"The total supply of the asset in the lending pool*\",\"userBalance\":\"The balance of the user of the asset in the lending pool\"}},\"setClaimer(address,address)\":{\"details\":\"Whitelists an address to claim the rewards on behalf of another address\",\"params\":{\"claimer\":\"The address of the claimer\",\"user\":\"The address of the user\"}},\"setDistributionEnd(uint256)\":{\"details\":\"Sets the end date for the distribution\",\"params\":{\"distributionEnd\":\"The end date timestamp*\"}},\"setRewardsVault(address)\":{\"details\":\"update the rewards vault address, only allowed by the Rewards admin\",\"params\":{\"rewardsVault\":\"The address of the rewards vault*\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/assetListing/interfaces/IAavePullRewardsIncentivesController.sol\":\"IAavePullRewardsIncentivesController\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/assetListing/interfaces/IAaveDistributionManager.sol\":{\"content\":\"// SPDX-License-Identifier: agpl-3.0\\npragma solidity 0.7.5;\\npragma experimental ABIEncoderV2;\\ninterface IAaveDistributionManager {\\n event AssetConfigUpdated(address indexed asset, uint256 emission);\\n event AssetIndexUpdated(address indexed asset, uint256 index);\\n event UserIndexUpdated(address indexed user, address indexed asset, uint256 index);\\n event DistributionEndUpdated(uint256 newDistributionEnd);\\n /**\\n * @dev Sets the end date for the distribution\\n * @param distributionEnd The end date timestamp\\n **/\\n function setDistributionEnd(uint256 distributionEnd) external;\\n /**\\n * @dev Gets the end date for the distribution\\n * @return The end of the distribution\\n **/\\n function getDistributionEnd() external view returns (uint256);\\n /**\\n * @dev for backwards compatibility with the previous DistributionManager used\\n * @return The end of the distribution\\n **/\\n function DISTRIBUTION_END() external view returns(uint256);\\n /**\\n * @dev Returns the data of an user on a distribution\\n * @param user Address of the user\\n * @param asset The address of the reference asset of the distribution\\n * @return The new index\\n **/\\n function getUserAssetData(address user, address asset) external view returns (uint256);\\n /**\\n * @dev Returns the configuration of the distribution for a certain asset\\n * @param asset The address of the reference asset of the distribution\\n * @return The asset index, the emission per second and the last updated timestamp\\n **/\\n function getAssetData(address asset) external view returns (uint256, uint256, uint256);\\n}\",\"keccak256\":\"0xb302fe7525a60ca1045915a2c96853c94c241c04a309f839deb26f96c181f6d7\",\"license\":\"agpl-3.0\"},\"contracts/assetListing/interfaces/IAaveIncentivesController.sol\":{\"content\":\"// SPDX-License-Identifier: agpl-3.0\\npragma solidity 0.7.5;\\npragma experimental ABIEncoderV2;\\nimport {IAaveDistributionManager} from '../interfaces/IAaveDistributionManager.sol';\\ninterface IAaveIncentivesController is IAaveDistributionManager {\\n event RewardsAccrued(address indexed user, uint256 amount);\\n event RewardsClaimed(\\n address indexed user,\\n address indexed to,\\n address indexed claimer,\\n uint256 amount\\n );\\n event ClaimerSet(address indexed user, address indexed claimer);\\n /**\\n * @dev Whitelists an address to claim the rewards on behalf of another address\\n * @param user The address of the user\\n * @param claimer The address of the claimer\\n */\\n function setClaimer(address user, address claimer) external;\\n /**\\n * @dev Returns the whitelisted claimer for a certain address (0x0 if not set)\\n * @param user The address of the user\\n * @return The claimer address\\n */\\n function getClaimer(address user) external view returns (address);\\n /**\\n * @dev Configure assets for a certain rewards emission\\n * @param assets The assets to incentivize\\n * @param emissionsPerSecond The emission for each asset\\n */\\n function configureAssets(address[] calldata assets, uint256[] calldata emissionsPerSecond)\\n external;\\n /**\\n * @dev Called by the corresponding asset on any update that affects the rewards distribution\\n * @param asset The address of the user\\n * @param userBalance The balance of the user of the asset in the lending pool\\n * @param totalSupply The total supply of the asset in the lending pool\\n **/\\n function handleAction(\\n address asset,\\n uint256 userBalance,\\n uint256 totalSupply\\n ) external;\\n /**\\n * @dev Returns the total of rewards of an user, already accrued + not yet accrued\\n * @param user The address of the user\\n * @return The rewards\\n **/\\n function getRewardsBalance(address[] calldata assets, address user)\\n external\\n view\\n returns (uint256);\\n /**\\n * @dev Claims reward for an user, on all the assets of the lending pool, accumulating the pending rewards\\n * @param amount Amount of rewards to claim\\n * @param to Address that will be receiving the rewards\\n * @return Rewards claimed\\n **/\\n function claimRewards(\\n address[] calldata assets,\\n uint256 amount,\\n address to\\n ) external returns (uint256);\\n /**\\n * @dev Claims reward for an user on behalf, on all the assets of the lending pool, accumulating the pending rewards. The caller must\\n * be whitelisted via \\\"allowClaimOnBehalf\\\" function by the RewardsAdmin role manager\\n * @param amount Amount of rewards to claim\\n * @param user Address to check and claim rewards\\n * @param to Address that will be receiving the rewards\\n * @return Rewards claimed\\n **/\\n function claimRewardsOnBehalf(\\n address[] calldata assets,\\n uint256 amount,\\n address user,\\n address to\\n ) external returns (uint256);\\n /**\\n * @dev returns the unclaimed rewards of the user\\n * @param user the address of the user\\n * @return the unclaimed user rewards\\n */\\n function getUserUnclaimedRewards(address user) external view returns (uint256);\\n /**\\n * @dev for backward compatibility with previous implementation of the Incentives controller\\n */\\n function REWARD_TOKEN() external view returns (address);\\n}\\n\",\"keccak256\":\"0xe1629efc7aeb807ae7d3207b9a24aff94a4af950cc695f310fccdd8a16e6923a\",\"license\":\"agpl-3.0\"},\"contracts/assetListing/interfaces/IAavePullRewardsIncentivesController.sol\":{\"content\":\"// SPDX-License-Identifier: agpl-3.0\\npragma solidity 0.7.5;\\npragma experimental ABIEncoderV2;\\n\\nimport {IAaveIncentivesController} from '../interfaces/IAaveIncentivesController.sol';\\n\\ninterface IAavePullRewardsIncentivesController is IAaveIncentivesController {\\n event RewardsVaultUpdated(address indexed vault);\\n\\n /**\\n * @dev update the rewards vault address, only allowed by the Rewards admin\\n * @param rewardsVault The address of the rewards vault\\n **/\\n function setRewardsVault(address rewardsVault) external;\\n}\\n\",\"keccak256\":\"0x32c2d8c2793170e8b983ef40e7631277373af055bd924a223cb93b92e71c53fd\",\"license\":\"agpl-3.0\"}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + } + }, + "sources": { + "contracts/assetListing/interfaces/IAaveDistributionManager.sol": { + "ast": { + "absolutePath": "contracts/assetListing/interfaces/IAaveDistributionManager.sol", + "exportedSymbols": { + "IAaveDistributionManager": [ + 67 + ] + }, + "id": 68, + "license": "agpl-3.0", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1, + "literals": [ + "solidity", + "0.7", + ".5" + ], + "nodeType": "PragmaDirective", + "src": "37:22:0" + }, + { + "id": 2, + "literals": [ + "experimental", + "ABIEncoderV2" + ], + "nodeType": "PragmaDirective", + "src": "60:33:0" + }, + { + "abstract": false, + "baseContracts": [], + "contractDependencies": [], + "contractKind": "interface", + "fullyImplemented": false, + "id": 67, + "linearizedBaseContracts": [ + 67 + ], + "name": "IAaveDistributionManager", + "nodeType": "ContractDefinition", + "nodes": [ + { + "anonymous": false, + "id": 8, + "name": "AssetConfigUpdated", + "nodeType": "EventDefinition", + "parameters": { + "id": 7, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 4, + "indexed": true, + "mutability": "mutable", + "name": "asset", + "nodeType": "VariableDeclaration", + "scope": 8, + "src": "158:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "158:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 6, + "indexed": false, + "mutability": "mutable", + "name": "emission", + "nodeType": "VariableDeclaration", + "scope": 8, + "src": "181:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 5, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "181:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "157:41:0" + }, + "src": "133:66:0" + }, + { + "anonymous": false, + "id": 14, + "name": "AssetIndexUpdated", + "nodeType": "EventDefinition", + "parameters": { + "id": 13, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 10, + "indexed": true, + "mutability": "mutable", + "name": "asset", + "nodeType": "VariableDeclaration", + "scope": 14, + "src": "226:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 9, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "226:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 12, + "indexed": false, + "mutability": "mutable", + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 14, + "src": "249:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 11, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "249:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "225:38:0" + }, + "src": "202:62:0" + }, + { + "anonymous": false, + "id": 22, + "name": "UserIndexUpdated", + "nodeType": "EventDefinition", + "parameters": { + "id": 21, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 16, + "indexed": true, + "mutability": "mutable", + "name": "user", + "nodeType": "VariableDeclaration", + "scope": 22, + "src": "290:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 15, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "290:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 18, + "indexed": true, + "mutability": "mutable", + "name": "asset", + "nodeType": "VariableDeclaration", + "scope": 22, + "src": "312:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 17, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "312:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 20, + "indexed": false, + "mutability": "mutable", + "name": "index", + "nodeType": "VariableDeclaration", + "scope": 22, + "src": "335:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 19, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "335:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "289:60:0" + }, + "src": "267:83:0" + }, + { + "anonymous": false, + "id": 26, + "name": "DistributionEndUpdated", + "nodeType": "EventDefinition", + "parameters": { + "id": 25, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 24, + "indexed": false, + "mutability": "mutable", + "name": "newDistributionEnd", + "nodeType": "VariableDeclaration", + "scope": 26, + "src": "382:26:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 23, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "382:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "381:28:0" + }, + "src": "353:57:0" + }, + { + "documentation": { + "id": 27, + "nodeType": "StructuredDocumentation", + "src": "413:107:0", + "text": " @dev Sets the end date for the distribution\n @param distributionEnd The end date timestamp*" + }, + "functionSelector": "39ccbdd3", + "id": 32, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setDistributionEnd", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 30, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 29, + "mutability": "mutable", + "name": "distributionEnd", + "nodeType": "VariableDeclaration", + "scope": 32, + "src": "551:23:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 28, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "551:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "550:25:0" + }, + "returnParameters": { + "id": 31, + "nodeType": "ParameterList", + "parameters": [], + "src": "584:0:0" + }, + "scope": 67, + "src": "523:62:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 33, + "nodeType": "StructuredDocumentation", + "src": "588:97:0", + "text": " @dev Gets the end date for the distribution\n @return The end of the distribution*" + }, + "functionSelector": "cc69afec", + "id": 38, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getDistributionEnd", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 34, + "nodeType": "ParameterList", + "parameters": [], + "src": "715:2:0" + }, + "returnParameters": { + "id": 37, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 36, + "mutability": "mutable", + "name": "", + "nodeType": "VariableDeclaration", + "scope": 38, + "src": "741:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 35, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "741:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "740:9:0" + }, + "scope": 67, + "src": "688:62:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 39, + "nodeType": "StructuredDocumentation", + "src": "753:129:0", + "text": " @dev for backwards compatibility with the previous DistributionManager used\n @return The end of the distribution*" + }, + "functionSelector": "919cd40f", + "id": 44, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "DISTRIBUTION_END", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 40, + "nodeType": "ParameterList", + "parameters": [], + "src": "910:2:0" + }, + "returnParameters": { + "id": 43, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 42, + "mutability": "mutable", + "name": "", + "nodeType": "VariableDeclaration", + "scope": 44, + "src": "935:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 41, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "935:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "934:9:0" + }, + "scope": 67, + "src": "885:59:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 45, + "nodeType": "StructuredDocumentation", + "src": "948:203:0", + "text": " @dev Returns the data of an user on a distribution\n @param user Address of the user\n @param asset The address of the reference asset of the distribution\n @return The new index*" + }, + "functionSelector": "3373ee4c", + "id": 54, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getUserAssetData", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 50, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 47, + "mutability": "mutable", + "name": "user", + "nodeType": "VariableDeclaration", + "scope": 54, + "src": "1181:12:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 46, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1181:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 49, + "mutability": "mutable", + "name": "asset", + "nodeType": "VariableDeclaration", + "scope": 54, + "src": "1195:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 48, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1195:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1180:29:0" + }, + "returnParameters": { + "id": 53, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 52, + "mutability": "mutable", + "name": "", + "nodeType": "VariableDeclaration", + "scope": 54, + "src": "1233:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 51, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1233:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1232:9:0" + }, + "scope": 67, + "src": "1155:87:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 55, + "nodeType": "StructuredDocumentation", + "src": "1246:244:0", + "text": " @dev Returns the configuration of the distribution for a certain asset\n @param asset The address of the reference asset of the distribution\n @return The asset index, the emission per second and the last updated timestamp*" + }, + "functionSelector": "1652e7b7", + "id": 66, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getAssetData", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 58, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 57, + "mutability": "mutable", + "name": "asset", + "nodeType": "VariableDeclaration", + "scope": 66, + "src": "1516:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 56, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1516:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1515:15:0" + }, + "returnParameters": { + "id": 65, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 60, + "mutability": "mutable", + "name": "", + "nodeType": "VariableDeclaration", + "scope": 66, + "src": "1554:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 59, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1554:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 62, + "mutability": "mutable", + "name": "", + "nodeType": "VariableDeclaration", + "scope": 66, + "src": "1563:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 61, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1563:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 64, + "mutability": "mutable", + "name": "", + "nodeType": "VariableDeclaration", + "scope": 66, + "src": "1572:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 63, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1572:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1553:27:0" + }, + "scope": 67, + "src": "1494:87:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + } + ], + "scope": 68, + "src": "94:1489:0" + } + ], + "src": "37:1546:0" + }, + "id": 0 + }, + "contracts/assetListing/interfaces/IAaveIncentivesController.sol": { + "ast": { + "absolutePath": "contracts/assetListing/interfaces/IAaveIncentivesController.sol", + "exportedSymbols": { + "IAaveDistributionManager": [ + 67 + ], + "IAaveIncentivesController": [ + 186 + ] + }, + "id": 187, + "license": "agpl-3.0", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 69, + "literals": [ + "solidity", + "0.7", + ".5" + ], + "nodeType": "PragmaDirective", + "src": "37:22:1" + }, + { + "id": 70, + "literals": [ + "experimental", + "ABIEncoderV2" + ], + "nodeType": "PragmaDirective", + "src": "60:33:1" + }, + { + "absolutePath": "contracts/assetListing/interfaces/IAaveDistributionManager.sol", + "file": "../interfaces/IAaveDistributionManager.sol", + "id": 72, + "nodeType": "ImportDirective", + "scope": 187, + "sourceUnit": 68, + "src": "94:84:1", + "symbolAliases": [ + { + "foreign": { + "id": 71, + "name": "IAaveDistributionManager", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "src": "102:24:1", + "typeDescriptions": {} + } + } + ], + "unitAlias": "" + }, + { + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 73, + "name": "IAaveDistributionManager", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 67, + "src": "218:24:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_IAaveDistributionManager_$67", + "typeString": "contract IAaveDistributionManager" + } + }, + "id": 74, + "nodeType": "InheritanceSpecifier", + "src": "218:24:1" + } + ], + "contractDependencies": [ + 67 + ], + "contractKind": "interface", + "fullyImplemented": false, + "id": 186, + "linearizedBaseContracts": [ + 186, + 67 + ], + "name": "IAaveIncentivesController", + "nodeType": "ContractDefinition", + "nodes": [ + { + "anonymous": false, + "id": 80, + "name": "RewardsAccrued", + "nodeType": "EventDefinition", + "parameters": { + "id": 79, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 76, + "indexed": true, + "mutability": "mutable", + "name": "user", + "nodeType": "VariableDeclaration", + "scope": 80, + "src": "268:20:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 75, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "268:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 78, + "indexed": false, + "mutability": "mutable", + "name": "amount", + "nodeType": "VariableDeclaration", + "scope": 80, + "src": "290:14:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 77, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "290:7:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "267:38:1" + }, + "src": "247:59:1" + }, + { + "anonymous": false, + "id": 90, + "name": "RewardsClaimed", + "nodeType": "EventDefinition", + "parameters": { + "id": 89, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 82, + "indexed": true, + "mutability": "mutable", + "name": "user", + "nodeType": "VariableDeclaration", + "scope": 90, + "src": "335:20:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 81, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "335:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 84, + "indexed": true, + "mutability": "mutable", + "name": "to", + "nodeType": "VariableDeclaration", + "scope": 90, + "src": "361:18:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 83, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "361:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 86, + "indexed": true, + "mutability": "mutable", + "name": "claimer", + "nodeType": "VariableDeclaration", + "scope": 90, + "src": "385:23:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 85, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "385:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 88, + "indexed": false, + "mutability": "mutable", + "name": "amount", + "nodeType": "VariableDeclaration", + "scope": 90, + "src": "414:14:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 87, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "414:7:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "329:103:1" + }, + "src": "309:124:1" + }, + { + "anonymous": false, + "id": 96, + "name": "ClaimerSet", + "nodeType": "EventDefinition", + "parameters": { + "id": 95, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 92, + "indexed": true, + "mutability": "mutable", + "name": "user", + "nodeType": "VariableDeclaration", + "scope": 96, + "src": "453:20:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 91, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "453:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 94, + "indexed": true, + "mutability": "mutable", + "name": "claimer", + "nodeType": "VariableDeclaration", + "scope": 96, + "src": "475:23:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 93, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "475:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "452:47:1" + }, + "src": "436:64:1" + }, + { + "documentation": { + "id": 97, + "nodeType": "StructuredDocumentation", + "src": "503:179:1", + "text": " @dev Whitelists an address to claim the rewards on behalf of another address\n @param user The address of the user\n @param claimer The address of the claimer" + }, + "functionSelector": "f5cf673b", + "id": 104, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setClaimer", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 102, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 99, + "mutability": "mutable", + "name": "user", + "nodeType": "VariableDeclaration", + "scope": 104, + "src": "705:12:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 98, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "705:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 101, + "mutability": "mutable", + "name": "claimer", + "nodeType": "VariableDeclaration", + "scope": 104, + "src": "719:15:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 100, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "719:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "704:31:1" + }, + "returnParameters": { + "id": 103, + "nodeType": "ParameterList", + "parameters": [], + "src": "744:0:1" + }, + "scope": 186, + "src": "685:60:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 105, + "nodeType": "StructuredDocumentation", + "src": "748:164:1", + "text": " @dev Returns the whitelisted claimer for a certain address (0x0 if not set)\n @param user The address of the user\n @return The claimer address" + }, + "functionSelector": "74d945ec", + "id": 112, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getClaimer", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 108, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 107, + "mutability": "mutable", + "name": "user", + "nodeType": "VariableDeclaration", + "scope": 112, + "src": "935:12:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 106, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "935:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "934:14:1" + }, + "returnParameters": { + "id": 111, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 110, + "mutability": "mutable", + "name": "", + "nodeType": "VariableDeclaration", + "scope": 112, + "src": "972:7:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 109, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "972:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "971:9:1" + }, + "scope": 186, + "src": "915:66:1", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 113, + "nodeType": "StructuredDocumentation", + "src": "984:171:1", + "text": " @dev Configure assets for a certain rewards emission\n @param assets The assets to incentivize\n @param emissionsPerSecond The emission for each asset" + }, + "functionSelector": "79f171b2", + "id": 122, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "configureAssets", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 120, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 116, + "mutability": "mutable", + "name": "assets", + "nodeType": "VariableDeclaration", + "scope": 122, + "src": "1183:25:1", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 114, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1183:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 115, + "nodeType": "ArrayTypeName", + "src": "1183:9:1", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 119, + "mutability": "mutable", + "name": "emissionsPerSecond", + "nodeType": "VariableDeclaration", + "scope": 122, + "src": "1210:37:1", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_calldata_ptr", + "typeString": "uint256[]" + }, + "typeName": { + "baseType": { + "id": 117, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1210:7:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 118, + "nodeType": "ArrayTypeName", + "src": "1210:9:1", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_uint256_$dyn_storage_ptr", + "typeString": "uint256[]" + } + }, + "visibility": "internal" + } + ], + "src": "1182:66:1" + }, + "returnParameters": { + "id": 121, + "nodeType": "ParameterList", + "parameters": [], + "src": "1261:0:1" + }, + "scope": 186, + "src": "1158:104:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 123, + "nodeType": "StructuredDocumentation", + "src": "1265:303:1", + "text": " @dev Called by the corresponding asset on any update that affects the rewards distribution\n @param asset The address of the user\n @param userBalance The balance of the user of the asset in the lending pool\n @param totalSupply The total supply of the asset in the lending pool*" + }, + "functionSelector": "31873e2e", + "id": 132, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "handleAction", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 130, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 125, + "mutability": "mutable", + "name": "asset", + "nodeType": "VariableDeclaration", + "scope": 132, + "src": "1598:13:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 124, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1598:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 127, + "mutability": "mutable", + "name": "userBalance", + "nodeType": "VariableDeclaration", + "scope": 132, + "src": "1617:19:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 126, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1617:7:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 129, + "mutability": "mutable", + "name": "totalSupply", + "nodeType": "VariableDeclaration", + "scope": 132, + "src": "1642:19:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 128, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1642:7:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1592:73:1" + }, + "returnParameters": { + "id": 131, + "nodeType": "ParameterList", + "parameters": [], + "src": "1674:0:1" + }, + "scope": 186, + "src": "1571:104:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 133, + "nodeType": "StructuredDocumentation", + "src": "1678:161:1", + "text": " @dev Returns the total of rewards of an user, already accrued + not yet accrued\n @param user The address of the user\n @return The rewards*" + }, + "functionSelector": "8b599f26", + "id": 143, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getRewardsBalance", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 139, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 136, + "mutability": "mutable", + "name": "assets", + "nodeType": "VariableDeclaration", + "scope": 143, + "src": "1869:25:1", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 134, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1869:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 135, + "nodeType": "ArrayTypeName", + "src": "1869:9:1", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 138, + "mutability": "mutable", + "name": "user", + "nodeType": "VariableDeclaration", + "scope": 143, + "src": "1896:12:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 137, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1896:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1868:41:1" + }, + "returnParameters": { + "id": 142, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 141, + "mutability": "mutable", + "name": "", + "nodeType": "VariableDeclaration", + "scope": 143, + "src": "1945:7:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 140, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1945:7:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1944:9:1" + }, + "scope": 186, + "src": "1842:112:1", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 144, + "nodeType": "StructuredDocumentation", + "src": "1957:252:1", + "text": " @dev Claims reward for an user, on all the assets of the lending pool, accumulating the pending rewards\n @param amount Amount of rewards to claim\n @param to Address that will be receiving the rewards\n @return Rewards claimed*" + }, + "functionSelector": "3111e7b3", + "id": 156, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "claimRewards", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 152, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 147, + "mutability": "mutable", + "name": "assets", + "nodeType": "VariableDeclaration", + "scope": 156, + "src": "2239:25:1", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 145, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2239:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 146, + "nodeType": "ArrayTypeName", + "src": "2239:9:1", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 149, + "mutability": "mutable", + "name": "amount", + "nodeType": "VariableDeclaration", + "scope": 156, + "src": "2270:14:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 148, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2270:7:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 151, + "mutability": "mutable", + "name": "to", + "nodeType": "VariableDeclaration", + "scope": 156, + "src": "2290:10:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 150, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2290:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2233:71:1" + }, + "returnParameters": { + "id": 155, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 154, + "mutability": "mutable", + "name": "", + "nodeType": "VariableDeclaration", + "scope": 156, + "src": "2323:7:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 153, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2323:7:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2322:9:1" + }, + "scope": 186, + "src": "2212:120:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 157, + "nodeType": "StructuredDocumentation", + "src": "2335:418:1", + "text": " @dev Claims reward for an user on behalf, on all the assets of the lending pool, accumulating the pending rewards. The caller must\n be whitelisted via \"allowClaimOnBehalf\" function by the RewardsAdmin role manager\n @param amount Amount of rewards to claim\n @param user Address to check and claim rewards\n @param to Address that will be receiving the rewards\n @return Rewards claimed*" + }, + "functionSelector": "6d34b96e", + "id": 171, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "claimRewardsOnBehalf", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 167, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 160, + "mutability": "mutable", + "name": "assets", + "nodeType": "VariableDeclaration", + "scope": 171, + "src": "2791:25:1", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr", + "typeString": "address[]" + }, + "typeName": { + "baseType": { + "id": 158, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2791:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 159, + "nodeType": "ArrayTypeName", + "src": "2791:9:1", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_address_$dyn_storage_ptr", + "typeString": "address[]" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 162, + "mutability": "mutable", + "name": "amount", + "nodeType": "VariableDeclaration", + "scope": 171, + "src": "2822:14:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 161, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2822:7:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 164, + "mutability": "mutable", + "name": "user", + "nodeType": "VariableDeclaration", + "scope": 171, + "src": "2842:12:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 163, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2842:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 166, + "mutability": "mutable", + "name": "to", + "nodeType": "VariableDeclaration", + "scope": 171, + "src": "2860:10:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 165, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2860:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2785:89:1" + }, + "returnParameters": { + "id": 170, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 169, + "mutability": "mutable", + "name": "", + "nodeType": "VariableDeclaration", + "scope": 171, + "src": "2893:7:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 168, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2893:7:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2892:9:1" + }, + "scope": 186, + "src": "2756:146:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 172, + "nodeType": "StructuredDocumentation", + "src": "2905:142:1", + "text": " @dev returns the unclaimed rewards of the user\n @param user the address of the user\n @return the unclaimed user rewards" + }, + "functionSelector": "198fa81e", + "id": 179, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getUserUnclaimedRewards", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 175, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 174, + "mutability": "mutable", + "name": "user", + "nodeType": "VariableDeclaration", + "scope": 179, + "src": "3083:12:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 173, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3083:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "3082:14:1" + }, + "returnParameters": { + "id": 178, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 177, + "mutability": "mutable", + "name": "", + "nodeType": "VariableDeclaration", + "scope": 179, + "src": "3120:7:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 176, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3120:7:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3119:9:1" + }, + "scope": 186, + "src": "3050:79:1", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 180, + "nodeType": "StructuredDocumentation", + "src": "3132:102:1", + "text": " @dev for backward compatibility with previous implementation of the Incentives controller" + }, + "functionSelector": "99248ea7", + "id": 185, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "REWARD_TOKEN", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 181, + "nodeType": "ParameterList", + "parameters": [], + "src": "3258:2:1" + }, + "returnParameters": { + "id": 184, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 183, + "mutability": "mutable", + "name": "", + "nodeType": "VariableDeclaration", + "scope": 185, + "src": "3284:7:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 182, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3284:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "3283:9:1" + }, + "scope": 186, + "src": "3237:56:1", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + } + ], + "scope": 187, + "src": "179:3116:1" + } + ], + "src": "37:3259:1" + }, + "id": 1 + }, + "contracts/assetListing/interfaces/IAavePullRewardsIncentivesController.sol": { + "ast": { + "absolutePath": "contracts/assetListing/interfaces/IAavePullRewardsIncentivesController.sol", + "exportedSymbols": { + "IAaveIncentivesController": [ + 186 + ], + "IAavePullRewardsIncentivesController": [ + 204 + ] + }, + "id": 205, + "license": "agpl-3.0", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 188, + "literals": [ + "solidity", + "0.7", + ".5" + ], + "nodeType": "PragmaDirective", + "src": "37:22:2" + }, + { + "id": 189, + "literals": [ + "experimental", + "ABIEncoderV2" + ], + "nodeType": "PragmaDirective", + "src": "60:33:2" + }, + { + "absolutePath": "contracts/assetListing/interfaces/IAaveIncentivesController.sol", + "file": "../interfaces/IAaveIncentivesController.sol", + "id": 191, + "nodeType": "ImportDirective", + "scope": 205, + "sourceUnit": 187, + "src": "95:86:2", + "symbolAliases": [ + { + "foreign": { + "id": 190, + "name": "IAaveIncentivesController", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "src": "103:25:2", + "typeDescriptions": {} + } + } + ], + "unitAlias": "" + }, + { + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 192, + "name": "IAaveIncentivesController", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 186, + "src": "233:25:2", + "typeDescriptions": { + "typeIdentifier": "t_contract$_IAaveIncentivesController_$186", + "typeString": "contract IAaveIncentivesController" + } + }, + "id": 193, + "nodeType": "InheritanceSpecifier", + "src": "233:25:2" + } + ], + "contractDependencies": [ + 67, + 186 + ], + "contractKind": "interface", + "fullyImplemented": false, + "id": 204, + "linearizedBaseContracts": [ + 204, + 186, + 67 + ], + "name": "IAavePullRewardsIncentivesController", + "nodeType": "ContractDefinition", + "nodes": [ + { + "anonymous": false, + "id": 197, + "name": "RewardsVaultUpdated", + "nodeType": "EventDefinition", + "parameters": { + "id": 196, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 195, + "indexed": true, + "mutability": "mutable", + "name": "vault", + "nodeType": "VariableDeclaration", + "scope": 197, + "src": "289:21:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 194, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "289:7:2", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "288:23:2" + }, + "src": "263:49:2" + }, + { + "documentation": { + "id": 198, + "nodeType": "StructuredDocumentation", + "src": "316:146:2", + "text": " @dev update the rewards vault address, only allowed by the Rewards admin\n @param rewardsVault The address of the rewards vault*" + }, + "functionSelector": "f5bb3e02", + "id": 203, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setRewardsVault", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 201, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 200, + "mutability": "mutable", + "name": "rewardsVault", + "nodeType": "VariableDeclaration", + "scope": 203, + "src": "490:20:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 199, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "490:7:2", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "489:22:2" + }, + "returnParameters": { + "id": 202, + "nodeType": "ParameterList", + "parameters": [], + "src": "520:0:2" + }, + "scope": 204, + "src": "465:56:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + } + ], + "scope": 205, + "src": "183:340:2" + } + ], + "src": "37:487:2" + }, + "id": 2 + } + } + } +} diff --git a/artifacts/contracts/assetListing/AssetListingProposalGenericExecutor.sol/AssetListingProposalGenericExecutor.dbg.json b/artifacts/contracts/assetListing/AssetListingProposalGenericExecutor.sol/AssetListingProposalGenericExecutor.dbg.json index 99885f4..1570aaf 100644 --- a/artifacts/contracts/assetListing/AssetListingProposalGenericExecutor.sol/AssetListingProposalGenericExecutor.dbg.json +++ b/artifacts/contracts/assetListing/AssetListingProposalGenericExecutor.sol/AssetListingProposalGenericExecutor.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../build-info/ebbdadd2e204bd6b1f4422115c71b57e.json" + "buildInfo": "../../../build-info/0e44cf6626a9b0524b3394ddb7fb6239.json" } diff --git a/artifacts/contracts/assetListing/AssetListingProposalGenericExecutor.sol/AssetListingProposalGenericExecutor.json b/artifacts/contracts/assetListing/AssetListingProposalGenericExecutor.sol/AssetListingProposalGenericExecutor.json index 68a3cf2..88a6a5c 100644 --- a/artifacts/contracts/assetListing/AssetListingProposalGenericExecutor.sol/AssetListingProposalGenericExecutor.json +++ b/artifacts/contracts/assetListing/AssetListingProposalGenericExecutor.sol/AssetListingProposalGenericExecutor.json @@ -96,8 +96,8 @@ "type": "function" } ], - "bytecode": "0x608060405234801561001057600080fd5b5061064c806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806306eefdf41461003b5780633fa572311461005f575b600080fd5b6100436100e6565b604080516001600160a01b039092168252519081900360200190f35b6100e460048036036101a081101561007657600080fd5b506001600160a01b0381358116916020810135821691604082013581169160608101358216916080820135169060a08101359060c08101359060e0810135906101008101359060ff6101208201351690610140810135151590610160810135151590610180013515156100fe565b005b73b53c1a33016b2dc2ff3653530bff1848a515c8c581565b600073b53c1a33016b2dc2ff3653530bff1848a515c8c56001600160a01b03166385c858b16040518163ffffffff1660e01b815260040160206040518083038186803b15801561014d57600080fd5b505afa158015610161573d6000803e3d6000fd5b505050506040513d602081101561017757600080fd5b5051604080516358b50cef60e11b815290519192506001600160a01b038f169163b16a19de91600480820192602092909190829003018186803b1580156101bd57600080fd5b505afa1580156101d1573d6000803e3d6000fd5b505050506040513d60208110156101e757600080fd5b50516001600160a01b038f8116911614610248576040805162461bcd60e51b815260206004820152601e60248201527f41544f4b454e3a2057524f4e475f554e4445524c59494e475f544f4b454e0000604482015290519081900360640190fd5b8b6001600160a01b031663b16a19de6040518163ffffffff1660e01b815260040160206040518083038186803b15801561028157600080fd5b505afa158015610295573d6000803e3d6000fd5b505050506040513d60208110156102ab57600080fd5b50516001600160a01b038f81169116146102f65760405162461bcd60e51b81526004018080602001828103825260238152602001806105cf6023913960400191505060405180910390fd5b8a6001600160a01b031663b16a19de6040518163ffffffff1660e01b815260040160206040518083038186803b15801561032f57600080fd5b505afa158015610343573d6000803e3d6000fd5b505050506040513d602081101561035957600080fd5b50516001600160a01b038f81169116146103a45760405162461bcd60e51b81526004018080602001828103825260258152602001806105f26025913960400191505060405180910390fd5b60408051636e801a7160e01b81526001600160a01b038f811660048301528e811660248301528d8116604483015260ff881660648301528c81166084830152915191831691636e801a719160a48082019260009290919082900301818387803b15801561041057600080fd5b505af1158015610424573d6000803e3d6000fd5b5050505083156104a057806001600160a01b031663eede87c18f856040518363ffffffff1660e01b815260040180836001600160a01b03168152602001821515815260200192505050600060405180830381600087803b15801561048757600080fd5b505af115801561049b573d6000803e3d6000fd5b505050505b806001600160a01b0316634b4e67538f886040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156104f757600080fd5b505af115801561050b573d6000803e3d6000fd5b50505050811561059557806001600160a01b0316637c4e560b8f8b8b8b6040518563ffffffff1660e01b815260040180856001600160a01b03168152602001848152602001838152602001828152602001945050505050600060405180830381600087803b15801561057c57600080fd5b505af1158015610590573d6000803e3d6000fd5b505050505b6040517fcf88c657fb0ecbed2a624b6b4c626e2ceda32ea9ed16ea81de6362a6d965bd0890600090a1505050505050505050505050505056fe535441424c455f444542543a2057524f4e475f554e4445524c59494e475f544f4b454e5641524941424c455f444542543a2057524f4e475f554e4445524c59494e475f544f4b454ea2646970667358221220527f105fd4db718b2b7ee46c86bb043b46695bebc5d2d8eb9221b8f1dfb688e664736f6c634300060c0033", - "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c806306eefdf41461003b5780633fa572311461005f575b600080fd5b6100436100e6565b604080516001600160a01b039092168252519081900360200190f35b6100e460048036036101a081101561007657600080fd5b506001600160a01b0381358116916020810135821691604082013581169160608101358216916080820135169060a08101359060c08101359060e0810135906101008101359060ff6101208201351690610140810135151590610160810135151590610180013515156100fe565b005b73b53c1a33016b2dc2ff3653530bff1848a515c8c581565b600073b53c1a33016b2dc2ff3653530bff1848a515c8c56001600160a01b03166385c858b16040518163ffffffff1660e01b815260040160206040518083038186803b15801561014d57600080fd5b505afa158015610161573d6000803e3d6000fd5b505050506040513d602081101561017757600080fd5b5051604080516358b50cef60e11b815290519192506001600160a01b038f169163b16a19de91600480820192602092909190829003018186803b1580156101bd57600080fd5b505afa1580156101d1573d6000803e3d6000fd5b505050506040513d60208110156101e757600080fd5b50516001600160a01b038f8116911614610248576040805162461bcd60e51b815260206004820152601e60248201527f41544f4b454e3a2057524f4e475f554e4445524c59494e475f544f4b454e0000604482015290519081900360640190fd5b8b6001600160a01b031663b16a19de6040518163ffffffff1660e01b815260040160206040518083038186803b15801561028157600080fd5b505afa158015610295573d6000803e3d6000fd5b505050506040513d60208110156102ab57600080fd5b50516001600160a01b038f81169116146102f65760405162461bcd60e51b81526004018080602001828103825260238152602001806105cf6023913960400191505060405180910390fd5b8a6001600160a01b031663b16a19de6040518163ffffffff1660e01b815260040160206040518083038186803b15801561032f57600080fd5b505afa158015610343573d6000803e3d6000fd5b505050506040513d602081101561035957600080fd5b50516001600160a01b038f81169116146103a45760405162461bcd60e51b81526004018080602001828103825260258152602001806105f26025913960400191505060405180910390fd5b60408051636e801a7160e01b81526001600160a01b038f811660048301528e811660248301528d8116604483015260ff881660648301528c81166084830152915191831691636e801a719160a48082019260009290919082900301818387803b15801561041057600080fd5b505af1158015610424573d6000803e3d6000fd5b5050505083156104a057806001600160a01b031663eede87c18f856040518363ffffffff1660e01b815260040180836001600160a01b03168152602001821515815260200192505050600060405180830381600087803b15801561048757600080fd5b505af115801561049b573d6000803e3d6000fd5b505050505b806001600160a01b0316634b4e67538f886040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156104f757600080fd5b505af115801561050b573d6000803e3d6000fd5b50505050811561059557806001600160a01b0316637c4e560b8f8b8b8b6040518563ffffffff1660e01b815260040180856001600160a01b03168152602001848152602001838152602001828152602001945050505050600060405180830381600087803b15801561057c57600080fd5b505af1158015610590573d6000803e3d6000fd5b505050505b6040517fcf88c657fb0ecbed2a624b6b4c626e2ceda32ea9ed16ea81de6362a6d965bd0890600090a1505050505050505050505050505056fe535441424c455f444542543a2057524f4e475f554e4445524c59494e475f544f4b454e5641524941424c455f444542543a2057524f4e475f554e4445524c59494e475f544f4b454ea2646970667358221220527f105fd4db718b2b7ee46c86bb043b46695bebc5d2d8eb9221b8f1dfb688e664736f6c634300060c0033", + "bytecode": "0x608060405234801561001057600080fd5b5061064c806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806306eefdf41461003b5780633fa572311461005f575b600080fd5b6100436100e6565b604080516001600160a01b039092168252519081900360200190f35b6100e460048036036101a081101561007657600080fd5b506001600160a01b0381358116916020810135821691604082013581169160608101358216916080820135169060a08101359060c08101359060e0810135906101008101359060ff6101208201351690610140810135151590610160810135151590610180013515156100fe565b005b73b53c1a33016b2dc2ff3653530bff1848a515c8c581565b600073b53c1a33016b2dc2ff3653530bff1848a515c8c56001600160a01b03166385c858b16040518163ffffffff1660e01b815260040160206040518083038186803b15801561014d57600080fd5b505afa158015610161573d6000803e3d6000fd5b505050506040513d602081101561017757600080fd5b5051604080516358b50cef60e11b815290519192506001600160a01b038f169163b16a19de91600480820192602092909190829003018186803b1580156101bd57600080fd5b505afa1580156101d1573d6000803e3d6000fd5b505050506040513d60208110156101e757600080fd5b50516001600160a01b038f8116911614610248576040805162461bcd60e51b815260206004820152601e60248201527f41544f4b454e3a2057524f4e475f554e4445524c59494e475f544f4b454e0000604482015290519081900360640190fd5b8b6001600160a01b031663b16a19de6040518163ffffffff1660e01b815260040160206040518083038186803b15801561028157600080fd5b505afa158015610295573d6000803e3d6000fd5b505050506040513d60208110156102ab57600080fd5b50516001600160a01b038f81169116146102f65760405162461bcd60e51b81526004018080602001828103825260238152602001806105cf6023913960400191505060405180910390fd5b8a6001600160a01b031663b16a19de6040518163ffffffff1660e01b815260040160206040518083038186803b15801561032f57600080fd5b505afa158015610343573d6000803e3d6000fd5b505050506040513d602081101561035957600080fd5b50516001600160a01b038f81169116146103a45760405162461bcd60e51b81526004018080602001828103825260258152602001806105f26025913960400191505060405180910390fd5b60408051636e801a7160e01b81526001600160a01b038f811660048301528e811660248301528d8116604483015260ff881660648301528c81166084830152915191831691636e801a719160a48082019260009290919082900301818387803b15801561041057600080fd5b505af1158015610424573d6000803e3d6000fd5b5050505083156104a057806001600160a01b031663eede87c18f856040518363ffffffff1660e01b815260040180836001600160a01b03168152602001821515815260200192505050600060405180830381600087803b15801561048757600080fd5b505af115801561049b573d6000803e3d6000fd5b505050505b806001600160a01b0316634b4e67538f886040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156104f757600080fd5b505af115801561050b573d6000803e3d6000fd5b50505050811561059557806001600160a01b0316637c4e560b8f8b8b8b6040518563ffffffff1660e01b815260040180856001600160a01b03168152602001848152602001838152602001828152602001945050505050600060405180830381600087803b15801561057c57600080fd5b505af1158015610590573d6000803e3d6000fd5b505050505b6040517fcf88c657fb0ecbed2a624b6b4c626e2ceda32ea9ed16ea81de6362a6d965bd0890600090a1505050505050505050505050505056fe535441424c455f444542543a2057524f4e475f554e4445524c59494e475f544f4b454e5641524941424c455f444542543a2057524f4e475f554e4445524c59494e475f544f4b454ea2646970667358221220392baa87503be1f8ea455b94dfe484f868b7def49be5e3c1a94c4029053d920f64736f6c634300060c0033", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c806306eefdf41461003b5780633fa572311461005f575b600080fd5b6100436100e6565b604080516001600160a01b039092168252519081900360200190f35b6100e460048036036101a081101561007657600080fd5b506001600160a01b0381358116916020810135821691604082013581169160608101358216916080820135169060a08101359060c08101359060e0810135906101008101359060ff6101208201351690610140810135151590610160810135151590610180013515156100fe565b005b73b53c1a33016b2dc2ff3653530bff1848a515c8c581565b600073b53c1a33016b2dc2ff3653530bff1848a515c8c56001600160a01b03166385c858b16040518163ffffffff1660e01b815260040160206040518083038186803b15801561014d57600080fd5b505afa158015610161573d6000803e3d6000fd5b505050506040513d602081101561017757600080fd5b5051604080516358b50cef60e11b815290519192506001600160a01b038f169163b16a19de91600480820192602092909190829003018186803b1580156101bd57600080fd5b505afa1580156101d1573d6000803e3d6000fd5b505050506040513d60208110156101e757600080fd5b50516001600160a01b038f8116911614610248576040805162461bcd60e51b815260206004820152601e60248201527f41544f4b454e3a2057524f4e475f554e4445524c59494e475f544f4b454e0000604482015290519081900360640190fd5b8b6001600160a01b031663b16a19de6040518163ffffffff1660e01b815260040160206040518083038186803b15801561028157600080fd5b505afa158015610295573d6000803e3d6000fd5b505050506040513d60208110156102ab57600080fd5b50516001600160a01b038f81169116146102f65760405162461bcd60e51b81526004018080602001828103825260238152602001806105cf6023913960400191505060405180910390fd5b8a6001600160a01b031663b16a19de6040518163ffffffff1660e01b815260040160206040518083038186803b15801561032f57600080fd5b505afa158015610343573d6000803e3d6000fd5b505050506040513d602081101561035957600080fd5b50516001600160a01b038f81169116146103a45760405162461bcd60e51b81526004018080602001828103825260258152602001806105f26025913960400191505060405180910390fd5b60408051636e801a7160e01b81526001600160a01b038f811660048301528e811660248301528d8116604483015260ff881660648301528c81166084830152915191831691636e801a719160a48082019260009290919082900301818387803b15801561041057600080fd5b505af1158015610424573d6000803e3d6000fd5b5050505083156104a057806001600160a01b031663eede87c18f856040518363ffffffff1660e01b815260040180836001600160a01b03168152602001821515815260200192505050600060405180830381600087803b15801561048757600080fd5b505af115801561049b573d6000803e3d6000fd5b505050505b806001600160a01b0316634b4e67538f886040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b1580156104f757600080fd5b505af115801561050b573d6000803e3d6000fd5b50505050811561059557806001600160a01b0316637c4e560b8f8b8b8b6040518563ffffffff1660e01b815260040180856001600160a01b03168152602001848152602001838152602001828152602001945050505050600060405180830381600087803b15801561057c57600080fd5b505af1158015610590573d6000803e3d6000fd5b505050505b6040517fcf88c657fb0ecbed2a624b6b4c626e2ceda32ea9ed16ea81de6362a6d965bd0890600090a1505050505050505050505050505056fe535441424c455f444542543a2057524f4e475f554e4445524c59494e475f544f4b454e5641524941424c455f444542543a2057524f4e475f554e4445524c59494e475f544f4b454ea2646970667358221220392baa87503be1f8ea455b94dfe484f868b7def49be5e3c1a94c4029053d920f64736f6c634300060c0033", "linkReferences": {}, "deployedLinkReferences": {} } diff --git a/artifacts/contracts/assetListing/interfaces/IAaveDistributionManager.sol/IAaveDistributionManager.dbg.json b/artifacts/contracts/assetListing/interfaces/IAaveDistributionManager.sol/IAaveDistributionManager.dbg.json new file mode 100644 index 0000000..826c52c --- /dev/null +++ b/artifacts/contracts/assetListing/interfaces/IAaveDistributionManager.sol/IAaveDistributionManager.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/4c2a2252764a9eb98af799fa244238e8.json" +} diff --git a/artifacts/contracts/assetListing/interfaces/IAaveDistributionManager.sol/IAaveDistributionManager.json b/artifacts/contracts/assetListing/interfaces/IAaveDistributionManager.sol/IAaveDistributionManager.json new file mode 100644 index 0000000..1ec684d --- /dev/null +++ b/artifacts/contracts/assetListing/interfaces/IAaveDistributionManager.sol/IAaveDistributionManager.json @@ -0,0 +1,179 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "IAaveDistributionManager", + "sourceName": "contracts/assetListing/interfaces/IAaveDistributionManager.sol", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "emission", + "type": "uint256" + } + ], + "name": "AssetConfigUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "AssetIndexUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "newDistributionEnd", + "type": "uint256" + } + ], + "name": "DistributionEndUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "UserIndexUpdated", + "type": "event" + }, + { + "inputs": [], + "name": "DISTRIBUTION_END", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "asset", + "type": "address" + } + ], + "name": "getAssetData", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getDistributionEnd", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "internalType": "address", + "name": "asset", + "type": "address" + } + ], + "name": "getUserAssetData", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "distributionEnd", + "type": "uint256" + } + ], + "name": "setDistributionEnd", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x", + "deployedBytecode": "0x", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/assetListing/interfaces/IAaveIncentivesController.sol/IAaveIncentivesController.dbg.json b/artifacts/contracts/assetListing/interfaces/IAaveIncentivesController.sol/IAaveIncentivesController.dbg.json new file mode 100644 index 0000000..826c52c --- /dev/null +++ b/artifacts/contracts/assetListing/interfaces/IAaveIncentivesController.sol/IAaveIncentivesController.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/4c2a2252764a9eb98af799fa244238e8.json" +} diff --git a/artifacts/contracts/assetListing/interfaces/IAaveIncentivesController.sol/IAaveIncentivesController.json b/artifacts/contracts/assetListing/interfaces/IAaveIncentivesController.sol/IAaveIncentivesController.json new file mode 100644 index 0000000..76b9e90 --- /dev/null +++ b/artifacts/contracts/assetListing/interfaces/IAaveIncentivesController.sol/IAaveIncentivesController.json @@ -0,0 +1,445 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "IAaveIncentivesController", + "sourceName": "contracts/assetListing/interfaces/IAaveIncentivesController.sol", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "emission", + "type": "uint256" + } + ], + "name": "AssetConfigUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "AssetIndexUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "claimer", + "type": "address" + } + ], + "name": "ClaimerSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "newDistributionEnd", + "type": "uint256" + } + ], + "name": "DistributionEndUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "RewardsAccrued", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "claimer", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "RewardsClaimed", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "UserIndexUpdated", + "type": "event" + }, + { + "inputs": [], + "name": "DISTRIBUTION_END", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "REWARD_TOKEN", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "assets", + "type": "address[]" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + } + ], + "name": "claimRewards", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "assets", + "type": "address[]" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + } + ], + "name": "claimRewardsOnBehalf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "assets", + "type": "address[]" + }, + { + "internalType": "uint256[]", + "name": "emissionsPerSecond", + "type": "uint256[]" + } + ], + "name": "configureAssets", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "asset", + "type": "address" + } + ], + "name": "getAssetData", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "user", + "type": "address" + } + ], + "name": "getClaimer", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getDistributionEnd", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "assets", + "type": "address[]" + }, + { + "internalType": "address", + "name": "user", + "type": "address" + } + ], + "name": "getRewardsBalance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "internalType": "address", + "name": "asset", + "type": "address" + } + ], + "name": "getUserAssetData", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "user", + "type": "address" + } + ], + "name": "getUserUnclaimedRewards", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "userBalance", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "totalSupply", + "type": "uint256" + } + ], + "name": "handleAction", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "internalType": "address", + "name": "claimer", + "type": "address" + } + ], + "name": "setClaimer", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "distributionEnd", + "type": "uint256" + } + ], + "name": "setDistributionEnd", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x", + "deployedBytecode": "0x", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/assetListing/interfaces/IAavePullRewardsIncentivesController.sol/IAavePullRewardsIncentivesController.dbg.json b/artifacts/contracts/assetListing/interfaces/IAavePullRewardsIncentivesController.sol/IAavePullRewardsIncentivesController.dbg.json new file mode 100644 index 0000000..826c52c --- /dev/null +++ b/artifacts/contracts/assetListing/interfaces/IAavePullRewardsIncentivesController.sol/IAavePullRewardsIncentivesController.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/4c2a2252764a9eb98af799fa244238e8.json" +} diff --git a/artifacts/contracts/assetListing/interfaces/IAavePullRewardsIncentivesController.sol/IAavePullRewardsIncentivesController.json b/artifacts/contracts/assetListing/interfaces/IAavePullRewardsIncentivesController.sol/IAavePullRewardsIncentivesController.json new file mode 100644 index 0000000..a58c757 --- /dev/null +++ b/artifacts/contracts/assetListing/interfaces/IAavePullRewardsIncentivesController.sol/IAavePullRewardsIncentivesController.json @@ -0,0 +1,471 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "IAavePullRewardsIncentivesController", + "sourceName": "contracts/assetListing/interfaces/IAavePullRewardsIncentivesController.sol", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "emission", + "type": "uint256" + } + ], + "name": "AssetConfigUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "AssetIndexUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "claimer", + "type": "address" + } + ], + "name": "ClaimerSet", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "newDistributionEnd", + "type": "uint256" + } + ], + "name": "DistributionEndUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "RewardsAccrued", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "claimer", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "RewardsClaimed", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "vault", + "type": "address" + } + ], + "name": "RewardsVaultUpdated", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "UserIndexUpdated", + "type": "event" + }, + { + "inputs": [], + "name": "DISTRIBUTION_END", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "REWARD_TOKEN", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "assets", + "type": "address[]" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + } + ], + "name": "claimRewards", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "assets", + "type": "address[]" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + } + ], + "name": "claimRewardsOnBehalf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "assets", + "type": "address[]" + }, + { + "internalType": "uint256[]", + "name": "emissionsPerSecond", + "type": "uint256[]" + } + ], + "name": "configureAssets", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "asset", + "type": "address" + } + ], + "name": "getAssetData", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "user", + "type": "address" + } + ], + "name": "getClaimer", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getDistributionEnd", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address[]", + "name": "assets", + "type": "address[]" + }, + { + "internalType": "address", + "name": "user", + "type": "address" + } + ], + "name": "getRewardsBalance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "internalType": "address", + "name": "asset", + "type": "address" + } + ], + "name": "getUserAssetData", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "user", + "type": "address" + } + ], + "name": "getUserUnclaimedRewards", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "asset", + "type": "address" + }, + { + "internalType": "uint256", + "name": "userBalance", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "totalSupply", + "type": "uint256" + } + ], + "name": "handleAction", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "user", + "type": "address" + }, + { + "internalType": "address", + "name": "claimer", + "type": "address" + } + ], + "name": "setClaimer", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "distributionEnd", + "type": "uint256" + } + ], + "name": "setDistributionEnd", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "rewardsVault", + "type": "address" + } + ], + "name": "setRewardsVault", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x", + "deployedBytecode": "0x", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/assetListing/interfaces/IERC20.sol/IERC20.dbg.json b/artifacts/contracts/assetListing/interfaces/IERC20.sol/IERC20.dbg.json index ebe6ec2..7cbfd5e 100644 --- a/artifacts/contracts/assetListing/interfaces/IERC20.sol/IERC20.dbg.json +++ b/artifacts/contracts/assetListing/interfaces/IERC20.sol/IERC20.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../build-info/ebbdadd2e204bd6b1f4422115c71b57e.json" + "buildInfo": "../../../../build-info/0e44cf6626a9b0524b3394ddb7fb6239.json" } diff --git a/artifacts/contracts/assetListing/interfaces/IERC20.sol/IERC20.json b/artifacts/contracts/assetListing/interfaces/IERC20.sol/IERC20.json index 96adef3..a3eedeb 100644 --- a/artifacts/contracts/assetListing/interfaces/IERC20.sol/IERC20.json +++ b/artifacts/contracts/assetListing/interfaces/IERC20.sol/IERC20.json @@ -120,6 +120,19 @@ "stateMutability": "view", "type": "function" }, + { + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [], "name": "totalSupply", diff --git a/artifacts/contracts/assetListing/interfaces/ILendingPool.sol/ILendingPool.dbg.json b/artifacts/contracts/assetListing/interfaces/ILendingPool.sol/ILendingPool.dbg.json index ebe6ec2..7cbfd5e 100644 --- a/artifacts/contracts/assetListing/interfaces/ILendingPool.sol/ILendingPool.dbg.json +++ b/artifacts/contracts/assetListing/interfaces/ILendingPool.sol/ILendingPool.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../build-info/ebbdadd2e204bd6b1f4422115c71b57e.json" + "buildInfo": "../../../../build-info/0e44cf6626a9b0524b3394ddb7fb6239.json" } diff --git a/artifacts/contracts/assetListing/interfaces/ILendingPoolAddressesProvider.sol/ILendingPoolAddressesProvider.dbg.json b/artifacts/contracts/assetListing/interfaces/ILendingPoolAddressesProvider.sol/ILendingPoolAddressesProvider.dbg.json index ebe6ec2..7cbfd5e 100644 --- a/artifacts/contracts/assetListing/interfaces/ILendingPoolAddressesProvider.sol/ILendingPoolAddressesProvider.dbg.json +++ b/artifacts/contracts/assetListing/interfaces/ILendingPoolAddressesProvider.sol/ILendingPoolAddressesProvider.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../build-info/ebbdadd2e204bd6b1f4422115c71b57e.json" + "buildInfo": "../../../../build-info/0e44cf6626a9b0524b3394ddb7fb6239.json" } diff --git a/artifacts/contracts/assetListing/interfaces/ILendingPoolConfiguratorV2.sol/ILendingPoolConfiguratorV2.dbg.json b/artifacts/contracts/assetListing/interfaces/ILendingPoolConfiguratorV2.sol/ILendingPoolConfiguratorV2.dbg.json index ebe6ec2..7cbfd5e 100644 --- a/artifacts/contracts/assetListing/interfaces/ILendingPoolConfiguratorV2.sol/ILendingPoolConfiguratorV2.dbg.json +++ b/artifacts/contracts/assetListing/interfaces/ILendingPoolConfiguratorV2.sol/ILendingPoolConfiguratorV2.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../build-info/ebbdadd2e204bd6b1f4422115c71b57e.json" + "buildInfo": "../../../../build-info/0e44cf6626a9b0524b3394ddb7fb6239.json" } diff --git a/artifacts/contracts/assetListing/interfaces/IOverlyingAsset.sol/IOverlyingAsset.dbg.json b/artifacts/contracts/assetListing/interfaces/IOverlyingAsset.sol/IOverlyingAsset.dbg.json index ebe6ec2..7cbfd5e 100644 --- a/artifacts/contracts/assetListing/interfaces/IOverlyingAsset.sol/IOverlyingAsset.dbg.json +++ b/artifacts/contracts/assetListing/interfaces/IOverlyingAsset.sol/IOverlyingAsset.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../build-info/ebbdadd2e204bd6b1f4422115c71b57e.json" + "buildInfo": "../../../../build-info/0e44cf6626a9b0524b3394ddb7fb6239.json" } diff --git a/artifacts/contracts/assetListing/interfaces/IProposalGenericExecutor.sol/IProposalGenericExecutor.dbg.json b/artifacts/contracts/assetListing/interfaces/IProposalGenericExecutor.sol/IProposalGenericExecutor.dbg.json index ebe6ec2..7cbfd5e 100644 --- a/artifacts/contracts/assetListing/interfaces/IProposalGenericExecutor.sol/IProposalGenericExecutor.dbg.json +++ b/artifacts/contracts/assetListing/interfaces/IProposalGenericExecutor.sol/IProposalGenericExecutor.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../build-info/ebbdadd2e204bd6b1f4422115c71b57e.json" + "buildInfo": "../../../../build-info/0e44cf6626a9b0524b3394ddb7fb6239.json" } diff --git a/artifacts/contracts/assetListing/lib/DataTypes.sol/DataTypes.dbg.json b/artifacts/contracts/assetListing/lib/DataTypes.sol/DataTypes.dbg.json index ebe6ec2..7cbfd5e 100644 --- a/artifacts/contracts/assetListing/lib/DataTypes.sol/DataTypes.dbg.json +++ b/artifacts/contracts/assetListing/lib/DataTypes.sol/DataTypes.dbg.json @@ -1,4 +1,4 @@ { "_format": "hh-sol-dbg-1", - "buildInfo": "../../../../build-info/ebbdadd2e204bd6b1f4422115c71b57e.json" + "buildInfo": "../../../../build-info/0e44cf6626a9b0524b3394ddb7fb6239.json" }