More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 26 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Permit | 9405063 | 5 days ago | IN | 0 MOVR | 0.0003807 | ||||
Permit | 9405054 | 5 days ago | IN | 0 MOVR | 0.0003807 | ||||
Transfer | 2212194 | 884 days ago | IN | 0 MOVR | 0.0039015 | ||||
Borrow Approve | 1925124 | 931 days ago | IN | 0 MOVR | 0.00002655 | ||||
Borrow Approve | 1502203 | 1031 days ago | IN | 0 MOVR | 0.00002655 | ||||
Approve | 1441791 | 1045 days ago | IN | 0 MOVR | 0.0000443 | ||||
Approve | 1311856 | 1064 days ago | IN | 0 MOVR | 0.0000443 | ||||
_set Adjust Spee... | 1190274 | 1082 days ago | IN | 0 MOVR | 0.00003109 | ||||
Borrow Approve | 1169871 | 1085 days ago | IN | 0 MOVR | 0.00004435 | ||||
Borrow Approve | 1161708 | 1087 days ago | IN | 0 MOVR | 0.00004435 | ||||
_set Kink Utiliz... | 1154312 | 1088 days ago | IN | 0 MOVR | 0.00003116 | ||||
Borrow Approve | 1136546 | 1090 days ago | IN | 0 MOVR | 0.00004435 | ||||
Borrow Approve | 1134313 | 1091 days ago | IN | 0 MOVR | 0.00004435 | ||||
Approve | 1079259 | 1099 days ago | IN | 0 MOVR | 0.0000443 | ||||
Approve | 1032995 | 1106 days ago | IN | 0 MOVR | 0.0000443 | ||||
Borrow Approve | 1020405 | 1107 days ago | IN | 0 MOVR | 0.00002515 | ||||
Borrow Approve | 1019240 | 1108 days ago | IN | 0 MOVR | 0.00004435 | ||||
Borrow Approve | 1018811 | 1108 days ago | IN | 0 MOVR | 0.00004435 | ||||
Borrow Approve | 1006630 | 1110 days ago | IN | 0 MOVR | 0.00004435 | ||||
Borrow Approve | 999815 | 1111 days ago | IN | 0 MOVR | 0.00004435 | ||||
Borrow Approve | 998529 | 1111 days ago | IN | 0 MOVR | 0.00004435 | ||||
Borrow Approve | 998150 | 1111 days ago | IN | 0 MOVR | 0.00004435 | ||||
Borrow Approve | 995033 | 1112 days ago | IN | 0 MOVR | 0.00004435 | ||||
_set Adjust Spee... | 994692 | 1112 days ago | IN | 0 MOVR | 0.00003108 | ||||
_set Reserve Fac... | 989369 | 1113 days ago | IN | 0 MOVR | 0.00003113 |
Latest 1 internal transaction
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
989290 | 1113 days ago | Contract Creation | 0 MOVR |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x6ebb5237...0C2cd0565 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
Borrowable
Compiler Version
v0.5.16+commit.9c3226ce
Contract Source Code (Solidity)
/** *Submitted for verification at moonriver.moonscan.io on 2021-12-06 */ /** *Submitted for verification at moonriver.moonscan.io on 2021-11-15 */ // File: contracts\libraries\SafeMath.sol pragma solidity =0.5.16; // From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/math/Math.sol // Subject to the MIT license. /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the addition of two unsigned integers, reverting with custom message on overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, errorMessage); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on underflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot underflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction underflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on underflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot underflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, errorMessage); return c; } /** * @dev Returns the integer division of two unsigned integers. * Reverts on division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. * Reverts with custom message on division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: contracts\ImpermaxERC20.sol pragma solidity =0.5.16; // This contract is basically UniswapV2ERC20 with small modifications // src: https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol contract ImpermaxERC20 { using SafeMath for uint; string public name; string public symbol; uint8 public decimals = 18; uint public totalSupply; mapping(address => uint) public balanceOf; mapping(address => mapping(address => uint)) public allowance; bytes32 public DOMAIN_SEPARATOR; mapping(address => uint) public nonces; event Transfer(address indexed from, address indexed to, uint value); event Approval(address indexed owner, address indexed spender, uint value); constructor() public {} function _setName(string memory _name, string memory _symbol) internal { name = _name; symbol = _symbol; uint chainId; assembly { chainId := chainid } DOMAIN_SEPARATOR = keccak256( abi.encode( keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"), keccak256(bytes(_name)), keccak256(bytes("1")), chainId, address(this) ) ); } function _mint(address to, uint value) internal { totalSupply = totalSupply.add(value); balanceOf[to] = balanceOf[to].add(value); emit Transfer(address(0), to, value); } function _burn(address from, uint value) internal { balanceOf[from] = balanceOf[from].sub(value); totalSupply = totalSupply.sub(value); emit Transfer(from, address(0), value); } function _approve(address owner, address spender, uint value) private { allowance[owner][spender] = value; emit Approval(owner, spender, value); } function _transfer(address from, address to, uint value) internal { balanceOf[from] = balanceOf[from].sub(value, "Impermax: TRANSFER_TOO_HIGH"); balanceOf[to] = balanceOf[to].add(value); emit Transfer(from, to, value); } function approve(address spender, uint value) external returns (bool) { _approve(msg.sender, spender, value); return true; } function transfer(address to, uint value) external returns (bool) { _transfer(msg.sender, to, value); return true; } function transferFrom(address from, address to, uint value) external returns (bool) { if (allowance[from][msg.sender] != uint(-1)) { allowance[from][msg.sender] = allowance[from][msg.sender].sub(value, "Impermax: TRANSFER_NOT_ALLOWED"); } _transfer(from, to, value); return true; } function _checkSignature(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s, bytes32 typehash) internal { require(deadline >= block.timestamp, "Impermax: EXPIRED"); bytes32 digest = keccak256( abi.encodePacked( '\x19\x01', DOMAIN_SEPARATOR, keccak256(abi.encode(typehash, owner, spender, value, nonces[owner]++, deadline)) ) ); address recoveredAddress = ecrecover(digest, v, r, s); require(recoveredAddress != address(0) && recoveredAddress == owner, "Impermax: INVALID_SIGNATURE"); } // keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); bytes32 public constant PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9; function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external { _checkSignature(owner, spender, value, deadline, v, r, s, PERMIT_TYPEHASH); _approve(owner, spender, value); } } // File: contracts\interfaces\IERC20.sol pragma solidity >=0.5.0; interface IERC20 { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); } // File: contracts\interfaces\IPoolToken.sol pragma solidity >=0.5.0; interface IPoolToken { /*** Impermax ERC20 ***/ event Transfer(address indexed from, address indexed to, uint value); event Approval(address indexed owner, address indexed spender, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; /*** Pool Token ***/ event Mint(address indexed sender, address indexed minter, uint mintAmount, uint mintTokens); event Redeem(address indexed sender, address indexed redeemer, uint redeemAmount, uint redeemTokens); event Sync(uint totalBalance); function underlying() external view returns (address); function factory() external view returns (address); function totalBalance() external view returns (uint); function MINIMUM_LIQUIDITY() external pure returns (uint); function exchangeRate() external returns (uint); function mint(address minter) external returns (uint mintTokens); function redeem(address redeemer) external returns (uint redeemAmount); function skim(address to) external; function sync() external; function _setFactory() external; } // File: contracts\PoolToken.sol pragma solidity =0.5.16; contract PoolToken is IPoolToken, ImpermaxERC20 { uint internal constant initialExchangeRate = 1e18; address public underlying; address public factory; uint public totalBalance; uint public constant MINIMUM_LIQUIDITY = 1000; event Mint(address indexed sender, address indexed minter, uint mintAmount, uint mintTokens); event Redeem(address indexed sender, address indexed redeemer, uint redeemAmount, uint redeemTokens); event Sync(uint totalBalance); /*** Initialize ***/ // called once by the factory function _setFactory() external { require(factory == address(0), "Impermax: FACTORY_ALREADY_SET"); factory = msg.sender; } /*** PoolToken ***/ function _update() internal { totalBalance = IERC20(underlying).balanceOf(address(this)); emit Sync(totalBalance); } function exchangeRate() public returns (uint) { uint _totalSupply = totalSupply; // gas savings uint _totalBalance = totalBalance; // gas savings if (_totalSupply == 0 || _totalBalance == 0) return initialExchangeRate; return _totalBalance.mul(1e18).div(_totalSupply); } // this low-level function should be called from another contract function mint(address minter) external nonReentrant update returns (uint mintTokens) { uint balance = IERC20(underlying).balanceOf(address(this)); uint mintAmount = balance.sub(totalBalance); mintTokens = mintAmount.mul(1e18).div(exchangeRate()); if(totalSupply == 0) { // permanently lock the first MINIMUM_LIQUIDITY tokens mintTokens = mintTokens.sub(MINIMUM_LIQUIDITY); _mint(address(0), MINIMUM_LIQUIDITY); } require(mintTokens > 0, "Impermax: MINT_AMOUNT_ZERO"); _mint(minter, mintTokens); emit Mint(msg.sender, minter, mintAmount, mintTokens); } // this low-level function should be called from another contract function redeem(address redeemer) external nonReentrant update returns (uint redeemAmount) { uint redeemTokens = balanceOf[address(this)]; redeemAmount = redeemTokens.mul(exchangeRate()).div(1e18); require(redeemAmount > 0, "Impermax: REDEEM_AMOUNT_ZERO"); require(redeemAmount <= totalBalance, "Impermax: INSUFFICIENT_CASH"); _burn(address(this), redeemTokens); _safeTransfer(redeemer, redeemAmount); emit Redeem(msg.sender, redeemer, redeemAmount, redeemTokens); } // force real balance to match totalBalance function skim(address to) external nonReentrant { _safeTransfer(to, IERC20(underlying).balanceOf(address(this)).sub(totalBalance)); } // force totalBalance to match real balance function sync() external nonReentrant update {} /*** Utilities ***/ // same safe transfer function used by UniSwapV2 (with fixed underlying) bytes4 private constant SELECTOR = bytes4(keccak256(bytes("transfer(address,uint256)"))); function _safeTransfer(address to, uint amount) internal { (bool success, bytes memory data) = underlying.call(abi.encodeWithSelector(SELECTOR, to, amount)); require(success && (data.length == 0 || abi.decode(data, (bool))), "Impermax: TRANSFER_FAILED"); } // prevents a contract from calling itself, directly or indirectly. bool internal _notEntered = true; modifier nonReentrant() { require(_notEntered, "Impermax: REENTERED"); _notEntered = false; _; _notEntered = true; } // update totalBalance with current balance modifier update() { _; _update(); } } // File: contracts\BStorage.sol pragma solidity =0.5.16; contract BStorage { address public collateral; mapping (address => mapping (address => uint256)) public borrowAllowance; struct BorrowSnapshot { uint112 principal; // amount in underlying when the borrow was last updated uint112 interestIndex; // borrow index when borrow was last updated } mapping(address => BorrowSnapshot) internal borrowBalances; // use one memory slot uint112 public borrowIndex = 1e18; uint112 public totalBorrows; uint32 public accrualTimestamp = uint32(block.timestamp % 2**32); uint public exchangeRateLast; // use one memory slot uint48 public borrowRate; uint48 public kinkBorrowRate = 6.3419584e9; //20% per year uint32 public rateUpdateTimestamp = uint32(block.timestamp % 2**32); uint public reserveFactor = 0.10e18; //10% uint public kinkUtilizationRate = 0.75e18; //75% uint public adjustSpeed = 5.787037e12; //50% per day address public borrowTracker; function safe112(uint n) internal pure returns (uint112) { require(n < 2**112, "Impermax: SAFE112"); return uint112(n); } } // File: contracts\BAllowance.sol pragma solidity =0.5.16; contract BAllowance is PoolToken, BStorage { event BorrowApproval(address indexed owner, address indexed spender, uint256 value); function _borrowApprove(address owner, address spender, uint256 value) private { borrowAllowance[owner][spender] = value; emit BorrowApproval(owner, spender, value); } function borrowApprove(address spender, uint256 value) external returns (bool) { _borrowApprove(msg.sender, spender, value); return true; } function _checkBorrowAllowance(address owner, address spender, uint256 value) internal { uint _borrowAllowance = borrowAllowance[owner][spender]; if (spender != owner && _borrowAllowance != uint256(-1)) { require(_borrowAllowance >= value, "Impermax: BORROW_NOT_ALLOWED"); borrowAllowance[owner][spender] = _borrowAllowance - value; } } // keccak256("BorrowPermit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); bytes32 public constant BORROW_PERMIT_TYPEHASH = 0xf6d86ed606f871fa1a557ac0ba607adce07767acf53f492fb215a1a4db4aea6f; function borrowPermit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external { _checkSignature(owner, spender, value, deadline, v, r, s, BORROW_PERMIT_TYPEHASH); _borrowApprove(owner, spender, value); } } // File: contracts\BInterestRateModel.sol pragma solidity =0.5.16; contract BInterestRateModel is PoolToken, BStorage { // When utilization is 100% borrowRate is kinkBorrowRate * KINK_MULTIPLIER // kinkBorrowRate relative adjustment per second belongs to [1-adjustSpeed, 1+adjustSpeed*(KINK_MULTIPLIER-1)] uint public constant KINK_MULTIPLIER = 2; uint public constant KINK_BORROW_RATE_MAX = 317.097920e9; //1000% per year uint public constant KINK_BORROW_RATE_MIN = 0.31709792e9; //1% per year event AccrueInterest(uint interestAccumulated, uint borrowIndex, uint totalBorrows); event CalculateKinkBorrowRate(uint kinkBorrowRate); event CalculateBorrowRate(uint borrowRate); function _calculateBorrowRate() internal { uint _kinkUtilizationRate = kinkUtilizationRate; uint _adjustSpeed = adjustSpeed; uint _borrowRate = borrowRate; uint _kinkBorrowRate = kinkBorrowRate; uint32 _rateUpdateTimestamp = rateUpdateTimestamp; // update kinkBorrowRate using previous borrowRate uint32 timeElapsed = getBlockTimestamp() - _rateUpdateTimestamp; // underflow is desired if(timeElapsed > 0) { rateUpdateTimestamp = getBlockTimestamp(); uint adjustFactor; if (_borrowRate < _kinkBorrowRate) { // never overflows, _kinkBorrowRate is never 0 uint tmp = (_kinkBorrowRate - _borrowRate) * 1e18 / _kinkBorrowRate * _adjustSpeed * timeElapsed / 1e18; adjustFactor = tmp > 1e18 ? 0 : 1e18 - tmp; } else { // never overflows, _kinkBorrowRate is never 0 uint tmp = (_borrowRate - _kinkBorrowRate) * 1e18 / _kinkBorrowRate * _adjustSpeed * timeElapsed / 1e18; adjustFactor = tmp + 1e18; } // never overflows _kinkBorrowRate = _kinkBorrowRate * adjustFactor / 1e18; if(_kinkBorrowRate > KINK_BORROW_RATE_MAX) _kinkBorrowRate = KINK_BORROW_RATE_MAX; if(_kinkBorrowRate < KINK_BORROW_RATE_MIN) _kinkBorrowRate = KINK_BORROW_RATE_MIN; kinkBorrowRate = uint48(_kinkBorrowRate); emit CalculateKinkBorrowRate(_kinkBorrowRate); } uint _utilizationRate; { // avoid stack to deep uint _totalBorrows = totalBorrows; // gas savings uint _actualBalance = totalBalance.add(_totalBorrows); _utilizationRate = (_actualBalance == 0) ? 0 : _totalBorrows * 1e18 / _actualBalance; } // update borrowRate using the new kinkBorrowRate if(_utilizationRate <= _kinkUtilizationRate) { // never overflows, _kinkUtilizationRate is never 0 _borrowRate = _kinkBorrowRate * _utilizationRate / _kinkUtilizationRate; } else { // never overflows, _kinkUtilizationRate is always < 1e18 uint overUtilization = (_utilizationRate - _kinkUtilizationRate) * 1e18 / (1e18 - _kinkUtilizationRate); // never overflows _borrowRate = ((KINK_MULTIPLIER - 1) * overUtilization + 1e18) * _kinkBorrowRate / 1e18; } borrowRate = uint48(_borrowRate); emit CalculateBorrowRate(_borrowRate); } // applies accrued interest to total borrows and reserves function accrueInterest() public { uint _borrowIndex = borrowIndex; uint _totalBorrows = totalBorrows; uint32 _accrualTimestamp = accrualTimestamp; uint32 blockTimestamp = getBlockTimestamp(); if (_accrualTimestamp == blockTimestamp) return; uint32 timeElapsed = blockTimestamp - _accrualTimestamp; // underflow is desired accrualTimestamp = blockTimestamp; uint interestFactor = uint(borrowRate).mul(timeElapsed); uint interestAccumulated = interestFactor.mul(_totalBorrows).div(1e18); _totalBorrows = _totalBorrows.add( interestAccumulated ); _borrowIndex = _borrowIndex.add( interestFactor.mul(_borrowIndex).div(1e18) ); borrowIndex = safe112(_borrowIndex); totalBorrows = safe112(_totalBorrows); emit AccrueInterest(interestAccumulated, _borrowIndex, _totalBorrows); } function getBlockTimestamp() public view returns (uint32) { return uint32(block.timestamp % 2**32); } } // File: contracts\interfaces\IFactory.sol pragma solidity >=0.5.0; interface IFactory { event LendingPoolInitialized(address indexed uniswapV2Pair, address indexed token0, address indexed token1, address collateral, address borrowable0, address borrowable1, uint lendingPoolId); event NewPendingAdmin(address oldPendingAdmin, address newPendingAdmin); event NewAdmin(address oldAdmin, address newAdmin); event NewReservesPendingAdmin(address oldReservesPendingAdmin, address newReservesPendingAdmin); event NewReservesAdmin(address oldReservesAdmin, address newReservesAdmin); event NewReservesManager(address oldReservesManager, address newReservesManager); function admin() external view returns (address); function pendingAdmin() external view returns (address); function reservesAdmin() external view returns (address); function reservesPendingAdmin() external view returns (address); function reservesManager() external view returns (address); function getLendingPool(address uniswapV2Pair) external view returns ( bool initialized, uint24 lendingPoolId, address collateral, address borrowable0, address borrowable1 ); function allLendingPools(uint) external view returns (address uniswapV2Pair); function allLendingPoolsLength() external view returns (uint); function bDeployer() external view returns (address); function cDeployer() external view returns (address); function simpleUniswapOracle() external view returns (address); function createCollateral(address uniswapV2Pair) external returns (address collateral); function createBorrowable0(address uniswapV2Pair) external returns (address borrowable0); function createBorrowable1(address uniswapV2Pair) external returns (address borrowable1); function initializeLendingPool(address uniswapV2Pair) external; function _setPendingAdmin(address newPendingAdmin) external; function _acceptAdmin() external; function _setReservesPendingAdmin(address newPendingAdmin) external; function _acceptReservesAdmin() external; function _setReservesManager(address newReservesManager) external; } // File: contracts\BSetter.sol pragma solidity =0.5.16; contract BSetter is PoolToken, BStorage { uint public constant RESERVE_FACTOR_MAX = 0.20e18; //20% uint public constant KINK_UR_MIN = 0.50e18; //50% uint public constant KINK_UR_MAX = 0.99e18; //99% uint public constant ADJUST_SPEED_MIN = 0.05787037e12; //0.5% per day uint public constant ADJUST_SPEED_MAX = 57.87037e12; //500% per day event NewReserveFactor(uint newReserveFactor); event NewKinkUtilizationRate(uint newKinkUtilizationRate); event NewAdjustSpeed(uint newAdjustSpeed); event NewBorrowTracker(address newBorrowTracker); // called once by the factory at time of deployment function _initialize ( string calldata _name, string calldata _symbol, address _underlying, address _collateral ) external { require(msg.sender == factory, "Impermax: UNAUTHORIZED"); // sufficient check _setName(_name, _symbol); underlying = _underlying; collateral = _collateral; exchangeRateLast = initialExchangeRate; } function _setReserveFactor(uint newReserveFactor) external nonReentrant { _checkSetting(newReserveFactor, 0, RESERVE_FACTOR_MAX); reserveFactor = newReserveFactor; emit NewReserveFactor(newReserveFactor); } function _setKinkUtilizationRate(uint newKinkUtilizationRate) external nonReentrant { _checkSetting(newKinkUtilizationRate, KINK_UR_MIN, KINK_UR_MAX); kinkUtilizationRate = newKinkUtilizationRate; emit NewKinkUtilizationRate(newKinkUtilizationRate); } function _setAdjustSpeed(uint newAdjustSpeed) external nonReentrant { _checkSetting(newAdjustSpeed, ADJUST_SPEED_MIN, ADJUST_SPEED_MAX); adjustSpeed = newAdjustSpeed; emit NewAdjustSpeed(newAdjustSpeed); } function _setBorrowTracker(address newBorrowTracker) external nonReentrant { _checkAdmin(); borrowTracker = newBorrowTracker; emit NewBorrowTracker(newBorrowTracker); } function _checkSetting(uint parameter, uint min, uint max) internal view { _checkAdmin(); require(parameter >= min, "Impermax: INVALID_SETTING"); require(parameter <= max, "Impermax: INVALID_SETTING"); } function _checkAdmin() internal view { require(msg.sender == IFactory(factory).admin(), "Impermax: UNAUTHORIZED"); } } // File: contracts\interfaces\IBorrowable.sol pragma solidity >=0.5.0; interface IBorrowable { /*** Impermax ERC20 ***/ event Transfer(address indexed from, address indexed to, uint value); event Approval(address indexed owner, address indexed spender, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; /*** Pool Token ***/ event Mint(address indexed sender, address indexed minter, uint mintAmount, uint mintTokens); event Redeem(address indexed sender, address indexed redeemer, uint redeemAmount, uint redeemTokens); event Sync(uint totalBalance); function underlying() external view returns (address); function factory() external view returns (address); function totalBalance() external view returns (uint); function MINIMUM_LIQUIDITY() external pure returns (uint); function exchangeRate() external returns (uint); function mint(address minter) external returns (uint mintTokens); function redeem(address redeemer) external returns (uint redeemAmount); function skim(address to) external; function sync() external; function _setFactory() external; /*** Borrowable ***/ event BorrowApproval(address indexed owner, address indexed spender, uint value); event Borrow(address indexed sender, address indexed borrower, address indexed receiver, uint borrowAmount, uint repayAmount, uint accountBorrowsPrior, uint accountBorrows, uint totalBorrows); event Liquidate(address indexed sender, address indexed borrower, address indexed liquidator, uint seizeTokens, uint repayAmount, uint accountBorrowsPrior, uint accountBorrows, uint totalBorrows); function BORROW_FEE() external pure returns (uint); function collateral() external view returns (address); function reserveFactor() external view returns (uint); function exchangeRateLast() external view returns (uint); function borrowIndex() external view returns (uint); function totalBorrows() external view returns (uint); function borrowAllowance(address owner, address spender) external view returns (uint); function borrowBalance(address borrower) external view returns (uint); function borrowTracker() external view returns (address); function BORROW_PERMIT_TYPEHASH() external pure returns (bytes32); function borrowApprove(address spender, uint256 value) external returns (bool); function borrowPermit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; function borrow(address borrower, address receiver, uint borrowAmount, bytes calldata data) external; function liquidate(address borrower, address liquidator) external returns (uint seizeTokens); function trackBorrow(address borrower) external; /*** Borrowable Interest Rate Model ***/ event AccrueInterest(uint interestAccumulated, uint borrowIndex, uint totalBorrows); event CalculateKink(uint kinkRate); event CalculateBorrowRate(uint borrowRate); function KINK_BORROW_RATE_MAX() external pure returns (uint); function KINK_BORROW_RATE_MIN() external pure returns (uint); function KINK_MULTIPLIER() external pure returns (uint); function borrowRate() external view returns (uint); function kinkBorrowRate() external view returns (uint); function kinkUtilizationRate() external view returns (uint); function adjustSpeed() external view returns (uint); function rateUpdateTimestamp() external view returns (uint32); function accrualTimestamp() external view returns (uint32); function accrueInterest() external; /*** Borrowable Setter ***/ event NewReserveFactor(uint newReserveFactor); event NewKinkUtilizationRate(uint newKinkUtilizationRate); event NewAdjustSpeed(uint newAdjustSpeed); event NewBorrowTracker(address newBorrowTracker); function RESERVE_FACTOR_MAX() external pure returns (uint); function KINK_UR_MIN() external pure returns (uint); function KINK_UR_MAX() external pure returns (uint); function ADJUST_SPEED_MIN() external pure returns (uint); function ADJUST_SPEED_MAX() external pure returns (uint); function _initialize ( string calldata _name, string calldata _symbol, address _underlying, address _collateral ) external; function _setReserveFactor(uint newReserveFactor) external; function _setKinkUtilizationRate(uint newKinkUtilizationRate) external; function _setAdjustSpeed(uint newAdjustSpeed) external; function _setBorrowTracker(address newBorrowTracker) external; } // File: contracts\interfaces\ICollateral.sol pragma solidity >=0.5.0; interface ICollateral { /*** Impermax ERC20 ***/ event Transfer(address indexed from, address indexed to, uint value); event Approval(address indexed owner, address indexed spender, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; /*** Pool Token ***/ event Mint(address indexed sender, address indexed minter, uint mintAmount, uint mintTokens); event Redeem(address indexed sender, address indexed redeemer, uint redeemAmount, uint redeemTokens); event Sync(uint totalBalance); function underlying() external view returns (address); function factory() external view returns (address); function totalBalance() external view returns (uint); function MINIMUM_LIQUIDITY() external pure returns (uint); function exchangeRate() external returns (uint); function mint(address minter) external returns (uint mintTokens); function redeem(address redeemer) external returns (uint redeemAmount); function skim(address to) external; function sync() external; function _setFactory() external; /*** Collateral ***/ function borrowable0() external view returns (address); function borrowable1() external view returns (address); function simpleUniswapOracle() external view returns (address); function safetyMarginSqrt() external view returns (uint); function liquidationIncentive() external view returns (uint); function getPrices() external returns (uint price0, uint price1); function tokensUnlocked(address from, uint value) external returns (bool); function accountLiquidityAmounts(address account, uint amount0, uint amount1) external returns (uint liquidity, uint shortfall); function accountLiquidity(address account) external returns (uint liquidity, uint shortfall); function canBorrow(address account, address borrowable, uint accountBorrows) external returns (bool); function seize(address liquidator, address borrower, uint repayAmount) external returns (uint seizeTokens); function flashRedeem(address redeemer, uint redeemAmount, bytes calldata data) external; /*** Collateral Setter ***/ event NewSafetyMargin(uint newSafetyMarginSqrt); event NewLiquidationIncentive(uint newLiquidationIncentive); function SAFETY_MARGIN_SQRT_MIN() external pure returns (uint); function SAFETY_MARGIN_SQRT_MAX() external pure returns (uint); function LIQUIDATION_INCENTIVE_MIN() external pure returns (uint); function LIQUIDATION_INCENTIVE_MAX() external pure returns (uint); function _initialize ( string calldata _name, string calldata _symbol, address _underlying, address _borrowable0, address _borrowable1 ) external; function _setSafetyMarginSqrt(uint newSafetyMarginSqrt) external; function _setLiquidationIncentive(uint newLiquidationIncentive) external; } // File: contracts\interfaces\IImpermaxCallee.sol pragma solidity >=0.5.0; interface IImpermaxCallee { function impermaxBorrow(address sender, address borrower, uint borrowAmount, bytes calldata data) external; function impermaxRedeem(address sender, uint redeemAmount, bytes calldata data) external; } // File: contracts\interfaces\IBorrowTracker.sol pragma solidity >=0.5.0; interface IBorrowTracker { function trackBorrow(address borrower, uint borrowBalance, uint borrowIndex) external; } // File: contracts\libraries\Math.sol pragma solidity =0.5.16; // a library for performing various math operations // forked from: https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/libraries/Math.sol library Math { function min(uint x, uint y) internal pure returns (uint z) { z = x < y ? x : y; } // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method) function sqrt(uint y) internal pure returns (uint z) { if (y > 3) { z = y; uint x = y / 2 + 1; while (x < z) { z = x; x = (y / x + x) / 2; } } else if (y != 0) { z = 1; } } } // File: contracts\Borrowable.sol pragma solidity =0.5.16; contract Borrowable is IBorrowable, PoolToken, BStorage, BSetter, BInterestRateModel, BAllowance { uint public constant BORROW_FEE = 0; event Borrow(address indexed sender, address indexed borrower, address indexed receiver, uint borrowAmount, uint repayAmount, uint accountBorrowsPrior, uint accountBorrows, uint totalBorrows); event Liquidate(address indexed sender, address indexed borrower, address indexed liquidator, uint seizeTokens, uint repayAmount, uint accountBorrowsPrior, uint accountBorrows, uint totalBorrows); constructor() public {} /*** PoolToken ***/ function _update() internal { super._update(); _calculateBorrowRate(); } function _mintReserves(uint _exchangeRate, uint _totalSupply) internal returns (uint) { uint _exchangeRateLast = exchangeRateLast; if (_exchangeRate > _exchangeRateLast) { uint _exchangeRateNew = _exchangeRate.sub( _exchangeRate.sub(_exchangeRateLast).mul(reserveFactor).div(1e18) ); uint liquidity = _totalSupply.mul(_exchangeRate).div(_exchangeRateNew).sub(_totalSupply); if (liquidity > 0) { address reservesManager = IFactory(factory).reservesManager(); _mint(reservesManager, liquidity); } exchangeRateLast = _exchangeRateNew; return _exchangeRateNew; } else return _exchangeRate; } function exchangeRate() public accrue returns (uint) { uint _totalSupply = totalSupply; uint _actualBalance = totalBalance.add(totalBorrows); if (_totalSupply == 0 || _actualBalance == 0) return initialExchangeRate; uint _exchangeRate = _actualBalance.mul(1e18).div(_totalSupply); return _mintReserves(_exchangeRate, _totalSupply); } // force totalBalance to match real balance function sync() external nonReentrant update accrue {} /*** Borrowable ***/ // this is the stored borrow balance; the current borrow balance may be slightly higher function borrowBalance(address borrower) public view returns (uint) { BorrowSnapshot memory borrowSnapshot = borrowBalances[borrower]; if (borrowSnapshot.interestIndex == 0) return 0; // not initialized return uint(borrowSnapshot.principal).mul(borrowIndex).div(borrowSnapshot.interestIndex); } function _trackBorrow(address borrower, uint accountBorrows, uint _borrowIndex) internal { address _borrowTracker = borrowTracker; if (_borrowTracker == address(0)) return; IBorrowTracker(_borrowTracker).trackBorrow(borrower, accountBorrows, _borrowIndex); } function _updateBorrow(address borrower, uint borrowAmount, uint repayAmount) private returns (uint accountBorrowsPrior, uint accountBorrows, uint _totalBorrows) { accountBorrowsPrior = borrowBalance(borrower); if (borrowAmount == repayAmount) return (accountBorrowsPrior, accountBorrowsPrior, totalBorrows); uint112 _borrowIndex = borrowIndex; if (borrowAmount > repayAmount) { BorrowSnapshot storage borrowSnapshot = borrowBalances[borrower]; uint increaseAmount = borrowAmount - repayAmount; accountBorrows = accountBorrowsPrior.add(increaseAmount); borrowSnapshot.principal = safe112(accountBorrows); borrowSnapshot.interestIndex = _borrowIndex; _totalBorrows = uint(totalBorrows).add(increaseAmount); totalBorrows = safe112(_totalBorrows); } else { BorrowSnapshot storage borrowSnapshot = borrowBalances[borrower]; uint decreaseAmount = repayAmount - borrowAmount; accountBorrows = accountBorrowsPrior > decreaseAmount ? accountBorrowsPrior - decreaseAmount : 0; borrowSnapshot.principal = safe112(accountBorrows); if(accountBorrows == 0) { borrowSnapshot.interestIndex = 0; } else { borrowSnapshot.interestIndex = _borrowIndex; } uint actualDecreaseAmount = accountBorrowsPrior.sub(accountBorrows); _totalBorrows = totalBorrows; // gas savings _totalBorrows = _totalBorrows > actualDecreaseAmount ? _totalBorrows - actualDecreaseAmount : 0; totalBorrows = safe112(_totalBorrows); } _trackBorrow(borrower, accountBorrows, _borrowIndex); } // this low-level function should be called from another contract function borrow(address borrower, address receiver, uint borrowAmount, bytes calldata data) external nonReentrant update accrue { uint _totalBalance = totalBalance; require(borrowAmount <= _totalBalance, "Impermax: INSUFFICIENT_CASH"); _checkBorrowAllowance(borrower, msg.sender, borrowAmount); // optimistically transfer funds if (borrowAmount > 0) _safeTransfer(receiver, borrowAmount); if (data.length > 0) IImpermaxCallee(receiver).impermaxBorrow(msg.sender, borrower, borrowAmount, data); uint balance = IERC20(underlying).balanceOf(address(this)); uint borrowFee = borrowAmount.mul(BORROW_FEE).div(1e18); uint adjustedBorrowAmount = borrowAmount.add(borrowFee); uint repayAmount = balance.add(borrowAmount).sub(_totalBalance); (uint accountBorrowsPrior, uint accountBorrows, uint _totalBorrows) = _updateBorrow(borrower, adjustedBorrowAmount, repayAmount); if(adjustedBorrowAmount > repayAmount) require( ICollateral(collateral).canBorrow(borrower, address(this), accountBorrows), "Impermax: INSUFFICIENT_LIQUIDITY" ); emit Borrow(msg.sender, borrower, receiver, borrowAmount, repayAmount, accountBorrowsPrior, accountBorrows, _totalBorrows); } // this low-level function should be called from another contract function liquidate(address borrower, address liquidator) external nonReentrant update accrue returns (uint seizeTokens) { uint balance = IERC20(underlying).balanceOf(address(this)); uint repayAmount = balance.sub(totalBalance); uint actualRepayAmount = Math.min(borrowBalance(borrower), repayAmount); seizeTokens = ICollateral(collateral).seize(liquidator, borrower, actualRepayAmount); (uint accountBorrowsPrior, uint accountBorrows, uint _totalBorrows) = _updateBorrow(borrower, 0, repayAmount); emit Liquidate(msg.sender, borrower, liquidator, seizeTokens, repayAmount, accountBorrowsPrior, accountBorrows, _totalBorrows); } function trackBorrow(address borrower) external { _trackBorrow(borrower, borrowBalance(borrower), borrowIndex); } modifier accrue() { accrueInterest(); _; } } // File: contracts\interfaces\IBDeployer.sol pragma solidity >=0.5.0; interface IBDeployer { function deployBorrowable(address uniswapV2Pair, uint8 index) external returns (address borrowable); } // File: contracts\BDeployer.sol pragma solidity =0.5.16; /* * This contract is used by the Factory to deploy Borrowable(s) * The bytecode would be too long to fit in the Factory */ contract BDeployer is IBDeployer { constructor () public {} function deployBorrowable(address uniswapV2Pair, uint8 index) external returns (address borrowable) { bytes memory bytecode = type(Borrowable).creationCode; bytes32 salt = keccak256(abi.encodePacked(msg.sender, uniswapV2Pair, index)); assembly { borrowable := create2(0, add(bytecode, 32), mload(bytecode), salt) } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"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":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"borrower","type":"address"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"borrowAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"repayAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"accountBorrowsPrior","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":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"BorrowApproval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"borrowRate","type":"uint256"}],"name":"CalculateBorrowRate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"kinkRate","type":"uint256"}],"name":"CalculateKink","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"kinkBorrowRate","type":"uint256"}],"name":"CalculateKinkBorrowRate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"borrower","type":"address"},{"indexed":true,"internalType":"address","name":"liquidator","type":"address"},{"indexed":false,"internalType":"uint256","name":"seizeTokens","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"repayAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"accountBorrowsPrior","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"accountBorrows","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalBorrows","type":"uint256"}],"name":"Liquidate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"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":"uint256","name":"newAdjustSpeed","type":"uint256"}],"name":"NewAdjustSpeed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newBorrowTracker","type":"address"}],"name":"NewBorrowTracker","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newKinkUtilizationRate","type":"uint256"}],"name":"NewKinkUtilizationRate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newReserveFactor","type":"uint256"}],"name":"NewReserveFactor","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"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":"uint256","name":"totalBalance","type":"uint256"}],"name":"Sync","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"constant":true,"inputs":[],"name":"ADJUST_SPEED_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ADJUST_SPEED_MIN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"BORROW_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"BORROW_PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"KINK_BORROW_RATE_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"KINK_BORROW_RATE_MIN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"KINK_MULTIPLIER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"KINK_UR_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"KINK_UR_MIN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MINIMUM_LIQUIDITY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"RESERVE_FACTOR_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_underlying","type":"address"},{"internalType":"address","name":"_collateral","type":"address"}],"name":"_initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"newAdjustSpeed","type":"uint256"}],"name":"_setAdjustSpeed","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newBorrowTracker","type":"address"}],"name":"_setBorrowTracker","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"_setFactory","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"newKinkUtilizationRate","type":"uint256"}],"name":"_setKinkUtilizationRate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"newReserveFactor","type":"uint256"}],"name":"_setReserveFactor","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"accrualTimestamp","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"accrueInterest","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"adjustSpeed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","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":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"borrower","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"borrowAmount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"borrow","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"borrowAllowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"borrowApprove","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"borrower","type":"address"}],"name":"borrowBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"borrowIndex","outputs":[{"internalType":"uint112","name":"","type":"uint112"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"borrowPermit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"borrowRate","outputs":[{"internalType":"uint48","name":"","type":"uint48"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"borrowTracker","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"collateral","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"exchangeRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"exchangeRateLast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getBlockTimestamp","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"kinkBorrowRate","outputs":[{"internalType":"uint48","name":"","type":"uint48"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"kinkUtilizationRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"borrower","type":"address"},{"internalType":"address","name":"liquidator","type":"address"}],"name":"liquidate","outputs":[{"internalType":"uint256","name":"seizeTokens","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"mint","outputs":[{"internalType":"uint256","name":"mintTokens","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":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rateUpdateTimestamp","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"redeemer","type":"address"}],"name":"redeem","outputs":[{"internalType":"uint256","name":"redeemAmount","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"reserveFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"skim","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"sync","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalBorrows","outputs":[{"internalType":"uint112","name":"","type":"uint112"}],"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":"borrower","type":"address"}],"name":"trackBorrow","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","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"}]
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106103995760003560e01c806370a08231116101e9578063b7f1118a1161010f578063c914b437116100ad578063e07660001161007c578063e076600014610b8b578063e12b630614610b93578063fca7820b14610b9b578063fff6cae914610bb857610399565b8063c914b43714610ae2578063d505accf14610aea578063d8dfeb4514610b48578063dd62ed3e14610b5057610399565b8063bc25cf77116100e9578063bc25cf7714610a97578063be340e3214610aca578063c45a015514610ad2578063c72f3fbb14610ada57610399565b8063b7f1118a14610a54578063b95b92a314610a87578063ba9a7a5614610a8f57610399565b806395a2251f11610187578063a6afed9511610156578063a6afed9514610a03578063a9059cbb14610a0b578063aa5af0fd14610a44578063ad7a672f14610a4c57610399565b806395a2251f1461096257806395d89b41146109955780639e79b55c1461099d578063a0715719146109fb57610399565b806386b9d81f116101c357806386b9d81f146108ae57806391b42745146108e9578063926d845b1461090c5780639292b0321461094557610399565b806370a0823114610827578063796b89b91461085a5780637ecebe001461087b57610399565b806335542822116102ce5780634d73e9ba1161026c5780636a030c111161023b5780636a030c11146106d15780636a627842146107b15780636bd76d24146107e45780636f307dc31461081f57610399565b80634d73e9ba1461065d57806355957220146106905780635b2b9d1a146106c157806368544065146106c957610399565b80634322b714116102a85780634322b7141461061a578063452ae95f1461062257806347bd37181461062a5780634a5d316c1461065557610399565b806335542822146105d75780633644e5151461060a5780633ba0b9a91461061257610399565b80632374e8a91161033b57806327549a0b1161031557806327549a0b1461058c5780632d5231d3146105a957806330adf81f146105b1578063313ce567146105b957610399565b80632374e8a91461053957806323b872dd14610541578063253c24f31461058457610399565b8063095ea7b311610377578063095ea7b31461043d57806318160ddd1461048a5780631aebf12f146104925780631e7dcc0d1461049a57610399565b806301f8c1c81461039e57806306fdde03146103b8578063075f4e7f14610435575b600080fd5b6103a6610bc0565b60408051918252519081900360200190f35b6103c0610be4565b6040805160208082528351818301528351919283929083019185019080838360005b838110156103fa5781810151838201526020016103e2565b50505050905090810190601f1680156104275780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103a6610c90565b6104766004803603604081101561045357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610c99565b604080519115158252519081900360200190f35b6103a6610cb0565b6103a6610cb6565b610537600480360360808110156104b057600080fd5b73ffffffffffffffffffffffffffffffffffffffff8235811692602081013590911691604082013591908101906080810160608201356401000000008111156104f857600080fd5b82018360208201111561050a57600080fd5b8035906020019184600183028401116401000000008311171561052c57600080fd5b509092509050610cbc565b005b6103a6611235565b6104766004803603606081101561055757600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135611241565b6103a6611355565b610537600480360360208110156105a257600080fd5b503561135f565b6103a6611474565b6103a661147a565b6105c161149e565b6040805160ff9092168252519081900360200190f35b610537600480360360208110156105ed57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166114a7565b6103a66115ec565b6103a66115f2565b6103a661168b565b6103a6611691565b61063261169a565b604080516dffffffffffffffffffffffffffff9092168252519081900360200190f35b6105376116c2565b6103a66004803603602081101561067357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611773565b610698611829565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6103a6611845565b6103a661184a565b610537600480360360808110156106e757600080fd5b81019060208101813564010000000081111561070257600080fd5b82018360208201111561071457600080fd5b8035906020019184600183028401116401000000008311171561073657600080fd5b91939092909160208101903564010000000081111561075457600080fd5b82018360208201111561076657600080fd5b8035906020019184600183028401116401000000008311171561078857600080fd5b919350915073ffffffffffffffffffffffffffffffffffffffff81358116916020013516611856565b6103a6600480360360208110156107c757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166119d7565b6103a6600480360360408110156107fa57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516611c85565b610698611ca2565b6103a66004803603602081101561083d57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611cbe565b610862611cd0565b6040805163ffffffff9092168252519081900360200190f35b6103a66004803603602081101561089157600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611cda565b6103a6600480360360408110156108c457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516611cec565b6108f1611fd9565b6040805165ffffffffffff9092168252519081900360200190f35b6104766004803603604081101561092257600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611ff1565b6105376004803603602081101561095b57600080fd5b5035611ffe565b6103a66004803603602081101561097857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16612118565b6103c061233c565b610537600480360360e08110156109b357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c001356123b4565b6103a66123f8565b6105376123fd565b61047660048036036040811015610a2157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561263c565b610632612649565b6103a661265f565b61053760048036036020811015610a6a57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16612665565b61086261268d565b6103a66126b9565b61053760048036036020811015610aad57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166126bf565b6103a6612842565b610698612848565b6103a6612864565b6108f1612870565b610537600480360360e0811015610b0057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c0013561287e565b6106986128b9565b6103a660048036036040811015610b6657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160200135166128da565b6103a66128f7565b6108626128ff565b61053760048036036020811015610bb157600080fd5b503561291b565b610537612a2e565b7ff6d86ed606f871fa1a557ac0ba607adce07767acf53f492fb215a1a4db4aea6f81565b6000805460408051602060026001851615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f81018490048402820184019092528181529291830182828015610c885780601f10610c5d57610100808354040283529160200191610c88565b820191906000526020600020905b815481529060010190602001808311610c6b57829003601f168201915b505050505081565b640d7957c4d081565b6000610ca6338484612b04565b5060015b92915050565b60035481565b60125481565b600b5460ff16610d2d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496d7065726d61783a205245454e544552454400000000000000000000000000604482015290519081900360640190fd5b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055610d5d6123fd565b600a5480841115610dcf57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f496d7065726d61783a20494e53554646494349454e545f434153480000000000604482015290519081900360640190fd5b610dda863386612b73565b8315610dea57610dea8585612c8a565b8115610ec2576040517f876d9d9e000000000000000000000000000000000000000000000000000000008152336004820181815273ffffffffffffffffffffffffffffffffffffffff898116602485015260448401889052608060648501908152608485018790529089169363876d9d9e93928b928a928a928a92909160a401848480828437600081840152601f19601f8201169050808301925050509650505050505050600060405180830381600087803b158015610ea957600080fd5b505af1158015610ebd573d6000803e3d6000fd5b505050505b600854604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905160009273ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b158015610f3357600080fd5b505afa158015610f47573d6000803e3d6000fd5b505050506040513d6020811015610f5d57600080fd5b505190506000610f8b670de0b6b3a7640000610f7f888463ffffffff612e9016565b9063ffffffff612f0a16565b90506000610f9f878363ffffffff612f4c16565b90506000610fc385610fb7868b63ffffffff612f4c16565b9063ffffffff612fc016565b90506000806000610fd58d8686613002565b9250925092508385111561115757600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639aac2c538e30856040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b1580156110c057600080fd5b505af11580156110d4573d6000803e3d6000fd5b505050506040513d60208110156110ea57600080fd5b505161115757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f496d7065726d61783a20494e53554646494349454e545f4c4951554944495459604482015290519081900360640190fd5b8b73ffffffffffffffffffffffffffffffffffffffff168d73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f33f3048bd4e6af45e53afb722adfd57dbde82da7e93e44db921fb4b8c6a70c4b8e88888888604051808681526020018581526020018481526020018381526020018281526020019550505050505060405180910390a4505050505050505061120361331e565b5050600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055505050565b6706f05b59d3b2000081565b73ffffffffffffffffffffffffffffffffffffffff831660009081526005602090815260408083203384529091528120547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1461134057604080518082018252601e81527f496d7065726d61783a205452414e534645525f4e4f545f414c4c4f574544000060208083019190915273ffffffffffffffffffffffffffffffffffffffff8716600090815260058252838120338252909152919091205461130e91849063ffffffff61332e16565b73ffffffffffffffffffffffffffffffffffffffff851660009081526005602090815260408083203384529091529020555b61134b8484846133df565b5060019392505050565b6534a1fed8cc8081565b600b5460ff166113d057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496d7065726d61783a205245454e544552454400000000000000000000000000604482015290519081900360640190fd5b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905561140e81640d7957c4d06534a1fed8cc806134f8565b60138190556040805182815290517f1396dfcdb64fb7eb77fb84966f27b81afe14aa70b6e966c68d74af3302a9fe909181900360200190a150600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b60135481565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60025460ff1681565b600b5460ff1661151857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496d7065726d61783a205245454e544552454400000000000000000000000000604482015290519081900360640190fd5b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690556115486135e3565b6014805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915560408051918252517f468b6598e7e810c65c9858b5f23a2d5b8692fb753b78a032232de4c6ed3cabbf9181900360200190a150600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b60065481565b60006115fc6123fd565b600354600e54600a5460009161163491906e01000000000000000000000000000090046dffffffffffffffffffffffffffff16612f4c565b9050811580611641575080155b1561165857670de0b6b3a764000092505050611688565b600061167683610f7f84670de0b6b3a764000063ffffffff612e9016565b905061168281846136fa565b93505050505b90565b60115481565b6449d482460081565b600e546e01000000000000000000000000000090046dffffffffffffffffffffffffffff1681565b60095473ffffffffffffffffffffffffffffffffffffffff161561174757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f496d7065726d61783a20464143544f52595f414c52454144595f534554000000604482015290519081900360640190fd5b600980547fffffffffffffffffffffffff00000000000000000000000000000000000000001633179055565b600061177d614333565b5073ffffffffffffffffffffffffffffffffffffffff82166000908152600d60209081526040918290208251808401909352546dffffffffffffffffffffffffffff80821684526e010000000000000000000000000000909104169082018190526117ec576000915050611824565b6020810151600e548251611820926dffffffffffffffffffffffffffff90811692610f7f928216911663ffffffff612e9016565b9150505b919050565b60145473ffffffffffffffffffffffffffffffffffffffff1681565b600281565b670dbd2fc137a3000081565b60095473ffffffffffffffffffffffffffffffffffffffff1633146118dc57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f496d7065726d61783a20554e415554484f52495a454400000000000000000000604482015290519081900360640190fd5b61194f86868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a01819004810282018101909252888152925088915087908190840183828082843760009201919091525061382c92505050565b6008805473ffffffffffffffffffffffffffffffffffffffff9384167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116179055600b805491909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff9091161790555050670de0b6b3a7640000600f555050565b600b5460009060ff16611a4b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496d7065726d61783a205245454e544552454400000000000000000000000000604482015290519081900360640190fd5b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055600854604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905160009273ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b158015611ae457600080fd5b505afa158015611af8573d6000803e3d6000fd5b505050506040513d6020811015611b0e57600080fd5b5051600a54909150600090611b2a90839063ffffffff612fc016565b9050611b4f611b376115f2565b610f7f83670de0b6b3a764000063ffffffff612e9016565b925060035460001415611b7d57611b6e836103e863ffffffff612fc016565b9250611b7d60006103e8613910565b60008311611bec57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f496d7065726d61783a204d494e545f414d4f554e545f5a45524f000000000000604482015290519081900360640190fd5b611bf68484613910565b6040805182815260208101859052815173ffffffffffffffffffffffffffffffffffffffff87169233927f2f00e3cdd69a77be7ed215ec7b2a36784dd158f921fca79ac29deffa353fe6ee929081900390910190a35050611c5561331e565b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055919050565b600c60209081526000928352604080842090915290825290205481565b60085473ffffffffffffffffffffffffffffffffffffffff1681565b60046020526000908152604090205481565b63ffffffff421690565b60076020526000908152604090205481565b600b5460009060ff16611d6057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496d7065726d61783a205245454e544552454400000000000000000000000000604482015290519081900360640190fd5b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055611d906123fd565b600854604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905160009273ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b158015611e0157600080fd5b505afa158015611e15573d6000803e3d6000fd5b505050506040513d6020811015611e2b57600080fd5b5051600a54909150600090611e4790839063ffffffff612fc016565b90506000611e5d611e5787611773565b836139c1565b600b54604080517fb2a02ff100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff89811660048301528a81166024830152604482018590529151939450610100909204169163b2a02ff1916064808201926020929091908290030181600087803b158015611ee857600080fd5b505af1158015611efc573d6000803e3d6000fd5b505050506040513d6020811015611f1257600080fd5b5051935060008080611f25898287613002565b604080518b8152602081018a905280820185905260608101849052608081018390529051939650919450925073ffffffffffffffffffffffffffffffffffffffff808b1692908c169133917fb0dbe18c6ffdf0da655dd690e77211d379205c497be44c64447c3f5f021b51679181900360a00190a4505050505050611fa861331e565b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905592915050565b6010546601000000000000900465ffffffffffff1681565b6000610ca63384846139d7565b600b5460ff1661206f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496d7065726d61783a205245454e544552454400000000000000000000000000604482015290519081900360640190fd5b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690556120b2816706f05b59d3b20000670dbd2fc137a300006134f8565b60128190556040805182815290517f7a550b1995ff63260fb313f12024e66e73bad425372e5af6b1e04cb3799ef38c9181900360200190a150600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b600b5460009060ff1661218c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496d7065726d61783a205245454e544552454400000000000000000000000000604482015290519081900360640190fd5b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055306000908152600460205260409020546121e8670de0b6b3a7640000610f7f6121db6115f2565b849063ffffffff612e9016565b91506000821161225957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f496d7065726d61783a2052454445454d5f414d4f554e545f5a45524f00000000604482015290519081900360640190fd5b600a548211156122ca57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f496d7065726d61783a20494e53554646494349454e545f434153480000000000604482015290519081900360640190fd5b6122d43082613a46565b6122de8383612c8a565b6040805183815260208101839052815173ffffffffffffffffffffffffffffffffffffffff86169233927f3f693fff038bb8a046aa76d9516190ac7444f7d69cf952c4cbdc086fdef2d6fc929081900390910190a350611c5561331e565b60018054604080516020600284861615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f81018490048402820184019092528181529291830182828015610c885780601f10610c5d57610100808354040283529160200191610c88565b6123e4878787878787877ff6d86ed606f871fa1a557ac0ba607adce07767acf53f492fb215a1a4db4aea6f613b0a565b6123ef8787876139d7565b50505050505050565b600081565b600e546dffffffffffffffffffffffffffff808216916e0100000000000000000000000000008104909116907c0100000000000000000000000000000000000000000000000000000000900463ffffffff166000612459611cd0565b90508063ffffffff168263ffffffff161415612478575050505061263a565b600e805463ffffffff8084167c0100000000000000000000000000000000000000000000000000000000027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff90921691909117909155601054838303916000916124ed9165ffffffffffff9091169080851690612e9016565b9050600061250d670de0b6b3a7640000610f7f848963ffffffff612e9016565b905061251f868263ffffffff612f4c16565b955061254d612540670de0b6b3a7640000610f7f858b63ffffffff612e9016565b889063ffffffff612f4c16565b965061255887613dad565b600e80547fffffffffffffffffffffffffffffffffffff0000000000000000000000000000166dffffffffffffffffffffffffffff929092169190911790556125a086613dad565b600e80546dffffffffffffffffffffffffffff929092166e010000000000000000000000000000027fffffffff0000000000000000000000000000ffffffffffffffffffffffffffff909216919091179055604080518281526020810189905280820188905290517f875352fb3fadeb8c0be7cbbe8ff761b308fa7033470cd0287f02f3436fd76cb99181900360600190a1505050505050505b565b6000610ca63384846133df565b600e546dffffffffffffffffffffffffffff1681565b600a5481565b61268a8161267283611773565b600e546dffffffffffffffffffffffffffff16613e30565b50565b600e547c0100000000000000000000000000000000000000000000000000000000900463ffffffff1681565b6103e881565b600b5460ff1661273057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496d7065726d61783a205245454e544552454400000000000000000000000000604482015290519081900360640190fd5b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055600a54600854604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905161281493859361280f93919273ffffffffffffffffffffffffffffffffffffffff909116916370a08231916024808301926020929190829003018186803b1580156127d757600080fd5b505afa1580156127eb573d6000803e3d6000fd5b505050506040513d602081101561280157600080fd5b50519063ffffffff612fc016565b612c8a565b50600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b600f5481565b60095473ffffffffffffffffffffffffffffffffffffffff1681565b6702c68af0bb14000081565b60105465ffffffffffff1681565b6128ae878787878787877f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9613b0a565b6123ef878787612b04565b600b54610100900473ffffffffffffffffffffffffffffffffffffffff1681565b600560209081526000928352604080842090915290825290205481565b6312e687c081565b6010546c01000000000000000000000000900463ffffffff1681565b600b5460ff1661298c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496d7065726d61783a205245454e544552454400000000000000000000000000604482015290519081900360640190fd5b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690556129c88160006702c68af0bb1400006134f8565b60118190556040805182815290517f9d9cd27245b4e6b06dcf523ac57b6e851b934e199eee376313f906e94bfbfd559181900360200190a150600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b600b5460ff16612a9f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496d7065726d61783a205245454e544552454400000000000000000000000000604482015290519081900360640190fd5b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055612acf6123fd565b612ad761331e565b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b73ffffffffffffffffffffffffffffffffffffffff808416600081815260056020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152600c60209081526040808320948716808452949091529020549114801590612bd857507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114155b15612c845781811015612c4c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f496d7065726d61783a20424f52524f575f4e4f545f414c4c4f57454400000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600c6020908152604080832093871683529290522082820390555b50505050565b600854604080518082018252601981527f7472616e7366657228616464726573732c75696e743235362900000000000000602091820152815173ffffffffffffffffffffffffffffffffffffffff86811660248301526044808301879052845180840390910181526064909201845291810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001781529251815160009560609594169382918083835b60208310612d9057805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101612d53565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612df2576040519150601f19603f3d011682016040523d82523d6000602084013e612df7565b606091505b5091509150818015612e25575080511580612e255750808060200190516020811015612e2257600080fd5b50515b612c8457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f496d7065726d61783a205452414e534645525f4641494c454400000000000000604482015290519081900360640190fd5b600082612e9f57506000610caa565b82820282848281612eac57fe5b0414612f03576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061442b6021913960400191505060405180910390fd5b9392505050565b6000612f0383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613ef1565b600082820183811015612f0357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000612f0383836040518060400160405280601f81526020017f536166654d6174683a207375627472616374696f6e20756e646572666c6f770081525061332e565b600080600061301086611773565b925083851415613048575050600e5481906e01000000000000000000000000000090046dffffffffffffffffffffffffffff16613315565b600e546dffffffffffffffffffffffffffff16848611156131705773ffffffffffffffffffffffffffffffffffffffff87166000908152600d6020526040902085870361309b868263ffffffff612f4c16565b94506130a685613dad565b82547fffffffffffffffffffffffffffffffffffff0000000000000000000000000000166dffffffffffffffffffffffffffff918216177fffffffff0000000000000000000000000000ffffffffffffffffffffffffffff166e0100000000000000000000000000008583168102919091178455600e5461312b929190041682612f4c565b935061313684613dad565b600e806101000a8154816dffffffffffffffffffffffffffff02191690836dffffffffffffffffffffffffffff16021790555050506132f8565b73ffffffffffffffffffffffffffffffffffffffff87166000908152600d602052604090208686038086116131a65760006131aa565b8086035b94506131b585613dad565b82547fffffffffffffffffffffffffffffffffffff0000000000000000000000000000166dffffffffffffffffffffffffffff919091161782558461321f5781547fffffffff0000000000000000000000000000ffffffffffffffffffffffffffff168255613269565b81547fffffffff0000000000000000000000000000ffffffffffffffffffffffffffff166e0100000000000000000000000000006dffffffffffffffffffffffffffff8516021782555b600061327b878763ffffffff612fc016565b600e546e01000000000000000000000000000090046dffffffffffffffffffffffffffff16955090508085116132b25760006132b6565b8085035b94506132c185613dad565b600e806101000a8154816dffffffffffffffffffffffffffff02191690836dffffffffffffffffffffffffffff1602179055505050505b6133138784836dffffffffffffffffffffffffffff16613e30565b505b93509350939050565b613326613f70565b61263a614046565b600081848411156133d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561339c578181015183820152602001613384565b50505050905090810190601f1680156133c95780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b604080518082018252601b81527f496d7065726d61783a205452414e534645525f544f4f5f48494748000000000060208083019190915273ffffffffffffffffffffffffffffffffffffffff861660009081526004909152919091205461344d91839063ffffffff61332e16565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260046020526040808220939093559084168152205461348f908263ffffffff612f4c16565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526004602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6135006135e3565b8183101561356f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f496d7065726d61783a20494e56414c49445f53455454494e4700000000000000604482015290519081900360640190fd5b808311156135de57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f496d7065726d61783a20494e56414c49445f53455454494e4700000000000000604482015290519081900360640190fd5b505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f851a4406040518163ffffffff1660e01b815260040160206040518083038186803b15801561364b57600080fd5b505afa15801561365f573d6000803e3d6000fd5b505050506040513d602081101561367557600080fd5b505173ffffffffffffffffffffffffffffffffffffffff16331461263a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f496d7065726d61783a20554e415554484f52495a454400000000000000000000604482015290519081900360640190fd5b600f546000908084111561382357600061374b61373e670de0b6b3a7640000610f7f601154613732878b612fc090919063ffffffff16565b9063ffffffff612e9016565b869063ffffffff612fc016565b9050600061376785610fb784610f7f838b63ffffffff612e9016565b9050801561381457600954604080517f345ef941000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff169163345ef941916004808301926020929190829003018186803b1580156137da57600080fd5b505afa1580156137ee573d6000803e3d6000fd5b505050506040513d602081101561380457600080fd5b505190506138128183613910565b505b50600f8190559150610caa9050565b83915050610caa565b815161383f90600090602085019061434a565b50805161385390600190602084019061434a565b5060405146908060526143d982396040805191829003605201822086516020978801208383018352600184527f310000000000000000000000000000000000000000000000000000000000000093880193909352815180880191909152808201929092527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6606083015260808201939093523060a0808301919091528351808303909101815260c090910190925250805192019190912060065550565b600354613923908263ffffffff612f4c16565b60035573ffffffffffffffffffffffffffffffffffffffff821660009081526004602052604090205461395c908263ffffffff612f4c16565b73ffffffffffffffffffffffffffffffffffffffff831660008181526004602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60008183106139d05781612f03565b5090919050565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152600c6020908152604080832094871680845294825291829020859055815185815291517fc3c1215b41d54142382d54a05fb991007165ae91bcb1879bac8b290d9111aaf49281900390910190a3505050565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260046020526040902054613a7c908263ffffffff612fc016565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260046020526040902055600354613ab5908263ffffffff612fc016565b60035560408051828152905160009173ffffffffffffffffffffffffffffffffffffffff8516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b42851015613b7957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496d7065726d61783a2045585049524544000000000000000000000000000000604482015290519081900360640190fd5b60065473ffffffffffffffffffffffffffffffffffffffff808a1660008181526007602090815260408083208054600180820190925582518085018a905280840196909652958e166060860152608085018d905260a085019590955260c08085018c90528151808603909101815260e0850182528051908301207f19010000000000000000000000000000000000000000000000000000000000006101008601526101028501969096526101228085019690965280518085039096018652610142840180825286519683019690962095839052610162840180825286905260ff8a166101828501526101a284018990526101c28401889052519193926101e2808201937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081019281900390910190855afa158015613cbb573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811615801590613d3657508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b613da157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f496d7065726d61783a20494e56414c49445f5349474e41545552450000000000604482015290519081900360640190fd5b50505050505050505050565b60006e0100000000000000000000000000008210613e2c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496d7065726d61783a2053414645313132000000000000000000000000000000604482015290519081900360640190fd5b5090565b60145473ffffffffffffffffffffffffffffffffffffffff1680613e5457506135de565b604080517f05285d7f00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff868116600483015260248201869052604482018590529151918316916305285d7f9160648082019260009290919082900301818387803b158015613ed357600080fd5b505af1158015613ee7573d6000803e3d6000fd5b5050505050505050565b60008183613f5a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181815283516024840152835190928392604490910191908501908083836000831561339c578181015183820152602001613384565b506000838581613f6657fe5b0495945050505050565b600854604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905173ffffffffffffffffffffffffffffffffffffffff909216916370a0823191602480820192602092909190829003018186803b158015613fe157600080fd5b505afa158015613ff5573d6000803e3d6000fd5b505050506040513d602081101561400b57600080fd5b5051600a81905560408051918252517f8a0df8ef054fae2c3d2d19a7b322e864870cc9fd3cb07fb9526309c596244bf49181900360200190a1565b60125460135460105465ffffffffffff8082169166010000000000008104909116906c01000000000000000000000000900463ffffffff16600081614089611cd0565b03905063ffffffff811615614214576140a0611cd0565b6010600c6101000a81548163ffffffff021916908363ffffffff160217905550600083851015614129576000670de0b6b3a76400008363ffffffff168887898903670de0b6b3a764000002816140f257fe5b040202816140fc57fe5b049050670de0b6b3a7640000811161411e5780670de0b6b3a764000003614121565b60005b91505061416a565b6000670de0b6b3a76400008363ffffffff168887888a03670de0b6b3a7640000028161415157fe5b0402028161415b57fe5b04670de0b6b3a7640000019150505b670de0b6b3a76400008482020493506449d482460084111561418f576449d482460093505b6312e687c08410156141a3576312e687c093505b601080547fffffffffffffffffffffffffffffffffffffffff000000000000ffffffffffff16660100000000000065ffffffffffff8716021790556040805185815290517f713a98ffb7d769b8e33e2ee945ebb6acb7f397532688164d3ce1081f903c77bc916020908290030190a1505b600e54600a546000916e01000000000000000000000000000090046dffffffffffffffffffffffffffff1690829061424c9083612f4c565b9050801561426d578082670de0b6b3a7640000028161426757fe5b04614270565b60005b9250505086811161428e57868185028161428657fe5b0494506142c4565b600087670de0b6b3a764000003888303670de0b6b3a764000002816142af57fe5b670de0b6b3a764000091900481018602049550505b601080547fffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000001665ffffffffffff87161790556040805186815290517f338541dc9083f6af6715482fb419e1483c1ae9097764fd68a5dc98109bd5a788916020908290030190a150505050505050565b604080518082019091526000808252602082015290565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061438b57805160ff19168380011785556143b8565b828001600101855582156143b8579182015b828111156143b857825182559160200191906001019061439d565b50613e2c926116889250905b80821115613e2c57600081556001016143c456fe454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e747261637429536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a265627a7a72315820319adb410a7c58ef093a5132bd1b4af3dd27f727f50b5d4b9c3f42427a7e10b964736f6c63430005100032
Deployed Bytecode Sourcemap
38114:6250:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;38114:6250:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18866:115;;;:::i;:::-;;;;;;;;;;;;;;;;7018: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;7018:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25629:53;;;:::i;8701:132::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8701:132:0;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;7094:23;;;:::i;17561:41::-;;;:::i;42230:1220::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;42230:1220:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;42230:1220:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;42230:1220:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;42230:1220:0;;-1:-1:-1;42230:1220:0;-1:-1:-1;42230:1220:0;:::i;:::-;;25525:42;;;:::i;8967:299::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8967:299:0;;;;;;;;;;;;;;;;;;:::i;25701:51::-;;;:::i;26887:216::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26887:216:0;;:::i;17612:37::-;;;:::i;9943:108::-;;;:::i;7064:26::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;27108:179;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27108:179:0;;;;:::i;7234:31::-;;;:::i;39436:350::-;;;:::i;17516:35::-;;;:::i;19614:56::-;;;:::i;17191:27::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;13785:130;;;:::i;40013:305::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;40013:305:0;;;;:::i;17667:28::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;19570:40;;;:::i;25577:42::-;;;:::i;26037:355::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;26037:355:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;26037:355:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;26037:355:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;26037:355:0;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;26037:355:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;26037:355:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;26037:355:0;;-1:-1:-1;26037:355:0;-1:-1:-1;26037:355:0;;;;;;;;;;;:::i;14436:591::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14436:591:0;;;;:::i;16804:72::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16804:72:0;;;;;;;;;;;:::i;13356:25::-;;;:::i;7121:41::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;7121:41:0;;;;:::i;23096:106::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;7269:38;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;7269:38:0;;;;:::i;43523:658::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;43523:658:0;;;;;;;;;;;:::i;17382:42::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;18244:147;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18244:147:0;;;;;;;;;:::i;26620:262::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26620:262:0;;:::i;15100:493::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15100:493:0;;;;:::i;7040:20::-;;;:::i;18985:254::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;18985:254:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;38217:35::-;;;:::i;22261:828::-;;;:::i;8838:124::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8838:124:0;;;;;;;;;:::i;17154:33::-;;;:::i;13411:24::-;;;:::i;44187:118::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;44187:118:0;;;;:::i;17222:64::-;;;:::i;13439:45::-;;;:::i;15644:138::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15644:138:0;;;;:::i;17293:28::-;;;:::i;13385:22::-;;;:::i;25466:49::-;;;:::i;17354:24::-;;;:::i;10055:235::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;10055:235:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;16773:25::-;;;:::i;7166:61::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;7166:61:0;;;;;;;;;;;:::i;19691:56::-;;;:::i;17443:67::-;;;:::i;26398:217::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26398:217:0;;:::i;39838:54::-;;;:::i;18866:115::-;18915:66;18866:115;:::o;7018:18::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;25629:53::-;25669:13;25629:53;:::o;8701:132::-;8765:4;8776:36;8785:10;8797:7;8806:5;8776:8;:36::i;:::-;-1:-1:-1;8824:4:0;8701:132;;;;;:::o;7094:23::-;;;;:::o;17561:41::-;;;;:::o;42230:1220::-;16491:11;;;;16483:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16531:11;:19;;;;;;44334:16;:14;:16::i;:::-;42386:12;;42411:29;;;;42403:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42477:57;42499:8;42509:10;42521:12;42477:21;:57::i;:::-;42583:16;;42579:59;;42601:37;42615:8;42625:12;42601:13;:37::i;:::-;42647:15;;42643:103;;42664:82;;;;;42705:10;42664:82;;;;;;:40;:82;;;;;;;;;;;;;;;;;;;;;;;;;;:40;;;;;;42705:10;42717:8;;42727:12;;42741:4;;;;42664:82;;;;42741:4;;;;42664:82;1:33:-1;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;42664:82:0;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;42664:82:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;42664:82:0;;;;42643:103;42773:10;;42766:43;;;;;;42803:4;42766:43;;;;;;42751:12;;42773:10;;;42766:28;;:43;;;;;;;;;;;;;;42773:10;42766:43;;;5:2:-1;;;;30:1;27;20:12;5:2;42766:43:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;42766:43:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;42766:43:0;;-1:-1:-1;42818:14:0;42835:38;42868:4;42835:28;:12;42818:14;42835:28;:16;:28;:::i;:::-;:32;:38;:32;:38;:::i;:::-;42818:55;-1:-1:-1;42878:25:0;42906:27;:12;42818:55;42906:27;:16;:27;:::i;:::-;42878:55;-1:-1:-1;42938:16:0;42957:44;42987:13;42957:25;:7;42969:12;42957:25;:11;:25;:::i;:::-;:29;:44;:29;:44;:::i;:::-;42938:63;;43007:24;43033:19;43054:18;43076:58;43090:8;43100:20;43122:11;43076:13;:58::i;:::-;43006:128;;;;;;43169:11;43146:20;:34;43143:171;;;43207:10;;;;;;;;;;;43195:33;;;43229:8;43247:4;43254:14;43195:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;43195:74:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;43195:74:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;43195:74:0;43182:132;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43357:8;43328:117;;43347:8;43328:117;;43335:10;43328:117;;;43367:12;43381:11;43394:19;43415:14;43431:13;43328:117;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44355:1;;;;;;;;16665:9;:7;:9::i;:::-;-1:-1:-1;;16561:11:0;:18;;;;16575:4;16561:18;;;-1:-1:-1;;;42230:1220:0:o;25525:42::-;25560:7;25525:42;:::o;8967:299::-;9060:15;;;9045:4;9060:15;;;:9;:15;;;;;;;;9076:10;9060:27;;;;;;;;9096:2;9060:39;9056:159;;9137:72;;;;;;;;;;;;;;;;;;;;:15;;;-1:-1:-1;9137:15:0;;;:9;:15;;;;;9153:10;9137:27;;;;;;;;;;:72;;9169:5;;9137:72;:31;:72;:::i;:::-;9107:15;;;;;;;:9;:15;;;;;;;;9123:10;9107:27;;;;;;;:102;9056:159;9219:26;9229:4;9235:2;9239:5;9219:9;:26::i;:::-;-1:-1:-1;9257:4:0;8967:299;;;;;:::o;25701:51::-;25741:11;25701:51;:::o;26887:216::-;16491:11;;;;16483:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16531:11;:19;;;;;;26960:65;26974:14;25669:13;25741:11;26960:13;:65::i;:::-;27030:11;:28;;;27068:30;;;;;;;;;;;;;;;;;-1:-1:-1;16561:11:0;:18;;;;16575:4;16561:18;;;26887:216::o;17612:37::-;;;;:::o;9943:108::-;9985:66;9943:108;:::o;7064:26::-;;;;;;:::o;27108:179::-;16491:11;;;;16483:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16531:11;:19;;;;;;27188:13;:11;:13::i;:::-;27206;:32;;;;;;;;;;;;;;27248:34;;;;;;;;;;;;;;;;-1:-1:-1;16561:11:0;:18;;;;16575:4;16561:18;;;27108:179::o;7234:31::-;;;;:::o;39436:350::-;39483:4;44334:16;:14;:16::i;:::-;39514:11;;39569:12;;39552;;39494:17;;39552:30;;:12;39569;;;;;39552:16;:30::i;:::-;39530:52;-1:-1:-1;39591:17:0;;;:40;;-1:-1:-1;39612:19:0;;39591:40;39587:72;;;13348:4;39633:26;;;;;;39587:72;39664:18;39685:42;39714:12;39685:24;:14;39704:4;39685:24;:18;:24;:::i;:42::-;39664:63;;39739:42;39753:13;39768:12;39739:13;:42::i;:::-;39732:49;;;;;44355:1;39436:350;:::o;17516:35::-;;;;:::o;19614:56::-;19658:12;19614:56;:::o;17191:27::-;;;;;;;;;:::o;13785:130::-;13830:7;;:21;:7;:21;13822:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13890:7;:20;;;;13900:10;13890:20;;;13785:130::o;40013:305::-;40075:4;40086:36;;:::i;:::-;-1:-1:-1;40125:24:0;;;;;;;:14;:24;;;;;;;;;40086:63;;;;;;;;;;;;;;;;;;;;;;;;;;40154:47;;40200:1;40193:8;;;;;40154:47;40284:28;;;;40267:11;;40237:24;;40232:81;;;;;;;:47;;:30;;;40267:11;40232:47;:34;:47;:::i;:81::-;40225:88;;;40013:305;;;;:::o;17667:28::-;;;;;;:::o;19570:40::-;19609:1;19570:40;:::o;25577:42::-;25612:7;25577:42;:::o;26037:355::-;26203:7;;;;26189:10;:21;26181:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26262:24;26271:5;;26262:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;;26262:24:0;;;;137:4:-1;26262:24:0;;;;;;;;;;;;;;;;;;-1:-1:-1;26278:7:0;;-1:-1:-1;26278:7:0;;;;26262:24;;26278:7;;;;26262:24;1:33:-1;99:1;81:16;;74:27;;;;-1:-1;26262:8:0;;-1:-1:-1;;;26262:24:0:i;:::-;26291:10;:24;;;;;;;;;;;;;26320:10;:24;;;;;;26291;26320;;;;;;;;-1:-1:-1;;13348:4:0;26349:16;:38;-1:-1:-1;;26037:355:0:o;14436:591::-;16491:11;;14504:15;;16491:11;;16483:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16531:11;:19;;;;;;14548:10;;14541:43;;;;;;14578:4;14541:43;;;;;;16545:5;;14548:10;;;14541:28;;:43;;;;;;;;;;;;;;14548:10;14541:43;;;5:2:-1;;;;30:1;27;20:12;5:2;14541:43:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;14541:43:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14541:43:0;14619:12;;14541:43;;-1:-1:-1;14589:15:0;;14607:25;;14541:43;;14607:25;:11;:25;:::i;:::-;14589:43;;14650:40;14675:14;:12;:14::i;:::-;14650:20;:10;14665:4;14650:20;:14;:20;:::i;:40::-;14637:53;;14700:11;;14715:1;14700:16;14697:180;;;14796:33;:10;13480:4;14796:33;:14;:33;:::i;:::-;14783:46;;14835:36;14849:1;13480:4;14835:5;:36::i;:::-;14902:1;14889:10;:14;14881:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14939:25;14945:6;14953:10;14939:5;:25::i;:::-;14974:48;;;;;;;;;;;;;;;;;;14979:10;;14974:48;;;;;;;;;;;16659:1;;16665:9;:7;:9::i;:::-;16561:11;:18;;;;16575:4;16561:18;;;14436:591;;-1:-1:-1;14436:591:0:o;16804:72::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;13356:25::-;;;;;;:::o;7121:41::-;;;;;;;;;;;;;:::o;23096:106::-;23173:23;:15;:23;;23096:106::o;7269:38::-;;;;;;;;;;;;;:::o;43523:658::-;16491:11;;43625:16;;16491:11;;16483:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16531:11;:19;;;;;;44334:16;:14;:16::i;:::-;43670:10;;43663:43;;;;;;43700:4;43663:43;;;;;;43648:12;;43670:10;;;43663:28;;:43;;;;;;;;;;;;;;43670:10;43663:43;;;5:2:-1;;;;30:1;27;20:12;5:2;43663:43:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;43663:43:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;43663:43:0;43742:12;;43663:43;;-1:-1:-1;43711:16:0;;43730:25;;43663:43;;43730:25;:11;:25;:::i;:::-;43711:44;;43766:22;43791:46;43800:23;43814:8;43800:13;:23::i;:::-;43825:11;43791:8;:46::i;:::-;43868:10;;43856:70;;;;;;43868:10;43856:70;;;;;;;;;;;;;;;;;;;;;;43766:71;;-1:-1:-1;43868:10:0;;;;;;43856:29;;:70;;;;;;;;;;;;;;;-1:-1:-1;43868:10:0;43856:70;;;5:2:-1;;;;30:1;27;20:12;5:2;43856:70:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;43856:70:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;43856:70:0;;-1:-1:-1;43933:24:0;;;44002:39;44016:8;43933:24;44029:11;44002:13;:39::i;:::-;44055:121;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43932:109;;-1:-1:-1;43932:109:0;;-1:-1:-1;43932:109:0;-1:-1:-1;44055:121:0;;;;;;;;;44065:10;;44055:121;;;;;;;;;44355:1;;;;;;16665:9;:7;:9::i;:::-;16561:11;:18;;;;16575:4;16561:18;;;43523:658;;-1:-1:-1;;43523:658:0:o;17382:42::-;;;;;;;;;:::o;18244:147::-;18317:4;18328:42;18343:10;18355:7;18364:5;18328:14;:42::i;26620:262::-;16491:11;;;;16483:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16531:11;:19;;;;;;26709:63;26723:22;25560:7;25612;26709:13;:63::i;:::-;26777:19;:44;;;26831:46;;;;;;;;;;;;;;;;;-1:-1:-1;16561:11:0;:18;;;;16575:4;16561:18;;;26620:262::o;15100:493::-;16491:11;;15172:17;;16491:11;;16483:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16531:11;:19;;;;;;15234:4;16545:5;15216:24;;;:9;:24;;;;;;15260:42;15297:4;15260:32;15277:14;:12;:14::i;:::-;15260:12;;:32;:16;:32;:::i;:42::-;15245:57;;15332:1;15317:12;:16;15309:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15395:12;;15379;:28;;15371:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15444:34;15458:4;15465:12;15444:5;:34::i;:::-;15483:37;15497:8;15507:12;15483:13;:37::i;:::-;15530:56;;;;;;;;;;;;;;;;;;15537:10;;15530:56;;;;;;;;;;;16659:1;16665:9;:7;:9::i;7040:20::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18985:254;19111:81;19127:5;19134:7;19143:5;19150:8;19160:1;19163;19166;18915:66;19111:15;:81::i;:::-;19197:37;19212:5;19219:7;19228:5;19197:14;:37::i;:::-;18985:254;;;;;;;:::o;38217:35::-;38251:1;38217:35;:::o;22261:828::-;22319:11;;;;;;;22356:12;;;;;;;22400:16;;;;;22299:17;22449:19;:17;:19::i;:::-;22425:43;;22498:14;22477:35;;:17;:35;;;22473:48;;;22514:7;;;;;;22473:48;22609:16;:33;;;;;;;;;;;;;;;;;;;22678:10;;22546:34;;;;22525:18;;22673:33;;22678:10;;;;;22673:33;;;;:20;:33;:::i;:::-;22651:55;-1:-1:-1;22712:24:0;22739:43;22777:4;22739:33;22651:55;22758:13;22739:33;:18;:33;:::i;:43::-;22712:70;-1:-1:-1;22803:40:0;:13;22712:70;22803:40;:17;:40;:::i;:::-;22787:56;-1:-1:-1;22863:62:0;22881:42;22918:4;22881:32;:14;22900:12;22881:32;:18;:32;:::i;:42::-;22863:12;;:62;:16;:62;:::i;:::-;22848:77;;22947:21;22955:12;22947:7;:21::i;:::-;22933:11;:35;;;;;;;;;;;;;;;22988:22;22996:13;22988:7;:22::i;:::-;22973:12;:37;;;;;;;;;;;;;;;;;;;23020:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22261:828;;;;;;;;:::o;8838:124::-;8898:4;8909:32;8919:10;8931:2;8935:5;8909:9;:32::i;17154:33::-;;;;;;:::o;13411:24::-;;;;:::o;44187:118::-;44240:60;44253:8;44263:23;44277:8;44263:13;:23::i;:::-;44288:11;;;;44240:12;:60::i;:::-;44187:118;:::o;17222:64::-;;;;;;;;;:::o;13439:45::-;13480:4;13439:45;:::o;15644:138::-;16491:11;;;;16483:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16531:11;:19;;;;;;15763:12;;15722:10;;15715:43;;;;;;15752:4;15715:43;;;;;;15697:80;;15711:2;;15715:61;;15763:12;;15722:10;;;;;15715:28;;:43;;;;;;;;;;;;;;15722:10;15715:43;;;5:2:-1;;;;30:1;27;20:12;5:2;15715:43:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;15715:43:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15715:43:0;;:61;:47;:61;:::i;:::-;15697:13;:80::i;:::-;-1:-1:-1;16561:11:0;:18;;;;16575:4;16561:18;;;15644:138::o;17293:28::-;;;;:::o;13385:22::-;;;;;;:::o;25466:49::-;25508:7;25466:49;:::o;17354:24::-;;;;;;:::o;10055:235::-;10175:74;10191:5;10198:7;10207:5;10214:8;10224:1;10227;10230;9985:66;10175:15;:74::i;:::-;10254:31;10263:5;10270:7;10279:5;10254:8;:31::i;16773:25::-;;;;;;;;;:::o;7166:61::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;19691:56::-;19735:12;19691:56;:::o;17443:67::-;;;;;;;;;:::o;26398:217::-;16491:11;;;;16483:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16531:11;:19;;;;;;26475:54;26489:16;16545:5;25508:7;26475:13;:54::i;:::-;26534:13;:32;;;26576:34;;;;;;;;;;;;;;;;;-1:-1:-1;16561:11:0;:18;;;;16575:4;16561:18;;;26398:217::o;39838:54::-;16491:11;;;;16483:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16531:11;:19;;;;;;44334:16;:14;:16::i;:::-;16665:9;:7;:9::i;:::-;16561:11;:18;;;;16575:4;16561:18;;;39838:54::o;8306:154::-;8381:16;;;;;;;;:9;:16;;;;;;;;:25;;;;;;;;;;;;;:33;;;8424:31;;;;;;;;;;;;;;;;;8306:154;;;:::o;18397:356::-;18513:22;;;;18489:21;18513:22;;;:15;:22;;;;;;;;:31;;;;;;;;;;;;;;18553:16;;;;:51;;;18601:2;18573:16;:31;;18553:51;18549:199;;;18640:5;18620:16;:25;;18612:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18684:22;;;;;;;;:15;:22;;;;;;;;:31;;;;;;;;;18718:24;;;18684:58;;18549:199;18397:356;;;;:::o;16078:264::-;16176:10;;16038:34;;;;;;;;;;;;;;;;;16192:44;;16176:10;16192:44;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;16192:44:0;;;;;;25:18:-1;;;61:17;;16192:44:0;182:15:-1;16192:44:0;179:29:-1;160:49;;16176:61:0;;;;16141:12;;16155:17;;16176:10;;;:61;;;;25:18:-1;36:153;66:2;61:3;58:11;36:153;;176:10;;164:23;;139:12;;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;16176:61:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;16140:97:0;;;;16250:7;:57;;;;-1:-1:-1;16262:11:0;;:16;;:44;;;16293:4;16282:24;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16282:24:0;16262:44;16242:95;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2865:471;2923:7;3168:6;3164:47;;-1:-1:-1;3198:1:0;3191:8;;3164:47;3235:5;;;3239:1;3235;:5;:1;3259:5;;;;;:10;3251:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3327:1;2865:471;-1:-1:-1;;;2865:471:0:o;4523:132::-;4581:7;4608:39;4612:1;4615;4608:39;;;;;;;;;;;;;;;;;:3;:39::i;1111:181::-;1169:7;1201:5;;;1225:6;;;;1217:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2004:137;2062:7;2089:44;2093:1;2096;2089:44;;;;;;;;;;;;;;;;;:3;:44::i;40599:1557::-;40694:24;40720:19;40741:18;40788:23;40802:8;40788:13;:23::i;:::-;40766:45;;40836:11;40820:12;:27;40816:96;;;-1:-1:-1;;40899:12:0;;40857:19;;40899:12;;;;;40849:63;;40816:96;40940:11;;;;40960:26;;;40956:1139;;;41034:24;;;40994:37;41034:24;;;:14;:24;;;;;41086:26;;;41135:39;:19;41086:26;41135:39;:23;:39;:::i;:::-;41118:56;;41207:23;41215:14;41207:7;:23::i;:::-;41180:50;;;;;;;;;41236:43;;;;;;;;;;;;;;:28;41306:12;41301:38;;41306:12;;;;41324:14;41301:22;:38::i;:::-;41285:54;;41361:22;41369:13;41361:7;:22::i;:::-;41346:12;;:37;;;;;;;;;;;;;;;;;;40956:1139;;;;;41444:24;;;41404:37;41444:24;;;:14;:24;;;;;41496:26;;;41547:36;;;:79;;41625:1;41547:79;;;41608:14;41586:19;:36;41547:79;41530:96;;41659:23;41667:14;41659:7;:23::i;:::-;41632:50;;;;;;;;;;;;41691:19;41688:133;;41719:32;;;;;;41688:133;;;41771:43;;;;;;;;;;;;41688:133;41826:25;41854:39;:19;41878:14;41854:39;:23;:39;:::i;:::-;41915:12;;;;;;;;-1:-1:-1;41826:67:0;-1:-1:-1;41964:36:0;;;:79;;42042:1;41964:79;;;42019:20;42003:13;:36;41964:79;41948:95;;42064:22;42072:13;42064:7;:22::i;:::-;42049:12;;:37;;;;;;;;;;;;;;;;;;40956:1139;;;;42099:52;42112:8;42122:14;42138:12;42099:52;;:12;:52::i;:::-;40599:1557;;;;;;;;;:::o;38709:80::-;38742:15;:13;:15::i;:::-;38762:22;:20;:22::i;2430:192::-;2516:7;2552:12;2544:6;;;;2536:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2536:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2588:5:0;;;2430:192::o;8465:231::-;8554:57;;;;;;;;;;;;;;;;;;;;:15;;;-1:-1:-1;8554:15:0;;;:9;:15;;;;;;;;:57;;8574:5;;8554:57;:19;:57;:::i;:::-;8536:15;;;;;;;;:9;:15;;;;;;:75;;;;8632:13;;;;;;;:24;;8650:5;8632:24;:17;:24;:::i;:::-;8616:13;;;;;;;;:9;:13;;;;;;;;;:40;;;;8666:25;;;;;;;8616:13;;8666:25;;;;;;;;;;;;;8465:231;;;:::o;27293:214::-;27371:13;:11;:13::i;:::-;27410:3;27397:9;:16;;27389:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27469:3;27456:9;:16;;27448:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27293:214;;;:::o;27513:121::-;27586:7;;;;;;;;;;;27577:23;;;:25;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27577:25:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;27577:25:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27577:25:0;27563:39;;:10;:39;27555:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38795:635;38911:16;;38875:4;;38936:33;;;38932:493;;;38977:21;39001:86;39020:65;39080:4;39020:55;39061:13;;39020:36;39038:17;39020:13;:17;;:36;;;;:::i;:::-;:40;:55;:40;:55;:::i;:65::-;39001:13;;:86;:17;:86;:::i;:::-;38977:110;-1:-1:-1;39093:14:0;39110:71;39168:12;39110:53;38977:110;39110:31;39168:12;39127:13;39110:31;:16;:31;:::i;:71::-;39093:88;-1:-1:-1;39191:13:0;;39187:134;;39248:7;;39239:35;;;;;;;;39213:23;;39248:7;;;39239:33;;:35;;;;;;;;;;;;;;39248:7;39239:35;;;5:2:-1;;;;30:1;27;20:12;5:2;39239:35:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;39239:35:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;39239:35:0;;-1:-1:-1;39281:33:0;39239:35;39304:9;39281:5;:33::i;:::-;39187:134;;-1:-1:-1;39326:16:0;:35;;;39345:16;-1:-1:-1;39367:23:0;;-1:-1:-1;39367:23:0;38932:493;39412:13;39405:20;;;;;7496:427;7572:12;;;;:4;;:12;;;;;:::i;:::-;-1:-1:-1;7589:16:0;;;;:6;;:16;;;;;:::i;:::-;-1:-1:-1;7720:95:0;;7653:7;;7720:95;;;;;;;;;;;;;;;;7822:23;;;;;;;7862:10;;;;;;;;;;;;;;;;7703:210;;;;;;;;;;;;;;;;7852:21;7703:210;;;;;;;;;;;7902:4;7703:210;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;7703:210:0;;;;;;;-1:-1:-1;7688:230:0;;;;;;;;7669:16;:249;-1:-1:-1;7496:427:0:o;7928:180::-;7995:11;;:22;;8011:5;7995:22;:15;:22;:::i;:::-;7981:11;:36;8038:13;;;;;;;:9;:13;;;;;;:24;;8056:5;8038:24;:17;:24;:::i;:::-;8022:13;;;;;;;:9;:13;;;;;;;;:40;;;;8072:31;;;;;;;8022:13;;;;8072:31;;;;;;;;;;7928:180;;:::o;37501:96::-;37553:6;37580:1;37576;:5;:13;;37588:1;37576:13;;;-1:-1:-1;37584:1:0;;37572:17;-1:-1:-1;37501:96:0:o;18063:175::-;18147:22;;;;;;;;:15;:22;;;;;;;;:31;;;;;;;;;;;;;:39;;;18196:37;;;;;;;;;;;;;;;;;18063:175;;;:::o;8113:188::-;8186:15;;;;;;;:9;:15;;;;;;:26;;8206:5;8186:26;:19;:26;:::i;:::-;8168:15;;;;;;;:9;:15;;;;;:44;8231:11;;:22;;8247:5;8231:22;:15;:22;:::i;:::-;8217:11;:36;8263:33;;;;;;;;8286:1;;8263:33;;;;;;;;;;;;;8113:188;;:::o;9272:564::-;9439:15;9427:8;:27;;9419:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9553:16;;9630:13;;;;9481:14;9630:13;;;:6;:13;;;;;;;;:15;;;;;;;;;9586:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;9586:70:0;;;;;9576:81;;;;;;9513:150;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;9513:150:0;;;;;;9498:170;;;;;;;;;9700:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9481:14;;9630:15;9700:26;;;;;-1:-1:-1;9700:26:0;;;;;;;;;;9630:15;9700:26;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;9700:26:0;;;;;;-1:-1:-1;;9739:30:0;;;;;;;:59;;;9793:5;9773:25;;:16;:25;;;9739:59;9731:99;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9272:564;;;;;;;;;;:::o;17704:144::-;17752:7;17784:6;17780:1;:10;17772:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17838:1:0;17704:144::o;40324:269::-;40443:13;;;;40465:28;40461:41;;40495:7;;;40461:41;40506:82;;;;;;:42;:82;;;;;;;;;;;;;;;;;;;;;:42;;;;;;:82;;;;;-1:-1:-1;;40506:82:0;;;;;;;;-1:-1:-1;40506:42:0;:82;;;5:2:-1;;;;30:1;27;20:12;5:2;40506:82:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;40506:82:0;;;;40324:269;;;;:::o;5143:345::-;5229:7;5331:12;5324:5;5316:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;5316:28:0;;5355:9;5371:1;5367;:5;;;;;;;5143:345;-1:-1:-1;;;;;5143:345:0:o;13946:124::-;14001:10;;13994:43;;;;;;14031:4;13994:43;;;;;;14001:10;;;;;13994:28;;:43;;;;;;;;;;;;;;;14001:10;13994:43;;;5:2:-1;;;;30:1;27;20:12;5:2;13994:43:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;13994:43:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13994:43:0;13979:12;:58;;;14047:18;;;;;;;;;;;;13994:43;14047:18;;;13946:124::o;19958:2237::-;20032:19;;20078:11;;20113:10;;;;;;;20152:14;;;;;;;20201:19;;;;;20004:25;20201:19;20305;:17;:19::i;:::-;:42;;-1:-1:-1;20379:15:0;;;;20376:928;;20424:19;:17;:19::i;:::-;20402;;:41;;;;;;;;;;;;;;;;;;20449:17;20495:15;20481:11;:29;20477:460;;;20571:8;20670:4;20656:11;20582:85;;20641:12;20623:15;20601:11;20583:15;:29;20616:4;20582:38;:56;;;;;;:71;:85;:92;;;;;;20571:103;;20702:4;20696:3;:10;:27;;20720:3;20713:4;:10;20696:27;;;20709:1;20696:27;20681:42;;20477:460;;;;20795:8;20894:4;20880:11;20806:85;;20865:12;20847:15;20821;20807:11;:29;20840:4;20806:38;:56;;;;;;:71;:85;:92;;;;;;20926:4;20920:10;;-1:-1:-1;;20477:460:0;21021:4;20988:30;;;:37;20970:55;;19658:12;21034:15;:38;21031:81;;;19658:12;21074:38;;21031:81;19735:12;21121:15;:38;21118:81;;;19735:12;21161:38;;21118:81;21207:14;:40;;;;;;;;;;;;21258;;;;;;;;;;;;;;;;;;20376:928;;21387:12;;21441;;21312:21;;21387:12;;;;;;21312:21;;21441:31;;21387:12;21441:16;:31::i;:::-;21419:53;-1:-1:-1;21497:19:0;;21496:65;;21547:14;21524:13;21540:4;21524:20;:37;;;;;;21496:65;;;21520:1;21496:65;21477:84;;19958:2237;;21652:20;21632:16;:40;21629:483;;21787:20;21768:16;21750:15;:34;:57;;;;;;21736:71;;21629:483;;;21887:20;21969;21962:4;:27;21930:20;21911:16;:39;21954:4;21910:48;:80;;;;;22102:4;21910:80;;;22034:46;;22033:66;;:73;;-1:-1:-1;;21629:483:0;22116:10;:32;;;;;;;;;;22158;;;;;;;;;;;;;;;;;;19958:2237;;;;;;;:::o;38114:6250::-;;;;;;;;;;-1:-1:-1;38114:6250:0;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38114:6250:0;;;;-1:-1:-1;38114:6250:0;;;;;;;;;;;;;;
Swarm Source
bzzr://319adb410a7c58ef093a5132bd1b4af3dd27f727f50b5d4b9c3f42427a7e10b9
Loading...
Loading
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ Download: CSV Export ]
[ 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.