Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 108 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Borrow | 21807164 | 414 days ago | IN | 0 ETH | 0.00046967 | ||||
| Borrow | 21807133 | 414 days ago | IN | 0 ETH | 0.00064076 | ||||
| Redeem | 16828969 | 1111 days ago | IN | 0 ETH | 0.00377404 | ||||
| Borrow | 11842594 | 1871 days ago | IN | 0 ETH | 0.07574529 | ||||
| Borrow | 11571708 | 1913 days ago | IN | 0 ETH | 0.0221502 | ||||
| Borrow | 11515025 | 1921 days ago | IN | 0 ETH | 0.01675362 | ||||
| Redeem | 11497980 | 1924 days ago | IN | 0 ETH | 0.01437369 | ||||
| Repay Borrow | 11496987 | 1924 days ago | IN | 0 ETH | 0.02475948 | ||||
| Redeem | 11496941 | 1924 days ago | IN | 0 ETH | 0.0624229 | ||||
| Repay Borrow | 11496574 | 1924 days ago | IN | 0 ETH | 0.01629999 | ||||
| Redeem | 11496561 | 1924 days ago | IN | 0 ETH | 0.03244348 | ||||
| Redeem | 11496547 | 1924 days ago | IN | 0 ETH | 0.02936603 | ||||
| Repay Borrow | 11496411 | 1924 days ago | IN | 0 ETH | 0.01918859 | ||||
| Redeem | 11496405 | 1924 days ago | IN | 0 ETH | 0.03285416 | ||||
| Repay Borrow | 11496135 | 1924 days ago | IN | 0 ETH | 0.01316379 | ||||
| Redeem | 11496121 | 1924 days ago | IN | 0 ETH | 0.02224586 | ||||
| Redeem | 11496121 | 1924 days ago | IN | 0 ETH | 0.01932954 | ||||
| Redeem | 11496096 | 1924 days ago | IN | 0 ETH | 0.02021238 | ||||
| Redeem | 11496085 | 1924 days ago | IN | 0 ETH | 0.01876794 | ||||
| Repay Borrow | 11496061 | 1924 days ago | IN | 0 ETH | 0.01316379 | ||||
| Redeem | 11496056 | 1924 days ago | IN | 0 ETH | 0.02551215 | ||||
| Repay Borrow | 11496015 | 1924 days ago | IN | 0 ETH | 0.01384467 | ||||
| Redeem | 11496008 | 1924 days ago | IN | 0 ETH | 0.02956874 | ||||
| Repay Borrow | 11496001 | 1924 days ago | IN | 0 ETH | 0.01485568 | ||||
| Redeem | 11495683 | 1924 days ago | IN | 0 ETH | 0.0126867 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
AErc20
Compiler Version
v0.5.16+commit.9c3226ce
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2020-09-18
*/
pragma solidity ^0.5.16;
/**
* @title Artem ERC-20 Contract
* @notice Derived from Compound's cERC20 contract
* https://github.com/compound-finance/compound-protocol/tree/master/contracts
*/
/**
* @title Careful Math
* @notice Derived from OpenZeppelin's SafeMath library
* https://github.com/OpenZeppelin/openzeppelin-solidity/blob/master/contracts/math/SafeMath.sol
*/
contract CarefulMath {
enum MathError {
NO_ERROR,
DIVISION_BY_ZERO,
INTEGER_OVERFLOW,
INTEGER_UNDERFLOW
}
/**
* @dev Multiplies two numbers, returns an error on overflow.
*/
function mulUInt(uint a, uint b) internal pure returns (MathError, uint) {
if (a == 0) {
return (MathError.NO_ERROR, 0);
}
uint c = a * b;
if (c / a != b) {
return (MathError.INTEGER_OVERFLOW, 0);
} else {
return (MathError.NO_ERROR, c);
}
}
/**
* @dev Integer division of two numbers, truncating the quotient.
*/
function divUInt(uint a, uint b) internal pure returns (MathError, uint) {
if (b == 0) {
return (MathError.DIVISION_BY_ZERO, 0);
}
return (MathError.NO_ERROR, a / b);
}
/**
* @dev Subtracts two numbers, returns an error on overflow (i.e. if subtrahend is greater than minuend).
*/
function subUInt(uint a, uint b) internal pure returns (MathError, uint) {
if (b <= a) {
return (MathError.NO_ERROR, a - b);
} else {
return (MathError.INTEGER_UNDERFLOW, 0);
}
}
/**
* @dev Adds two numbers, returns an error on overflow.
*/
function addUInt(uint a, uint b) internal pure returns (MathError, uint) {
uint c = a + b;
if (c >= a) {
return (MathError.NO_ERROR, c);
} else {
return (MathError.INTEGER_OVERFLOW, 0);
}
}
/**
* @dev add a and b and then subtract c
*/
function addThenSubUInt(uint a, uint b, uint c) internal pure returns (MathError, uint) {
(MathError err0, uint sum) = addUInt(a, b);
if (err0 != MathError.NO_ERROR) {
return (err0, 0);
}
return subUInt(sum, c);
}
}
interface ControllerInterface {
function isController() external view returns (bool);
function enterMarkets(address[] calldata aTokens) external returns (uint[] memory);
function exitMarket(address aToken) external returns (uint);
function mintAllowed(address aToken, address minter, uint mintAmount) external returns (uint);
function mintVerify(address aToken, address minter, uint mintAmount, uint mintTokens) external;
function redeemAllowed(address aToken, address redeemer, uint redeemTokens) external returns (uint);
function redeemVerify(address aToken, address redeemer, uint redeemAmount, uint redeemTokens) external;
function borrowAllowed(address aToken, address borrower, uint borrowAmount) external returns (uint);
function borrowVerify(address aToken, address borrower, uint borrowAmount) external;
function repayBorrowAllowed(
address aToken,
address payer,
address borrower,
uint repayAmount) external returns (uint);
function repayBorrowVerify(
address aToken,
address payer,
address borrower,
uint repayAmount,
uint borrowerIndex) external;
function liquidateBorrowAllowed(
address aTokenBorrowed,
address aTokenCollateral,
address liquidator,
address borrower,
uint repayAmount) external returns (uint);
function liquidateBorrowVerify(
address aTokenBorrowed,
address aTokenCollateral,
address liquidator,
address borrower,
uint repayAmount,
uint seizeTokens) external;
function seizeAllowed(
address aTokenCollateral,
address aTokenBorrowed,
address liquidator,
address borrower,
uint seizeTokens) external returns (uint);
function seizeVerify(
address aTokenCollateral,
address aTokenBorrowed,
address liquidator,
address borrower,
uint seizeTokens) external;
function transferAllowed(address aToken, address src, address dst, uint transferTokens) external returns (uint);
function transferVerify(address aToken, address src, address dst, uint transferTokens) external;
/*** Liquidity/Liquidation Calculations ***/
function liquidateCalculateSeizeTokens(
address aTokenBorrowed,
address aTokenCollateral,
uint repayAmount) external view returns (uint, uint);
}
contract ControllerErrorReporter {
event Failure(uint error, uint info, uint detail);
function fail(Error err, FailureInfo info) internal returns (uint) {
emit Failure(uint(err), uint(info), 0);
return uint(err);
}
function failOpaque(Error err, FailureInfo info, uint opaqueError) internal returns (uint) {
emit Failure(uint(err), uint(info), opaqueError);
return uint(err);
}
enum Error {
NO_ERROR,
UNAUTHORIZED,
CONTROLLER_MISMATCH,
INSUFFICIENT_SHORTFALL,
INSUFFICIENT_LIQUIDITY,
INVALID_CLOSE_FACTOR,
INVALID_COLLATERAL_FACTOR,
INVALID_LIQUIDATION_INCENTIVE,
MARKET_NOT_ENTERED,
MARKET_NOT_LISTED,
MARKET_ALREADY_LISTED,
MATH_ERROR,
NONZERO_BORROW_BALANCE,
PRICE_ERROR,
REJECTION,
SNAPSHOT_ERROR,
TOO_MANY_ASSETS,
TOO_MUCH_REPAY
}
enum FailureInfo {
ACCEPT_ADMIN_PENDING_ADMIN_CHECK,
ACCEPT_PENDING_IMPLEMENTATION_ADDRESS_CHECK,
EXIT_MARKET_BALANCE_OWED,
EXIT_MARKET_REJECTION,
SET_CLOSE_FACTOR_OWNER_CHECK,
SET_CLOSE_FACTOR_VALIDATION,
SET_COLLATERAL_FACTOR_OWNER_CHECK,
SET_COLLATERAL_FACTOR_NO_EXISTS,
SET_COLLATERAL_FACTOR_VALIDATION,
SET_COLLATERAL_FACTOR_WITHOUT_PRICE,
SET_IMPLEMENTATION_OWNER_CHECK,
SET_LIQUIDATION_INCENTIVE_OWNER_CHECK,
SET_LIQUIDATION_INCENTIVE_VALIDATION,
SET_MAX_ASSETS_OWNER_CHECK,
SET_PENDING_ADMIN_OWNER_CHECK,
SET_PENDING_IMPLEMENTATION_OWNER_CHECK,
SET_PRICE_ORACLE_OWNER_CHECK,
SUPPORT_MARKET_EXISTS,
SUPPORT_MARKET_OWNER_CHECK,
ZUNUSED
}
}
contract TokenErrorReporter {
event Failure(uint error, uint info, uint detail);
function fail(Error err, FailureInfo info) internal returns (uint) {
emit Failure(uint(err), uint(info), 0);
return uint(err);
}
function failOpaque(Error err, FailureInfo info, uint opaqueError) internal returns (uint) {
emit Failure(uint(err), uint(info), opaqueError);
return uint(err);
}
enum Error {
NO_ERROR,
UNAUTHORIZED,
BAD_INPUT,
CONTROLLER_REJECTION,
CONTROLLER_CALCULATION_ERROR,
INTEREST_RATE_MODEL_ERROR,
INVALID_ACCOUNT_PAIR,
INVALID_CLOSE_AMOUNT_REQUESTED,
INVALID_COLLATERAL_FACTOR,
MATH_ERROR,
MARKET_NOT_FRESH,
MARKET_NOT_LISTED,
TOKEN_INSUFFICIENT_ALLOWANCE,
TOKEN_INSUFFICIENT_BALANCE,
TOKEN_INSUFFICIENT_CASH,
TOKEN_TRANSFER_IN_FAILED,
TOKEN_TRANSFER_OUT_FAILED
}
enum FailureInfo {
ACCEPT_ADMIN_PENDING_ADMIN_CHECK,
ACCRUE_INTEREST_ACCUMULATED_INTEREST_CALCULATION_FAILED,
ACCRUE_INTEREST_BORROW_RATE_CALCULATION_FAILED,
ACCRUE_INTEREST_NEW_BORROW_INDEX_CALCULATION_FAILED,
ACCRUE_INTEREST_NEW_TOTAL_BORROWS_CALCULATION_FAILED,
ACCRUE_INTEREST_NEW_TOTAL_RESERVES_CALCULATION_FAILED,
ACCRUE_INTEREST_SIMPLE_INTEREST_FACTOR_CALCULATION_FAILED,
BORROW_ACCUMULATED_BALANCE_CALCULATION_FAILED,
BORROW_ACCRUE_INTEREST_FAILED,
BORROW_CASH_NOT_AVAILABLE,
BORROW_FRESHNESS_CHECK,
BORROW_NEW_TOTAL_BALANCE_CALCULATION_FAILED,
BORROW_NEW_ACCOUNT_BORROW_BALANCE_CALCULATION_FAILED,
BORROW_MARKET_NOT_LISTED,
BORROW_CONTROLLER_REJECTION,
LIQUIDATE_ACCRUE_BORROW_INTEREST_FAILED,
LIQUIDATE_ACCRUE_COLLATERAL_INTEREST_FAILED,
LIQUIDATE_COLLATERAL_FRESHNESS_CHECK,
LIQUIDATE_CONTROLLER_REJECTION,
LIQUIDATE_CONTROLLER_CALCULATE_AMOUNT_SEIZE_FAILED,
LIQUIDATE_CLOSE_AMOUNT_IS_UINT_MAX,
LIQUIDATE_CLOSE_AMOUNT_IS_ZERO,
LIQUIDATE_FRESHNESS_CHECK,
LIQUIDATE_LIQUIDATOR_IS_BORROWER,
LIQUIDATE_REPAY_BORROW_FRESH_FAILED,
LIQUIDATE_SEIZE_BALANCE_INCREMENT_FAILED,
LIQUIDATE_SEIZE_BALANCE_DECREMENT_FAILED,
LIQUIDATE_SEIZE_CONTROLLER_REJECTION,
LIQUIDATE_SEIZE_LIQUIDATOR_IS_BORROWER,
LIQUIDATE_SEIZE_TOO_MUCH,
MINT_ACCRUE_INTEREST_FAILED,
MINT_CONTROLLER_REJECTION,
MINT_EXCHANGE_CALCULATION_FAILED,
MINT_EXCHANGE_RATE_READ_FAILED,
MINT_FRESHNESS_CHECK,
MINT_NEW_ACCOUNT_BALANCE_CALCULATION_FAILED,
MINT_NEW_TOTAL_SUPPLY_CALCULATION_FAILED,
MINT_TRANSFER_IN_FAILED,
MINT_TRANSFER_IN_NOT_POSSIBLE,
REDEEM_ACCRUE_INTEREST_FAILED,
REDEEM_CONTROLLER_REJECTION,
REDEEM_EXCHANGE_TOKENS_CALCULATION_FAILED,
REDEEM_EXCHANGE_AMOUNT_CALCULATION_FAILED,
REDEEM_EXCHANGE_RATE_READ_FAILED,
REDEEM_FRESHNESS_CHECK,
REDEEM_NEW_ACCOUNT_BALANCE_CALCULATION_FAILED,
REDEEM_NEW_TOTAL_SUPPLY_CALCULATION_FAILED,
REDEEM_TRANSFER_OUT_NOT_POSSIBLE,
REDUCE_RESERVES_ACCRUE_INTEREST_FAILED,
REDUCE_RESERVES_ADMIN_CHECK,
REDUCE_RESERVES_CASH_NOT_AVAILABLE,
REDUCE_RESERVES_FRESH_CHECK,
REDUCE_RESERVES_VALIDATION,
REPAY_BEHALF_ACCRUE_INTEREST_FAILED,
REPAY_BORROW_ACCRUE_INTEREST_FAILED,
REPAY_BORROW_ACCUMULATED_BALANCE_CALCULATION_FAILED,
REPAY_BORROW_CONTROLLER_REJECTION,
REPAY_BORROW_FRESHNESS_CHECK,
REPAY_BORROW_NEW_ACCOUNT_BORROW_BALANCE_CALCULATION_FAILED,
REPAY_BORROW_NEW_TOTAL_BALANCE_CALCULATION_FAILED,
REPAY_BORROW_TRANSFER_IN_NOT_POSSIBLE,
SET_COLLATERAL_FACTOR_OWNER_CHECK,
SET_COLLATERAL_FACTOR_VALIDATION,
SET_CONTROLLER_OWNER_CHECK,
SET_INTEREST_RATE_MODEL_ACCRUE_INTEREST_FAILED,
SET_INTEREST_RATE_MODEL_FRESH_CHECK,
SET_INTEREST_RATE_MODEL_OWNER_CHECK,
SET_MAX_ASSETS_OWNER_CHECK,
SET_ORACLE_MARKET_NOT_LISTED,
SET_PENDING_ADMIN_OWNER_CHECK,
SET_RESERVE_FACTOR_ACCRUE_INTEREST_FAILED,
SET_RESERVE_FACTOR_ADMIN_CHECK,
SET_RESERVE_FACTOR_FRESH_CHECK,
SET_RESERVE_FACTOR_BOUNDS_CHECK,
TRANSFER_CONTROLLER_REJECTION,
TRANSFER_NOT_ALLOWED,
TRANSFER_NOT_ENOUGH,
TRANSFER_TOO_MUCH
}
}
contract Exponential is CarefulMath {
uint constant expScale = 1e18;
uint constant halfExpScale = expScale/2;
uint constant mantissaOne = expScale;
struct Exp {
uint mantissa;
}
function getExp(uint num, uint denom) pure internal returns (MathError, Exp memory) {
(MathError err0, uint scaledNumerator) = mulUInt(num, expScale);
if (err0 != MathError.NO_ERROR) {
return (err0, Exp({mantissa: 0}));
}
(MathError err1, uint rational) = divUInt(scaledNumerator, denom);
if (err1 != MathError.NO_ERROR) {
return (err1, Exp({mantissa: 0}));
}
return (MathError.NO_ERROR, Exp({mantissa: rational}));
}
function addExp(Exp memory a, Exp memory b) pure internal returns (MathError, Exp memory) {
(MathError error, uint result) = addUInt(a.mantissa, b.mantissa);
return (error, Exp({mantissa: result}));
}
function subExp(Exp memory a, Exp memory b) pure internal returns (MathError, Exp memory) {
(MathError error, uint result) = subUInt(a.mantissa, b.mantissa);
return (error, Exp({mantissa: result}));
}
function mulScalar(Exp memory a, uint scalar) pure internal returns (MathError, Exp memory) {
(MathError err0, uint scaledMantissa) = mulUInt(a.mantissa, scalar);
if (err0 != MathError.NO_ERROR) {
return (err0, Exp({mantissa: 0}));
}
return (MathError.NO_ERROR, Exp({mantissa: scaledMantissa}));
}
function mulScalarTruncate(Exp memory a, uint scalar) pure internal returns (MathError, uint) {
(MathError err, Exp memory product) = mulScalar(a, scalar);
if (err != MathError.NO_ERROR) {
return (err, 0);
}
return (MathError.NO_ERROR, truncate(product));
}
function mulScalarTruncateAddUInt(Exp memory a, uint scalar, uint addend) pure internal returns (MathError, uint) {
(MathError err, Exp memory product) = mulScalar(a, scalar);
if (err != MathError.NO_ERROR) {
return (err, 0);
}
return addUInt(truncate(product), addend);
}
function divScalar(Exp memory a, uint scalar) pure internal returns (MathError, Exp memory) {
(MathError err0, uint descaledMantissa) = divUInt(a.mantissa, scalar);
if (err0 != MathError.NO_ERROR) {
return (err0, Exp({mantissa: 0}));
}
return (MathError.NO_ERROR, Exp({mantissa: descaledMantissa}));
}
function divScalarByExp(uint scalar, Exp memory divisor) pure internal returns (MathError, Exp memory) {
/*
We are doing this as:
getExp(mulUInt(expScale, scalar), divisor.mantissa)
How it works:
Exp = a / b;
Scalar = s;
`s / (a / b)` = `b * s / a` and since for an Exp `a = mantissa, b = expScale`
*/
(MathError err0, uint numerator) = mulUInt(expScale, scalar);
if (err0 != MathError.NO_ERROR) {
return (err0, Exp({mantissa: 0}));
}
return getExp(numerator, divisor.mantissa);
}
function divScalarByExpTruncate(uint scalar, Exp memory divisor) pure internal returns (MathError, uint) {
(MathError err, Exp memory fraction) = divScalarByExp(scalar, divisor);
if (err != MathError.NO_ERROR) {
return (err, 0);
}
return (MathError.NO_ERROR, truncate(fraction));
}
function mulExp(Exp memory a, Exp memory b) pure internal returns (MathError, Exp memory) {
(MathError err0, uint doubleScaledProduct) = mulUInt(a.mantissa, b.mantissa);
if (err0 != MathError.NO_ERROR) {
return (err0, Exp({mantissa: 0}));
}
// We add half the scale before dividing so that we get rounding instead of truncation.
// See "Listing 6" and text above it at https://accu.org/index.php/journals/1717
// Without this change, a result like 6.6...e-19 will be truncated to 0 instead of being rounded to 1e-18.
(MathError err1, uint doubleScaledProductWithHalfScale) = addUInt(halfExpScale, doubleScaledProduct);
if (err1 != MathError.NO_ERROR) {
return (err1, Exp({mantissa: 0}));
}
(MathError err2, uint product) = divUInt(doubleScaledProductWithHalfScale, expScale);
// The only error `div` can return is MathError.DIVISION_BY_ZERO but we control `expScale` and it is not zero.
assert(err2 == MathError.NO_ERROR);
return (MathError.NO_ERROR, Exp({mantissa: product}));
}
function mulExp(uint a, uint b) pure internal returns (MathError, Exp memory) {
return mulExp(Exp({mantissa: a}), Exp({mantissa: b}));
}
function mulExp3(Exp memory a, Exp memory b, Exp memory c) pure internal returns (MathError, Exp memory) {
(MathError err, Exp memory ab) = mulExp(a, b);
if (err != MathError.NO_ERROR) {
return (err, ab);
}
return mulExp(ab, c);
}
function divExp(Exp memory a, Exp memory b) pure internal returns (MathError, Exp memory) {
return getExp(a.mantissa, b.mantissa);
}
function truncate(Exp memory exp) pure internal returns (uint) {
// Note: We are not using careful math here as we're performing a division that cannot fail
return exp.mantissa / expScale;
}
function lessThanExp(Exp memory left, Exp memory right) pure internal returns (bool) {
return left.mantissa < right.mantissa; //TODO: Add some simple tests and this in another PR yo.
}
function lessThanOrEqualExp(Exp memory left, Exp memory right) pure internal returns (bool) {
return left.mantissa <= right.mantissa;
}
function isZeroExp(Exp memory value) pure internal returns (bool) {
return value.mantissa == 0;
}
}
/**
* @title ERC 20 Token Standard Interface
* https://eips.ethereum.org/EIPS/eip-20
*/
interface EIP20Interface {
/**
* @notice Get the total number of tokens in circulation
* @return The supply of tokens
*/
function totalSupply() external view returns (uint256);
/**
* @notice Gets the balance of the specified address
* @param owner The address from which the balance will be retrieved
* @return The balance
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @notice Transfer `amount` tokens from `msg.sender` to `dst`
* @param dst The address of the destination account
* @param amount The number of tokens to transfer
* @return Whether or not the transfer succeeded
*/
function transfer(address dst, uint256 amount) external returns (bool success);
/**
* @notice Transfer `amount` tokens from `src` to `dst`
* @param src The address of the source account
* @param dst The address of the destination account
* @param amount The number of tokens to transfer
* @return Whether or not the transfer succeeded
*/
function transferFrom(address src, address dst, uint256 amount) external returns (bool success);
/**
* @notice Approve `spender` to transfer up to `amount` from `src`
* @dev This will overwrite the approval amount for `spender`
* and is subject to issues noted [here](https://eips.ethereum.org/EIPS/eip-20#approve)
* @param spender The address of the account which may transfer tokens
* @param amount The number of tokens that are approved (-1 means infinite)
* @return Whether or not the approval succeeded
*/
function approve(address spender, uint256 amount) external returns (bool success);
/**
* @notice Get the current allowance from `owner` for `spender`
* @param owner The address of the account which owns the tokens to be spent
* @param spender The address of the account which may transfer tokens
* @return The number of tokens allowed to be spent (-1 means infinite)
*/
function allowance(address owner, address spender) external view returns (uint256 remaining);
event Transfer(address indexed from, address indexed to, uint256 amount);
event Approval(address indexed owner, address indexed spender, uint256 amount);
}
/**
* @title EIP20NonStandardInterface
* notice: Version of ERC20 with no return values for `transfer` and `transferFrom`
* See https://medium.com/coinmonks/missing-return-value-bug-at-least-130-tokens-affected-d67bf08521ca
*/
interface EIP20NonStandardInterface {
function totalSupply() external view returns (uint256);
function balanceOf(address owner) external view returns (uint256 balance);
function transfer(address dst, uint256 amount) external;
function transferFrom(address src, address dst, uint256 amount) external;
function approve(address spender, uint256 amount) external returns (bool success);
function allowance(address owner, address spender) external view returns (uint256 remaining);
event Transfer(address indexed from, address indexed to, uint256 amount);
event Approval(address indexed owner, address indexed spender, uint256 amount);
}
/**
* @title Helps contracts guard against reentrancy attacks.
* @author Remco Bloemen <remco@2π.com>, Eenae <alexey@mixbytes.io>
* @dev If you mark a function `nonReentrant`, you should also
* mark it `external`.
*/
contract ReentrancyGuard {
/// @dev counter to allow mutex lock with only one SSTORE operation
uint256 private _guardCounter;
constructor () public {
// The counter starts at one to prevent changing it from zero to a non-zero
// value, which is a more expensive operation.
_guardCounter = 1;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and make it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
_guardCounter += 1;
uint256 localCounter = _guardCounter;
_;
require(localCounter == _guardCounter, "re-entered");
}
}
interface InterestRateModel {
function getBorrowRate(uint cash, uint borrows, uint reserves) external view returns (uint, uint);
function isInterestRateModel() external view returns (bool);
}
contract AToken is EIP20Interface, Exponential, TokenErrorReporter, ReentrancyGuard {
/**
* @notice Indicator that this is a AToken contract (for inspection)
*/
bool public constant isAToken = true;
/**
* @notice EIP-20 token name for this token
*/
string public name;
/**
* @notice EIP-20 token symbol for this token
*/
string public symbol;
/**
* @notice EIP-20 token decimals for this token
*/
uint public decimals;
/**
* @notice Maximum borrow rate that can ever be applied (.0005% / block)
*/
uint constant borrowRateMaxMantissa = 5e14;
/**
* @notice Maximum fraction of interest that can be set aside for reserves
*/
uint constant reserveFactorMaxMantissa = 1e18;
/**
* @notice Administrator for this contract
*/
address payable public admin;
/**
* @notice Pending administrator for this contract
*/
address payable public pendingAdmin;
/**
* @notice Contract which oversees inter-aToken operations
*/
ControllerInterface public controller;
/**
* @notice Model which tells what the current interest rate should be
*/
InterestRateModel public interestRateModel;
/**
* @notice Initial exchange rate used when minting the first ATokens (used when totalSupply = 0)
*/
uint public initialExchangeRateMantissa;
/**
* @notice Fraction of interest currently set aside for reserves
*/
uint public reserveFactorMantissa;
/**
* @notice Block number that interest was last accrued at
*/
uint public accrualBlockNumber;
/**
* @notice Accumulator of total earned interest since the opening of the market
*/
uint public borrowIndex;
/**
* @notice Total amount of outstanding borrows of the underlying in this market
*/
uint public totalBorrows;
/**
* @notice Total amount of reserves of the underlying held in this market
*/
uint public totalReserves;
/**
* @notice Total number of tokens in circulation
*/
uint256 public totalSupply;
/**
* @notice Official record of token balances for each account
*/
mapping (address => uint256) accountTokens;
/**
* @notice Approved token transfer amounts on behalf of others
*/
mapping (address => mapping (address => uint256)) transferAllowances;
/**
* @notice Container for borrow balance information
* @member principal Total balance (with accrued interest), after applying the most recent balance-changing action
* @member interestIndex Global borrowIndex as of the most recent balance-changing action
*/
struct BorrowSnapshot {
uint principal;
uint interestIndex;
}
/**
* @notice Mapping of account addresses to outstanding borrow balances
*/
mapping(address => BorrowSnapshot) accountBorrows;
/*** Market Events ***/
/**
* @notice Event emitted when interest is accrued
*/
event AccrueInterest(uint interestAccumulated, uint borrowIndex, uint totalBorrows);
/**
* @notice Event emitted when tokens are minted
*/
event Mint(address minter, uint mintAmount, uint mintTokens);
/**
* @notice Event emitted when tokens are redeemed
*/
event Redeem(address redeemer, uint redeemAmount, uint redeemTokens);
/**
* @notice Event emitted when underlying is borrowed
*/
event Borrow(address borrower, uint borrowAmount, uint accountBorrows, uint totalBorrows);
/**
* @notice Event emitted when a borrow is repaid
*/
event RepayBorrow(address payer, address borrower, uint repayAmount, uint accountBorrows, uint totalBorrows);
/**
* @notice Event emitted when a borrow is liquidated
*/
event LiquidateBorrow(address liquidator, address borrower, uint repayAmount, address aTokenCollateral, uint seizeTokens);
/*** Admin Events ***/
/**
* @notice Event emitted when pendingAdmin is changed
*/
event NewPendingAdmin(address oldPendingAdmin, address newPendingAdmin);
/**
* @notice Event emitted when pendingAdmin is accepted, which means admin is updated
*/
event NewAdmin(address oldAdmin, address newAdmin);
/**
* @notice Event emitted when controller is changed
*/
event NewController(ControllerInterface oldController, ControllerInterface newController);
/**
* @notice Event emitted when interestRateModel is changed
*/
event NewMarketInterestRateModel(InterestRateModel oldInterestRateModel, InterestRateModel newInterestRateModel);
/**
* @notice Event emitted when the reserve factor is changed
*/
event NewReserveFactor(uint oldReserveFactorMantissa, uint newReserveFactorMantissa);
/**
* @notice Event emitted when the reserves are reduced
*/
event ReservesReduced(address admin, uint reduceAmount, uint newTotalReserves);
constructor( ) public {
admin = msg.sender;
// Set initial exchange rate
initialExchangeRateMantissa = uint(200000000000000000000000000);
// Initialize block number and borrow index (block number mocks depend on controller being set)
accrualBlockNumber = getBlockNumber();
borrowIndex = mantissaOne;
name = string("Artem Uniswap");
symbol = string("aUNI");
decimals = uint(8);
}
function transferTokens(address spender, address src, address dst, uint tokens) internal returns (uint) {
/* Fail if transfer not allowed */
uint allowed = controller.transferAllowed(address(this), src, dst, tokens);
if (allowed != 0) {
return failOpaque(Error.CONTROLLER_REJECTION, FailureInfo.TRANSFER_CONTROLLER_REJECTION, allowed);
}
/* Do not allow self-transfers */
if (src == dst) {
return fail(Error.BAD_INPUT, FailureInfo.TRANSFER_NOT_ALLOWED);
}
/* Get the allowance, infinite for the account owner */
uint startingAllowance = 0;
if (spender == src) {
startingAllowance = uint(-1);
} else {
startingAllowance = transferAllowances[src][spender];
}
/* Do the calculations, checking for {under,over}flow */
MathError mathErr;
uint allowanceNew;
uint srcTokensNew;
uint dstTokensNew;
(mathErr, allowanceNew) = subUInt(startingAllowance, tokens);
if (mathErr != MathError.NO_ERROR) {
return fail(Error.MATH_ERROR, FailureInfo.TRANSFER_NOT_ALLOWED);
}
(mathErr, srcTokensNew) = subUInt(accountTokens[src], tokens);
if (mathErr != MathError.NO_ERROR) {
return fail(Error.MATH_ERROR, FailureInfo.TRANSFER_NOT_ENOUGH);
}
(mathErr, dstTokensNew) = addUInt(accountTokens[dst], tokens);
if (mathErr != MathError.NO_ERROR) {
return fail(Error.MATH_ERROR, FailureInfo.TRANSFER_TOO_MUCH);
}
/////////////////////////
// EFFECTS & INTERACTIONS
// (No safe failures beyond this point)
accountTokens[src] = srcTokensNew;
accountTokens[dst] = dstTokensNew;
/* Eat some of the allowance (if necessary) */
if (startingAllowance != uint(-1)) {
transferAllowances[src][spender] = allowanceNew;
}
/* We emit a Transfer event */
emit Transfer(src, dst, tokens);
/* We call the defense hook (which checks for under-collateralization) */
controller.transferVerify(address(this), src, dst, tokens);
return uint(Error.NO_ERROR);
}
/**
* @notice Transfer `amount` tokens from `msg.sender` to `dst`
* @param dst The address of the destination account
* @param amount The number of tokens to transfer
* @return Whether or not the transfer succeeded
*/
function transfer(address dst, uint256 amount) external nonReentrant returns (bool) {
return transferTokens(msg.sender, msg.sender, dst, amount) == uint(Error.NO_ERROR);
}
/**
* @notice Transfer `amount` tokens from `src` to `dst`
* @param src The address of the source account
* @param dst The address of the destination account
* @param amount The number of tokens to transfer
* @return Whether or not the transfer succeeded
*/
function transferFrom(address src, address dst, uint256 amount) external nonReentrant returns (bool) {
return transferTokens(msg.sender, src, dst, amount) == uint(Error.NO_ERROR);
}
/**
* @notice Approve `spender` to transfer up to `amount` from `src`
* @dev This will overwrite the approval amount for `spender`
* and is subject to issues noted [here](https://eips.ethereum.org/EIPS/eip-20#approve)
* @param spender The address of the account which may transfer tokens
* @param amount The number of tokens that are approved (-1 means infinite)
* @return Whether or not the approval succeeded
*/
function approve(address spender, uint256 amount) external returns (bool) {
address src = msg.sender;
transferAllowances[src][spender] = amount;
emit Approval(src, spender, amount);
return true;
}
/**
* @notice Get the current allowance from `owner` for `spender`
* @param owner The address of the account which owns the tokens to be spent
* @param spender The address of the account which may transfer tokens
* @return The number of tokens allowed to be spent (-1 means infinite)
*/
function allowance(address owner, address spender) external view returns (uint256) {
return transferAllowances[owner][spender];
}
/**
* @notice Get the token balance of the `owner`
* @param owner The address of the account to query
* @return The number of tokens owned by `owner`
*/
function balanceOf(address owner) external view returns (uint256) {
return accountTokens[owner];
}
/**
* @notice Get the underlying balance of the `owner`
* @dev This also accrues interest in a transaction
* @param owner The address of the account to query
* @return The amount of underlying owned by `owner`
*/
function balanceOfUnderlying(address owner) external returns (uint) {
Exp memory exchangeRate = Exp({mantissa: exchangeRateCurrent()});
(MathError mErr, uint balance) = mulScalarTruncate(exchangeRate, accountTokens[owner]);
require(mErr == MathError.NO_ERROR);
return balance;
}
/**
* @notice Get a snapshot of the account's balances, and the cached exchange rate
* @dev This is used by controller to more efficiently perform liquidity checks.
* @param account Address of the account to snapshot
* @return (possible error, token balance, borrow balance, exchange rate mantissa)
*/
function getAccountSnapshot(address account) external view returns (uint, uint, uint, uint) {
uint aTokenBalance = accountTokens[account];
uint borrowBalance;
uint exchangeRateMantissa;
MathError mErr;
(mErr, borrowBalance) = borrowBalanceStoredInternal(account);
if (mErr != MathError.NO_ERROR) {
return (uint(Error.MATH_ERROR), 0, 0, 0);
}
(mErr, exchangeRateMantissa) = exchangeRateStoredInternal();
if (mErr != MathError.NO_ERROR) {
return (uint(Error.MATH_ERROR), 0, 0, 0);
}
return (uint(Error.NO_ERROR), aTokenBalance, borrowBalance, exchangeRateMantissa);
}
/**
* @dev Function to simply retrieve block number
* This exists mainly for inheriting test contracts to stub this result.
*/
function getBlockNumber() internal view returns (uint) {
return block.number;
}
/**
* @notice Returns the current per-block borrow interest rate for this aToken
* @return The borrow interest rate per block, scaled by 1e18
*/
function borrowRatePerBlock() external view returns (uint) {
(uint opaqueErr, uint borrowRateMantissa) = interestRateModel.getBorrowRate(getCashPrior(), totalBorrows, totalReserves);
require(opaqueErr == 0, "borrowRatePerBlock: interestRateModel.borrowRate failed"); // semi-opaque
return borrowRateMantissa;
}
/**
* @notice Returns the current per-block supply interest rate for this aToken
* @return The supply interest rate per block, scaled by 1e18
*/
function supplyRatePerBlock() external view returns (uint) {
/* We calculate the supply rate:
* underlying = totalSupply × exchangeRate
* borrowsPer = totalBorrows ÷ underlying
* supplyRate = borrowRate × (1-reserveFactor) × borrowsPer
*/
uint exchangeRateMantissa = exchangeRateStored();
(uint e0, uint borrowRateMantissa) = interestRateModel.getBorrowRate(getCashPrior(), totalBorrows, totalReserves);
require(e0 == 0, "supplyRatePerBlock: calculating borrowRate failed"); // semi-opaque
(MathError e1, Exp memory underlying) = mulScalar(Exp({mantissa: exchangeRateMantissa}), totalSupply);
require(e1 == MathError.NO_ERROR, "supplyRatePerBlock: calculating underlying failed");
(MathError e2, Exp memory borrowsPer) = divScalarByExp(totalBorrows, underlying);
require(e2 == MathError.NO_ERROR, "supplyRatePerBlock: calculating borrowsPer failed");
(MathError e3, Exp memory oneMinusReserveFactor) = subExp(Exp({mantissa: mantissaOne}), Exp({mantissa: reserveFactorMantissa}));
require(e3 == MathError.NO_ERROR, "supplyRatePerBlock: calculating oneMinusReserveFactor failed");
(MathError e4, Exp memory supplyRate) = mulExp3(Exp({mantissa: borrowRateMantissa}), oneMinusReserveFactor, borrowsPer);
require(e4 == MathError.NO_ERROR, "supplyRatePerBlock: calculating supplyRate failed");
return supplyRate.mantissa;
}
/**
* @notice Returns the current total borrows plus accrued interest
* @return The total borrows with interest
*/
function totalBorrowsCurrent() external nonReentrant returns (uint) {
require(accrueInterest() == uint(Error.NO_ERROR), "accrue interest failed");
return totalBorrows;
}
/**
* @notice Accrue interest to updated borrowIndex and then calculate account's borrow balance using the updated borrowIndex
* @param account The address whose balance should be calculated after updating borrowIndex
* @return The calculated balance
*/
function borrowBalanceCurrent(address account) external nonReentrant returns (uint) {
require(accrueInterest() == uint(Error.NO_ERROR), "accrue interest failed");
return borrowBalanceStored(account);
}
/**
* @notice Return the borrow balance of account based on stored data
* @param account The address whose balance should be calculated
* @return The calculated balance
*/
function borrowBalanceStored(address account) public view returns (uint) {
(MathError err, uint result) = borrowBalanceStoredInternal(account);
require(err == MathError.NO_ERROR, "borrowBalanceStored: borrowBalanceStoredInternal failed");
return result;
}
/**
* @notice Return the borrow balance of account based on stored data
* @param account The address whose balance should be calculated
* @return (error code, the calculated balance or 0 if error code is non-zero)
*/
function borrowBalanceStoredInternal(address account) internal view returns (MathError, uint) {
/* Note: we do not assert that the market is up to date */
MathError mathErr;
uint principalTimesIndex;
uint result;
/* Get borrowBalance and borrowIndex */
BorrowSnapshot storage borrowSnapshot = accountBorrows[account];
/* If borrowBalance = 0 then borrowIndex is likely also 0.
* Rather than failing the calculation with a division by 0, we immediately return 0 in this case.
*/
if (borrowSnapshot.principal == 0) {
return (MathError.NO_ERROR, 0);
}
/* Calculate new borrow balance using the interest index:
* recentBorrowBalance = borrower.borrowBalance * market.borrowIndex / borrower.borrowIndex
*/
(mathErr, principalTimesIndex) = mulUInt(borrowSnapshot.principal, borrowIndex);
if (mathErr != MathError.NO_ERROR) {
return (mathErr, 0);
}
(mathErr, result) = divUInt(principalTimesIndex, borrowSnapshot.interestIndex);
if (mathErr != MathError.NO_ERROR) {
return (mathErr, 0);
}
return (MathError.NO_ERROR, result);
}
/**
* @notice Accrue interest then return the up-to-date exchange rate
* @return Calculated exchange rate scaled by 1e18
*/
function exchangeRateCurrent() public nonReentrant returns (uint) {
require(accrueInterest() == uint(Error.NO_ERROR), "accrue interest failed");
return exchangeRateStored();
}
/**
* @notice Calculates the exchange rate from the underlying to the AToken
* @dev This function does not accrue interest before calculating the exchange rate
* @return Calculated exchange rate scaled by 1e18
*/
function exchangeRateStored() public view returns (uint) {
(MathError err, uint result) = exchangeRateStoredInternal();
require(err == MathError.NO_ERROR, "exchangeRateStored: exchangeRateStoredInternal failed");
return result;
}
/**
* @notice Calculates the exchange rate from the underlying to the AToken
* @dev This function does not accrue interest before calculating the exchange rate
* @return (error code, calculated exchange rate scaled by 1e18)
*/
function exchangeRateStoredInternal() internal view returns (MathError, uint) {
if (totalSupply == 0) {
/*
* If there are no tokens minted:
* exchangeRate = initialExchangeRate
*/
return (MathError.NO_ERROR, initialExchangeRateMantissa);
} else {
/*
* Otherwise:
* exchangeRate = (totalCash + totalBorrows - totalReserves) / totalSupply
*/
uint totalCash = getCashPrior();
uint cashPlusBorrowsMinusReserves;
Exp memory exchangeRate;
MathError mathErr;
(mathErr, cashPlusBorrowsMinusReserves) = addThenSubUInt(totalCash, totalBorrows, totalReserves);
if (mathErr != MathError.NO_ERROR) {
return (mathErr, 0);
}
(mathErr, exchangeRate) = getExp(cashPlusBorrowsMinusReserves, totalSupply);
if (mathErr != MathError.NO_ERROR) {
return (mathErr, 0);
}
return (MathError.NO_ERROR, exchangeRate.mantissa);
}
}
/**
* @notice Get cash balance of this aToken in the underlying asset
* @return The quantity of underlying asset owned by this contract
*/
function getCash() external view returns (uint) {
return getCashPrior();
}
struct AccrueInterestLocalVars {
MathError mathErr;
uint opaqueErr;
uint borrowRateMantissa;
uint currentBlockNumber;
uint blockDelta;
Exp simpleInterestFactor;
uint interestAccumulated;
uint totalBorrowsNew;
uint totalReservesNew;
uint borrowIndexNew;
}
/**
* @notice Applies accrued interest to total borrows and reserves.
* @dev This calculates interest accrued from the last checkpointed block
* up to the current block and writes new checkpoint to storage.
*/
function accrueInterest() public returns (uint) {
AccrueInterestLocalVars memory vars;
/* Calculate the current borrow interest rate */
(vars.opaqueErr, vars.borrowRateMantissa) = interestRateModel.getBorrowRate(getCashPrior(), totalBorrows, totalReserves);
require(vars.borrowRateMantissa <= borrowRateMaxMantissa, "borrow rate is absurdly high");
if (vars.opaqueErr != 0) {
return failOpaque(Error.INTEREST_RATE_MODEL_ERROR, FailureInfo.ACCRUE_INTEREST_BORROW_RATE_CALCULATION_FAILED, vars.opaqueErr);
}
/* Remember the initial block number */
vars.currentBlockNumber = getBlockNumber();
/* Calculate the number of blocks elapsed since the last accrual */
(vars.mathErr, vars.blockDelta) = subUInt(vars.currentBlockNumber, accrualBlockNumber);
assert(vars.mathErr == MathError.NO_ERROR); // Block delta should always succeed and if it doesn't, blow up.
/*
* Calculate the interest accumulated into borrows and reserves and the new index:
* simpleInterestFactor = borrowRate * blockDelta
* interestAccumulated = simpleInterestFactor * totalBorrows
* totalBorrowsNew = interestAccumulated + totalBorrows
* totalReservesNew = interestAccumulated * reserveFactor + totalReserves
* borrowIndexNew = simpleInterestFactor * borrowIndex + borrowIndex
*/
(vars.mathErr, vars.simpleInterestFactor) = mulScalar(Exp({mantissa: vars.borrowRateMantissa}), vars.blockDelta);
if (vars.mathErr != MathError.NO_ERROR) {
return failOpaque(Error.MATH_ERROR, FailureInfo.ACCRUE_INTEREST_SIMPLE_INTEREST_FACTOR_CALCULATION_FAILED, uint(vars.mathErr));
}
(vars.mathErr, vars.interestAccumulated) = mulScalarTruncate(vars.simpleInterestFactor, totalBorrows);
if (vars.mathErr != MathError.NO_ERROR) {
return failOpaque(Error.MATH_ERROR, FailureInfo.ACCRUE_INTEREST_ACCUMULATED_INTEREST_CALCULATION_FAILED, uint(vars.mathErr));
}
(vars.mathErr, vars.totalBorrowsNew) = addUInt(vars.interestAccumulated, totalBorrows);
if (vars.mathErr != MathError.NO_ERROR) {
return failOpaque(Error.MATH_ERROR, FailureInfo.ACCRUE_INTEREST_NEW_TOTAL_BORROWS_CALCULATION_FAILED, uint(vars.mathErr));
}
(vars.mathErr, vars.totalReservesNew) = mulScalarTruncateAddUInt(Exp({mantissa: reserveFactorMantissa}), vars.interestAccumulated, totalReserves);
if (vars.mathErr != MathError.NO_ERROR) {
return failOpaque(Error.MATH_ERROR, FailureInfo.ACCRUE_INTEREST_NEW_TOTAL_RESERVES_CALCULATION_FAILED, uint(vars.mathErr));
}
(vars.mathErr, vars.borrowIndexNew) = mulScalarTruncateAddUInt(vars.simpleInterestFactor, borrowIndex, borrowIndex);
if (vars.mathErr != MathError.NO_ERROR) {
return failOpaque(Error.MATH_ERROR, FailureInfo.ACCRUE_INTEREST_NEW_BORROW_INDEX_CALCULATION_FAILED, uint(vars.mathErr));
}
/////////////////////////
// EFFECTS & INTERACTIONS
// (No safe failures beyond this point)
/* We write the previously calculated values into storage */
accrualBlockNumber = vars.currentBlockNumber;
borrowIndex = vars.borrowIndexNew;
totalBorrows = vars.totalBorrowsNew;
totalReserves = vars.totalReservesNew;
/* We emit an AccrueInterest event */
emit AccrueInterest(vars.interestAccumulated, vars.borrowIndexNew, totalBorrows);
return uint(Error.NO_ERROR);
}
/**
* @notice Sender supplies assets into the market and receives aTokens in exchange
* @dev Accrues interest whether or not the operation succeeds, unless reverted
* @param mintAmount The amount of the underlying asset to supply
* @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
*/
function mintInternal(uint mintAmount) internal nonReentrant returns (uint) {
uint error = accrueInterest();
if (error != uint(Error.NO_ERROR)) {
// accrueInterest emits logs on errors, but we still want to log the fact that an attempted borrow failed
return fail(Error(error), FailureInfo.MINT_ACCRUE_INTEREST_FAILED);
}
// mintFresh emits the actual Mint event if successful and logs on errors, so we don't need to
return mintFresh(msg.sender, mintAmount);
}
struct MintLocalVars {
Error err;
MathError mathErr;
uint exchangeRateMantissa;
uint mintTokens;
uint totalSupplyNew;
uint accountTokensNew;
}
/**
* @notice User supplies assets into the market and receives aTokens in exchange
* @dev Assumes interest has already been accrued up to the current block
* @param minter The address of the account which is supplying the assets
* @param mintAmount The amount of the underlying asset to supply
* @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
*/
function mintFresh(address minter, uint mintAmount) internal returns (uint) {
/* Fail if mint not allowed */
uint allowed = controller.mintAllowed(address(this), minter, mintAmount);
if (allowed != 0) {
return failOpaque(Error.CONTROLLER_REJECTION, FailureInfo.MINT_CONTROLLER_REJECTION, allowed);
}
/* Verify market's block number equals current block number */
if (accrualBlockNumber != getBlockNumber()) {
return fail(Error.MARKET_NOT_FRESH, FailureInfo.MINT_FRESHNESS_CHECK);
}
MintLocalVars memory vars;
/* Fail if checkTransferIn fails */
vars.err = checkTransferIn(minter, mintAmount);
if (vars.err != Error.NO_ERROR) {
return fail(vars.err, FailureInfo.MINT_TRANSFER_IN_NOT_POSSIBLE);
}
/*
* We get the current exchange rate and calculate the number of aTokens to be minted:
* mintTokens = mintAmount / exchangeRate
*/
(vars.mathErr, vars.exchangeRateMantissa) = exchangeRateStoredInternal();
if (vars.mathErr != MathError.NO_ERROR) {
return failOpaque(Error.MATH_ERROR, FailureInfo.MINT_EXCHANGE_RATE_READ_FAILED, uint(vars.mathErr));
}
(vars.mathErr, vars.mintTokens) = divScalarByExpTruncate(mintAmount, Exp({mantissa: vars.exchangeRateMantissa}));
if (vars.mathErr != MathError.NO_ERROR) {
return failOpaque(Error.MATH_ERROR, FailureInfo.MINT_EXCHANGE_CALCULATION_FAILED, uint(vars.mathErr));
}
/*
* We calculate the new total supply of aTokens and minter token balance, checking for overflow:
* totalSupplyNew = totalSupply + mintTokens
* accountTokensNew = accountTokens[minter] + mintTokens
*/
(vars.mathErr, vars.totalSupplyNew) = addUInt(totalSupply, vars.mintTokens);
if (vars.mathErr != MathError.NO_ERROR) {
return failOpaque(Error.MATH_ERROR, FailureInfo.MINT_NEW_TOTAL_SUPPLY_CALCULATION_FAILED, uint(vars.mathErr));
}
(vars.mathErr, vars.accountTokensNew) = addUInt(accountTokens[minter], vars.mintTokens);
if (vars.mathErr != MathError.NO_ERROR) {
return failOpaque(Error.MATH_ERROR, FailureInfo.MINT_NEW_ACCOUNT_BALANCE_CALCULATION_FAILED, uint(vars.mathErr));
}
/////////////////////////
// EFFECTS & INTERACTIONS
// (No safe failures beyond this point)
/*
* We call doTransferIn for the minter and the mintAmount
* Note: The aToken must handle variations between ERC-20 and ETH underlying.
* On success, the aToken holds an additional mintAmount of cash.
* If doTransferIn fails despite the fact we checked pre-conditions,
* we revert because we can't be sure if side effects occurred.
*/
vars.err = doTransferIn(minter, mintAmount);
if (vars.err != Error.NO_ERROR) {
return fail(vars.err, FailureInfo.MINT_TRANSFER_IN_FAILED);
}
/* We write previously calculated values into storage */
totalSupply = vars.totalSupplyNew;
accountTokens[minter] = vars.accountTokensNew;
/* We emit a Mint event, and a Transfer event */
emit Mint(minter, mintAmount, vars.mintTokens);
emit Transfer(address(this), minter, vars.mintTokens);
/* We call the defense hook */
controller.mintVerify(address(this), minter, mintAmount, vars.mintTokens);
return uint(Error.NO_ERROR);
}
/**
* @notice Sender redeems aTokens in exchange for the underlying asset
* @dev Accrues interest whether or not the operation succeeds, unless reverted
* @param redeemTokens The number of aTokens to redeem into underlying
* @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
*/
function redeemInternal(uint redeemTokens) internal nonReentrant returns (uint) {
uint error = accrueInterest();
if (error != uint(Error.NO_ERROR)) {
// accrueInterest emits logs on errors, but we still want to log the fact that an attempted redeem failed
return fail(Error(error), FailureInfo.REDEEM_ACCRUE_INTEREST_FAILED);
}
// redeemFresh emits redeem-specific logs on errors, so we don't need to
return redeemFresh(msg.sender, redeemTokens, 0);
}
/**
* @notice Sender redeems aTokens in exchange for a specified amount of underlying asset
* @dev Accrues interest whether or not the operation succeeds, unless reverted
* @param redeemAmount The amount of underlying to redeem
* @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
*/
function redeemUnderlyingInternal(uint redeemAmount) internal nonReentrant returns (uint) {
uint error = accrueInterest();
if (error != uint(Error.NO_ERROR)) {
// accrueInterest emits logs on errors, but we still want to log the fact that an attempted redeem failed
return fail(Error(error), FailureInfo.REDEEM_ACCRUE_INTEREST_FAILED);
}
// redeemFresh emits redeem-specific logs on errors, so we don't need to
return redeemFresh(msg.sender, 0, redeemAmount);
}
struct RedeemLocalVars {
Error err;
MathError mathErr;
uint exchangeRateMantissa;
uint redeemTokens;
uint redeemAmount;
uint totalSupplyNew;
uint accountTokensNew;
}
/**
* @notice User redeems aTokens in exchange for the underlying asset
* @dev Assumes interest has already been accrued up to the current block
* @param redeemer The address of the account which is redeeming the tokens
* @param redeemTokensIn The number of aTokens to redeem into underlying (only one of redeemTokensIn or redeemAmountIn may be zero)
* @param redeemAmountIn The number of aTokens to redeem into underlying (only one of redeemTokensIn or redeemAmountIn may be zero)
* @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
*/
function redeemFresh(address payable redeemer, uint redeemTokensIn, uint redeemAmountIn) internal returns (uint) {
require(redeemTokensIn == 0 || redeemAmountIn == 0, "one of redeemTokensIn or redeemAmountIn must be zero");
RedeemLocalVars memory vars;
/* exchangeRate = invoke Exchange Rate Stored() */
(vars.mathErr, vars.exchangeRateMantissa) = exchangeRateStoredInternal();
if (vars.mathErr != MathError.NO_ERROR) {
return failOpaque(Error.MATH_ERROR, FailureInfo.REDEEM_EXCHANGE_RATE_READ_FAILED, uint(vars.mathErr));
}
/* If redeemTokensIn > 0: */
if (redeemTokensIn > 0) {
/*
* We calculate the exchange rate and the amount of underlying to be redeemed:
* redeemTokens = redeemTokensIn
* redeemAmount = redeemTokensIn x exchangeRateCurrent
*/
vars.redeemTokens = redeemTokensIn;
(vars.mathErr, vars.redeemAmount) = mulScalarTruncate(Exp({mantissa: vars.exchangeRateMantissa}), redeemTokensIn);
if (vars.mathErr != MathError.NO_ERROR) {
return failOpaque(Error.MATH_ERROR, FailureInfo.REDEEM_EXCHANGE_TOKENS_CALCULATION_FAILED, uint(vars.mathErr));
}
} else {
/*
* We get the current exchange rate and calculate the amount to be redeemed:
* redeemTokens = redeemAmountIn / exchangeRate
* redeemAmount = redeemAmountIn
*/
(vars.mathErr, vars.redeemTokens) = divScalarByExpTruncate(redeemAmountIn, Exp({mantissa: vars.exchangeRateMantissa}));
if (vars.mathErr != MathError.NO_ERROR) {
return failOpaque(Error.MATH_ERROR, FailureInfo.REDEEM_EXCHANGE_AMOUNT_CALCULATION_FAILED, uint(vars.mathErr));
}
vars.redeemAmount = redeemAmountIn;
}
/* Fail if redeem not allowed */
uint allowed = controller.redeemAllowed(address(this), redeemer, vars.redeemTokens);
if (allowed != 0) {
return failOpaque(Error.CONTROLLER_REJECTION, FailureInfo.REDEEM_CONTROLLER_REJECTION, allowed);
}
/* Verify market's block number equals current block number */
if (accrualBlockNumber != getBlockNumber()) {
return fail(Error.MARKET_NOT_FRESH, FailureInfo.REDEEM_FRESHNESS_CHECK);
}
/*
* We calculate the new total supply and redeemer balance, checking for underflow:
* totalSupplyNew = totalSupply - redeemTokens
* accountTokensNew = accountTokens[redeemer] - redeemTokens
*/
(vars.mathErr, vars.totalSupplyNew) = subUInt(totalSupply, vars.redeemTokens);
if (vars.mathErr != MathError.NO_ERROR) {
return failOpaque(Error.MATH_ERROR, FailureInfo.REDEEM_NEW_TOTAL_SUPPLY_CALCULATION_FAILED, uint(vars.mathErr));
}
(vars.mathErr, vars.accountTokensNew) = subUInt(accountTokens[redeemer], vars.redeemTokens);
if (vars.mathErr != MathError.NO_ERROR) {
return failOpaque(Error.MATH_ERROR, FailureInfo.REDEEM_NEW_ACCOUNT_BALANCE_CALCULATION_FAILED, uint(vars.mathErr));
}
/* Fail gracefully if protocol has insufficient cash */
if (getCashPrior() < vars.redeemAmount) {
return fail(Error.TOKEN_INSUFFICIENT_CASH, FailureInfo.REDEEM_TRANSFER_OUT_NOT_POSSIBLE);
}
/////////////////////////
// EFFECTS & INTERACTIONS
// (No safe failures beyond this point)
/*
* We invoke doTransferOut for the redeemer and the redeemAmount.
* Note: The aToken must handle variations between ERC-20 and ETH underlying.
* On success, the aToken has redeemAmount less of cash.
* If doTransferOut fails despite the fact we checked pre-conditions,
* we revert because we can't be sure if side effects occurred.
*/
vars.err = doTransferOut(redeemer, vars.redeemAmount);
require(vars.err == Error.NO_ERROR, "redeem transfer out failed");
/* We write previously calculated values into storage */
totalSupply = vars.totalSupplyNew;
accountTokens[redeemer] = vars.accountTokensNew;
/* We emit a Transfer event, and a Redeem event */
emit Transfer(redeemer, address(this), vars.redeemTokens);
emit Redeem(redeemer, vars.redeemAmount, vars.redeemTokens);
/* We call the defense hook */
controller.redeemVerify(address(this), redeemer, vars.redeemAmount, vars.redeemTokens);
return uint(Error.NO_ERROR);
}
/**
* @notice Sender borrows assets from the protocol to their own address
* @param borrowAmount The amount of the underlying asset to borrow
* @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
*/
function borrowInternal(uint borrowAmount) internal nonReentrant returns (uint) {
uint error = accrueInterest();
if (error != uint(Error.NO_ERROR)) {
// accrueInterest emits logs on errors, but we still want to log the fact that an attempted borrow failed
return fail(Error(error), FailureInfo.BORROW_ACCRUE_INTEREST_FAILED);
}
// borrowFresh emits borrow-specific logs on errors, so we don't need to
return borrowFresh(msg.sender, borrowAmount);
}
struct BorrowLocalVars {
Error err;
MathError mathErr;
uint accountBorrows;
uint accountBorrowsNew;
uint totalBorrowsNew;
}
/**
* @notice Users borrow assets from the protocol to their own address
* @param borrowAmount The amount of the underlying asset to borrow
* @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
*/
function borrowFresh(address payable borrower, uint borrowAmount) internal returns (uint) {
/* Fail if borrow not allowed */
uint allowed = controller.borrowAllowed(address(this), borrower, borrowAmount);
if (allowed != 0) {
return failOpaque(Error.CONTROLLER_REJECTION, FailureInfo.BORROW_CONTROLLER_REJECTION, allowed);
}
/* Verify market's block number equals current block number */
if (accrualBlockNumber != getBlockNumber()) {
return fail(Error.MARKET_NOT_FRESH, FailureInfo.BORROW_FRESHNESS_CHECK);
}
/* Fail gracefully if protocol has insufficient underlying cash */
if (getCashPrior() < borrowAmount) {
return fail(Error.TOKEN_INSUFFICIENT_CASH, FailureInfo.BORROW_CASH_NOT_AVAILABLE);
}
BorrowLocalVars memory vars;
/*
* We calculate the new borrower and total borrow balances, failing on overflow:
* accountBorrowsNew = accountBorrows + borrowAmount
* totalBorrowsNew = totalBorrows + borrowAmount
*/
(vars.mathErr, vars.accountBorrows) = borrowBalanceStoredInternal(borrower);
if (vars.mathErr != MathError.NO_ERROR) {
return failOpaque(Error.MATH_ERROR, FailureInfo.BORROW_ACCUMULATED_BALANCE_CALCULATION_FAILED, uint(vars.mathErr));
}
(vars.mathErr, vars.accountBorrowsNew) = addUInt(vars.accountBorrows, borrowAmount);
if (vars.mathErr != MathError.NO_ERROR) {
return failOpaque(Error.MATH_ERROR, FailureInfo.BORROW_NEW_ACCOUNT_BORROW_BALANCE_CALCULATION_FAILED, uint(vars.mathErr));
}
(vars.mathErr, vars.totalBorrowsNew) = addUInt(totalBorrows, borrowAmount);
if (vars.mathErr != MathError.NO_ERROR) {
return failOpaque(Error.MATH_ERROR, FailureInfo.BORROW_NEW_TOTAL_BALANCE_CALCULATION_FAILED, uint(vars.mathErr));
}
/////////////////////////
// EFFECTS & INTERACTIONS
// (No safe failures beyond this point)
/*
* We invoke doTransferOut for the borrower and the borrowAmount.
* Note: The aToken must handle variations between ERC-20 and ETH underlying.
* On success, the aToken borrowAmount less of cash.
* If doTransferOut fails despite the fact we checked pre-conditions,
* we revert because we can't be sure if side effects occurred.
*/
vars.err = doTransferOut(borrower, borrowAmount);
require(vars.err == Error.NO_ERROR, "borrow transfer out failed");
/* We write the previously calculated values into storage */
accountBorrows[borrower].principal = vars.accountBorrowsNew;
accountBorrows[borrower].interestIndex = borrowIndex;
totalBorrows = vars.totalBorrowsNew;
/* We emit a Borrow event */
emit Borrow(borrower, borrowAmount, vars.accountBorrowsNew, vars.totalBorrowsNew);
/* We call the defense hook */
controller.borrowVerify(address(this), borrower, borrowAmount);
return uint(Error.NO_ERROR);
}
/**
* @notice Sender repays their own borrow
* @param repayAmount The amount to repay
* @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
*/
function repayBorrowInternal(uint repayAmount) internal nonReentrant returns (uint) {
uint error = accrueInterest();
if (error != uint(Error.NO_ERROR)) {
// accrueInterest emits logs on errors, but we still want to log the fact that an attempted borrow failed
return fail(Error(error), FailureInfo.REPAY_BORROW_ACCRUE_INTEREST_FAILED);
}
// repayBorrowFresh emits repay-borrow-specific logs on errors, so we don't need to
return repayBorrowFresh(msg.sender, msg.sender, repayAmount);
}
/**
* @notice Sender repays a borrow belonging to borrower
* @param borrower the account with the debt being payed off
* @param repayAmount The amount to repay
* @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
*/
function repayBorrowBehalfInternal(address borrower, uint repayAmount) internal nonReentrant returns (uint) {
uint error = accrueInterest();
if (error != uint(Error.NO_ERROR)) {
// accrueInterest emits logs on errors, but we still want to log the fact that an attempted borrow failed
return fail(Error(error), FailureInfo.REPAY_BEHALF_ACCRUE_INTEREST_FAILED);
}
// repayBorrowFresh emits repay-borrow-specific logs on errors, so we don't need to
return repayBorrowFresh(msg.sender, borrower, repayAmount);
}
struct RepayBorrowLocalVars {
Error err;
MathError mathErr;
uint repayAmount;
uint borrowerIndex;
uint accountBorrows;
uint accountBorrowsNew;
uint totalBorrowsNew;
}
/**
* @notice Borrows are repaid by another user (possibly the borrower).
* @param payer the account paying off the borrow
* @param borrower the account with the debt being payed off
* @param repayAmount the amount of undelrying tokens being returned
* @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
*/
function repayBorrowFresh(address payer, address borrower, uint repayAmount) internal returns (uint) {
/* Fail if repayBorrow not allowed */
uint allowed = controller.repayBorrowAllowed(address(this), payer, borrower, repayAmount);
if (allowed != 0) {
return failOpaque(Error.CONTROLLER_REJECTION, FailureInfo.REPAY_BORROW_CONTROLLER_REJECTION, allowed);
}
/* Verify market's block number equals current block number */
if (accrualBlockNumber != getBlockNumber()) {
return fail(Error.MARKET_NOT_FRESH, FailureInfo.REPAY_BORROW_FRESHNESS_CHECK);
}
RepayBorrowLocalVars memory vars;
/* We remember the original borrowerIndex for verification purposes */
vars.borrowerIndex = accountBorrows[borrower].interestIndex;
/* We fetch the amount the borrower owes, with accumulated interest */
(vars.mathErr, vars.accountBorrows) = borrowBalanceStoredInternal(borrower);
if (vars.mathErr != MathError.NO_ERROR) {
return failOpaque(Error.MATH_ERROR, FailureInfo.REPAY_BORROW_ACCUMULATED_BALANCE_CALCULATION_FAILED, uint(vars.mathErr));
}
/* If repayAmount == -1, repayAmount = accountBorrows */
if (repayAmount == uint(-1)) {
vars.repayAmount = vars.accountBorrows;
} else {
vars.repayAmount = repayAmount;
}
/* Fail if checkTransferIn fails */
vars.err = checkTransferIn(payer, vars.repayAmount);
if (vars.err != Error.NO_ERROR) {
return fail(vars.err, FailureInfo.REPAY_BORROW_TRANSFER_IN_NOT_POSSIBLE);
}
/*
* We calculate the new borrower and total borrow balances, failing on underflow:
* accountBorrowsNew = accountBorrows - repayAmount
* totalBorrowsNew = totalBorrows - repayAmount
*/
(vars.mathErr, vars.accountBorrowsNew) = subUInt(vars.accountBorrows, vars.repayAmount);
if (vars.mathErr != MathError.NO_ERROR) {
return failOpaque(Error.MATH_ERROR, FailureInfo.REPAY_BORROW_NEW_ACCOUNT_BORROW_BALANCE_CALCULATION_FAILED, uint(vars.mathErr));
}
(vars.mathErr, vars.totalBorrowsNew) = subUInt(totalBorrows, vars.repayAmount);
if (vars.mathErr != MathError.NO_ERROR) {
return failOpaque(Error.MATH_ERROR, FailureInfo.REPAY_BORROW_NEW_TOTAL_BALANCE_CALCULATION_FAILED, uint(vars.mathErr));
}
/////////////////////////
// EFFECTS & INTERACTIONS
// (No safe failures beyond this point)
/*
* We call doTransferIn for the payer and the repayAmount
* Note: The aToken must handle variations between ERC-20 and ETH underlying.
* On success, the aToken holds an additional repayAmount of cash.
* If doTransferIn fails despite the fact we checked pre-conditions,
* we revert because we can't be sure if side effects occurred.
*/
vars.err = doTransferIn(payer, vars.repayAmount);
require(vars.err == Error.NO_ERROR, "repay borrow transfer in failed");
/* We write the previously calculated values into storage */
accountBorrows[borrower].principal = vars.accountBorrowsNew;
accountBorrows[borrower].interestIndex = borrowIndex;
totalBorrows = vars.totalBorrowsNew;
/* We emit a RepayBorrow event */
emit RepayBorrow(payer, borrower, vars.repayAmount, vars.accountBorrowsNew, vars.totalBorrowsNew);
/* We call the defense hook */
controller.repayBorrowVerify(address(this), payer, borrower, vars.repayAmount, vars.borrowerIndex);
return uint(Error.NO_ERROR);
}
/**
* @notice The sender liquidates the borrowers collateral.
* The collateral seized is transferred to the liquidator.
* @param borrower The borrower of this aToken to be liquidated
* @param aTokenCollateral The market in which to seize collateral from the borrower
* @param repayAmount The amount of the underlying borrowed asset to repay
* @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
*/
function liquidateBorrowInternal(address borrower, uint repayAmount, AToken aTokenCollateral) internal nonReentrant returns (uint) {
uint error = accrueInterest();
if (error != uint(Error.NO_ERROR)) {
// accrueInterest emits logs on errors, but we still want to log the fact that an attempted liquidation failed
return fail(Error(error), FailureInfo.LIQUIDATE_ACCRUE_BORROW_INTEREST_FAILED);
}
error = aTokenCollateral.accrueInterest();
if (error != uint(Error.NO_ERROR)) {
// accrueInterest emits logs on errors, but we still want to log the fact that an attempted liquidation failed
return fail(Error(error), FailureInfo.LIQUIDATE_ACCRUE_COLLATERAL_INTEREST_FAILED);
}
// liquidateBorrowFresh emits borrow-specific logs on errors, so we don't need to
return liquidateBorrowFresh(msg.sender, borrower, repayAmount, aTokenCollateral);
}
/**
* @notice The liquidator liquidates the borrowers collateral.
* The collateral seized is transferred to the liquidator.
* @param borrower The borrower of this aToken to be liquidated
* @param liquidator The address repaying the borrow and seizing collateral
* @param aTokenCollateral The market in which to seize collateral from the borrower
* @param repayAmount The amount of the underlying borrowed asset to repay
* @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
*/
function liquidateBorrowFresh(address liquidator, address borrower, uint repayAmount, AToken aTokenCollateral) internal returns (uint) {
/* Fail if liquidate not allowed */
uint allowed = controller.liquidateBorrowAllowed(address(this), address(aTokenCollateral), liquidator, borrower, repayAmount);
if (allowed != 0) {
return failOpaque(Error.CONTROLLER_REJECTION, FailureInfo.LIQUIDATE_CONTROLLER_REJECTION, allowed);
}
/* Verify market's block number equals current block number */
if (accrualBlockNumber != getBlockNumber()) {
return fail(Error.MARKET_NOT_FRESH, FailureInfo.LIQUIDATE_FRESHNESS_CHECK);
}
/* Verify aTokenCollateral market's block number equals current block number */
if (aTokenCollateral.accrualBlockNumber() != getBlockNumber()) {
return fail(Error.MARKET_NOT_FRESH, FailureInfo.LIQUIDATE_COLLATERAL_FRESHNESS_CHECK);
}
/* Fail if borrower = liquidator */
if (borrower == liquidator) {
return fail(Error.INVALID_ACCOUNT_PAIR, FailureInfo.LIQUIDATE_LIQUIDATOR_IS_BORROWER);
}
/* Fail if repayAmount = 0 */
if (repayAmount == 0) {
return fail(Error.INVALID_CLOSE_AMOUNT_REQUESTED, FailureInfo.LIQUIDATE_CLOSE_AMOUNT_IS_ZERO);
}
/* Fail if repayAmount = -1 */
if (repayAmount == uint(-1)) {
return fail(Error.INVALID_CLOSE_AMOUNT_REQUESTED, FailureInfo.LIQUIDATE_CLOSE_AMOUNT_IS_UINT_MAX);
}
/* We calculate the number of collateral tokens that will be seized */
(uint amountSeizeError, uint seizeTokens) = controller.liquidateCalculateSeizeTokens(address(this), address(aTokenCollateral), repayAmount);
if (amountSeizeError != 0) {
return failOpaque(Error.CONTROLLER_CALCULATION_ERROR, FailureInfo.LIQUIDATE_CONTROLLER_CALCULATE_AMOUNT_SEIZE_FAILED, amountSeizeError);
}
/* Fail if seizeTokens > borrower collateral token balance */
if (seizeTokens > aTokenCollateral.balanceOf(borrower)) {
return fail(Error.TOKEN_INSUFFICIENT_BALANCE, FailureInfo.LIQUIDATE_SEIZE_TOO_MUCH);
}
/* Fail if repayBorrow fails */
uint repayBorrowError = repayBorrowFresh(liquidator, borrower, repayAmount);
if (repayBorrowError != uint(Error.NO_ERROR)) {
return fail(Error(repayBorrowError), FailureInfo.LIQUIDATE_REPAY_BORROW_FRESH_FAILED);
}
/* Revert if seize tokens fails (since we cannot be sure of side effects) */
uint seizeError = aTokenCollateral.seize(liquidator, borrower, seizeTokens);
require(seizeError == uint(Error.NO_ERROR), "token seizure failed");
/* We emit a LiquidateBorrow event */
emit LiquidateBorrow(liquidator, borrower, repayAmount, address(aTokenCollateral), seizeTokens);
/* We call the defense hook */
controller.liquidateBorrowVerify(address(this), address(aTokenCollateral), liquidator, borrower, repayAmount, seizeTokens);
return uint(Error.NO_ERROR);
}
/**
* @notice Transfers collateral tokens (this market) to the liquidator.
* @dev Will fail unless called by another aToken during the process of liquidation.
* Its absolutely critical to use msg.sender as the borrowed aToken and not a parameter.
* @param liquidator The account receiving seized collateral
* @param borrower The account having collateral seized
* @param seizeTokens The number of aTokens to seize
* @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
*/
function seize(address liquidator, address borrower, uint seizeTokens) external nonReentrant returns (uint) {
/* Fail if seize not allowed */
uint allowed = controller.seizeAllowed(address(this), msg.sender, liquidator, borrower, seizeTokens);
if (allowed != 0) {
return failOpaque(Error.CONTROLLER_REJECTION, FailureInfo.LIQUIDATE_SEIZE_CONTROLLER_REJECTION, allowed);
}
/* Fail if borrower = liquidator */
if (borrower == liquidator) {
return fail(Error.INVALID_ACCOUNT_PAIR, FailureInfo.LIQUIDATE_SEIZE_LIQUIDATOR_IS_BORROWER);
}
MathError mathErr;
uint borrowerTokensNew;
uint liquidatorTokensNew;
/*
* We calculate the new borrower and liquidator token balances, failing on underflow/overflow:
* borrowerTokensNew = accountTokens[borrower] - seizeTokens
* liquidatorTokensNew = accountTokens[liquidator] + seizeTokens
*/
(mathErr, borrowerTokensNew) = subUInt(accountTokens[borrower], seizeTokens);
if (mathErr != MathError.NO_ERROR) {
return failOpaque(Error.MATH_ERROR, FailureInfo.LIQUIDATE_SEIZE_BALANCE_DECREMENT_FAILED, uint(mathErr));
}
(mathErr, liquidatorTokensNew) = addUInt(accountTokens[liquidator], seizeTokens);
if (mathErr != MathError.NO_ERROR) {
return failOpaque(Error.MATH_ERROR, FailureInfo.LIQUIDATE_SEIZE_BALANCE_INCREMENT_FAILED, uint(mathErr));
}
/////////////////////////
// EFFECTS & INTERACTIONS
// (No safe failures beyond this point)
/* We write the previously calculated values into storage */
accountTokens[borrower] = borrowerTokensNew;
accountTokens[liquidator] = liquidatorTokensNew;
/* Emit a Transfer event */
emit Transfer(borrower, liquidator, seizeTokens);
/* We call the defense hook */
controller.seizeVerify(address(this), msg.sender, liquidator, borrower, seizeTokens);
return uint(Error.NO_ERROR);
}
/*** Admin Functions ***/
/**
* @notice Begins transfer of admin rights. The newPendingAdmin must call `_acceptAdmin` to finalize the transfer.
* @dev Admin function to begin change of admin. The newPendingAdmin must call `_acceptAdmin` to finalize the transfer.
* @param newPendingAdmin New pending admin.
* @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
*
* TODO: Should we add a second arg to verify, like a checksum of `newAdmin` address?
*/
function _setPendingAdmin(address payable newPendingAdmin) external returns (uint) {
// Check caller = admin
if (msg.sender != admin) {
return fail(Error.UNAUTHORIZED, FailureInfo.SET_PENDING_ADMIN_OWNER_CHECK);
}
// Save current value, if any, for inclusion in log
address oldPendingAdmin = pendingAdmin;
// Store pendingAdmin with value newPendingAdmin
pendingAdmin = newPendingAdmin;
// Emit NewPendingAdmin(oldPendingAdmin, newPendingAdmin)
emit NewPendingAdmin(oldPendingAdmin, newPendingAdmin);
return uint(Error.NO_ERROR);
}
/**
* @notice Accepts transfer of admin rights. msg.sender must be pendingAdmin
* @dev Admin function for pending admin to accept role and update admin
* @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
*/
function _acceptAdmin() external returns (uint) {
// Check caller is pendingAdmin and pendingAdmin ≠ address(0)
if (msg.sender != pendingAdmin || msg.sender == address(0)) {
return fail(Error.UNAUTHORIZED, FailureInfo.ACCEPT_ADMIN_PENDING_ADMIN_CHECK);
}
// Save current values for inclusion in log
address oldAdmin = admin;
address oldPendingAdmin = pendingAdmin;
// Store admin with value pendingAdmin
admin = pendingAdmin;
// Clear the pending value
pendingAdmin = address(0);
emit NewAdmin(oldAdmin, admin);
emit NewPendingAdmin(oldPendingAdmin, pendingAdmin);
return uint(Error.NO_ERROR);
}
/**
* @notice Sets a new controller for the market
* @dev Admin function to set a new controller
* @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
*/
function _setController(ControllerInterface newController) public returns (uint) {
// Check caller is admin
if (msg.sender != admin) {
return fail(Error.UNAUTHORIZED, FailureInfo.SET_CONTROLLER_OWNER_CHECK);
}
ControllerInterface oldController = controller;
// Ensure invoke controller.isController() returns true
require(newController.isController(), "marker method returned false");
// Set market's controller to newController
controller = newController;
// Emit NewControllerr(oldController, newController)
emit NewController(oldController, newController);
return uint(Error.NO_ERROR);
}
/**
* @notice accrues interest and sets a new reserve factor for the protocol using _setReserveFactorFresh
* @dev Admin function to accrue interest and set a new reserve factor
* @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
*/
function _setReserveFactor(uint newReserveFactorMantissa) external nonReentrant returns (uint) {
uint error = accrueInterest();
if (error != uint(Error.NO_ERROR)) {
// accrueInterest emits logs on errors, but on top of that we want to log the fact that an attempted reserve factor change failed.
return fail(Error(error), FailureInfo.SET_RESERVE_FACTOR_ACCRUE_INTEREST_FAILED);
}
// _setReserveFactorFresh emits reserve-factor-specific logs on errors, so we don't need to.
return _setReserveFactorFresh(newReserveFactorMantissa);
}
/**
* @notice Sets a new reserve factor for the protocol (*requires fresh interest accrual)
* @dev Admin function to set a new reserve factor
* @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
*/
function _setReserveFactorFresh(uint newReserveFactorMantissa) internal returns (uint) {
// Check caller is admin
if (msg.sender != admin) {
return fail(Error.UNAUTHORIZED, FailureInfo.SET_RESERVE_FACTOR_ADMIN_CHECK);
}
// Verify market's block number equals current block number
if (accrualBlockNumber != getBlockNumber()) {
// TODO: static_assert + no error code?
return fail(Error.MARKET_NOT_FRESH, FailureInfo.SET_RESERVE_FACTOR_FRESH_CHECK);
}
// Check newReserveFactor ≤ maxReserveFactor
if (newReserveFactorMantissa > reserveFactorMaxMantissa) {
return fail(Error.BAD_INPUT, FailureInfo.SET_RESERVE_FACTOR_BOUNDS_CHECK);
}
uint oldReserveFactorMantissa = reserveFactorMantissa;
reserveFactorMantissa = newReserveFactorMantissa;
emit NewReserveFactor(oldReserveFactorMantissa, newReserveFactorMantissa);
return uint(Error.NO_ERROR);
}
/**
* @notice Accrues interest and reduces reserves by transferring to admin
* @param reduceAmount Amount of reduction to reserves
* @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
*/
function _reduceReserves(uint reduceAmount) external nonReentrant returns (uint) {
uint error = accrueInterest();
if (error != uint(Error.NO_ERROR)) {
// accrueInterest emits logs on errors, but on top of that we want to log the fact that an attempted reduce reserves failed.
return fail(Error(error), FailureInfo.REDUCE_RESERVES_ACCRUE_INTEREST_FAILED);
}
// _reduceReservesFresh emits reserve-reduction-specific logs on errors, so we don't need to.
return _reduceReservesFresh(reduceAmount);
}
/**
* @notice Reduces reserves by transferring to admin
* @dev Requires fresh interest accrual
* @param reduceAmount Amount of reduction to reserves
* @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
*/
function _reduceReservesFresh(uint reduceAmount) internal returns (uint) {
Error err;
// totalReserves - reduceAmount
uint totalReservesNew;
// Check caller is admin
if (msg.sender != admin) {
return fail(Error.UNAUTHORIZED, FailureInfo.REDUCE_RESERVES_ADMIN_CHECK);
}
// We fail gracefully unless market's block number equals current block number
if (accrualBlockNumber != getBlockNumber()) {
// TODO: static_assert + no error code?
return fail(Error.MARKET_NOT_FRESH, FailureInfo.REDUCE_RESERVES_FRESH_CHECK);
}
// Fail gracefully if protocol has insufficient underlying cash
if (getCashPrior() < reduceAmount) {
return fail(Error.TOKEN_INSUFFICIENT_CASH, FailureInfo.REDUCE_RESERVES_CASH_NOT_AVAILABLE);
}
// Check reduceAmount ≤ reserves[n] (totalReserves)
// TODO: I'm following the spec literally here but I think we should we just use SafeMath instead and fail on an error (which would be underflow)
if (reduceAmount > totalReserves) {
return fail(Error.BAD_INPUT, FailureInfo.REDUCE_RESERVES_VALIDATION);
}
/////////////////////////
// EFFECTS & INTERACTIONS
// (No safe failures beyond this point)
totalReservesNew = totalReserves - reduceAmount;
// We checked reduceAmount <= totalReserves above, so this should never revert.
require(totalReservesNew <= totalReserves, "reduce reserves unexpected underflow");
// Store reserves[n+1] = reserves[n] - reduceAmount
totalReserves = totalReservesNew;
// invoke doTransferOut(reduceAmount, admin)
err = doTransferOut(admin, reduceAmount);
// we revert on the failure of this command
require(err == Error.NO_ERROR, "reduce reserves transfer out failed");
emit ReservesReduced(admin, reduceAmount, totalReservesNew);
return uint(Error.NO_ERROR);
}
/**
* @notice accrues interest and updates the interest rate model using _setInterestRateModelFresh
* @dev Admin function to accrue interest and update the interest rate model
* @param newInterestRateModel the new interest rate model to use
* @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
*/
function _setInterestRateModel(InterestRateModel newInterestRateModel) public returns (uint) {
uint error = accrueInterest();
if (error != uint(Error.NO_ERROR)) {
// accrueInterest emits logs on errors, but on top of that we want to log the fact that an attempted change of interest rate model failed
return fail(Error(error), FailureInfo.SET_INTEREST_RATE_MODEL_ACCRUE_INTEREST_FAILED);
}
// _setInterestRateModelFresh emits interest-rate-model-update-specific logs on errors, so we don't need to.
return _setInterestRateModelFresh(newInterestRateModel);
}
function _setInterestRateModel_init(InterestRateModel newInterestRateModel) public returns (uint) {
if (msg.sender != admin) {
return fail(Error.MARKET_NOT_FRESH, FailureInfo.SET_INTEREST_RATE_MODEL_FRESH_CHECK);
}
// _setInterestRateModelFresh emits interest-rate-model-update-specific logs on errors, so we don't need to.
interestRateModel = newInterestRateModel;
_setInterestRateModelFresh(interestRateModel);
}
/**
* @notice updates the interest rate model (*requires fresh interest accrual)
* @dev Admin function to update the interest rate model
* @param newInterestRateModel the new interest rate model to use
* @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
*/
function _setInterestRateModelFresh(InterestRateModel newInterestRateModel) internal returns (uint) {
// Used to store old model for use in the event that is emitted on success
InterestRateModel oldInterestRateModel;
// Check caller is admin
if (msg.sender != admin) {
return fail(Error.UNAUTHORIZED, FailureInfo.SET_INTEREST_RATE_MODEL_OWNER_CHECK);
}
// We fail gracefully unless market's block number equals current block number
if (accrualBlockNumber != getBlockNumber()) {
// TODO: static_assert + no error code?
return fail(Error.MARKET_NOT_FRESH, FailureInfo.SET_INTEREST_RATE_MODEL_FRESH_CHECK);
}
// Track the market's current interest rate model
oldInterestRateModel = interestRateModel;
// Ensure invoke newInterestRateModel.isInterestRateModel() returns true
require(newInterestRateModel.isInterestRateModel(), "marker method returned false");
// Set the interest rate model to newInterestRateModel
interestRateModel = newInterestRateModel;
// Emit NewMarketInterestRateModel(oldInterestRateModel, newInterestRateModel)
emit NewMarketInterestRateModel(oldInterestRateModel, newInterestRateModel);
return uint(Error.NO_ERROR);
}
/*** Safe Token ***/
/**
* @notice Gets balance of this contract in terms of the underlying
* @dev This excludes the value of the current message, if any
* @return The quantity of underlying owned by this contract
*/
function getCashPrior() internal view returns (uint);
/**
* @dev Checks whether or not there is sufficient allowance for this contract to move amount from `from` and
* whether or not `from` has a balance of at least `amount`. Does NOT do a transfer.
*/
function checkTransferIn(address from, uint amount) internal view returns (Error);
/**
* @dev Performs a transfer in, ideally returning an explanatory error code upon failure rather than reverting.
* If caller has not called `checkTransferIn`, this may revert due to insufficient balance or insufficient allowance.
* If caller has called `checkTransferIn` successfully, this should not revert in normal conditions.
*/
function doTransferIn(address from, uint amount) internal returns (Error);
/**
* @dev Performs a transfer out, ideally returning an explanatory error code upon failure tather than reverting.
* If caller has not called checked protocol's balance, may revert due to insufficient cash held in the contract.
* If caller has checked protocol's balance, and verified it is >= amount, this should not revert in normal conditions.
*/
function doTransferOut(address payable to, uint amount) internal returns (Error);
}
contract AErc20 is AToken {
/**
* @notice Underlying asset for this AToken
*/
address public underlying;
/*** User Interface ***/
/**
* @notice Sender supplies assets into the market and receives aTokens in exchange
* @dev Accrues interest whether or not the operation succeeds, unless reverted
* @param mintAmount The amount of the underlying asset to supply
* @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
*/
function mint(uint mintAmount) external returns (uint) {
return mintInternal(mintAmount);
}
/**
* @notice Sender redeems aTokens in exchange for the underlying asset
* @dev Accrues interest whether or not the operation succeeds, unless reverted
* @param redeemTokens The number of aTokens to redeem into underlying
* @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
*/
function redeem(uint redeemTokens) external returns (uint) {
return redeemInternal(redeemTokens);
}
/**
* @notice Sender redeems aTokens in exchange for a specified amount of underlying asset
* @dev Accrues interest whether or not the operation succeeds, unless reverted
* @param redeemAmount The amount of underlying to redeem
* @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
*/
function redeemUnderlying(uint redeemAmount) external returns (uint) {
return redeemUnderlyingInternal(redeemAmount);
}
/**
* @notice Sender borrows assets from the protocol to their own address
* @param borrowAmount The amount of the underlying asset to borrow
* @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
*/
function borrow(uint borrowAmount) external returns (uint) {
return borrowInternal(borrowAmount);
}
/**
* @notice Sender repays their own borrow
* @param repayAmount The amount to repay
* @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
*/
function repayBorrow(uint repayAmount) external returns (uint) {
return repayBorrowInternal(repayAmount);
}
/**
* @notice Sender repays a borrow belonging to borrower
* @param borrower the account with the debt being payed off
* @param repayAmount The amount to repay
* @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
*/
function repayBorrowBehalf(address borrower, uint repayAmount) external returns (uint) {
return repayBorrowBehalfInternal(borrower, repayAmount);
}
/**
* @notice The sender liquidates the borrowers collateral.
* The collateral seized is transferred to the liquidator.
* @param borrower The borrower of this aToken to be liquidated
* @param aTokenCollateral The market in which to seize collateral from the borrower
* @param repayAmount The amount of the underlying borrowed asset to repay
* @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details)
*/
function liquidateBorrow(address borrower, uint repayAmount, AToken aTokenCollateral) external returns (uint) {
return liquidateBorrowInternal(borrower, repayAmount, aTokenCollateral);
}
/*** Safe Token ***/
/**
* @notice Gets balance of this contract in terms of the underlying
* @dev This excludes the value of the current message, if any
* @return The quantity of underlying tokens owned by this contract
*/
function getCashPrior() internal view returns (uint) {
EIP20Interface token = EIP20Interface(underlying);
return token.balanceOf(address(this));
}
/**
* @dev Checks whether or not there is sufficient allowance for this contract to move amount from `from` and
* whether or not `from` has a balance of at least `amount`. Does NOT do a transfer.
*/
function checkTransferIn(address from, uint amount) internal view returns (Error) {
EIP20Interface token = EIP20Interface(underlying);
if (token.allowance(from, address(this)) < amount) {
return Error.TOKEN_INSUFFICIENT_ALLOWANCE;
}
if (token.balanceOf(from) < amount) {
return Error.TOKEN_INSUFFICIENT_BALANCE;
}
return Error.NO_ERROR;
}
/**
* @dev Similar to EIP20 transfer, except it handles a False result from `transferFrom` and returns an explanatory
* error code rather than reverting. If caller has not called `checkTransferIn`, this may revert due to
* insufficient balance or insufficient allowance. If caller has called `checkTransferIn` prior to this call,
* and it returned Error.NO_ERROR, this should not revert in normal conditions.
*
* Note: This wrapper safely handles non-standard ERC-20 tokens that do not return a value.
* See here: https://medium.com/coinmonks/missing-return-value-bug-at-least-130-tokens-affected-d67bf08521ca
*/
function doTransferIn(address from, uint amount) internal returns (Error) {
EIP20NonStandardInterface token = EIP20NonStandardInterface(underlying);
bool result;
token.transferFrom(from, address(this), amount);
// solium-disable-next-line security/no-inline-assembly
assembly {
switch returndatasize()
case 0 { // This is a non-standard ERC-20
result := not(0) // set result to true
}
case 32 { // This is a complaint ERC-20
returndatacopy(0, 0, 32)
result := mload(0) // Set `result = returndata` of external call
}
default { // This is an excessively non-compliant ERC-20, revert.
revert(0, 0)
}
}
if (!result) {
return Error.TOKEN_TRANSFER_IN_FAILED;
}
return Error.NO_ERROR;
}
/**
* @dev Similar to EIP20 transfer, except it handles a False result from `transfer` and returns an explanatory
* error code rather than reverting. If caller has not called checked protocol's balance, this may revert due to
* insufficient cash held in this contract. If caller has checked protocol's balance prior to this call, and verified
* it is >= amount, this should not revert in normal conditions.
*
* Note: This wrapper safely handles non-standard ERC-20 tokens that do not return a value.
* See here: https://medium.com/coinmonks/missing-return-value-bug-at-least-130-tokens-affected-d67bf08521ca
*/
function doTransferOut(address payable to, uint amount) internal returns (Error) {
EIP20NonStandardInterface token = EIP20NonStandardInterface(underlying);
bool result;
token.transfer(to, amount);
// solium-disable-next-line security/no-inline-assembly
assembly {
switch returndatasize()
case 0 { // This is a non-standard ERC-20
result := not(0) // set result to true
}
case 32 { // This is a complaint ERC-20
returndatacopy(0, 0, 32)
result := mload(0) // Set `result = returndata` of external call
}
default { // This is an excessively non-compliant ERC-20, revert.
revert(0, 0)
}
}
if (!result) {
return Error.TOKEN_TRANSFER_OUT_FAILED;
}
return Error.NO_ERROR;
}
function _setUnderlying(address newunderlying) public returns (uint) {
// Check caller is admin
if (msg.sender != admin) {
return fail(Error.UNAUTHORIZED, FailureInfo.SET_CONTROLLER_OWNER_CHECK);
}
// Set market's controller to newController
underlying = newunderlying;
EIP20Interface(underlying).totalSupply(); // Sanity check the underlying
return uint(Error.NO_ERROR);
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"interestAccumulated","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"borrowIndex","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalBorrows","type":"uint256"}],"name":"AccrueInterest","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"borrower","type":"address"},{"indexed":false,"internalType":"uint256","name":"borrowAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"accountBorrows","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalBorrows","type":"uint256"}],"name":"Borrow","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"error","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"info","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"detail","type":"uint256"}],"name":"Failure","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"liquidator","type":"address"},{"indexed":false,"internalType":"address","name":"borrower","type":"address"},{"indexed":false,"internalType":"uint256","name":"repayAmount","type":"uint256"},{"indexed":false,"internalType":"address","name":"aTokenCollateral","type":"address"},{"indexed":false,"internalType":"uint256","name":"seizeTokens","type":"uint256"}],"name":"LiquidateBorrow","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"mintAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"mintTokens","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"NewAdmin","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"contract ControllerInterface","name":"oldController","type":"address"},{"indexed":false,"internalType":"contract ControllerInterface","name":"newController","type":"address"}],"name":"NewController","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"contract InterestRateModel","name":"oldInterestRateModel","type":"address"},{"indexed":false,"internalType":"contract InterestRateModel","name":"newInterestRateModel","type":"address"}],"name":"NewMarketInterestRateModel","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldPendingAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newPendingAdmin","type":"address"}],"name":"NewPendingAdmin","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldReserveFactorMantissa","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newReserveFactorMantissa","type":"uint256"}],"name":"NewReserveFactor","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"redeemer","type":"address"},{"indexed":false,"internalType":"uint256","name":"redeemAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"redeemTokens","type":"uint256"}],"name":"Redeem","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"payer","type":"address"},{"indexed":false,"internalType":"address","name":"borrower","type":"address"},{"indexed":false,"internalType":"uint256","name":"repayAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"accountBorrows","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalBorrows","type":"uint256"}],"name":"RepayBorrow","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"admin","type":"address"},{"indexed":false,"internalType":"uint256","name":"reduceAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newTotalReserves","type":"uint256"}],"name":"ReservesReduced","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":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"constant":false,"inputs":[],"name":"_acceptAdmin","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"reduceAmount","type":"uint256"}],"name":"_reduceReserves","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"contract ControllerInterface","name":"newController","type":"address"}],"name":"_setController","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"contract InterestRateModel","name":"newInterestRateModel","type":"address"}],"name":"_setInterestRateModel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"contract InterestRateModel","name":"newInterestRateModel","type":"address"}],"name":"_setInterestRateModel_init","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address payable","name":"newPendingAdmin","type":"address"}],"name":"_setPendingAdmin","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"newReserveFactorMantissa","type":"uint256"}],"name":"_setReserveFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newunderlying","type":"address"}],"name":"_setUnderlying","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"accrualBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"accrueInterest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"admin","outputs":[{"internalType":"address payable","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOfUnderlying","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"borrowAmount","type":"uint256"}],"name":"borrow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"borrowBalanceCurrent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"borrowBalanceStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"borrowIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"borrowRatePerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"controller","outputs":[{"internalType":"contract ControllerInterface","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"exchangeRateCurrent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"exchangeRateStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccountSnapshot","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getCash","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"initialExchangeRateMantissa","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"interestRateModel","outputs":[{"internalType":"contract InterestRateModel","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isAToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"borrower","type":"address"},{"internalType":"uint256","name":"repayAmount","type":"uint256"},{"internalType":"contract AToken","name":"aTokenCollateral","type":"address"}],"name":"liquidateBorrow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"pendingAdmin","outputs":[{"internalType":"address payable","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"redeemTokens","type":"uint256"}],"name":"redeem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"redeemAmount","type":"uint256"}],"name":"redeemUnderlying","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"repayAmount","type":"uint256"}],"name":"repayBorrow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"borrower","type":"address"},{"internalType":"uint256","name":"repayAmount","type":"uint256"}],"name":"repayBorrowBehalf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"reserveFactorMantissa","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"liquidator","type":"address"},{"internalType":"address","name":"borrower","type":"address"},{"internalType":"uint256","name":"seizeTokens","type":"uint256"}],"name":"seize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"supplyRatePerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalBorrows","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"totalBorrowsCurrent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalReserves","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"underlying","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"}]Contract Creation Code
60806040526001600055600480546001600160a01b031916331790556aa56fa5b99019a5c80000006008556200003d6001600160e01b03620000bc16565b600a55670de0b6b3a7640000600b5560408051808201909152600d8082526c0417274656d20556e697377617609c1b60209092019182526200008291600191620000c1565b506040805180820190915260048082526361554e4960e01b6020909201918252620000b091600291620000c1565b50600860035562000163565b435b90565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200010457805160ff191683800117855562000134565b8280016001018555821562000134579182015b828111156200013457825182559160200191906001019062000117565b506200014292915062000146565b5090565b620000be91905b808211156200014257600081556001016200014d565b614ab280620001736000396000f3fe608060405234801561001057600080fd5b50600436106102a05760003560e01c806394c393fc11610167578063c5ebeaec116100ce578063f3fdb15a11610087578063f3fdb15a1461076a578063f5e3c46214610772578063f77c4791146107a8578063f851a440146107b0578063f8f9da28146107b8578063fca7820b146107c0576102a0565b8063c5ebeaec146106ae578063db006a75146106cb578063dd62ed3e146106e8578063e9c714f214610716578063ef7c74e41461071e578063f2b3abbd14610744576102a0565b8063aa5af0fd11610120578063aa5af0fd146105ee578063ae9d70b0146105f6578063b2a02ff1146105fe578063b71d1a0c14610634578063bd6d894d1461065a578063c37f68e214610662576102a0565b806394c393fc1461056757806395d89b411461056f57806395dd919314610577578063a0712d681461059d578063a6afed95146105ba578063a9059cbb146105c2576102a0565b80633af9e6691161020b5780636f307dc3116101c45780636f307dc3146104e657806370a08231146104ee57806373acee981461051457806383de424e1461051c578063852a12e3146105425780638f840ddd1461055f576102a0565b80633af9e669146104835780633b1d21a2146104a957806347bd3718146104b1578063601a0bf1146104b9578063675d972c146104d65780636c540baf146104de576102a0565b8063182df0f51161025d578063182df0f5146103c757806323b872dd146103cf5780632608f8181461040557806326782247146104315780632d75635914610455578063313ce5671461047b576102a0565b806306fdde03146102a5578063095ea7b3146103225780630e75270214610362578063173b99041461039157806317bfdfbc1461039957806318160ddd146103bf575b600080fd5b6102ad6107dd565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102e75781810151838201526020016102cf565b50505050905090810190601f1680156103145780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61034e6004803603604081101561033857600080fd5b506001600160a01b03813516906020013561086a565b604080519115158252519081900360200190f35b61037f6004803603602081101561037857600080fd5b50356108d7565b60408051918252519081900360200190f35b61037f6108ea565b61037f600480360360208110156103af57600080fd5b50356001600160a01b03166108f0565b61037f6109a3565b61037f6109a9565b61034e600480360360608110156103e557600080fd5b506001600160a01b03813581169160208101359091169060400135610a0c565b61037f6004803603604081101561041b57600080fd5b506001600160a01b038135169060200135610a72565b610439610a85565b604080516001600160a01b039092168252519081900360200190f35b61037f6004803603602081101561046b57600080fd5b50356001600160a01b0316610a94565b61037f610ae7565b61037f6004803603602081101561049957600080fd5b50356001600160a01b0316610aed565b61037f610b5b565b61037f610b6a565b61037f600480360360208110156104cf57600080fd5b5035610b70565b61037f610bf8565b61037f610bfe565b610439610c04565b61037f6004803603602081101561050457600080fd5b50356001600160a01b0316610c13565b61037f610c2e565b61037f6004803603602081101561053257600080fd5b50356001600160a01b0316610cd8565b61037f6004803603602081101561055857600080fd5b5035610e22565b61037f610e2d565b61034e610e33565b6102ad610e38565b61037f6004803603602081101561058d57600080fd5b50356001600160a01b0316610e90565b61037f600480360360208110156105b357600080fd5b5035610eed565b61037f610ef8565b61034e600480360360408110156105d857600080fd5b506001600160a01b0381351690602001356112f1565b61037f611356565b61037f61135c565b61037f6004803603606081101561061457600080fd5b506001600160a01b03813581169160208101359091169060400135611627565b61037f6004803603602081101561064a57600080fd5b50356001600160a01b03166118d8565b61037f61195f565b6106886004803603602081101561067857600080fd5b50356001600160a01b0316611a0a565b604080519485526020850193909352838301919091526060830152519081900360800190f35b61037f600480360360208110156106c457600080fd5b5035611a9f565b61037f600480360360208110156106e157600080fd5b5035611aaa565b61037f600480360360408110156106fe57600080fd5b506001600160a01b0381358116916020013516611ab5565b61037f611ae0565b61037f6004803603602081101561073457600080fd5b50356001600160a01b0316611bcf565b61037f6004803603602081101561075a57600080fd5b50356001600160a01b0316611c80565b610439611cba565b61037f6004803603606081101561078857600080fd5b506001600160a01b03813581169160208101359160409091013516611cc9565b610439611cd6565b610439611ce5565b61037f611cf4565b61037f600480360360208110156107d657600080fd5b5035611dd0565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156108625780601f1061083757610100808354040283529160200191610862565b820191906000526020600020905b81548152906001019060200180831161084557829003601f168201915b505050505081565b3360008181526010602090815260408083206001600160a01b03871680855290835281842086905581518681529151939493909284927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a360019150505b92915050565b60006108e282611e0a565b90505b919050565b60095481565b6000805460010180825581610903610ef8565b1461094e576040805162461bcd60e51b81526020600482015260166024820152751858d8dc9d59481a5b9d195c995cdd0819985a5b195960521b604482015290519081900360640190fd5b61095783610e90565b91505b600054811461099d576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b50919050565b600e5481565b60008060006109b6611e46565b909250905060008260038111156109c957fe5b14610a055760405162461bcd60e51b81526004018080602001828103825260358152602001806149f16035913960400191505060405180910390fd5b9150505b90565b6000805460010180825581610a2333878787611ef4565b1491505b6000548114610a6a576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b509392505050565b6000610a7e8383612202565b9392505050565b6005546001600160a01b031681565b6004546000906001600160a01b03163314610abc57610ab5600a604161228c565b90506108e5565b600780546001600160a01b0319166001600160a01b03848116919091179182905561099d91166122f2565b60035481565b6000610af761474a565b6040518060200160405280610b0a61195f565b90526001600160a01b0384166000908152600f6020526040812054919250908190610b36908490612462565b90925090506000826003811115610b4957fe5b14610b5357600080fd5b949350505050565b6000610b656124b6565b905090565b600c5481565b6000805460010180825581610b83610ef8565b90508015610ba957610ba1816010811115610b9a57fe5b603061228c565b92505061095a565b610bb284612536565b925050600054811461099d576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b60085481565b600a5481565b6012546001600160a01b031681565b6001600160a01b03166000908152600f602052604090205490565b6000805460010180825581610c41610ef8565b14610c8c576040805162461bcd60e51b81526020600482015260166024820152751858d8dc9d59481a5b9d195c995cdd0819985a5b195960521b604482015290519081900360640190fd5b600c5491506000548114610cd4576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b5090565b6004546000906001600160a01b03163314610cf957610ab56001603f61228c565b60065460408051634e1647fb60e01b815290516001600160a01b0392831692851691634e1647fb916004808301926020929190829003018186803b158015610d4057600080fd5b505afa158015610d54573d6000803e3d6000fd5b505050506040513d6020811015610d6a57600080fd5b5051610dbd576040805162461bcd60e51b815260206004820152601c60248201527f6d61726b6572206d6574686f642072657475726e65642066616c736500000000604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b03858116918217909255604080519284168352602083019190915280517ff9b6a28700579d5c8fab50f0ac2dcaa52109b85c369c4f511fcc873330ab6cbb9281900390910190a160009392505050565b60006108e2826126b4565b600d5481565b600181565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156108625780601f1061083757610100808354040283529160200191610862565b6000806000610e9e846126f1565b90925090506000826003811115610eb157fe5b14610a7e5760405162461bcd60e51b81526004018080602001828103825260378152602001806148c56037913960400191505060405180910390fd5b60006108e2826127a5565b6000610f0261475d565b6007546001600160a01b03166315f24053610f1b6124b6565b600c54600d546040518463ffffffff1660e01b8152600401808481526020018381526020018281526020019350505050604080518083038186803b158015610f6257600080fd5b505afa158015610f76573d6000803e3d6000fd5b505050506040513d6040811015610f8c57600080fd5b50805160209182015160408401819052918301526601c6bf526340001015610ffb576040805162461bcd60e51b815260206004820152601c60248201527f626f72726f772072617465206973206162737572646c79206869676800000000604482015290519081900360640190fd5b60208101511561101e576110166005600283602001516127e0565b915050610a09565b611026612846565b60608201819052600a5461103a919061284a565b608083018190528282600381111561104e57fe5b600381111561105957fe5b905250600090508151600381111561106d57fe5b1461107457fe5b61109460405180602001604052808360400151815250826080015161286d565b60a08301819052828260038111156110a857fe5b60038111156110b357fe5b90525060009050815160038111156110c757fe5b146110e85761101660096006836000015160038111156110e357fe5b6127e0565b6110f88160a00151600c54612462565b60c083018190528282600381111561110c57fe5b600381111561111757fe5b905250600090508151600381111561112b57fe5b146111475761101660096001836000015160038111156110e357fe5b6111578160c00151600c546128d5565b60e083018190528282600381111561116b57fe5b600381111561117657fe5b905250600090508151600381111561118a57fe5b146111a65761101660096004836000015160038111156110e357fe5b6111c760405180602001604052806009548152508260c00151600d546128fb565b6101008301819052828260038111156111dc57fe5b60038111156111e757fe5b90525060009050815160038111156111fb57fe5b146112175761101660096005836000015160038111156110e357fe5b61122a8160a00151600b54600b546128fb565b61012083018190528282600381111561123f57fe5b600381111561124a57fe5b905250600090508151600381111561125e57fe5b1461127a5761101660096003836000015160038111156110e357fe5b606080820151600a55610120820151600b81905560e0830151600c819055610100840151600d5560c08401516040805191825260208201939093528083019190915290517f875352fb3fadeb8c0be7cbbe8ff761b308fa7033470cd0287f02f3436fd76cb9929181900390910190a1600091505090565b600080546001018082558161130833338787611ef4565b1491505b600054811461134f576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b5092915050565b600b5481565b6000806113676109a9565b60075490915060009081906001600160a01b03166315f240536113886124b6565b600c54600d546040518463ffffffff1660e01b8152600401808481526020018381526020018281526020019350505050604080518083038186803b1580156113cf57600080fd5b505afa1580156113e3573d6000803e3d6000fd5b505050506040513d60408110156113f957600080fd5b508051602090910151909250905081156114445760405162461bcd60e51b81526004018080602001828103825260318152602001806149646031913960400191505060405180910390fd5b600061144e61474a565b611468604051806020016040528087815250600e5461286d565b9092509050600082600381111561147b57fe5b146114b75760405162461bcd60e51b81526004018080602001828103825260318152602001806148fc6031913960400191505060405180910390fd5b60006114c161474a565b6114cd600c5484612957565b909250905060008260038111156114e057fe5b1461151c5760405162461bcd60e51b81526004018080602001828103825260318152602001806148406031913960400191505060405180910390fd5b600061152661474a565b6115566040518060200160405280670de0b6b3a764000081525060405180602001604052806009548152506129b6565b9092509050600082600381111561156957fe5b146115a55760405162461bcd60e51b815260040180806020018281038252603c8152602001806149b5603c913960400191505060405180910390fd5b60006115af61474a565b6115c860405180602001604052808b81525084876129f0565b909250905060008260038111156115db57fe5b146116175760405162461bcd60e51b81526004018080602001828103825260318152602001806148946031913960400191505060405180910390fd5b519a505050505050505050505090565b600080546001018082556006546040805163d02f735160e01b81523060048201523360248201526001600160a01b03888116604483015287811660648301526084820187905291518593929092169163d02f73519160a48082019260209290919082900301818787803b15801561169d57600080fd5b505af11580156116b1573d6000803e3d6000fd5b505050506040513d60208110156116c757600080fd5b5051905080156116e6576116de6003601b836127e0565b925050610a27565b856001600160a01b0316856001600160a01b0316141561170c576116de6006601c61228c565b6001600160a01b0385166000908152600f602052604081205481908190611733908861284a565b9093509150600083600381111561174657fe5b146117695761175e6009601a8560038111156110e357fe5b955050505050610a27565b6001600160a01b0389166000908152600f602052604090205461178c90886128d5565b9093509050600083600381111561179f57fe5b146117b75761175e600960198560038111156110e357fe5b6001600160a01b038089166000818152600f60209081526040808320879055938d168083529184902085905583518b815293519193600080516020614995833981519152929081900390910190a360065460408051636d35bf9160e01b81523060048201523360248201526001600160a01b038c811660448301528b81166064830152608482018b905291519190921691636d35bf919160a480830192600092919082900301818387803b15801561186e57600080fd5b505af1158015611882573d6000803e3d6000fd5b506000925061188f915050565b9550505050506000548114610a6a576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6004546000906001600160a01b031633146118f957610ab56001604561228c565b600580546001600160a01b038481166001600160a01b0319831681179093556040805191909216808252602082019390935281517fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9929181900390910190a16000610a7e565b6000805460010180825581611972610ef8565b146119bd576040805162461bcd60e51b81526020600482015260166024820152751858d8dc9d59481a5b9d195c995cdd0819985a5b195960521b604482015290519081900360640190fd5b6119c56109a9565b91506000548114610cd4576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6001600160a01b0381166000908152600f6020526040812054819081908190818080611a35896126f1565b935090506000816003811115611a4757fe5b14611a655760095b975060009650869550859450611a989350505050565b611a6d611e46565b925090506000816003811115611a7f57fe5b14611a8b576009611a4f565b5060009650919450925090505b9193509193565b60006108e282612a3a565b60006108e282612a75565b6001600160a01b03918216600090815260106020908152604080832093909416825291909152205490565b6005546000906001600160a01b031633141580611afb575033155b15611b1357611b0c6001600061228c565b9050610a09565b60048054600580546001600160a01b038082166001600160a01b031980861682179687905590921690925560408051938316808552949092166020840152815190927ff9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc92908290030190a1600554604080516001600160a01b038085168252909216602083015280517fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a99281900390910190a160009250505090565b6004546000906001600160a01b03163314611bf057610ab56001603f61228c565b601280546001600160a01b0319166001600160a01b038481169190911791829055604080516318160ddd60e01b8152905192909116916318160ddd91600480820192602092909190829003018186803b158015611c4c57600080fd5b505afa158015611c60573d6000803e3d6000fd5b505050506040513d6020811015611c7657600080fd5b50600090506108e2565b600080611c8b610ef8565b90508015611cb157611ca9816010811115611ca257fe5b604061228c565b9150506108e5565b610a7e836122f2565b6007546001600160a01b031681565b6000610b53848484612aab565b6006546001600160a01b031681565b6004546001600160a01b031681565b600754600090819081906001600160a01b03166315f24053611d146124b6565b600c54600d546040518463ffffffff1660e01b8152600401808481526020018381526020018281526020019350505050604080518083038186803b158015611d5b57600080fd5b505afa158015611d6f573d6000803e3d6000fd5b505050506040513d6040811015611d8557600080fd5b50805160209091015190925090508115610a055760405162461bcd60e51b815260040180806020018281038252603781526020018061492d6037913960400191505060405180910390fd5b6000805460010180825581611de3610ef8565b90508015611e0157610ba1816010811115611dfa57fe5b604661228c565b610bb284612bb3565b6000805460010180825581611e1d610ef8565b90508015611e3b57610ba1816010811115611e3457fe5b603661228c565b610bb2333386612c56565b600080600e5460001415611e61575050600854600090611ef0565b6000611e6b6124b6565b90506000611e7761474a565b6000611e8884600c54600d546130a9565b935090506000816003811115611e9a57fe5b14611eae57945060009350611ef092505050565b611eba83600e546130e7565b925090506000816003811115611ecc57fe5b14611ee057945060009350611ef092505050565b5051600094509250611ef0915050565b9091565b600654604080516317b9b84b60e31b81523060048201526001600160a01b03868116602483015285811660448301526064820185905291516000938493169163bdcdc25891608480830192602092919082900301818787803b158015611f5957600080fd5b505af1158015611f6d573d6000803e3d6000fd5b505050506040513d6020811015611f8357600080fd5b505190508015611fa257611f9a6003604a836127e0565b915050610b53565b836001600160a01b0316856001600160a01b03161415611fc857611f9a6002604b61228c565b60006001600160a01b038781169087161415611fe7575060001961200f565b506001600160a01b038086166000908152601060209081526040808320938a16835292905220545b60008060008061201f858961284a565b9094509250600084600381111561203257fe5b14612050576120436009604b61228c565b9650505050505050610b53565b6001600160a01b038a166000908152600f6020526040902054612073908961284a565b9094509150600084600381111561208657fe5b14612097576120436009604c61228c565b6001600160a01b0389166000908152600f60205260409020546120ba90896128d5565b909450905060008460038111156120cd57fe5b146120de576120436009604d61228c565b6001600160a01b03808b166000908152600f6020526040808220859055918b168152208190556000198514612136576001600160a01b03808b166000908152601060209081526040808320938f168352929052208390555b886001600160a01b03168a6001600160a01b03166000805160206149958339815191528a6040518082815260200191505060405180910390a36006546040805163352b4a3f60e11b81523060048201526001600160a01b038d811660248301528c81166044830152606482018c905291519190921691636a56947e91608480830192600092919082900301818387803b1580156121d257600080fd5b505af11580156121e6573d6000803e3d6000fd5b50600092506121f3915050565b9b9a5050505050505050505050565b6000805460010180825581612215610ef8565b9050801561223b5761223381601081111561222c57fe5b603561228c565b92505061130c565b612246338686612c56565b925050600054811461134f576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b60007f45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa08360108111156122bb57fe5b83604d8111156122c757fe5b604080519283526020830191909152600082820152519081900360600190a1826010811115610a7e57fe5b60045460009081906001600160a01b0316331461231557611ca96001604261228c565b61231d612846565b600a541461233157611ca9600a604161228c565b600760009054906101000a90046001600160a01b03169050826001600160a01b0316632191f92a6040518163ffffffff1660e01b815260040160206040518083038186803b15801561238257600080fd5b505afa158015612396573d6000803e3d6000fd5b505050506040513d60208110156123ac57600080fd5b50516123ff576040805162461bcd60e51b815260206004820152601c60248201527f6d61726b6572206d6574686f642072657475726e65642066616c736500000000604482015290519081900360640190fd5b600780546001600160a01b0319166001600160a01b03858116918217909255604080519284168352602083019190915280517fedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f9269281900390910190a16000610a7e565b600080600061246f61474a565b612479868661286d565b9092509050600082600381111561248c57fe5b1461249d57509150600090506124af565b60006124a882613197565b9350935050505b9250929050565b601254604080516370a0823160e01b815230600482015290516000926001600160a01b03169182916370a0823191602480820192602092909190829003018186803b15801561250457600080fd5b505afa158015612518573d6000803e3d6000fd5b505050506040513d602081101561252e57600080fd5b505191505090565b600454600090819081906001600160a01b031633146125645761255b6001603161228c565b925050506108e5565b61256c612846565b600a54146125805761255b600a603361228c565b836125896124b6565b101561259b5761255b600e603261228c565b600d548411156125b15761255b6002603461228c565b50600d54838103908111156125f75760405162461bcd60e51b8152600401808060200182810382526024815260200180614a5a6024913960400191505060405180910390fd5b600d819055600454612612906001600160a01b0316856131a6565b9150600082601081111561262257fe5b1461265e5760405162461bcd60e51b81526004018080602001828103825260238152602001806148716023913960400191505060405180910390fd5b600454604080516001600160a01b03909216825260208201869052818101839052517f3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e9181900360600190a16000949350505050565b60008054600101808255816126c7610ef8565b905080156126e557610ba18160108111156126de57fe5b602761228c565b610bb233600086613262565b6001600160a01b0381166000908152601160205260408120805482918291829182916127285750600094508493506127a092505050565b6127388160000154600b5461376b565b9094509250600084600381111561274b57fe5b146127605750919350600092506127a0915050565b61276e8382600101546137aa565b9094509150600084600381111561278157fe5b146127965750919350600092506127a0915050565b5060009450925050505b915091565b60008054600101808255816127b8610ef8565b905080156127d657610ba18160108111156127cf57fe5b601e61228c565b610bb233856137d5565b60007f45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa084601081111561280f57fe5b84604d81111561281b57fe5b604080519283526020830191909152818101859052519081900360600190a1836010811115610b5357fe5b4390565b6000808383116128615750600090508183036124af565b506003905060006124af565b600061287761474a565b60008061288886600001518661376b565b9092509050600082600381111561289b57fe5b146128ba575060408051602081019091526000815290925090506124af565b60408051602081019091529081526000969095509350505050565b6000808383018481106128ed576000925090506124af565b5060029150600090506124af565b600080600061290861474a565b612912878761286d565b9092509050600082600381111561292557fe5b14612936575091506000905061294f565b61294861294282613197565b866128d5565b9350935050505b935093915050565b600061296161474a565b600080612976670de0b6b3a76400008761376b565b9092509050600082600381111561298957fe5b146129a8575060408051602081019091526000815290925090506124af565b6124a88186600001516130e7565b60006129c061474a565b6000806129d58660000151866000015161284a565b60408051602081019091529081529097909650945050505050565b60006129fa61474a565b6000612a0461474a565b612a0e8787613c1d565b90925090506000826003811115612a2157fe5b14612a3057909250905061294f565b6129488186613c1d565b6000805460010180825581612a4d610ef8565b90508015612a6b57610ba1816010811115612a6457fe5b600861228c565b610bb23385613d06565b6000805460010180825581612a88610ef8565b90508015612a9f57610ba18160108111156126de57fe5b610bb233856000613262565b6000805460010180825581612abe610ef8565b90508015612adc576116de816010811115612ad557fe5b600f61228c565b836001600160a01b031663a6afed956040518163ffffffff1660e01b8152600401602060405180830381600087803b158015612b1757600080fd5b505af1158015612b2b573d6000803e3d6000fd5b505050506040513d6020811015612b4157600080fd5b505190508015612b61576116de816010811115612b5a57fe5b601061228c565b612b6d3387878761406c565b9250506000548114610a6a576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6004546000906001600160a01b03163314612bd457610ab56001604761228c565b612bdc612846565b600a5414612bf057610ab5600a604861228c565b670de0b6b3a7640000821115612c0c57610ab56002604961228c565b6009805490839055604080518281526020810185905281517faaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460929181900390910190a16000610a7e565b60065460408051631200453160e11b81523060048201526001600160a01b0386811660248301528581166044830152606482018590529151600093849316916324008a6291608480830192602092919082900301818787803b158015612cbb57600080fd5b505af1158015612ccf573d6000803e3d6000fd5b505050506040513d6020811015612ce557600080fd5b505190508015612d0457612cfc60036038836127e0565b915050610a7e565b612d0c612846565b600a5414612d2057612cfc600a603961228c565b612d286147b7565b6001600160a01b0385166000908152601160205260409020600101546060820152612d52856126f1565b6080830181905260208301826003811115612d6957fe5b6003811115612d7457fe5b9052506000905081602001516003811115612d8b57fe5b14612db057612da760096037836020015160038111156110e357fe5b92505050610a7e565b600019841415612dc95760808101516040820152612dd1565b604081018490525b612ddf868260400151614548565b81906010811115612dec57fe5b90816010811115612df957fe5b905250600081516010811115612e0b57fe5b14612e1d578051612da790603c61228c565b612e2f8160800151826040015161284a565b60a0830181905260208301826003811115612e4657fe5b6003811115612e5157fe5b9052506000905081602001516003811115612e6857fe5b14612e8457612da76009603a836020015160038111156110e357fe5b612e94600c54826040015161284a565b60c0830181905260208301826003811115612eab57fe5b6003811115612eb657fe5b9052506000905081602001516003811115612ecd57fe5b14612ee957612da76009603b836020015160038111156110e357fe5b612ef786826040015161467c565b81906010811115612f0457fe5b90816010811115612f1157fe5b905250600081516010811115612f2357fe5b14612f75576040805162461bcd60e51b815260206004820152601f60248201527f726570617920626f72726f77207472616e7366657220696e206661696c656400604482015290519081900360640190fd5b60a080820180516001600160a01b03808916600081815260116020908152604091829020948555600b5460019095019490945560c0870151600c8190558188015195518251948e16855294840192909252828101949094526060820192909252608081019190915290517f1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1929181900390910190a160065460408083015160608401518251631ededc9160e01b81523060048201526001600160a01b038b811660248301528a81166044830152606482019390935260848101919091529151921691631ededc919160a48082019260009290919082900301818387803b15801561307e57600080fd5b505af1158015613092573d6000803e3d6000fd5b506000925061309f915050565b9695505050505050565b6000806000806130b987876128d5565b909250905060008260038111156130cc57fe5b146130dd575091506000905061294f565b612948818661284a565b60006130f161474a565b60008061310686670de0b6b3a764000061376b565b9092509050600082600381111561311957fe5b14613138575060408051602081019091526000815290925090506124af565b60008061314583886137aa565b9092509050600082600381111561315857fe5b1461317a575060408051602081019091526000815290945092506124af915050565b604080516020810190915290815260009890975095505050505050565b51670de0b6b3a7640000900490565b6012546040805163a9059cbb60e01b81526001600160a01b03858116600483015260248201859052915160009392909216918391839163a9059cbb91604480820192869290919082900301818387803b15801561320257600080fd5b505af1158015613216573d6000803e3d6000fd5b505050503d60008114613230576020811461323a57600080fd5b6000199150613246565b60206000803e60005191505b5080613257576010925050506108d1565b506000949350505050565b600082158061326f575081155b6132aa5760405162461bcd60e51b8152600401808060200182810382526034815260200180614a266034913960400191505060405180910390fd5b6132b26147b7565b6132ba611e46565b60408301819052602083018260038111156132d157fe5b60038111156132dc57fe5b90525060009050816020015160038111156132f357fe5b1461330f57612cfc6009602b836020015160038111156110e357fe5b83156133905760608101849052604080516020810182529082015181526133369085612462565b608083018190526020830182600381111561334d57fe5b600381111561335857fe5b905250600090508160200151600381111561336f57fe5b1461338b57612cfc60096029836020015160038111156110e357fe5b613409565b6133ac8360405180602001604052808460400151815250614733565b60608301819052602083018260038111156133c357fe5b60038111156133ce57fe5b90525060009050816020015160038111156133e557fe5b1461340157612cfc6009602a836020015160038111156110e357fe5b608081018390525b60065460608201516040805163eabe7d9160e01b81523060048201526001600160a01b03898116602483015260448201939093529051600093929092169163eabe7d919160648082019260209290919082900301818787803b15801561346e57600080fd5b505af1158015613482573d6000803e3d6000fd5b505050506040513d602081101561349857600080fd5b5051905080156134af57612da760036028836127e0565b6134b7612846565b600a54146134cb57612da7600a602c61228c565b6134db600e54836060015161284a565b60a08401819052602084018260038111156134f257fe5b60038111156134fd57fe5b905250600090508260200151600381111561351457fe5b1461353057612da76009602e846020015160038111156110e357fe5b6001600160a01b0386166000908152600f60205260409020546060830151613558919061284a565b60c084018190526020840182600381111561356f57fe5b600381111561357a57fe5b905250600090508260200151600381111561359157fe5b146135ad57612da76009602d846020015160038111156110e357fe5b81608001516135ba6124b6565b10156135cc57612da7600e602f61228c565b6135da8683608001516131a6565b829060108111156135e757fe5b908160108111156135f457fe5b90525060008251601081111561360657fe5b14613658576040805162461bcd60e51b815260206004820152601a60248201527f72656465656d207472616e73666572206f7574206661696c6564000000000000604482015290519081900360640190fd5b60a0820151600e5560c08201516001600160a01b0387166000818152600f6020908152604091829020939093556060850151815190815290513093600080516020614995833981519152928290030190a36080820151606080840151604080516001600160a01b038b168152602081019490945283810191909152517fe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a9299281900390910190a160065460808301516060840151604080516351dff98960e01b81523060048201526001600160a01b038b81166024830152604482019490945260648101929092525191909216916351dff98991608480830192600092919082900301818387803b15801561307e57600080fd5b6000808361377e575060009050806124af565b8383028385828161378b57fe5b041461379f575060029150600090506124af565b6000925090506124af565b600080826137be57506001905060006124af565b60008385816137c957fe5b04915091509250929050565b60065460408051634ef4c3e160e01b81523060048201526001600160a01b03858116602483015260448201859052915160009384931691634ef4c3e191606480830192602092919082900301818787803b15801561383257600080fd5b505af1158015613846573d6000803e3d6000fd5b505050506040513d602081101561385c57600080fd5b50519050801561387b576138736003601f836127e0565b9150506108d1565b613883612846565b600a541461389757613873600a602261228c565b61389f6147f5565b6138a98585614548565b819060108111156138b657fe5b908160108111156138c357fe5b9052506000815160108111156138d557fe5b146138f05780516138e790602661228c565b925050506108d1565b6138f8611e46565b604083018190526020830182600381111561390f57fe5b600381111561391a57fe5b905250600090508160200151600381111561393157fe5b1461394d576138e760096021836020015160038111156110e357fe5b6139698460405180602001604052808460400151815250614733565b606083018190526020830182600381111561398057fe5b600381111561398b57fe5b90525060009050816020015160038111156139a257fe5b146139be576138e760096020836020015160038111156110e357fe5b6139ce600e5482606001516128d5565b60808301819052602083018260038111156139e557fe5b60038111156139f057fe5b9052506000905081602001516003811115613a0757fe5b14613a23576138e760096024836020015160038111156110e357fe5b6001600160a01b0385166000908152600f60205260409020546060820151613a4b91906128d5565b60a0830181905260208301826003811115613a6257fe5b6003811115613a6d57fe5b9052506000905081602001516003811115613a8457fe5b14613aa0576138e760096023836020015160038111156110e357fe5b613aaa858561467c565b81906010811115613ab757fe5b90816010811115613ac457fe5b905250600081516010811115613ad657fe5b14613ae85780516138e790602561228c565b6080810151600e5560a08101516001600160a01b0386166000818152600f602090815260409182902093909355606080850151825193845293830188905282820193909352517f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f929181900390910190a1606081015160408051918252516001600160a01b0387169130916000805160206149958339815191529181900360200190a36006546060820151604080516341c728b960e01b81523060048201526001600160a01b038981166024830152604482018990526064820193909352905191909216916341c728b991608480830192600092919082900301818387803b158015613bf357600080fd5b505af1158015613c07573d6000803e3d6000fd5b5060009250613c14915050565b95945050505050565b6000613c2761474a565b600080613c3c8660000151866000015161376b565b90925090506000826003811115613c4f57fe5b14613c6e575060408051602081019091526000815290925090506124af565b600080613c836706f05b59d3b20000846128d5565b90925090506000826003811115613c9657fe5b14613cb8575060408051602081019091526000815290945092506124af915050565b600080613ccd83670de0b6b3a76400006137aa565b90925090506000826003811115613ce057fe5b14613ce757fe5b604080516020810190915290815260009a909950975050505050505050565b6006546040805163368f515360e21b81523060048201526001600160a01b0385811660248301526044820185905291516000938493169163da3d454c91606480830192602092919082900301818787803b158015613d6357600080fd5b505af1158015613d77573d6000803e3d6000fd5b505050506040513d6020811015613d8d57600080fd5b505190508015613da4576138736003600e836127e0565b613dac612846565b600a5414613dbf57613873600a8061228c565b82613dc86124b6565b1015613dda57613873600e600961228c565b613de261480f565b613deb856126f1565b6040830181905260208301826003811115613e0257fe5b6003811115613e0d57fe5b9052506000905081602001516003811115613e2457fe5b14613e40576138e760096007836020015160038111156110e357fe5b613e4e8160400151856128d5565b6060830181905260208301826003811115613e6557fe5b6003811115613e7057fe5b9052506000905081602001516003811115613e8757fe5b14613ea3576138e76009600c836020015160038111156110e357fe5b613eaf600c54856128d5565b6080830181905260208301826003811115613ec657fe5b6003811115613ed157fe5b9052506000905081602001516003811115613ee857fe5b14613f04576138e76009600b836020015160038111156110e357fe5b613f0e85856131a6565b81906010811115613f1b57fe5b90816010811115613f2857fe5b905250600081516010811115613f3a57fe5b14613f8c576040805162461bcd60e51b815260206004820152601a60248201527f626f72726f77207472616e73666572206f7574206661696c6564000000000000604482015290519081900360640190fd5b606080820180516001600160a01b038816600081815260116020908152604091829020938455600b54600190940193909355608080870151600c819055945182519384529383018a9052828201939093529381019290925291517f13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab80929181900390910190a160065460408051635c77860560e01b81523060048201526001600160a01b0388811660248301526044820188905291519190921691635c77860591606480830192600092919082900301818387803b158015613bf357600080fd5b60065460408051632fe3f38f60e11b81523060048201526001600160a01b0384811660248301528781166044830152868116606483015260848201869052915160009384931691635fc7e71e9160a480830192602092919082900301818787803b1580156140d957600080fd5b505af11580156140ed573d6000803e3d6000fd5b505050506040513d602081101561410357600080fd5b50519050801561411a57611f9a60036012836127e0565b614122612846565b600a541461413657611f9a600a601661228c565b61413e612846565b836001600160a01b0316636c540baf6040518163ffffffff1660e01b815260040160206040518083038186803b15801561417757600080fd5b505afa15801561418b573d6000803e3d6000fd5b505050506040513d60208110156141a157600080fd5b5051146141b457611f9a600a601161228c565b856001600160a01b0316856001600160a01b031614156141da57611f9a6006601761228c565b836141eb57611f9a6007601561228c565b60001984141561420157611f9a6007601461228c565b6006546040805163c488847b60e01b81523060048201526001600160a01b038681166024830152604482018890528251600094859492169263c488847b926064808301939192829003018186803b15801561425b57600080fd5b505afa15801561426f573d6000803e3d6000fd5b505050506040513d604081101561428557600080fd5b508051602090910151909250905081156142b0576142a660046013846127e0565b9350505050610b53565b846001600160a01b03166370a08231886040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561430657600080fd5b505afa15801561431a573d6000803e3d6000fd5b505050506040513d602081101561433057600080fd5b5051811115614345576142a6600d601d61228c565b6000614352898989612c56565b9050801561437b5761437081601081111561436957fe5b601861228c565b945050505050610b53565b6040805163b2a02ff160e01b81526001600160a01b038b811660048301528a8116602483015260448201859052915160009289169163b2a02ff191606480830192602092919082900301818787803b1580156143d657600080fd5b505af11580156143ea573d6000803e3d6000fd5b505050506040513d602081101561440057600080fd5b50519050801561444e576040805162461bcd60e51b81526020600482015260146024820152731d1bdad95b881cd95a5e9d5c994819985a5b195960621b604482015290519081900360640190fd5b604080516001600160a01b03808d168252808c1660208301528183018b9052891660608201526080810185905290517f298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb529181900360a00190a1600654604080516347ef3b3b60e01b81523060048201526001600160a01b038a811660248301528d811660448301528c81166064830152608482018c905260a48201879052915191909216916347ef3b3b9160c480830192600092919082900301818387803b15801561451957600080fd5b505af115801561452d573d6000803e3d6000fd5b506000925061453a915050565b9a9950505050505050505050565b60125460408051636eb1769f60e11b81526001600160a01b038581166004830152306024830152915160009392909216918491839163dd62ed3e91604480820192602092909190829003018186803b1580156145a357600080fd5b505afa1580156145b7573d6000803e3d6000fd5b505050506040513d60208110156145cd57600080fd5b505110156145df57600c9150506108d1565b82816001600160a01b03166370a08231866040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561463657600080fd5b505afa15801561464a573d6000803e3d6000fd5b505050506040513d602081101561466057600080fd5b5051101561467257600d9150506108d1565b5060009392505050565b601254604080516323b872dd60e01b81526001600160a01b0385811660048301523060248301526044820185905291516000939290921691839183916323b872dd91606480820192869290919082900301818387803b1580156146de57600080fd5b505af11580156146f2573d6000803e3d6000fd5b505050503d6000811461470c576020811461471657600080fd5b6000199150614722565b60206000803e60005191505b508061325757600f925050506108d1565b600080600061474061474a565b6124798686612957565b6040518060200160405280600081525090565b60408051610140810190915280600081526020016000815260200160008152602001600081526020016000815260200161479561474a565b8152602001600081526020016000815260200160008152602001600081525090565b6040805160e0810190915280600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6040805160c0810190915280600081526020016000614795565b6040805160a08101909152806000815260200160008152602001600081526020016000815260200160008152509056fe737570706c7952617465506572426c6f636b3a2063616c63756c6174696e6720626f72726f7773506572206661696c6564726564756365207265736572766573207472616e73666572206f7574206661696c6564737570706c7952617465506572426c6f636b3a2063616c63756c6174696e6720737570706c7952617465206661696c6564626f72726f7742616c616e636553746f7265643a20626f72726f7742616c616e636553746f726564496e7465726e616c206661696c6564737570706c7952617465506572426c6f636b3a2063616c63756c6174696e6720756e6465726c79696e67206661696c6564626f72726f7752617465506572426c6f636b3a20696e746572657374526174654d6f64656c2e626f72726f7752617465206661696c6564737570706c7952617465506572426c6f636b3a2063616c63756c6174696e6720626f72726f7752617465206661696c6564ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef737570706c7952617465506572426c6f636b3a2063616c63756c6174696e67206f6e654d696e757352657365727665466163746f72206661696c656465786368616e67655261746553746f7265643a2065786368616e67655261746553746f726564496e7465726e616c206661696c65646f6e65206f662072656465656d546f6b656e73496e206f722072656465656d416d6f756e74496e206d757374206265207a65726f72656475636520726573657276657320756e657870656374656420756e646572666c6f77a265627a7a72315820fc72ba1d0bac5e2c5fc9ee9b1e9834b086c1c6bee659793e3b109b308e9e83e864736f6c63430005100032
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102a05760003560e01c806394c393fc11610167578063c5ebeaec116100ce578063f3fdb15a11610087578063f3fdb15a1461076a578063f5e3c46214610772578063f77c4791146107a8578063f851a440146107b0578063f8f9da28146107b8578063fca7820b146107c0576102a0565b8063c5ebeaec146106ae578063db006a75146106cb578063dd62ed3e146106e8578063e9c714f214610716578063ef7c74e41461071e578063f2b3abbd14610744576102a0565b8063aa5af0fd11610120578063aa5af0fd146105ee578063ae9d70b0146105f6578063b2a02ff1146105fe578063b71d1a0c14610634578063bd6d894d1461065a578063c37f68e214610662576102a0565b806394c393fc1461056757806395d89b411461056f57806395dd919314610577578063a0712d681461059d578063a6afed95146105ba578063a9059cbb146105c2576102a0565b80633af9e6691161020b5780636f307dc3116101c45780636f307dc3146104e657806370a08231146104ee57806373acee981461051457806383de424e1461051c578063852a12e3146105425780638f840ddd1461055f576102a0565b80633af9e669146104835780633b1d21a2146104a957806347bd3718146104b1578063601a0bf1146104b9578063675d972c146104d65780636c540baf146104de576102a0565b8063182df0f51161025d578063182df0f5146103c757806323b872dd146103cf5780632608f8181461040557806326782247146104315780632d75635914610455578063313ce5671461047b576102a0565b806306fdde03146102a5578063095ea7b3146103225780630e75270214610362578063173b99041461039157806317bfdfbc1461039957806318160ddd146103bf575b600080fd5b6102ad6107dd565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102e75781810151838201526020016102cf565b50505050905090810190601f1680156103145780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61034e6004803603604081101561033857600080fd5b506001600160a01b03813516906020013561086a565b604080519115158252519081900360200190f35b61037f6004803603602081101561037857600080fd5b50356108d7565b60408051918252519081900360200190f35b61037f6108ea565b61037f600480360360208110156103af57600080fd5b50356001600160a01b03166108f0565b61037f6109a3565b61037f6109a9565b61034e600480360360608110156103e557600080fd5b506001600160a01b03813581169160208101359091169060400135610a0c565b61037f6004803603604081101561041b57600080fd5b506001600160a01b038135169060200135610a72565b610439610a85565b604080516001600160a01b039092168252519081900360200190f35b61037f6004803603602081101561046b57600080fd5b50356001600160a01b0316610a94565b61037f610ae7565b61037f6004803603602081101561049957600080fd5b50356001600160a01b0316610aed565b61037f610b5b565b61037f610b6a565b61037f600480360360208110156104cf57600080fd5b5035610b70565b61037f610bf8565b61037f610bfe565b610439610c04565b61037f6004803603602081101561050457600080fd5b50356001600160a01b0316610c13565b61037f610c2e565b61037f6004803603602081101561053257600080fd5b50356001600160a01b0316610cd8565b61037f6004803603602081101561055857600080fd5b5035610e22565b61037f610e2d565b61034e610e33565b6102ad610e38565b61037f6004803603602081101561058d57600080fd5b50356001600160a01b0316610e90565b61037f600480360360208110156105b357600080fd5b5035610eed565b61037f610ef8565b61034e600480360360408110156105d857600080fd5b506001600160a01b0381351690602001356112f1565b61037f611356565b61037f61135c565b61037f6004803603606081101561061457600080fd5b506001600160a01b03813581169160208101359091169060400135611627565b61037f6004803603602081101561064a57600080fd5b50356001600160a01b03166118d8565b61037f61195f565b6106886004803603602081101561067857600080fd5b50356001600160a01b0316611a0a565b604080519485526020850193909352838301919091526060830152519081900360800190f35b61037f600480360360208110156106c457600080fd5b5035611a9f565b61037f600480360360208110156106e157600080fd5b5035611aaa565b61037f600480360360408110156106fe57600080fd5b506001600160a01b0381358116916020013516611ab5565b61037f611ae0565b61037f6004803603602081101561073457600080fd5b50356001600160a01b0316611bcf565b61037f6004803603602081101561075a57600080fd5b50356001600160a01b0316611c80565b610439611cba565b61037f6004803603606081101561078857600080fd5b506001600160a01b03813581169160208101359160409091013516611cc9565b610439611cd6565b610439611ce5565b61037f611cf4565b61037f600480360360208110156107d657600080fd5b5035611dd0565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156108625780601f1061083757610100808354040283529160200191610862565b820191906000526020600020905b81548152906001019060200180831161084557829003601f168201915b505050505081565b3360008181526010602090815260408083206001600160a01b03871680855290835281842086905581518681529151939493909284927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a360019150505b92915050565b60006108e282611e0a565b90505b919050565b60095481565b6000805460010180825581610903610ef8565b1461094e576040805162461bcd60e51b81526020600482015260166024820152751858d8dc9d59481a5b9d195c995cdd0819985a5b195960521b604482015290519081900360640190fd5b61095783610e90565b91505b600054811461099d576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b50919050565b600e5481565b60008060006109b6611e46565b909250905060008260038111156109c957fe5b14610a055760405162461bcd60e51b81526004018080602001828103825260358152602001806149f16035913960400191505060405180910390fd5b9150505b90565b6000805460010180825581610a2333878787611ef4565b1491505b6000548114610a6a576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b509392505050565b6000610a7e8383612202565b9392505050565b6005546001600160a01b031681565b6004546000906001600160a01b03163314610abc57610ab5600a604161228c565b90506108e5565b600780546001600160a01b0319166001600160a01b03848116919091179182905561099d91166122f2565b60035481565b6000610af761474a565b6040518060200160405280610b0a61195f565b90526001600160a01b0384166000908152600f6020526040812054919250908190610b36908490612462565b90925090506000826003811115610b4957fe5b14610b5357600080fd5b949350505050565b6000610b656124b6565b905090565b600c5481565b6000805460010180825581610b83610ef8565b90508015610ba957610ba1816010811115610b9a57fe5b603061228c565b92505061095a565b610bb284612536565b925050600054811461099d576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b60085481565b600a5481565b6012546001600160a01b031681565b6001600160a01b03166000908152600f602052604090205490565b6000805460010180825581610c41610ef8565b14610c8c576040805162461bcd60e51b81526020600482015260166024820152751858d8dc9d59481a5b9d195c995cdd0819985a5b195960521b604482015290519081900360640190fd5b600c5491506000548114610cd4576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b5090565b6004546000906001600160a01b03163314610cf957610ab56001603f61228c565b60065460408051634e1647fb60e01b815290516001600160a01b0392831692851691634e1647fb916004808301926020929190829003018186803b158015610d4057600080fd5b505afa158015610d54573d6000803e3d6000fd5b505050506040513d6020811015610d6a57600080fd5b5051610dbd576040805162461bcd60e51b815260206004820152601c60248201527f6d61726b6572206d6574686f642072657475726e65642066616c736500000000604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b03858116918217909255604080519284168352602083019190915280517ff9b6a28700579d5c8fab50f0ac2dcaa52109b85c369c4f511fcc873330ab6cbb9281900390910190a160009392505050565b60006108e2826126b4565b600d5481565b600181565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156108625780601f1061083757610100808354040283529160200191610862565b6000806000610e9e846126f1565b90925090506000826003811115610eb157fe5b14610a7e5760405162461bcd60e51b81526004018080602001828103825260378152602001806148c56037913960400191505060405180910390fd5b60006108e2826127a5565b6000610f0261475d565b6007546001600160a01b03166315f24053610f1b6124b6565b600c54600d546040518463ffffffff1660e01b8152600401808481526020018381526020018281526020019350505050604080518083038186803b158015610f6257600080fd5b505afa158015610f76573d6000803e3d6000fd5b505050506040513d6040811015610f8c57600080fd5b50805160209182015160408401819052918301526601c6bf526340001015610ffb576040805162461bcd60e51b815260206004820152601c60248201527f626f72726f772072617465206973206162737572646c79206869676800000000604482015290519081900360640190fd5b60208101511561101e576110166005600283602001516127e0565b915050610a09565b611026612846565b60608201819052600a5461103a919061284a565b608083018190528282600381111561104e57fe5b600381111561105957fe5b905250600090508151600381111561106d57fe5b1461107457fe5b61109460405180602001604052808360400151815250826080015161286d565b60a08301819052828260038111156110a857fe5b60038111156110b357fe5b90525060009050815160038111156110c757fe5b146110e85761101660096006836000015160038111156110e357fe5b6127e0565b6110f88160a00151600c54612462565b60c083018190528282600381111561110c57fe5b600381111561111757fe5b905250600090508151600381111561112b57fe5b146111475761101660096001836000015160038111156110e357fe5b6111578160c00151600c546128d5565b60e083018190528282600381111561116b57fe5b600381111561117657fe5b905250600090508151600381111561118a57fe5b146111a65761101660096004836000015160038111156110e357fe5b6111c760405180602001604052806009548152508260c00151600d546128fb565b6101008301819052828260038111156111dc57fe5b60038111156111e757fe5b90525060009050815160038111156111fb57fe5b146112175761101660096005836000015160038111156110e357fe5b61122a8160a00151600b54600b546128fb565b61012083018190528282600381111561123f57fe5b600381111561124a57fe5b905250600090508151600381111561125e57fe5b1461127a5761101660096003836000015160038111156110e357fe5b606080820151600a55610120820151600b81905560e0830151600c819055610100840151600d5560c08401516040805191825260208201939093528083019190915290517f875352fb3fadeb8c0be7cbbe8ff761b308fa7033470cd0287f02f3436fd76cb9929181900390910190a1600091505090565b600080546001018082558161130833338787611ef4565b1491505b600054811461134f576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b5092915050565b600b5481565b6000806113676109a9565b60075490915060009081906001600160a01b03166315f240536113886124b6565b600c54600d546040518463ffffffff1660e01b8152600401808481526020018381526020018281526020019350505050604080518083038186803b1580156113cf57600080fd5b505afa1580156113e3573d6000803e3d6000fd5b505050506040513d60408110156113f957600080fd5b508051602090910151909250905081156114445760405162461bcd60e51b81526004018080602001828103825260318152602001806149646031913960400191505060405180910390fd5b600061144e61474a565b611468604051806020016040528087815250600e5461286d565b9092509050600082600381111561147b57fe5b146114b75760405162461bcd60e51b81526004018080602001828103825260318152602001806148fc6031913960400191505060405180910390fd5b60006114c161474a565b6114cd600c5484612957565b909250905060008260038111156114e057fe5b1461151c5760405162461bcd60e51b81526004018080602001828103825260318152602001806148406031913960400191505060405180910390fd5b600061152661474a565b6115566040518060200160405280670de0b6b3a764000081525060405180602001604052806009548152506129b6565b9092509050600082600381111561156957fe5b146115a55760405162461bcd60e51b815260040180806020018281038252603c8152602001806149b5603c913960400191505060405180910390fd5b60006115af61474a565b6115c860405180602001604052808b81525084876129f0565b909250905060008260038111156115db57fe5b146116175760405162461bcd60e51b81526004018080602001828103825260318152602001806148946031913960400191505060405180910390fd5b519a505050505050505050505090565b600080546001018082556006546040805163d02f735160e01b81523060048201523360248201526001600160a01b03888116604483015287811660648301526084820187905291518593929092169163d02f73519160a48082019260209290919082900301818787803b15801561169d57600080fd5b505af11580156116b1573d6000803e3d6000fd5b505050506040513d60208110156116c757600080fd5b5051905080156116e6576116de6003601b836127e0565b925050610a27565b856001600160a01b0316856001600160a01b0316141561170c576116de6006601c61228c565b6001600160a01b0385166000908152600f602052604081205481908190611733908861284a565b9093509150600083600381111561174657fe5b146117695761175e6009601a8560038111156110e357fe5b955050505050610a27565b6001600160a01b0389166000908152600f602052604090205461178c90886128d5565b9093509050600083600381111561179f57fe5b146117b75761175e600960198560038111156110e357fe5b6001600160a01b038089166000818152600f60209081526040808320879055938d168083529184902085905583518b815293519193600080516020614995833981519152929081900390910190a360065460408051636d35bf9160e01b81523060048201523360248201526001600160a01b038c811660448301528b81166064830152608482018b905291519190921691636d35bf919160a480830192600092919082900301818387803b15801561186e57600080fd5b505af1158015611882573d6000803e3d6000fd5b506000925061188f915050565b9550505050506000548114610a6a576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6004546000906001600160a01b031633146118f957610ab56001604561228c565b600580546001600160a01b038481166001600160a01b0319831681179093556040805191909216808252602082019390935281517fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a9929181900390910190a16000610a7e565b6000805460010180825581611972610ef8565b146119bd576040805162461bcd60e51b81526020600482015260166024820152751858d8dc9d59481a5b9d195c995cdd0819985a5b195960521b604482015290519081900360640190fd5b6119c56109a9565b91506000548114610cd4576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6001600160a01b0381166000908152600f6020526040812054819081908190818080611a35896126f1565b935090506000816003811115611a4757fe5b14611a655760095b975060009650869550859450611a989350505050565b611a6d611e46565b925090506000816003811115611a7f57fe5b14611a8b576009611a4f565b5060009650919450925090505b9193509193565b60006108e282612a3a565b60006108e282612a75565b6001600160a01b03918216600090815260106020908152604080832093909416825291909152205490565b6005546000906001600160a01b031633141580611afb575033155b15611b1357611b0c6001600061228c565b9050610a09565b60048054600580546001600160a01b038082166001600160a01b031980861682179687905590921690925560408051938316808552949092166020840152815190927ff9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc92908290030190a1600554604080516001600160a01b038085168252909216602083015280517fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a99281900390910190a160009250505090565b6004546000906001600160a01b03163314611bf057610ab56001603f61228c565b601280546001600160a01b0319166001600160a01b038481169190911791829055604080516318160ddd60e01b8152905192909116916318160ddd91600480820192602092909190829003018186803b158015611c4c57600080fd5b505afa158015611c60573d6000803e3d6000fd5b505050506040513d6020811015611c7657600080fd5b50600090506108e2565b600080611c8b610ef8565b90508015611cb157611ca9816010811115611ca257fe5b604061228c565b9150506108e5565b610a7e836122f2565b6007546001600160a01b031681565b6000610b53848484612aab565b6006546001600160a01b031681565b6004546001600160a01b031681565b600754600090819081906001600160a01b03166315f24053611d146124b6565b600c54600d546040518463ffffffff1660e01b8152600401808481526020018381526020018281526020019350505050604080518083038186803b158015611d5b57600080fd5b505afa158015611d6f573d6000803e3d6000fd5b505050506040513d6040811015611d8557600080fd5b50805160209091015190925090508115610a055760405162461bcd60e51b815260040180806020018281038252603781526020018061492d6037913960400191505060405180910390fd5b6000805460010180825581611de3610ef8565b90508015611e0157610ba1816010811115611dfa57fe5b604661228c565b610bb284612bb3565b6000805460010180825581611e1d610ef8565b90508015611e3b57610ba1816010811115611e3457fe5b603661228c565b610bb2333386612c56565b600080600e5460001415611e61575050600854600090611ef0565b6000611e6b6124b6565b90506000611e7761474a565b6000611e8884600c54600d546130a9565b935090506000816003811115611e9a57fe5b14611eae57945060009350611ef092505050565b611eba83600e546130e7565b925090506000816003811115611ecc57fe5b14611ee057945060009350611ef092505050565b5051600094509250611ef0915050565b9091565b600654604080516317b9b84b60e31b81523060048201526001600160a01b03868116602483015285811660448301526064820185905291516000938493169163bdcdc25891608480830192602092919082900301818787803b158015611f5957600080fd5b505af1158015611f6d573d6000803e3d6000fd5b505050506040513d6020811015611f8357600080fd5b505190508015611fa257611f9a6003604a836127e0565b915050610b53565b836001600160a01b0316856001600160a01b03161415611fc857611f9a6002604b61228c565b60006001600160a01b038781169087161415611fe7575060001961200f565b506001600160a01b038086166000908152601060209081526040808320938a16835292905220545b60008060008061201f858961284a565b9094509250600084600381111561203257fe5b14612050576120436009604b61228c565b9650505050505050610b53565b6001600160a01b038a166000908152600f6020526040902054612073908961284a565b9094509150600084600381111561208657fe5b14612097576120436009604c61228c565b6001600160a01b0389166000908152600f60205260409020546120ba90896128d5565b909450905060008460038111156120cd57fe5b146120de576120436009604d61228c565b6001600160a01b03808b166000908152600f6020526040808220859055918b168152208190556000198514612136576001600160a01b03808b166000908152601060209081526040808320938f168352929052208390555b886001600160a01b03168a6001600160a01b03166000805160206149958339815191528a6040518082815260200191505060405180910390a36006546040805163352b4a3f60e11b81523060048201526001600160a01b038d811660248301528c81166044830152606482018c905291519190921691636a56947e91608480830192600092919082900301818387803b1580156121d257600080fd5b505af11580156121e6573d6000803e3d6000fd5b50600092506121f3915050565b9b9a5050505050505050505050565b6000805460010180825581612215610ef8565b9050801561223b5761223381601081111561222c57fe5b603561228c565b92505061130c565b612246338686612c56565b925050600054811461134f576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b60007f45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa08360108111156122bb57fe5b83604d8111156122c757fe5b604080519283526020830191909152600082820152519081900360600190a1826010811115610a7e57fe5b60045460009081906001600160a01b0316331461231557611ca96001604261228c565b61231d612846565b600a541461233157611ca9600a604161228c565b600760009054906101000a90046001600160a01b03169050826001600160a01b0316632191f92a6040518163ffffffff1660e01b815260040160206040518083038186803b15801561238257600080fd5b505afa158015612396573d6000803e3d6000fd5b505050506040513d60208110156123ac57600080fd5b50516123ff576040805162461bcd60e51b815260206004820152601c60248201527f6d61726b6572206d6574686f642072657475726e65642066616c736500000000604482015290519081900360640190fd5b600780546001600160a01b0319166001600160a01b03858116918217909255604080519284168352602083019190915280517fedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f9269281900390910190a16000610a7e565b600080600061246f61474a565b612479868661286d565b9092509050600082600381111561248c57fe5b1461249d57509150600090506124af565b60006124a882613197565b9350935050505b9250929050565b601254604080516370a0823160e01b815230600482015290516000926001600160a01b03169182916370a0823191602480820192602092909190829003018186803b15801561250457600080fd5b505afa158015612518573d6000803e3d6000fd5b505050506040513d602081101561252e57600080fd5b505191505090565b600454600090819081906001600160a01b031633146125645761255b6001603161228c565b925050506108e5565b61256c612846565b600a54146125805761255b600a603361228c565b836125896124b6565b101561259b5761255b600e603261228c565b600d548411156125b15761255b6002603461228c565b50600d54838103908111156125f75760405162461bcd60e51b8152600401808060200182810382526024815260200180614a5a6024913960400191505060405180910390fd5b600d819055600454612612906001600160a01b0316856131a6565b9150600082601081111561262257fe5b1461265e5760405162461bcd60e51b81526004018080602001828103825260238152602001806148716023913960400191505060405180910390fd5b600454604080516001600160a01b03909216825260208201869052818101839052517f3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e9181900360600190a16000949350505050565b60008054600101808255816126c7610ef8565b905080156126e557610ba18160108111156126de57fe5b602761228c565b610bb233600086613262565b6001600160a01b0381166000908152601160205260408120805482918291829182916127285750600094508493506127a092505050565b6127388160000154600b5461376b565b9094509250600084600381111561274b57fe5b146127605750919350600092506127a0915050565b61276e8382600101546137aa565b9094509150600084600381111561278157fe5b146127965750919350600092506127a0915050565b5060009450925050505b915091565b60008054600101808255816127b8610ef8565b905080156127d657610ba18160108111156127cf57fe5b601e61228c565b610bb233856137d5565b60007f45b96fe442630264581b197e84bbada861235052c5a1aadfff9ea4e40a969aa084601081111561280f57fe5b84604d81111561281b57fe5b604080519283526020830191909152818101859052519081900360600190a1836010811115610b5357fe5b4390565b6000808383116128615750600090508183036124af565b506003905060006124af565b600061287761474a565b60008061288886600001518661376b565b9092509050600082600381111561289b57fe5b146128ba575060408051602081019091526000815290925090506124af565b60408051602081019091529081526000969095509350505050565b6000808383018481106128ed576000925090506124af565b5060029150600090506124af565b600080600061290861474a565b612912878761286d565b9092509050600082600381111561292557fe5b14612936575091506000905061294f565b61294861294282613197565b866128d5565b9350935050505b935093915050565b600061296161474a565b600080612976670de0b6b3a76400008761376b565b9092509050600082600381111561298957fe5b146129a8575060408051602081019091526000815290925090506124af565b6124a88186600001516130e7565b60006129c061474a565b6000806129d58660000151866000015161284a565b60408051602081019091529081529097909650945050505050565b60006129fa61474a565b6000612a0461474a565b612a0e8787613c1d565b90925090506000826003811115612a2157fe5b14612a3057909250905061294f565b6129488186613c1d565b6000805460010180825581612a4d610ef8565b90508015612a6b57610ba1816010811115612a6457fe5b600861228c565b610bb23385613d06565b6000805460010180825581612a88610ef8565b90508015612a9f57610ba18160108111156126de57fe5b610bb233856000613262565b6000805460010180825581612abe610ef8565b90508015612adc576116de816010811115612ad557fe5b600f61228c565b836001600160a01b031663a6afed956040518163ffffffff1660e01b8152600401602060405180830381600087803b158015612b1757600080fd5b505af1158015612b2b573d6000803e3d6000fd5b505050506040513d6020811015612b4157600080fd5b505190508015612b61576116de816010811115612b5a57fe5b601061228c565b612b6d3387878761406c565b9250506000548114610a6a576040805162461bcd60e51b815260206004820152600a6024820152691c994b595b9d195c995960b21b604482015290519081900360640190fd5b6004546000906001600160a01b03163314612bd457610ab56001604761228c565b612bdc612846565b600a5414612bf057610ab5600a604861228c565b670de0b6b3a7640000821115612c0c57610ab56002604961228c565b6009805490839055604080518281526020810185905281517faaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f821460929181900390910190a16000610a7e565b60065460408051631200453160e11b81523060048201526001600160a01b0386811660248301528581166044830152606482018590529151600093849316916324008a6291608480830192602092919082900301818787803b158015612cbb57600080fd5b505af1158015612ccf573d6000803e3d6000fd5b505050506040513d6020811015612ce557600080fd5b505190508015612d0457612cfc60036038836127e0565b915050610a7e565b612d0c612846565b600a5414612d2057612cfc600a603961228c565b612d286147b7565b6001600160a01b0385166000908152601160205260409020600101546060820152612d52856126f1565b6080830181905260208301826003811115612d6957fe5b6003811115612d7457fe5b9052506000905081602001516003811115612d8b57fe5b14612db057612da760096037836020015160038111156110e357fe5b92505050610a7e565b600019841415612dc95760808101516040820152612dd1565b604081018490525b612ddf868260400151614548565b81906010811115612dec57fe5b90816010811115612df957fe5b905250600081516010811115612e0b57fe5b14612e1d578051612da790603c61228c565b612e2f8160800151826040015161284a565b60a0830181905260208301826003811115612e4657fe5b6003811115612e5157fe5b9052506000905081602001516003811115612e6857fe5b14612e8457612da76009603a836020015160038111156110e357fe5b612e94600c54826040015161284a565b60c0830181905260208301826003811115612eab57fe5b6003811115612eb657fe5b9052506000905081602001516003811115612ecd57fe5b14612ee957612da76009603b836020015160038111156110e357fe5b612ef786826040015161467c565b81906010811115612f0457fe5b90816010811115612f1157fe5b905250600081516010811115612f2357fe5b14612f75576040805162461bcd60e51b815260206004820152601f60248201527f726570617920626f72726f77207472616e7366657220696e206661696c656400604482015290519081900360640190fd5b60a080820180516001600160a01b03808916600081815260116020908152604091829020948555600b5460019095019490945560c0870151600c8190558188015195518251948e16855294840192909252828101949094526060820192909252608081019190915290517f1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a1929181900390910190a160065460408083015160608401518251631ededc9160e01b81523060048201526001600160a01b038b811660248301528a81166044830152606482019390935260848101919091529151921691631ededc919160a48082019260009290919082900301818387803b15801561307e57600080fd5b505af1158015613092573d6000803e3d6000fd5b506000925061309f915050565b9695505050505050565b6000806000806130b987876128d5565b909250905060008260038111156130cc57fe5b146130dd575091506000905061294f565b612948818661284a565b60006130f161474a565b60008061310686670de0b6b3a764000061376b565b9092509050600082600381111561311957fe5b14613138575060408051602081019091526000815290925090506124af565b60008061314583886137aa565b9092509050600082600381111561315857fe5b1461317a575060408051602081019091526000815290945092506124af915050565b604080516020810190915290815260009890975095505050505050565b51670de0b6b3a7640000900490565b6012546040805163a9059cbb60e01b81526001600160a01b03858116600483015260248201859052915160009392909216918391839163a9059cbb91604480820192869290919082900301818387803b15801561320257600080fd5b505af1158015613216573d6000803e3d6000fd5b505050503d60008114613230576020811461323a57600080fd5b6000199150613246565b60206000803e60005191505b5080613257576010925050506108d1565b506000949350505050565b600082158061326f575081155b6132aa5760405162461bcd60e51b8152600401808060200182810382526034815260200180614a266034913960400191505060405180910390fd5b6132b26147b7565b6132ba611e46565b60408301819052602083018260038111156132d157fe5b60038111156132dc57fe5b90525060009050816020015160038111156132f357fe5b1461330f57612cfc6009602b836020015160038111156110e357fe5b83156133905760608101849052604080516020810182529082015181526133369085612462565b608083018190526020830182600381111561334d57fe5b600381111561335857fe5b905250600090508160200151600381111561336f57fe5b1461338b57612cfc60096029836020015160038111156110e357fe5b613409565b6133ac8360405180602001604052808460400151815250614733565b60608301819052602083018260038111156133c357fe5b60038111156133ce57fe5b90525060009050816020015160038111156133e557fe5b1461340157612cfc6009602a836020015160038111156110e357fe5b608081018390525b60065460608201516040805163eabe7d9160e01b81523060048201526001600160a01b03898116602483015260448201939093529051600093929092169163eabe7d919160648082019260209290919082900301818787803b15801561346e57600080fd5b505af1158015613482573d6000803e3d6000fd5b505050506040513d602081101561349857600080fd5b5051905080156134af57612da760036028836127e0565b6134b7612846565b600a54146134cb57612da7600a602c61228c565b6134db600e54836060015161284a565b60a08401819052602084018260038111156134f257fe5b60038111156134fd57fe5b905250600090508260200151600381111561351457fe5b1461353057612da76009602e846020015160038111156110e357fe5b6001600160a01b0386166000908152600f60205260409020546060830151613558919061284a565b60c084018190526020840182600381111561356f57fe5b600381111561357a57fe5b905250600090508260200151600381111561359157fe5b146135ad57612da76009602d846020015160038111156110e357fe5b81608001516135ba6124b6565b10156135cc57612da7600e602f61228c565b6135da8683608001516131a6565b829060108111156135e757fe5b908160108111156135f457fe5b90525060008251601081111561360657fe5b14613658576040805162461bcd60e51b815260206004820152601a60248201527f72656465656d207472616e73666572206f7574206661696c6564000000000000604482015290519081900360640190fd5b60a0820151600e5560c08201516001600160a01b0387166000818152600f6020908152604091829020939093556060850151815190815290513093600080516020614995833981519152928290030190a36080820151606080840151604080516001600160a01b038b168152602081019490945283810191909152517fe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a9299281900390910190a160065460808301516060840151604080516351dff98960e01b81523060048201526001600160a01b038b81166024830152604482019490945260648101929092525191909216916351dff98991608480830192600092919082900301818387803b15801561307e57600080fd5b6000808361377e575060009050806124af565b8383028385828161378b57fe5b041461379f575060029150600090506124af565b6000925090506124af565b600080826137be57506001905060006124af565b60008385816137c957fe5b04915091509250929050565b60065460408051634ef4c3e160e01b81523060048201526001600160a01b03858116602483015260448201859052915160009384931691634ef4c3e191606480830192602092919082900301818787803b15801561383257600080fd5b505af1158015613846573d6000803e3d6000fd5b505050506040513d602081101561385c57600080fd5b50519050801561387b576138736003601f836127e0565b9150506108d1565b613883612846565b600a541461389757613873600a602261228c565b61389f6147f5565b6138a98585614548565b819060108111156138b657fe5b908160108111156138c357fe5b9052506000815160108111156138d557fe5b146138f05780516138e790602661228c565b925050506108d1565b6138f8611e46565b604083018190526020830182600381111561390f57fe5b600381111561391a57fe5b905250600090508160200151600381111561393157fe5b1461394d576138e760096021836020015160038111156110e357fe5b6139698460405180602001604052808460400151815250614733565b606083018190526020830182600381111561398057fe5b600381111561398b57fe5b90525060009050816020015160038111156139a257fe5b146139be576138e760096020836020015160038111156110e357fe5b6139ce600e5482606001516128d5565b60808301819052602083018260038111156139e557fe5b60038111156139f057fe5b9052506000905081602001516003811115613a0757fe5b14613a23576138e760096024836020015160038111156110e357fe5b6001600160a01b0385166000908152600f60205260409020546060820151613a4b91906128d5565b60a0830181905260208301826003811115613a6257fe5b6003811115613a6d57fe5b9052506000905081602001516003811115613a8457fe5b14613aa0576138e760096023836020015160038111156110e357fe5b613aaa858561467c565b81906010811115613ab757fe5b90816010811115613ac457fe5b905250600081516010811115613ad657fe5b14613ae85780516138e790602561228c565b6080810151600e5560a08101516001600160a01b0386166000818152600f602090815260409182902093909355606080850151825193845293830188905282820193909352517f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f929181900390910190a1606081015160408051918252516001600160a01b0387169130916000805160206149958339815191529181900360200190a36006546060820151604080516341c728b960e01b81523060048201526001600160a01b038981166024830152604482018990526064820193909352905191909216916341c728b991608480830192600092919082900301818387803b158015613bf357600080fd5b505af1158015613c07573d6000803e3d6000fd5b5060009250613c14915050565b95945050505050565b6000613c2761474a565b600080613c3c8660000151866000015161376b565b90925090506000826003811115613c4f57fe5b14613c6e575060408051602081019091526000815290925090506124af565b600080613c836706f05b59d3b20000846128d5565b90925090506000826003811115613c9657fe5b14613cb8575060408051602081019091526000815290945092506124af915050565b600080613ccd83670de0b6b3a76400006137aa565b90925090506000826003811115613ce057fe5b14613ce757fe5b604080516020810190915290815260009a909950975050505050505050565b6006546040805163368f515360e21b81523060048201526001600160a01b0385811660248301526044820185905291516000938493169163da3d454c91606480830192602092919082900301818787803b158015613d6357600080fd5b505af1158015613d77573d6000803e3d6000fd5b505050506040513d6020811015613d8d57600080fd5b505190508015613da4576138736003600e836127e0565b613dac612846565b600a5414613dbf57613873600a8061228c565b82613dc86124b6565b1015613dda57613873600e600961228c565b613de261480f565b613deb856126f1565b6040830181905260208301826003811115613e0257fe5b6003811115613e0d57fe5b9052506000905081602001516003811115613e2457fe5b14613e40576138e760096007836020015160038111156110e357fe5b613e4e8160400151856128d5565b6060830181905260208301826003811115613e6557fe5b6003811115613e7057fe5b9052506000905081602001516003811115613e8757fe5b14613ea3576138e76009600c836020015160038111156110e357fe5b613eaf600c54856128d5565b6080830181905260208301826003811115613ec657fe5b6003811115613ed157fe5b9052506000905081602001516003811115613ee857fe5b14613f04576138e76009600b836020015160038111156110e357fe5b613f0e85856131a6565b81906010811115613f1b57fe5b90816010811115613f2857fe5b905250600081516010811115613f3a57fe5b14613f8c576040805162461bcd60e51b815260206004820152601a60248201527f626f72726f77207472616e73666572206f7574206661696c6564000000000000604482015290519081900360640190fd5b606080820180516001600160a01b038816600081815260116020908152604091829020938455600b54600190940193909355608080870151600c819055945182519384529383018a9052828201939093529381019290925291517f13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab80929181900390910190a160065460408051635c77860560e01b81523060048201526001600160a01b0388811660248301526044820188905291519190921691635c77860591606480830192600092919082900301818387803b158015613bf357600080fd5b60065460408051632fe3f38f60e11b81523060048201526001600160a01b0384811660248301528781166044830152868116606483015260848201869052915160009384931691635fc7e71e9160a480830192602092919082900301818787803b1580156140d957600080fd5b505af11580156140ed573d6000803e3d6000fd5b505050506040513d602081101561410357600080fd5b50519050801561411a57611f9a60036012836127e0565b614122612846565b600a541461413657611f9a600a601661228c565b61413e612846565b836001600160a01b0316636c540baf6040518163ffffffff1660e01b815260040160206040518083038186803b15801561417757600080fd5b505afa15801561418b573d6000803e3d6000fd5b505050506040513d60208110156141a157600080fd5b5051146141b457611f9a600a601161228c565b856001600160a01b0316856001600160a01b031614156141da57611f9a6006601761228c565b836141eb57611f9a6007601561228c565b60001984141561420157611f9a6007601461228c565b6006546040805163c488847b60e01b81523060048201526001600160a01b038681166024830152604482018890528251600094859492169263c488847b926064808301939192829003018186803b15801561425b57600080fd5b505afa15801561426f573d6000803e3d6000fd5b505050506040513d604081101561428557600080fd5b508051602090910151909250905081156142b0576142a660046013846127e0565b9350505050610b53565b846001600160a01b03166370a08231886040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561430657600080fd5b505afa15801561431a573d6000803e3d6000fd5b505050506040513d602081101561433057600080fd5b5051811115614345576142a6600d601d61228c565b6000614352898989612c56565b9050801561437b5761437081601081111561436957fe5b601861228c565b945050505050610b53565b6040805163b2a02ff160e01b81526001600160a01b038b811660048301528a8116602483015260448201859052915160009289169163b2a02ff191606480830192602092919082900301818787803b1580156143d657600080fd5b505af11580156143ea573d6000803e3d6000fd5b505050506040513d602081101561440057600080fd5b50519050801561444e576040805162461bcd60e51b81526020600482015260146024820152731d1bdad95b881cd95a5e9d5c994819985a5b195960621b604482015290519081900360640190fd5b604080516001600160a01b03808d168252808c1660208301528183018b9052891660608201526080810185905290517f298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb529181900360a00190a1600654604080516347ef3b3b60e01b81523060048201526001600160a01b038a811660248301528d811660448301528c81166064830152608482018c905260a48201879052915191909216916347ef3b3b9160c480830192600092919082900301818387803b15801561451957600080fd5b505af115801561452d573d6000803e3d6000fd5b506000925061453a915050565b9a9950505050505050505050565b60125460408051636eb1769f60e11b81526001600160a01b038581166004830152306024830152915160009392909216918491839163dd62ed3e91604480820192602092909190829003018186803b1580156145a357600080fd5b505afa1580156145b7573d6000803e3d6000fd5b505050506040513d60208110156145cd57600080fd5b505110156145df57600c9150506108d1565b82816001600160a01b03166370a08231866040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b15801561463657600080fd5b505afa15801561464a573d6000803e3d6000fd5b505050506040513d602081101561466057600080fd5b5051101561467257600d9150506108d1565b5060009392505050565b601254604080516323b872dd60e01b81526001600160a01b0385811660048301523060248301526044820185905291516000939290921691839183916323b872dd91606480820192869290919082900301818387803b1580156146de57600080fd5b505af11580156146f2573d6000803e3d6000fd5b505050503d6000811461470c576020811461471657600080fd5b6000199150614722565b60206000803e60005191505b508061325757600f925050506108d1565b600080600061474061474a565b6124798686612957565b6040518060200160405280600081525090565b60408051610140810190915280600081526020016000815260200160008152602001600081526020016000815260200161479561474a565b8152602001600081526020016000815260200160008152602001600081525090565b6040805160e0810190915280600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6040805160c0810190915280600081526020016000614795565b6040805160a08101909152806000815260200160008152602001600081526020016000815260200160008152509056fe737570706c7952617465506572426c6f636b3a2063616c63756c6174696e6720626f72726f7773506572206661696c6564726564756365207265736572766573207472616e73666572206f7574206661696c6564737570706c7952617465506572426c6f636b3a2063616c63756c6174696e6720737570706c7952617465206661696c6564626f72726f7742616c616e636553746f7265643a20626f72726f7742616c616e636553746f726564496e7465726e616c206661696c6564737570706c7952617465506572426c6f636b3a2063616c63756c6174696e6720756e6465726c79696e67206661696c6564626f72726f7752617465506572426c6f636b3a20696e746572657374526174654d6f64656c2e626f72726f7752617465206661696c6564737570706c7952617465506572426c6f636b3a2063616c63756c6174696e6720626f72726f7752617465206661696c6564ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef737570706c7952617465506572426c6f636b3a2063616c63756c6174696e67206f6e654d696e757352657365727665466163746f72206661696c656465786368616e67655261746553746f7265643a2065786368616e67655261746553746f726564496e7465726e616c206661696c65646f6e65206f662072656465656d546f6b656e73496e206f722072656465656d416d6f756e74496e206d757374206265207a65726f72656475636520726573657276657320756e657870656374656420756e646572666c6f77a265627a7a72315820fc72ba1d0bac5e2c5fc9ee9b1e9834b086c1c6bee659793e3b109b308e9e83e864736f6c63430005100032
Deployed Bytecode Sourcemap
90423:8522:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;90423:8522:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22441:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;22441:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31540:237;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;31540:237:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;92588:121;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;92588:121:0;;:::i;:::-;;;;;;;;;;;;;;;;23714:33;;;:::i;37248:224::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37248:224:0;-1:-1:-1;;;;;37248:224:0;;:::i;24350:26::-;;;:::i;40093:261::-;;;:::i;30875:195::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;30875:195:0;;;;;;;;;;;;;;;;;:::i;92997:161::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;92997:161:0;;;;;;;;:::i;23142:35::-;;;:::i;:::-;;;;-1:-1:-1;;;;;23142:35:0;;;;;;;;;;;;;;86693:477;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;86693:477:0;-1:-1:-1;;;;;86693:477:0;;:::i;22637:20::-;;;:::i;32808:319::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32808:319:0;-1:-1:-1;;;;;32808:319:0;;:::i;41930:88::-;;;:::i;24114:24::-;;;:::i;82774:571::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;82774:571:0;;:::i;23578:39::-;;;:::i;23837:30::-;;;:::i;90525:25::-;;;:::i;32440:112::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32440:112:0;-1:-1:-1;;;;;32440:112:0;;:::i;36765:192::-;;;:::i;79592:725::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;79592:725:0;-1:-1:-1;;;;;79592:725:0;;:::i;91866:133::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;91866:133:0;;:::i;24244:25::-;;;:::i;22329:36::-;;;:::i;22537:20::-;;;:::i;37681:287::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37681:287:0;-1:-1:-1;;;;;37681:287:0;;:::i;90941:105::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;90941:105:0;;:::i;42645:3646::-;;;:::i;30383:185::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;30383:185:0;;;;;;;;:::i;23979:23::-;;;:::i;35121:1498::-;;;:::i;75035:2117::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;75035:2117:0;;;;;;;;;;;;;;;;;:::i;77702:647::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;77702:647:0;-1:-1:-1;;;;;77702:647:0;;:::i;39645:198::-;;;:::i;33472:703::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;33472:703:0;-1:-1:-1;;;;;33472:703:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;92267:113;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;92267:113:0;;:::i;91397:::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;91397:113:0;;:::i;32107:143::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;32107:143:0;;;;;;;;;;:::i;78627:742::-;;;:::i;98475:466::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;98475:466:0;-1:-1:-1;;;;;98475:466:0;;:::i;86052:633::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;86052:633:0;-1:-1:-1;;;;;86052:633:0;;:::i;23407:42::-;;;:::i;93640:200::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;93640:200:0;;;;;;;;;;;;;;;;;:::i;23268:37::-;;;:::i;23031:28::-;;;:::i;34603:342::-;;;:::i;80620:607::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;80620:607:0;;:::i;22441:18::-;;;;;;;;;;;;;;;-1:-1:-1;;22441:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;31540:237::-;31639:10;31608:4;31660:23;;;:18;:23;;;;;;;;-1:-1:-1;;;;;31660:32:0;;;;;;;;;;;:41;;;31717:30;;;;;;;31608:4;;31639:10;31660:32;;31639:10;;31717:30;;;;;;;;;;;31765:4;31758:11;;;31540:237;;;;;:::o;92588:121::-;92645:4;92669:32;92689:11;92669:19;:32::i;:::-;92662:39;;92588:121;;;;:::o;23714:33::-;;;;:::o;37248:224::-;37326:4;21777:18;;21794:1;21777:18;;;;37326:4;37351:16;:14;:16::i;:::-;:40;37343:75;;;;;-1:-1:-1;;;37343:75:0;;;;;;;;;;;;-1:-1:-1;;;37343:75:0;;;;;;;;;;;;;;;37436:28;37456:7;37436:19;:28::i;:::-;37429:35;;21853:1;21889:13;;21873:12;:29;21865:52;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;;;;37248:224;;;;:::o;24350:26::-;;;;:::o;40093:261::-;40144:4;40162:13;40177:11;40192:28;:26;:28::i;:::-;40161:59;;-1:-1:-1;40161:59:0;-1:-1:-1;40246:18:0;40239:3;:25;;;;;;;;;40231:91;;;;-1:-1:-1;;;40231:91:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40340:6;-1:-1:-1;;40093:261:0;;:::o;30875:195::-;30970:4;21777:18;;21794:1;21777:18;;;;30970:4;30994:44;31009:10;31021:3;31026;31031:6;30994:14;:44::i;:::-;:68;30987:75;;21853:1;21889:13;;21873:12;:29;21865:52;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;;;;30875:195;;;;;;:::o;92997:161::-;93078:4;93102:48;93128:8;93138:11;93102:25;:48::i;:::-;93095:55;92997:161;-1:-1:-1;;;92997:161:0:o;23142:35::-;;;-1:-1:-1;;;;;23142:35:0;;:::o;86693:477::-;86820:5;;86785:4;;-1:-1:-1;;;;;86820:5:0;86806:10;:19;86802:136;;86849:77;86854:22;86878:47;86849:4;:77::i;:::-;86842:84;;;;86802:136;87066:17;:40;;-1:-1:-1;;;;;;87066:40:0;-1:-1:-1;;;;;87066:40:0;;;;;;;;;;;87117:45;;87144:17;87117:26;:45::i;22637:20::-;;;;:::o;32808:319::-;32870:4;32887:23;;:::i;:::-;32913:38;;;;;;;;32928:21;:19;:21::i;:::-;32913:38;;-1:-1:-1;;;;;33027:20:0;;32963:14;33027:20;;;:13;:20;;;;;;32887:64;;-1:-1:-1;32963:14:0;;;32995:53;;32887:64;;32995:17;:53::i;:::-;32962:86;;-1:-1:-1;32962:86:0;-1:-1:-1;33075:18:0;33067:4;:26;;;;;;;;;33059:35;;;;;;33112:7;32808:319;-1:-1:-1;;;;32808:319:0:o;41930:88::-;41972:4;41996:14;:12;:14::i;:::-;41989:21;;41930:88;:::o;24114:24::-;;;;:::o;82774:571::-;82849:4;21777:18;;21794:1;21777:18;;;;82849:4;82879:16;:14;:16::i;:::-;82866:29;-1:-1:-1;82910:29:0;;82906:277;;83101:70;83112:5;83106:12;;;;;;;;83120:50;83101:4;:70::i;:::-;83094:77;;;;;82906:277;83303:34;83324:12;83303:20;:34::i;:::-;83296:41;;;21889:13;;21873:12;:29;21865:52;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;;;23578:39;;;;:::o;23837:30::-;;;;:::o;90525:25::-;;;-1:-1:-1;;;;;90525:25:0;;:::o;32440:112::-;-1:-1:-1;;;;;32524:20:0;32497:7;32524:20;;;:13;:20;;;;;;;32440:112::o;36765:192::-;36827:4;21777:18;;21794:1;21777:18;;;;36827:4;36852:16;:14;:16::i;:::-;:40;36844:75;;;;;-1:-1:-1;;;36844:75:0;;;;;;;;;;;;-1:-1:-1;;;36844:75:0;;;;;;;;;;;;;;;36937:12;;36930:19;;21889:13;;21873:12;:29;21865:52;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;;;;36765:192;;:::o;79592:725::-;79736:5;;79667:4;;-1:-1:-1;;;;;79736:5:0;79722:10;:19;79718:123;;79765:64;79770:18;79790:38;79765:4;:64::i;79718:123::-;79889:10;;79993:28;;;-1:-1:-1;;;79993:28:0;;;;-1:-1:-1;;;;;79889:10:0;;;;79993:26;;;;;:28;;;;;;;;;;;;;;:26;:28;;;5:2:-1;;;;30:1;27;20:12;5:2;79993:28:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;79993:28:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;79993:28:0;79985:69;;;;;-1:-1:-1;;;79985:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;80120:10;:26;;-1:-1:-1;;;;;;80120:26:0;-1:-1:-1;;;;;80120:26:0;;;;;;;;;80226:43;;;;;;;;;;;;;;;;;;;;;;;;;;;80294:14;80282:27;79592:725;-1:-1:-1;;;79592:725:0:o;91866:133::-;91929:4;91953:38;91978:12;91953:24;:38::i;24244:25::-;;;;:::o;22329:36::-;22361:4;22329:36;:::o;22537:20::-;;;;;;;;;;;;;;-1:-1:-1;;22537:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37681:287;37748:4;37766:13;37781:11;37796:36;37824:7;37796:27;:36::i;:::-;37765:67;;-1:-1:-1;37765:67:0;-1:-1:-1;37858:18:0;37851:3;:25;;;;;;;;;37843:93;;;;-1:-1:-1;;;37843:93:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90941:105;90990:4;91014:24;91027:10;91014:12;:24::i;42645:3646::-;42687:4;42704:35;;:::i;:::-;42854:17;;-1:-1:-1;;;;;42854:17:0;:31;42886:14;:12;:14::i;:::-;42902:12;;42916:13;;42854:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;42854:76:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;42854:76:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;42854:76:0;;;;;;;;42827:23;;42810:120;;;42811:14;;;42810:120;22800:4;-1:-1:-1;42951:48:0;42943:89;;;;;-1:-1:-1;;;42943:89:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;43047:14;;;;:19;43043:178;;43090:119;43101:31;43134:58;43194:4;:14;;;43090:10;:119::i;:::-;43083:126;;;;;43043:178;43308:16;:14;:16::i;:::-;43282:23;;;:42;;;43481:18;;43448:52;;43282:42;43448:7;:52::i;:::-;43429:15;;;43414:86;;;43415:4;43414:86;;;;;;;;;;;;;;;;;;;-1:-1:-1;43534:18:0;;-1:-1:-1;43518:12:0;;:34;;;;;;;;;43511:42;;;;44152:68;44162:40;;;;;;;;44177:4;:23;;;44162:40;;;44204:4;:15;;;44152:9;:68::i;:::-;44123:25;;;44108:112;;;44109:4;44108:112;;;;;;;;;;;;;;;;;;;-1:-1:-1;44251:18:0;;-1:-1:-1;44235:12:0;;:34;;;;;;;;;44231:193;;44293:119;44304:16;44322:69;44398:4;:12;;;44393:18;;;;;;;;44293:10;:119::i;44231:193::-;44479:58;44497:4;:25;;;44524:12;;44479:17;:58::i;:::-;44451:24;;;44436:101;;;44437:4;44436:101;;;;;;;;;;;;;;;;;;;-1:-1:-1;44568:18:0;;-1:-1:-1;44552:12:0;;:34;;;;;;;;;44548:191;;44610:117;44621:16;44639:67;44713:4;:12;;;44708:18;;;;;;;44548:191;44790:47;44798:4;:24;;;44824:12;;44790:7;:47::i;:::-;44766:20;;;44751:86;;;44752:4;44751:86;;;;;;;;;;;;;;;;;;;-1:-1:-1;44868:18:0;;-1:-1:-1;44852:12:0;;:34;;;;;;;;;44848:188;;44910:114;44921:16;44939:64;45010:4;:12;;;45005:18;;;;;;;44848:188;45088:105;45113:38;;;;;;;;45128:21;;45113:38;;;45153:4;:24;;;45179:13;;45088:24;:105::i;:::-;45063:21;;;45048:145;;;45049:4;45048:145;;;;;;;;;;;;;;;;;;;-1:-1:-1;45224:18:0;;-1:-1:-1;45208:12:0;;:34;;;;;;;;;45204:189;;45266:115;45277:16;45295:65;45367:4;:12;;;45362:18;;;;;;;45204:189;45443:77;45468:4;:25;;;45495:11;;45508;;45443:24;:77::i;:::-;45420:19;;;45405:115;;;45406:4;45405:115;;;;;;;;;;;;;;;;;;;-1:-1:-1;45551:18:0;;-1:-1:-1;45535:12:0;;:34;;;;;;;;;45531:187;;45593:113;45604:16;45622:63;45692:4;:12;;;45687:18;;;;;;;45531:187;45942:23;;;;;45921:18;:44;45990:19;;;;45976:11;:33;;;46035:20;;;;46020:12;:35;;;46082:21;;;;46066:13;:37;46183:24;;;;46168:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46268:14;46256:27;;;42645:3646;:::o;30383:185::-;30461:4;21777:18;;21794:1;21777:18;;;;30461:4;30485:51;30500:10;30512;30524:3;30529:6;30485:14;:51::i;:::-;:75;30478:82;;21853:1;21889:13;;21873:12;:29;21865:52;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;;;;30383:185;;;;;:::o;23979:23::-;;;;:::o;35121:1498::-;35174:4;35425:25;35453:20;:18;:20::i;:::-;35523:17;;35425:48;;-1:-1:-1;35487:7:0;;;;-1:-1:-1;;;;;35523:17:0;:31;35555:14;:12;:14::i;:::-;35571:12;;35585:13;;35523:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;35523:76:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;35523:76:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;35523:76:0;;;;;;;;;-1:-1:-1;35523:76:0;-1:-1:-1;35618:7:0;;35610:69;;;;-1:-1:-1;;;35610:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35708:12;35722:21;;:::i;:::-;35747:61;35757:37;;;;;;;;35772:20;35757:37;;;35796:11;;35747:9;:61::i;:::-;35707:101;;-1:-1:-1;35707:101:0;-1:-1:-1;35833:18:0;35827:2;:24;;;;;;;;;35819:86;;;;-1:-1:-1;;;35819:86:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35919:12;35933:21;;:::i;:::-;35958:40;35973:12;;35987:10;35958:14;:40::i;:::-;35918:80;;-1:-1:-1;35918:80:0;-1:-1:-1;36023:18:0;36017:2;:24;;;;;;;;;36009:86;;;;-1:-1:-1;;;36009:86:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36109:12;36123:32;;:::i;:::-;36159:76;36166:28;;;;;;;;11426:4;36166:28;;;36196:38;;;;;;;;36211:21;;36196:38;;;36159:6;:76::i;:::-;36108:127;;-1:-1:-1;36108:127:0;-1:-1:-1;36260:18:0;36254:2;:24;;;;;;;;;36246:97;;;;-1:-1:-1;;;36246:97:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36357:12;36371:21;;:::i;:::-;36396:79;36404:35;;;;;;;;36419:18;36404:35;;;36441:21;36464:10;36396:7;:79::i;:::-;36356:119;;-1:-1:-1;36356:119:0;-1:-1:-1;36500:18:0;36494:2;:24;;;;;;;;;36486:86;;;;-1:-1:-1;;;36486:86:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36592:19;;-1:-1:-1;;;;;;;;;;;35121:1498:0;:::o;75035:2117::-;75137:4;21777:18;;21794:1;21777:18;;;;75210:10;;:85;;;-1:-1:-1;;;75210:85:0;;75242:4;75210:85;;;;75249:10;75210:85;;;;-1:-1:-1;;;;;75210:85:0;;;;;;;;;;;;;;;;;;;;;;75137:4;;75210:10;;;;;:23;;:85;;;;;;;;;;;;;;;75137:4;75210:10;:85;;;5:2:-1;;;;30:1;27;20:12;5:2;75210:85:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;75210:85:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;75210:85:0;;-1:-1:-1;75310:12:0;;75306:149;;75346:97;75357:26;75385:48;75435:7;75346:10;:97::i;:::-;75339:104;;;;;75306:149;75528:10;-1:-1:-1;;;;;75516:22:0;:8;-1:-1:-1;;;;;75516:22:0;;75512:146;;;75562:84;75567:26;75595:50;75562:4;:84::i;75512:146::-;-1:-1:-1;;;;;76082:23:0;;75670:17;76082:23;;;:13;:23;;;;;;75670:17;;;;76074:45;;76107:11;76074:7;:45::i;:::-;76043:76;;-1:-1:-1;76043:76:0;-1:-1:-1;76145:18:0;76134:7;:29;;;;;;;;;76130:166;;76187:97;76198:16;76216:52;76275:7;76270:13;;;;;;;76187:97;76180:104;;;;;;;;76130:166;-1:-1:-1;;;;;76349:25:0;;;;;;:13;:25;;;;;;76341:47;;76376:11;76341:7;:47::i;:::-;76308:80;;-1:-1:-1;76308:80:0;-1:-1:-1;76414:18:0;76403:7;:29;;;;;;;;;76399:166;;76456:97;76467:16;76485:52;76544:7;76539:13;;;;;;;76399:166;-1:-1:-1;;;;;76768:23:0;;;;;;;:13;:23;;;;;;;;:43;;;76822:25;;;;;;;;;;:47;;;76924:43;;;;;;;76822:25;;-1:-1:-1;;;;;;;;;;;76924:43:0;;;;;;;;;;77020:10;;:84;;;-1:-1:-1;;;77020:84:0;;77051:4;77020:84;;;;77058:10;77020:84;;;;-1:-1:-1;;;;;77020:84:0;;;;;;;;;;;;;;;;;;;;;;:10;;;;;:22;;:84;;;;;:10;;:84;;;;;;;:10;;:84;;;5:2:-1;;;;30:1;27;20:12;5:2;77020:84:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;77129:14:0;;-1:-1:-1;77124:20:0;;-1:-1:-1;;77124:20:0;;77117:27;;;;;;21889:13;;21873:12;:29;21865:52;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;;;77702:647;77847:5;;77779:4;;-1:-1:-1;;;;;77847:5:0;77833:10;:19;77829:126;;77876:67;77881:18;77901:41;77876:4;:67::i;77829:126::-;78054:12;;;-1:-1:-1;;;;;78137:30:0;;;-1:-1:-1;;;;;;78137:30:0;;;;;;;78252:49;;;78054:12;;;;78252:49;;;;;;;;;;;;;;;;;;;;;;;78326:14;78321:20;;39645:198;39705:4;21777:18;;21794:1;21777:18;;;;39705:4;39730:16;:14;:16::i;:::-;:40;39722:75;;;;;-1:-1:-1;;;39722:75:0;;;;;;;;;;;;-1:-1:-1;;;39722:75:0;;;;;;;;;;;;;;;39815:20;:18;:20::i;:::-;39808:27;;21889:13;;21873:12;:29;21865:52;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;;;33472:703;-1:-1:-1;;;;;33596:22:0;;33540:4;33596:22;;;:13;:22;;;;;;33540:4;;;;;;;;;33747:36;33610:7;33747:27;:36::i;:::-;33723:60;-1:-1:-1;33723:60:0;-1:-1:-1;33806:18:0;33798:4;:26;;;;;;;;;33794:99;;33854:16;33849:22;33841:40;-1:-1:-1;33873:1:0;;-1:-1:-1;33873:1:0;;-1:-1:-1;33873:1:0;;-1:-1:-1;33841:40:0;;-1:-1:-1;;;;33841:40:0;33794:99;33936:28;:26;:28::i;:::-;33905:59;-1:-1:-1;33905:59:0;-1:-1:-1;33987:18:0;33979:4;:26;;;;;;;;;33975:99;;34035:16;34030:22;;33975:99;-1:-1:-1;34099:14:0;;-1:-1:-1;34116:13:0;;-1:-1:-1;34131:13:0;-1:-1:-1;34131:13:0;-1:-1:-1;33472:703:0;;;;;;:::o;92267:113::-;92320:4;92344:28;92359:12;92344:14;:28::i;91397:113::-;91450:4;91474:28;91489:12;91474:14;:28::i;32107:143::-;-1:-1:-1;;;;;32208:25:0;;;32181:7;32208:25;;;:18;:25;;;;;;;;:34;;;;;;;;;;;;;32107:143::o;78627:742::-;78777:12;;78669:4;;-1:-1:-1;;;;;78777:12:0;78763:10;:26;;;:54;;-1:-1:-1;78793:10:0;:24;78763:54;78759:164;;;78841:70;78846:18;78866:44;78841:4;:70::i;:::-;78834:77;;;;78759:164;79007:5;;;79049:12;;;-1:-1:-1;;;;;79049:12:0;;;-1:-1:-1;;;;;;79122:20:0;;;;;;;;;79191:25;;;;;;79234;;;79007:5;;;79234:25;;;79253:5;;;;79234:25;;;;;;79049:12;;79234:25;;;;;;;;;79308:12;;79275:46;;;-1:-1:-1;;;;;79275:46:0;;;;;79308:12;;;79275:46;;;;;;;;;;;;;;;;79346:14;79334:27;;;;78627:742;:::o;98475:466::-;98607:5;;98538:4;;-1:-1:-1;;;;;98607:5:0;98593:10;:19;98589:123;;98636:64;98641:18;98661:38;98636:4;:64::i;98589:123::-;98777:10;:26;;-1:-1:-1;;;;;;98777:26:0;-1:-1:-1;;;;;98777:26:0;;;;;;;;;;;98814:40;;;-1:-1:-1;;;98814:40:0;;;;98829:10;;;;;98814:38;;:40;;;;;;;;;;;;;;;98829:10;98814:40;;;5:2:-1;;;;30:1;27;20:12;5:2;98814:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;98814:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;98918:14:0;;-1:-1:-1;98913:20:0;;86052:633;86139:4;86156:10;86169:16;:14;:16::i;:::-;86156:29;-1:-1:-1;86200:29:0;;86196:298;;86404:78;86415:5;86409:12;;;;;;;;86423:58;86404:4;:78::i;:::-;86397:85;;;;;86196:298;86629:48;86656:20;86629:26;:48::i;23407:42::-;;;-1:-1:-1;;;;;23407:42:0;;:::o;93640:200::-;93744:4;93768:64;93792:8;93802:11;93815:16;93768:23;:64::i;23268:37::-;;;-1:-1:-1;;;;;23268:37:0;;:::o;23031:28::-;;;-1:-1:-1;;;;;23031:28:0;;:::o;34603:342::-;34717:17;;34656:4;;;;;;-1:-1:-1;;;;;34717:17:0;:31;34749:14;:12;:14::i;:::-;34765:12;;34779:13;;34717:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;34717:76:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;34717:76:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;34717:76:0;;;;;;;;;-1:-1:-1;34717:76:0;-1:-1:-1;34812:14:0;;34804:82;;;;-1:-1:-1;;;34804:82:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80620:607;80709:4;21777:18;;21794:1;21777:18;;;;80709:4;80739:16;:14;:16::i;:::-;80726:29;-1:-1:-1;80770:29:0;;80766:286;;80967:73;80978:5;80972:12;;;;;;;;80986:53;80967:4;:73::i;80766:286::-;81171:48;81194:24;81171:22;:48::i;63435:561::-;63513:4;21777:18;;21794:1;21777:18;;;;63513:4;63543:16;:14;:16::i;:::-;63530:29;-1:-1:-1;63574:29:0;;63570:255;;63746:67;63757:5;63751:12;;;;;;;;63765:47;63746:4;:67::i;63570:255::-;63935:53;63952:10;63964;63976:11;63935:16;:53::i;40618:1142::-;40679:9;40690:4;40711:11;;40726:1;40711:16;40707:1046;;;-1:-1:-1;;40904:27:0;;40884:18;;40876:56;;40707:1046;41114:14;41131;:12;:14::i;:::-;41114:31;;41160:33;41208:23;;:::i;:::-;41246:17;41322:54;41337:9;41348:12;;41362:13;;41322:14;:54::i;:::-;41280:96;-1:-1:-1;41280:96:0;-1:-1:-1;41406:18:0;41395:7;:29;;;;;;;;;41391:89;;41453:7;-1:-1:-1;41462:1:0;;-1:-1:-1;41445:19:0;;-1:-1:-1;;;41445:19:0;41391:89;41522:49;41529:28;41559:11;;41522:6;:49::i;:::-;41496:75;-1:-1:-1;41496:75:0;-1:-1:-1;41601:18:0;41590:7;:29;;;;;;;;;41586:89;;41648:7;-1:-1:-1;41657:1:0;;-1:-1:-1;41640:19:0;;-1:-1:-1;;;41640:19:0;41586:89;-1:-1:-1;41719:21:0;41699:18;;-1:-1:-1;41719:21:0;-1:-1:-1;41691:50:0;;-1:-1:-1;;41691:50:0;40707:1046;40618:1142;;:::o;27827:2295::-;28001:10;;:59;;;-1:-1:-1;;;28001:59:0;;28036:4;28001:59;;;;-1:-1:-1;;;;;28001:59:0;;;;;;;;;;;;;;;;;;;;;;27925:4;;;;28001:10;;:26;;:59;;;;;;;;;;;;;;27925:4;28001:10;:59;;;5:2:-1;;;;30:1;27;20:12;5:2;28001:59:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;28001:59:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;28001:59:0;;-1:-1:-1;28075:12:0;;28071:142;;28111:90;28122:26;28150:41;28193:7;28111:10;:90::i;:::-;28104:97;;;;;28071:142;28279:3;-1:-1:-1;;;;;28272:10:0;:3;-1:-1:-1;;;;;28272:10:0;;28268:105;;;28306:55;28311:15;28328:32;28306:4;:55::i;28268:105::-;28450:22;-1:-1:-1;;;;;28491:14:0;;;;;;;28487:160;;;-1:-1:-1;;;28487:160:0;;;-1:-1:-1;;;;;;28603:23:0;;;;;;;:18;:23;;;;;;;;:32;;;;;;;;;;28487:160;28725:17;28753;28781;28809;28865:34;28873:17;28892:6;28865:7;:34::i;:::-;28839:60;;-1:-1:-1;28839:60:0;-1:-1:-1;28925:18:0;28914:7;:29;;;;;;;;;28910:125;;28967:56;28972:16;28990:32;28967:4;:56::i;:::-;28960:63;;;;;;;;;;28910:125;-1:-1:-1;;;;;29081:18:0;;;;;;:13;:18;;;;;;29073:35;;29101:6;29073:7;:35::i;:::-;29047:61;;-1:-1:-1;29047:61:0;-1:-1:-1;29134:18:0;29123:7;:29;;;;;;;;;29119:124;;29176:55;29181:16;29199:31;29176:4;:55::i;29119:124::-;-1:-1:-1;;;;;29289:18:0;;;;;;:13;:18;;;;;;29281:35;;29309:6;29281:7;:35::i;:::-;29255:61;;-1:-1:-1;29255:61:0;-1:-1:-1;29342:18:0;29331:7;:29;;;;;;;;;29327:122;;29384:53;29389:16;29407:29;29384:4;:53::i;29327:122::-;-1:-1:-1;;;;;29582:18:0;;;;;;;:13;:18;;;;;;:33;;;29626:18;;;;;;:33;;;-1:-1:-1;;29732:29:0;;29728:109;;-1:-1:-1;;;;;29778:23:0;;;;;;;:18;:23;;;;;;;;:32;;;;;;;;;:47;;;29728:109;29908:3;-1:-1:-1;;;;;29894:26:0;29903:3;-1:-1:-1;;;;;29894:26:0;-1:-1:-1;;;;;;;;;;;29913:6:0;29894:26;;;;;;;;;;;;;;;;;;30016:10;;:58;;;-1:-1:-1;;;30016:58:0;;30050:4;30016:58;;;;-1:-1:-1;;;;;30016:58:0;;;;;;;;;;;;;;;;;;;;;;:10;;;;;:25;;:58;;;;;:10;;:58;;;;;;;:10;;:58;;;5:2:-1;;;;30:1;27;20:12;5:2;30016:58:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;30099:14:0;;-1:-1:-1;30094:20:0;;-1:-1:-1;;30094:20:0;;30087:27;27827:2295;-1:-1:-1;;;;;;;;;;;27827:2295:0:o;64284:583::-;64386:4;21777:18;;21794:1;21777:18;;;;64386:4;64416:16;:14;:16::i;:::-;64403:29;-1:-1:-1;64447:29:0;;64443:255;;64619:67;64630:5;64624:12;;;;;;;;64638:47;64619:4;:67::i;:::-;64612:74;;;;;64443:255;64808:51;64825:10;64837:8;64847:11;64808:16;:51::i;:::-;64801:58;;;21889:13;;21873:12;:29;21865:52;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;;;6832:153;6893:4;6915:33;6928:3;6923:9;;;;;;;;6939:4;6934:10;;;;;;;;6915:33;;;;;;;;;;;;;6946:1;6915:33;;;;;;;;;;;;;6973:3;6968:9;;;;;;;87504:1352;87804:5;;87598:4;;;;-1:-1:-1;;;;;87804:5:0;87790:10;:19;87786:132;;87833:73;87838:18;87858:47;87833:4;:73::i;87786:132::-;88044:16;:14;:16::i;:::-;88022:18;;:38;88018:208;;88137:77;88142:22;88166:47;88137:4;:77::i;88018:208::-;88320:17;;;;;;;;;-1:-1:-1;;;;;88320:17:0;88297:40;;88440:20;-1:-1:-1;;;;;88440:40:0;;:42;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;88440:42:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;88440:42:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;88440:42:0;88432:83;;;;;-1:-1:-1;;;88432:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;88592:17;:40;;-1:-1:-1;;;;;;88592:40:0;-1:-1:-1;;;;;88592:40:0;;;;;;;;;88738:70;;;;;;;;;;;;;;;;;;;;;;;;;;;88833:14;88828:20;;12929:313;13006:9;13017:4;13035:13;13050:18;;:::i;:::-;13072:20;13082:1;13085:6;13072:9;:20::i;:::-;13034:58;;-1:-1:-1;13034:58:0;-1:-1:-1;13114:18:0;13107:3;:25;;;;;;;;;13103:73;;-1:-1:-1;13157:3:0;-1:-1:-1;13162:1:0;;-1:-1:-1;13149:15:0;;13103:73;13196:18;13216:17;13225:7;13216:8;:17::i;:::-;13188:46;;;;;;12929:313;;;;;;:::o;94108:169::-;94210:10;;94239:30;;;-1:-1:-1;;;94239:30:0;;94263:4;94239:30;;;;;;94155:4;;-1:-1:-1;;;;;94210:10:0;;;;94239:15;;:30;;;;;;;;;;;;;;;94210:10;94239:30;;;5:2:-1;;;;30:1;27;20:12;5:2;94239:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;94239:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;94239:30:0;;-1:-1:-1;;94108:169:0;:::o;83622:2061::-;83853:5;;83689:4;;;;;;-1:-1:-1;;;;;83853:5:0;83839:10;:19;83835:124;;83882:65;83887:18;83907:39;83882:4;:65::i;:::-;83875:72;;;;;;83835:124;84085:16;:14;:16::i;:::-;84063:18;;:38;84059:200;;84178:69;84183:22;84207:39;84178:4;:69::i;84059:200::-;84365:12;84348:14;:12;:14::i;:::-;:29;84344:152;;;84401:83;84406:29;84437:46;84401:4;:83::i;84344:152::-;84745:13;;84730:12;:28;84726:129;;;84782:61;84787:15;84804:38;84782:4;:61::i;84726:129::-;-1:-1:-1;85007:13:0;;:28;;;;85143:33;;;85135:82;;;;-1:-1:-1;;;85135:82:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85291:13;:32;;;85410:5;;85396:34;;-1:-1:-1;;;;;85410:5:0;85417:12;85396:13;:34::i;:::-;85390:40;-1:-1:-1;85509:14:0;85502:3;:21;;;;;;;;;85494:69;;;;-1:-1:-1;;;85494:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85597:5;;85581:54;;;-1:-1:-1;;;;;85597:5:0;;;85581:54;;;;;;;;;;;;;;;;;;;;;;;;85660:14;85648:27;83622:2061;-1:-1:-1;;;;83622:2061:0:o;52696:537::-;52780:4;21777:18;;21794:1;21777:18;;;;52780:4;52810:16;:14;:16::i;:::-;52797:29;-1:-1:-1;52841:29:0;;52837:249;;53013:61;53024:5;53018:12;;;;;;;;53032:41;53013:4;:61::i;52837:249::-;53185:40;53197:10;53209:1;53212:12;53185:11;:40::i;38222:1268::-;-1:-1:-1;;;;;38571:23:0;;38299:9;38571:23;;;:14;:23;;;;;38800:24;;38299:9;;;;;;;;38796:92;;-1:-1:-1;38854:18:0;;-1:-1:-1;38854:18:0;;-1:-1:-1;38846:30:0;;-1:-1:-1;;;38846:30:0;38796:92;39115:46;39123:14;:24;;;39149:11;;39115:7;:46::i;:::-;39082:79;;-1:-1:-1;39082:79:0;-1:-1:-1;39187:18:0;39176:7;:29;;;;;;;;;39172:81;;-1:-1:-1;39230:7:0;;-1:-1:-1;39239:1:0;;-1:-1:-1;39222:19:0;;-1:-1:-1;;39222:19:0;39172:81;39285:58;39293:19;39314:14;:28;;;39285:7;:58::i;:::-;39265:78;;-1:-1:-1;39265:78:0;-1:-1:-1;39369:18:0;39358:7;:29;;;;;;;;;39354:81;;-1:-1:-1;39412:7:0;;-1:-1:-1;39421:1:0;;-1:-1:-1;39404:19:0;;-1:-1:-1;;39404:19:0;39354:81;-1:-1:-1;39455:18:0;;-1:-1:-1;39475:6:0;-1:-1:-1;;;38222:1268:0;;;;:::o;46649:536::-;46719:4;21777:18;;21794:1;21777:18;;;;46719:4;46749:16;:14;:16::i;:::-;46736:29;-1:-1:-1;46780:29:0;;46776:247;;46952:59;46963:5;46957:12;;;;;;;;46971:39;46952:4;:59::i;46776:247::-;47144:33;47154:10;47166;47144:9;:33::i;6993:187::-;7078:4;7100:43;7113:3;7108:9;;;;;;;;7124:4;7119:10;;;;;;;;7100:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;7168:3;7163:9;;;;;;;34334:93;34407:12;34334:93;:::o;1442:236::-;1498:9;1509:4;1535:1;1530;:6;1526:145;;-1:-1:-1;1561:18:0;;-1:-1:-1;1581:5:0;;;1553:34;;1526:145;-1:-1:-1;1628:27:0;;-1:-1:-1;1657:1:0;1620:39;;12568:353;12637:9;12648:10;;:::i;:::-;12672:14;12688:19;12711:27;12719:1;:10;;;12731:6;12711:7;:27::i;:::-;12671:67;;-1:-1:-1;12671:67:0;-1:-1:-1;12761:18:0;12753:4;:26;;;;;;;;;12749:92;;-1:-1:-1;12810:18:0;;;;;;;;;-1:-1:-1;12810:18:0;;12804:4;;-1:-1:-1;12810:18:0;-1:-1:-1;12796:33:0;;12749:92;12881:31;;;;;;;;;;;;-1:-1:-1;;12881:31:0;;-1:-1:-1;12568:353:0;-1:-1:-1;;;;12568:353:0:o;1763:258::-;1819:9;;1856:5;;;1878:6;;;1874:140;;1909:18;;-1:-1:-1;1929:1:0;-1:-1:-1;1901:30:0;;1874:140;-1:-1:-1;1972:26:0;;-1:-1:-1;2000:1:0;;-1:-1:-1;1964:38:0;;13250:328;13347:9;13358:4;13376:13;13391:18;;:::i;:::-;13413:20;13423:1;13426:6;13413:9;:20::i;:::-;13375:58;;-1:-1:-1;13375:58:0;-1:-1:-1;13455:18:0;13448:3;:25;;;;;;;;;13444:73;;-1:-1:-1;13498:3:0;-1:-1:-1;13503:1:0;;-1:-1:-1;13490:15:0;;13444:73;13536:34;13544:17;13553:7;13544:8;:17::i;:::-;13563:6;13536:7;:34::i;:::-;13529:41;;;;;;13250:328;;;;;;;:::o;13951:620::-;14031:9;14042:10;;:::i;:::-;14349:14;14365;14383:25;11426:4;14401:6;14383:7;:25::i;:::-;14348:60;;-1:-1:-1;14348:60:0;-1:-1:-1;14431:18:0;14423:4;:26;;;;;;;;;14419:92;;-1:-1:-1;14480:18:0;;;;;;;;;-1:-1:-1;14480:18:0;;14474:4;;-1:-1:-1;14480:18:0;-1:-1:-1;14466:33:0;;14419:92;14528:35;14535:9;14546:7;:16;;;14528:6;:35::i;12335:225::-;12402:9;12413:10;;:::i;:::-;12437:15;12454:11;12469:31;12477:1;:10;;;12489:1;:10;;;12469:7;:31::i;:::-;12528:23;;;;;;;;;;;;12436:64;;12528:23;;-1:-1:-1;12335:225:0;-1:-1:-1;;;;;12335:225:0:o;16226:284::-;16308:9;16319:10;;:::i;:::-;16343:13;16358;;:::i;:::-;16375:12;16382:1;16385;16375:6;:12::i;:::-;16342:45;;-1:-1:-1;16342:45:0;-1:-1:-1;16409:18:0;16402:3;:25;;;;;;;;;16398:74;;16452:3;;-1:-1:-1;16457:2:0;-1:-1:-1;16444:16:0;;16398:74;16489:13;16496:2;16500:1;16489:6;:13::i;59092:524::-;59166:4;21777:18;;21794:1;21777:18;;;;59166:4;59196:16;:14;:16::i;:::-;59183:29;-1:-1:-1;59227:29:0;;59223:249;;59399:61;59410:5;59404:12;;;;;;;;59418:41;59399:4;:61::i;59223:249::-;59571:37;59583:10;59595:12;59571:11;:37::i;51813:527::-;51887:4;21777:18;;21794:1;21777:18;;;;51887:4;51917:16;:14;:16::i;:::-;51904:29;-1:-1:-1;51948:29:0;;51944:249;;52120:61;52131:5;52125:12;;;;;;;51944:249;52292:40;52304:10;52316:12;52330:1;52292:11;:40::i;69762:969::-;69887:4;21777:18;;21794:1;21777:18;;;;69887:4;69917:16;:14;:16::i;:::-;69904:29;-1:-1:-1;69948:29:0;;69944:264;;70125:71;70136:5;70130:12;;;;;;;;70144:51;70125:4;:71::i;69944:264::-;70228:16;-1:-1:-1;;;;;70228:31:0;;:33;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;70228:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;70228:33:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;70228:33:0;;-1:-1:-1;70276:29:0;;70272:268;;70453:75;70464:5;70458:12;;;;;;;;70472:55;70453:4;:75::i;70272:268::-;70650:73;70671:10;70683:8;70693:11;70706:16;70650:20;:73::i;:::-;70643:80;;;21889:13;;21873:12;:29;21865:52;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;-1:-1:-1;;;21865:52:0;;;;;;;;;;;;;;81495:1026;81645:5;;81576:4;;-1:-1:-1;;;;;81645:5:0;81631:10;:19;81627:127;;81674:68;81679:18;81699:42;81674:4;:68::i;81627:127::-;81861:16;:14;:16::i;:::-;81839:18;;:38;81835:203;;81954:72;81959:22;81983:42;81954:4;:72::i;81835:203::-;22952:4;82110:24;:51;82106:157;;;82185:66;82190:15;82207:43;82185:4;:66::i;82106:157::-;82307:21;;;82339:48;;;;82405:68;;;;;;;;;;;;;;;;;;;;;;;;;82498:14;82493:20;;65494:3786;65668:10;;:74;;;-1:-1:-1;;;65668:74:0;;65706:4;65668:74;;;;-1:-1:-1;;;;;65668:74:0;;;;;;;;;;;;;;;;;;;;;;65589:4;;;;65668:10;;:29;;:74;;;;;;;;;;;;;;65589:4;65668:10;:74;;;5:2:-1;;;;30:1;27;20:12;5:2;65668:74:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;65668:74:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;65668:74:0;;-1:-1:-1;65757:12:0;;65753:146;;65793:94;65804:26;65832:45;65879:7;65793:10;:94::i;:::-;65786:101;;;;;65753:146;66009:16;:14;:16::i;:::-;65987:18;;:38;65983:148;;66049:70;66054:22;66078:40;66049:4;:70::i;65983:148::-;66143:32;;:::i;:::-;-1:-1:-1;;;;;66289:24:0;;;;;;:14;:24;;;;;:38;;;66268:18;;;:59;66458:37;66304:8;66458:27;:37::i;:::-;66435:19;;;66420:75;;;66421:12;;;66420:75;;;;;;;;;;;;;;;;;;;-1:-1:-1;66526:18:0;;-1:-1:-1;66510:4:0;:12;;;:34;;;;;;;;;66506:187;;66568:113;66579:16;66597:63;66667:4;:12;;;66662:18;;;;;;;66568:113;66561:120;;;;;;66506:187;-1:-1:-1;;66775:11:0;:23;66771:157;;;66834:19;;;;66815:16;;;:38;66771:157;;;66886:16;;;:30;;;66771:157;66996:40;67012:5;67019:4;:16;;;66996:15;:40::i;:::-;66985:4;;:51;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67063:14:0;67051:8;;:26;;;;;;;;;67047:131;;67106:8;;67101:65;;67116:49;67101:4;:65::i;67047:131::-;67467:46;67475:4;:19;;;67496:4;:16;;;67467:7;:46::i;:::-;67441:22;;;67426:87;;;67427:12;;;67426:87;;;;;;;;;;;;;;;;;;;-1:-1:-1;67544:18:0;;-1:-1:-1;67528:4:0;:12;;;:34;;;;;;;;;67524:194;;67586:120;67597:16;67615:70;67692:4;:12;;;67687:18;;;;;;;67524:194;67769:39;67777:12;;67791:4;:16;;;67769:7;:39::i;:::-;67745:20;;;67730:78;;;67731:12;;;67730:78;;;;;;;;;;;;;;;;;;;-1:-1:-1;67839:18:0;;-1:-1:-1;67823:4:0;:12;;;:34;;;;;;;;;67819:185;;67881:111;67892:16;67910:61;67978:4;:12;;;67973:18;;;;;;;67819:185;68559:37;68572:5;68579:4;:16;;;68559:12;:37::i;:::-;68548:4;;:48;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68627:14:0;68615:8;;:26;;;;;;;;;68607:70;;;;;-1:-1:-1;;;68607:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;68797:22;;;;;;-1:-1:-1;;;;;68760:24:0;;;;;;;:14;:24;;;;;;;;;:59;;;68871:11;;68830:38;;;;:52;;;;68908:20;;;;68893:12;:35;;;69018:16;;;;69036:22;;68989:92;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69134:10;;69195:16;;;;;69213:18;;;;69134:98;;-1:-1:-1;;;69134:98:0;;69171:4;69134:98;;;;-1:-1:-1;;;;;69134:98:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:10;;;:28;;:98;;;;;:10;;:98;;;;;;;;:10;;:98;;;5:2:-1;;;;30:1;27;20:12;5:2;69134:98:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;69257:14:0;;-1:-1:-1;69252:20:0;;-1:-1:-1;;69252:20:0;;69245:27;65494:3786;-1:-1:-1;;;;;;65494:3786:0:o;2090:271::-;2161:9;2172:4;2190:14;2206:8;2218:13;2226:1;2229;2218:7;:13::i;:::-;2189:42;;-1:-1:-1;2189:42:0;-1:-1:-1;2256:18:0;2248:4;:26;;;;;;;;;2244:75;;-1:-1:-1;2299:4:0;-1:-1:-1;2305:1:0;;-1:-1:-1;2291:16:0;;2244:75;2338:15;2346:3;2351:1;2338:7;:15::i;11579:515::-;11640:9;11651:10;;:::i;:::-;11675:14;11691:20;11715:22;11723:3;11426:4;11715:7;:22::i;:::-;11674:63;;-1:-1:-1;11674:63:0;-1:-1:-1;11760:18:0;11752:4;:26;;;;;;;;;11748:92;;-1:-1:-1;11809:18:0;;;;;;;;;-1:-1:-1;11809:18:0;;11803:4;;-1:-1:-1;11809:18:0;-1:-1:-1;11795:33:0;;11748:92;11853:14;11869:13;11886:31;11894:15;11911:5;11886:7;:31::i;:::-;11852:65;;-1:-1:-1;11852:65:0;-1:-1:-1;11940:18:0;11932:4;:26;;;;;;;;;11928:92;;-1:-1:-1;11989:18:0;;;;;;;;;-1:-1:-1;11989:18:0;;11983:4;;-1:-1:-1;11989:18:0;-1:-1:-1;11975:33:0;;-1:-1:-1;;11975:33:0;11928:92;12060:25;;;;;;;;;;;;-1:-1:-1;;12060:25:0;;-1:-1:-1;11579:515:0;-1:-1:-1;;;;;;11579:515:0:o;16672:213::-;16854:12;11426:4;16854:23;;;16672:213::o;97413:1050::-;97565:10;;97611:26;;;-1:-1:-1;;;97611:26:0;;-1:-1:-1;;;;;97611:26:0;;;;;;;;;;;;;;;97487:5;;97565:10;;;;;97487:5;;97565:10;;97611:14;;:26;;;;;97487:5;;97611:26;;;;;;;;97487:5;97565:10;97611:26;;;5:2:-1;;;;30:1;27;20:12;5:2;97611:26:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;97611:26:0;;;;97746:16;97785:1;97780:150;;;;97953:2;97948:217;;;;98300:1;98297;98290:12;97780:150;-1:-1:-1;;97874:6:0;-1:-1:-1;97780:150:0;;97948:217;98050:2;98047:1;98044;98029:24;98091:1;98085:8;98075:18;;97739:582;;98349:6;98344:78;;98379:31;98372:38;;;;;;98344:78;-1:-1:-1;98441:14:0;;97413:1050;-1:-1:-1;;;;97413:1050:0:o;54096:4728::-;54203:4;54228:19;;;:42;;-1:-1:-1;54251:19:0;;54228:42;54220:107;;;;-1:-1:-1;;;54220:107:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54340:27;;:::i;:::-;54484:28;:26;:28::i;:::-;54455:25;;;54440:72;;;54441:12;;;54440:72;;;;;;;;;;;;;;;;;;;-1:-1:-1;54543:18:0;;-1:-1:-1;54527:4:0;:12;;;:34;;;;;;;;;54523:168;;54585:94;54596:16;54614:44;54665:4;:12;;;54660:18;;;;;;;54523:168;54745:18;;54741:1290;;55021:17;;;:34;;;55126:42;;;;;;;;55141:25;;;;55126:42;;55108:77;;55041:14;55108:17;:77::i;:::-;55087:17;;;55072:113;;;55073:12;;;55072:113;;;;;;;;;;;;;;;;;;;-1:-1:-1;55220:18:0;;-1:-1:-1;55204:4:0;:12;;;:34;;;;;;;;;55200:185;;55266:103;55277:16;55295:53;55355:4;:12;;;55350:18;;;;;;;55200:185;54741:1290;;;55687:82;55710:14;55726:42;;;;;;;;55741:4;:25;;;55726:42;;;55687:22;:82::i;:::-;55666:17;;;55651:118;;;55652:12;;;55651:118;;;;;;;;;;;;;;;;;;;-1:-1:-1;55804:18:0;;-1:-1:-1;55788:4:0;:12;;;:34;;;;;;;;;55784:185;;55850:103;55861:16;55879:53;55939:4;:12;;;55934:18;;;;;;;55784:185;55985:17;;;:34;;;54741:1290;56100:10;;56150:17;;;;56100:68;;;-1:-1:-1;;;56100:68:0;;56133:4;56100:68;;;;-1:-1:-1;;;;;56100:68:0;;;;;;;;;;;;;;;;56085:12;;56100:10;;;;;:24;;:68;;;;;;;;;;;;;;;56085:12;56100:10;:68;;;5:2:-1;;;;30:1;27;20:12;5:2;56100:68:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;56100:68:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;56100:68:0;;-1:-1:-1;56183:12:0;;56179:140;;56219:88;56230:26;56258:39;56299:7;56219:10;:88::i;56179:140::-;56429:16;:14;:16::i;:::-;56407:18;;:38;56403:142;;56469:64;56474:22;56498:34;56469:4;:64::i;56403:142::-;56840:39;56848:11;;56861:4;:17;;;56840:7;:39::i;:::-;56817:19;;;56802:77;;;56803:12;;;56802:77;;;;;;;;;;;;;;;;;;;-1:-1:-1;56910:18:0;;-1:-1:-1;56894:4:0;:12;;;:34;;;;;;;;;56890:178;;56952:104;56963:16;56981:54;57042:4;:12;;;57037:18;;;;;;;56890:178;-1:-1:-1;;;;;57128:23:0;;;;;;:13;:23;;;;;;57153:17;;;;57120:51;;57128:23;57120:7;:51::i;:::-;57095:21;;;57080:91;;;57081:12;;;57080:91;;;;;;;;;;;;;;;;;;;-1:-1:-1;57202:18:0;;-1:-1:-1;57186:4:0;:12;;;:34;;;;;;;;;57182:181;;57244:107;57255:16;57273:57;57337:4;:12;;;57332:18;;;;;;;57182:181;57461:4;:17;;;57444:14;:12;:14::i;:::-;:34;57440:155;;;57502:81;57507:29;57538:44;57502:4;:81::i;57440:155::-;58149:42;58163:8;58173:4;:17;;;58149:13;:42::i;:::-;58138:4;;:53;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58222:14:0;58210:8;;:26;;;;;;;;;58202:65;;;;;-1:-1:-1;;;58202:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;58360:19;;;;58346:11;:33;58416:21;;;;-1:-1:-1;;;;;58390:23:0;;;;;;:13;:23;;;;;;;;;:47;;;;58549:17;;;;58515:52;;;;;;;58542:4;;-1:-1:-1;;;;;;;;;;;58515:52:0;;;;;;;58600:17;;;;58619;;;;;58583:54;;;-1:-1:-1;;;;;58583:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58690:10;;58739:17;;;;58758;;;;58690:86;;;-1:-1:-1;;;58690:86:0;;58722:4;58690:86;;;;-1:-1:-1;;;;;58690:86:0;;;;;;;;;;;;;;;;;;;;;;:10;;;;;:23;;:86;;;;;:10;;:86;;;;;;;:10;;:86;;;5:2:-1;;;;30:1;27;20:12;654:343:0;710:9;;742:6;738:69;;-1:-1:-1;773:18:0;;-1:-1:-1;773:18:0;765:30;;738:69;828:5;;;832:1;828;:5;:1;850:5;;;;;:10;846:144;;-1:-1:-1;885:26:0;;-1:-1:-1;913:1:0;;-1:-1:-1;877:38:0;;846:144;956:18;;-1:-1:-1;976:1:0;-1:-1:-1;948:30:0;;1092:215;1148:9;;1180:6;1176:77;;-1:-1:-1;1211:26:0;;-1:-1:-1;1239:1:0;1203:38;;1176:77;1273:18;1297:1;1293;:5;;;;;;1265:34;;;;1092:215;;;;;:::o;47827:3635::-;47969:10;;:57;;;-1:-1:-1;;;47969:57:0;;48000:4;47969:57;;;;-1:-1:-1;;;;;47969:57:0;;;;;;;;;;;;;;;47897:4;;;;47969:10;;:22;;:57;;;;;;;;;;;;;;47897:4;47969:10;:57;;;5:2:-1;;;;30:1;27;20:12;5:2;47969:57:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;47969:57:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;47969:57:0;;-1:-1:-1;48041:12:0;;48037:138;;48077:86;48088:26;48116:37;48155:7;48077:10;:86::i;:::-;48070:93;;;;;48037:138;48285:16;:14;:16::i;:::-;48263:18;;:38;48259:140;;48325:62;48330:22;48354:32;48325:4;:62::i;48259:140::-;48411:25;;:::i;:::-;48505:35;48521:6;48529:10;48505:15;:35::i;:::-;48494:4;;:46;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48567:14:0;48555:8;;:26;;;;;;;;;48551:123;;48610:8;;48605:57;;48620:41;48605:4;:57::i;:::-;48598:64;;;;;;48551:123;48902:28;:26;:28::i;:::-;48873:25;;;48858:72;;;48859:12;;;48858:72;;;;;;;;;;;;;;;;;;;-1:-1:-1;48961:18:0;;-1:-1:-1;48945:4:0;:12;;;:34;;;;;;;;;48941:166;;49003:92;49014:16;49032:42;49081:4;:12;;;49076:18;;;;;;;48941:166;49153:78;49176:10;49188:42;;;;;;;;49203:4;:25;;;49188:42;;;49153:22;:78::i;:::-;49134:15;;;49119:112;;;49120:12;;;49119:112;;;;;;;;;;;;;;;;;;;-1:-1:-1;49262:18:0;;-1:-1:-1;49246:4:0;:12;;;:34;;;;;;;;;49242:168;;49304:94;49315:16;49333:44;49384:4;:12;;;49379:18;;;;;;;49242:168;49713:37;49721:11;;49734:4;:15;;;49713:7;:37::i;:::-;49690:19;;;49675:75;;;49676:12;;;49675:75;;;;;;;;;;;;;;;;;;;-1:-1:-1;49781:18:0;;-1:-1:-1;49765:4:0;:12;;;:34;;;;;;;;;49761:176;;49823:102;49834:16;49852:52;49911:4;:12;;;49906:18;;;;;;;49761:176;-1:-1:-1;;;;;49997:21:0;;;;;;:13;:21;;;;;;50020:15;;;;49989:47;;49997:21;49989:7;:47::i;:::-;49964:21;;;49949:87;;;49950:12;;;49949:87;;;;;;;;;;;;;;;;;;;-1:-1:-1;50067:18:0;;-1:-1:-1;50051:4:0;:12;;;:34;;;;;;;;;50047:179;;50109:105;50120:16;50138:55;50200:4;:12;;;50195:18;;;;;;;50047:179;50780:32;50793:6;50801:10;50780:12;:32::i;:::-;50769:4;;:43;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50839:14:0;50827:8;;:26;;;;;;;;;50823:117;;50882:8;;50877:51;;50892:35;50877:4;:51::i;50823:117::-;51032:19;;;;51018:11;:33;51086:21;;;;-1:-1:-1;;;;;51062:21:0;;;;;;:13;:21;;;;;;;;;:45;;;;51208:15;;;;;51183:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51272:15;;;;51240:48;;;;;;;-1:-1:-1;;;;;51240:48:0;;;51257:4;;-1:-1:-1;;;;;;;;;;;51240:48:0;;;;;;;;51341:10;;51398:15;;;;51341:73;;;-1:-1:-1;;;51341:73:0;;51371:4;51341:73;;;;-1:-1:-1;;;;;51341:73:0;;;;;;;;;;;;;;;;;;;;;;:10;;;;;:21;;:73;;;;;:10;;:73;;;;;;;:10;;:73;;;5:2:-1;;;;30:1;27;20:12;5:2;51341:73:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;51439:14:0;;-1:-1:-1;51434:20:0;;-1:-1:-1;;51434:20:0;;51427:27;47827:3635;-1:-1:-1;;;;;47827:3635:0:o;14924:1136::-;14991:9;15002:10;;:::i;:::-;15028:14;15044:24;15072:31;15080:1;:10;;;15092:1;:10;;;15072:7;:31::i;:::-;15027:76;;-1:-1:-1;15027:76:0;-1:-1:-1;15126:18:0;15118:4;:26;;;;;;;;;15114:92;;-1:-1:-1;15175:18:0;;;;;;;;;-1:-1:-1;15175:18:0;;15169:4;;-1:-1:-1;15175:18:0;-1:-1:-1;15161:33:0;;15114:92;15523:14;;15580:42;11466:10;15602:19;15580:7;:42::i;:::-;15522:100;;-1:-1:-1;15522:100:0;-1:-1:-1;15645:18:0;15637:4;:26;;;;;;;;;15633:92;;-1:-1:-1;15694:18:0;;;;;;;;;-1:-1:-1;15694:18:0;;15688:4;;-1:-1:-1;15694:18:0;-1:-1:-1;15680:33:0;;-1:-1:-1;;15680:33:0;15633:92;15738:14;15754:12;15770:51;15778:32;11426:4;15770:7;:51::i;:::-;15737:84;;-1:-1:-1;15737:84:0;-1:-1:-1;15967:18:0;15959:4;:26;;;;;;;;;15952:34;;;;16027:24;;;;;;;;;;;;-1:-1:-1;;16027:24:0;;-1:-1:-1;14924:1136:0;-1:-1:-1;;;;;;;;14924:1136:0:o;60063:3164::-;60221:10;;:63;;;-1:-1:-1;;;60221:63:0;;60254:4;60221:63;;;;-1:-1:-1;;;;;60221:63:0;;;;;;;;;;;;;;;60147:4;;;;60221:10;;:24;;:63;;;;;;;;;;;;;;60147:4;60221:10;:63;;;5:2:-1;;;;30:1;27;20:12;5:2;60221:63:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;60221:63:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;60221:63:0;;-1:-1:-1;60299:12:0;;60295:140;;60335:88;60346:26;60374:39;60415:7;60335:10;:88::i;60295:140::-;60545:16;:14;:16::i;:::-;60523:18;;:38;60519:142;;60585:64;60590:22;60614:34;60585:4;:64::i;60519:142::-;60770:12;60753:14;:12;:14::i;:::-;:29;60749:143;;;60806:74;60811:29;60842:37;60806:4;:74::i;60749:143::-;60904:27;;:::i;:::-;61219:37;61247:8;61219:27;:37::i;:::-;61196:19;;;61181:75;;;61182:12;;;61181:75;;;;;;;;;;;;;;;;;;;-1:-1:-1;61287:18:0;;-1:-1:-1;61271:4:0;:12;;;:34;;;;;;;;;61267:181;;61329:107;61340:16;61358:57;61422:4;:12;;;61417:18;;;;;;;61267:181;61501:42;61509:4;:19;;;61530:12;61501:7;:42::i;:::-;61475:22;;;61460:83;;;61461:12;;;61460:83;;;;;;;;;;;;;;;;;;;-1:-1:-1;61574:18:0;;-1:-1:-1;61558:4:0;:12;;;:34;;;;;;;;;61554:188;;61616:114;61627:16;61645:64;61716:4;:12;;;61711:18;;;;;;;61554:188;61793:35;61801:12;;61815;61793:7;:35::i;:::-;61769:20;;;61754:74;;;61755:12;;;61754:74;;;;;;;;;;;;;;;;;;;-1:-1:-1;61859:18:0;;-1:-1:-1;61843:4:0;:12;;;:34;;;;;;;;;61839:179;;61901:105;61912:16;61930:55;61992:4;:12;;;61987:18;;;;;;;61839:179;62568:37;62582:8;62592:12;62568:13;:37::i;:::-;62557:4;;:48;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62636:14:0;62624:8;;:26;;;;;;;;;62616:65;;;;;-1:-1:-1;;;62616:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;62801:22;;;;;;-1:-1:-1;;;;;62764:24:0;;;;;;:14;:24;;;;;;;;;:59;;;62875:11;;62834:38;;;;:52;;;;62912:20;;;;;62897:12;:35;;;63019:22;;62988:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63117:10;;:62;;;-1:-1:-1;;;63117:62:0;;63149:4;63117:62;;;;-1:-1:-1;;;;;63117:62:0;;;;;;;;;;;;;;;:10;;;;;:23;;:62;;;;;:10;;:62;;;;;;;:10;;:62;;;5:2:-1;;;;30:1;27;20:12;71298:3176:0;71504:10;;:110;;;-1:-1:-1;;;71504:110:0;;71546:4;71504:110;;;;-1:-1:-1;;;;;71504:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71427:4;;;;71504:10;;:33;;:110;;;;;;;;;;;;;;71427:4;71504:10;:110;;;5:2:-1;;;;30:1;27;20:12;5:2;71504:110:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;71504:110:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;71504:110:0;;-1:-1:-1;71629:12:0;;71625:143;;71665:91;71676:26;71704:42;71748:7;71665:10;:91::i;71625:143::-;71878:16;:14;:16::i;:::-;71856:18;;:38;71852:145;;71918:67;71923:22;71947:37;71918:4;:67::i;71852:145::-;72143:16;:14;:16::i;:::-;72102;-1:-1:-1;;;;;72102:35:0;;:37;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;72102:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;72102:37:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;72102:37:0;:57;72098:175;;72183:78;72188:22;72212:48;72183:4;:78::i;72098:175::-;72346:10;-1:-1:-1;;;;;72334:22:0;:8;-1:-1:-1;;;;;72334:22:0;;72330:140;;;72380:78;72385:26;72413:44;72380:4;:78::i;72330:140::-;72525:16;72521:142;;72565:86;72570:36;72608:42;72565:4;:86::i;72521:142::-;-1:-1:-1;;72719:11:0;:23;72715:153;;;72766:90;72771:36;72809:46;72766:4;:90::i;72715:153::-;73004:10;;:95;;;-1:-1:-1;;;73004:95:0;;73053:4;73004:95;;;;-1:-1:-1;;;;;73004:95:0;;;;;;;;;;;;;;;72961:21;;;;73004:10;;;:40;;:95;;;;;;;;;;;;:10;:95;;;5:2:-1;;;;30:1;27;20:12;5:2;73004:95:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;73004:95:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;73004:95:0;;;;;;;;;-1:-1:-1;73004:95:0;-1:-1:-1;73114:21:0;;73110:189;;73159:128;73170:34;73206:62;73270:16;73159:10;:128::i;:::-;73152:135;;;;;;;73110:189;73400:16;-1:-1:-1;;;;;73400:26:0;;73427:8;73400:36;;;;;;;;;;;;;-1:-1:-1;;;;;73400:36:0;-1:-1:-1;;;;;73400:36:0;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;73400:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;73400:36:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;73400:36:0;73386:50;;73382:166;;;73460:76;73465:32;73499:36;73460:4;:76::i;73382:166::-;73601:21;73625:51;73642:10;73654:8;73664:11;73625:16;:51::i;:::-;73601:75;-1:-1:-1;73691:40:0;;73687:158;;73755:78;73766:16;73760:23;;;;;;;;73785:47;73755:4;:78::i;:::-;73748:85;;;;;;;;73687:158;73961:57;;;-1:-1:-1;;;73961:57:0;;-1:-1:-1;;;;;73961:57:0;;;;;;;;;;;;;;;;;;;;;;73943:15;;73961:22;;;;;:57;;;;;;;;;;;;;;73943:15;73961:22;:57;;;5:2:-1;;;;30:1;27;20:12;5:2;73961:57:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;73961:57:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;73961:57:0;;-1:-1:-1;74037:34:0;;74029:67;;;;;-1:-1:-1;;;74029:67:0;;;;;;;;;;;;-1:-1:-1;;;74029:67:0;;;;;;;;;;;;;;;74161:90;;;-1:-1:-1;;;;;74161:90:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74304:10;;:122;;;-1:-1:-1;;;74304:122:0;;74345:4;74304:122;;;;-1:-1:-1;;;;;74304:122:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:10;;;;;:32;;:122;;;;;:10;;:122;;;;;;;:10;;:122;;;5:2:-1;;;;30:1;27;20:12;5:2;74304:122:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;74451:14:0;;-1:-1:-1;74446:20:0;;-1:-1:-1;;74446:20:0;;74439:27;71298:3176;-1:-1:-1;;;;;;;;;;71298:3176:0:o;94512:429::-;94643:10;;94671:36;;;-1:-1:-1;;;94671:36:0;;-1:-1:-1;;;;;94671:36:0;;;;;;;94701:4;94671:36;;;;;;94587:5;;94643:10;;;;;94710:6;;94643:10;;94671:15;;:36;;;;;;;;;;;;;;;94643:10;94671:36;;;5:2:-1;;;;30:1;27;20:12;5:2;94671:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;94671:36:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;94671:36:0;:45;94667:119;;;94740:34;94733:41;;;;;94667:119;94826:6;94802:5;-1:-1:-1;;;;;94802:15:0;;94818:4;94802:21;;;;;;;;;;;;;-1:-1:-1;;;;;94802:21:0;-1:-1:-1;;;;;94802:21:0;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;94802:21:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;94802:21:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;94802:21:0;:30;94798:102;;;94856:32;94849:39;;;;;94798:102;-1:-1:-1;94919:14:0;;94512:429;-1:-1:-1;;;94512:429:0:o;95647:1063::-;95792:10;;95838:47;;;-1:-1:-1;;;95838:47:0;;-1:-1:-1;;;;;95838:47:0;;;;;;;95871:4;95838:47;;;;;;;;;;;;95714:5;;95792:10;;;;;95714:5;;95792:10;;95838:18;;:47;;;;;95714:5;;95838:47;;;;;;;;95714:5;95792:10;95838:47;;;5:2:-1;;;;30:1;27;20:12;5:2;95838:47:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;95838:47:0;;;;95994:16;96033:1;96028:150;;;;96201:2;96196:217;;;;96548:1;96545;96538:12;96028:150;-1:-1:-1;;96122:6:0;-1:-1:-1;96028:150:0;;96196:217;96298:2;96295:1;96292;96277:24;96339:1;96333:8;96323:18;;95987:582;;96597:6;96592:77;;96627:30;96620:37;;;;;;14579:337;14667:9;14678:4;14696:13;14711:19;;:::i;:::-;14734:31;14749:6;14757:7;14734:14;:31::i;90423:8522::-;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;-1:-1:-1;90423:8522:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;-1:-1:-1;90423:8522:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;-1:-1:-1;90423:8522:0;;;;;;;;;;;;;;;;;;-1:-1:-1;90423:8522:0;;;;;;;;;;;;;;;;;;;;;;;;:::o
Swarm Source
bzzr://fc72ba1d0bac5e2c5fc9ee9b1e9834b086c1c6bee659793e3b109b308e9e83e8
Loading...
Loading
Loading...
Loading
OVERVIEW
Artem is a Compound derived Defi protocol that features liquidity for cryptocurrencies and Real-World Assets (RWA). It empowers community governance and adopts 0 pre-farming, 0 distribution, and 0 fundraisings.Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.