Address Details
contract
token
0x1cEC3e5722CB0a2FFB78e299b9607ea7efA92090
- Token
- Revo FP Token (RFP)
- Creator
- 0xff0944–49a35b at 0xea2fd4–b73993
- Balance
- 0 CELO ( )
- Tokens
-
Fetching tokens...
- Transactions
- 14,107 Transactions
- Transfers
- 126,203 Transfers
- Gas Used
- 6,546,949,928
- Last Balance Update
- 17529451
Transactions
Token Transfers
Tokens
Internal Transactions
Coin Balance History
Logs
Code
Read Contract
Write Contract
This contract has been verified via Sourcify.
View contract in Sourcify repository
- Contract name:
- RevoUbeswapSingleRewardFarmBot
- Optimization enabled
- false
- Compiler version
- v0.8.4+commit.c7e474f2
- EVM Version
- istanbul
- Verified at
- 2022-06-20T19:06:03.013031Z
farms/RevoUbeswapSingleRewardFarmBot.sol
//SPDX-License-Identifier: MIT pragma solidity 0.8.4; import "hardhat/console.sol"; import "../ubeswap-farming/interfaces/IStakingRewards.sol"; import "./common/RevoUniswapStakingTokenStrategy.sol"; import "../openzeppelin-solidity/contracts/SafeERC20.sol"; /** * RevoUbeswapSingleRewardFarmBot is a farmbot: * * that runs on top of an IStakingRewards farm * * whose stakingToken is an IUniswapV2Pair ("LP") * * that acquires LP constintuent tokens through swaps on an IUniswapV2Router02 * * that mints LP from constituent tokens through an IUniswapV2Router02 * * This farmbot is suitable for use on top of Ubeswap farms that have a single reward token. **/ contract RevoUbeswapSingleRewardFarmBot is RevoUniswapStakingTokenStrategy { using SafeERC20 for IERC20; IStakingRewards public stakingRewards; constructor( address _owner, address _reserveAddress, address _stakingRewards, address _stakingToken, address _revoFees, address[] memory _rewardsTokens, address _swapRouter, address _liquidityRouter, string memory _symbol ) RevoUniswapStakingTokenStrategy( _owner, _reserveAddress, _stakingToken, _revoFees, _rewardsTokens, _swapRouter, _liquidityRouter, _symbol ) { require( _rewardsTokens.length == 1, "Must specify exactly one rewards token" ); stakingRewards = IStakingRewards(_stakingRewards); } function _deposit(uint256 _lpAmount) internal override whenNotPaused { require(_lpAmount > 0, "Cannot invest in farm because lpAmount is 0"); stakingToken.safeIncreaseAllowance(address(stakingRewards), _lpAmount); stakingRewards.stake(_lpAmount); } function _withdraw(uint256 _lpAmount) internal override { stakingRewards.withdraw(_lpAmount); } function _claimRewards() internal override whenNotPaused { stakingRewards.getReward(); } }
/farms/common/RevoUniswapStakingTokenStrategy.sol
//SPDX-License-Identifier: MIT pragma solidity 0.8.4; import "hardhat/console.sol"; import "./StakingTokenHolder.sol"; import "../../library/UniswapRouter.sol"; import "../../ubeswap/contracts/uniswapv2/interfaces/IUniswapV2Router02SwapOnly.sol"; import "../../ubeswap/contracts/uniswapv2/interfaces/IUniswapV2Router02.sol"; import "../../ubeswap/contracts/uniswapv2/interfaces/IUniswapV2Pair.sol"; /** * RevoUniswapStakingTokenStrategy is an abstract class suitable for use when implementing a RevoFarmBot atop of * a farm whose staked token implements IUniswapV2Pair02. The reward tokens are swapped * for the LP constituent tokens through a contract implementing IUniswapV2Router02, and * liquidity is minted through calls to an IUniswapV2Router02 contract, though not * necessarily the same one used for swaps. * * This is a common enough use-case such that an intermediate abstract base class is justified. * In particular, this applies to both Sushiswap and Ubeswap, regardless of the underlying farm. **/ abstract contract RevoUniswapStakingTokenStrategy is StakingTokenHolder { event LiquidityRouterUpdated( address indexed by, address indexed routerAddress ); event SwapRouterUpdated(address indexed by, address indexed routerAddress); IUniswapV2Router02SwapOnly public swapRouter; // address to use for router that handles swaps IUniswapV2Router02 public liquidityRouter; // address to use for router that handles minting liquidity IERC20 public stakingToken0; // LP token0 IERC20 public stakingToken1; // LP token1 IERC20[] public rewardsTokens; constructor( address _owner, address _reserveAddress, address _stakingToken, address _revoFees, address[] memory _rewardsTokens, address _swapRouter, address _liquidityRouter, string memory _symbol ) StakingTokenHolder( _owner, _reserveAddress, _stakingToken, _revoFees, _symbol ) { for (uint256 i = 0; i < _rewardsTokens.length; i++) { rewardsTokens.push(IERC20(_rewardsTokens[i])); } swapRouter = IUniswapV2Router02SwapOnly(_swapRouter); liquidityRouter = IUniswapV2Router02(_liquidityRouter); stakingToken0 = IERC20(IUniswapV2Pair(address(stakingToken)).token0()); stakingToken1 = IERC20(IUniswapV2Pair(address(stakingToken)).token1()); } function updateLiquidityRouterAddress(address _liquidityRouter) external onlyRole(DEFAULT_ADMIN_ROLE) { liquidityRouter = IUniswapV2Router02(_liquidityRouter); emit LiquidityRouterUpdated(msg.sender, _liquidityRouter); } function updateSwapRouterAddress(address _swapRouter) external onlyRole(DEFAULT_ADMIN_ROLE) { swapRouter = IUniswapV2Router02SwapOnly(_swapRouter); emit SwapRouterUpdated(msg.sender, _swapRouter); } // Abstract method for claiming rewards from a farm function _claimRewards() internal virtual; /** * The _paths parameter represents a list of paths to use when swapping each rewards token to token0/token1 of the LP. * Each top-level entry represents a pair of paths for each rewardsToken. * * Example: * // string token names used in place of addresses for readability * rewardsTokens = ['cUSD', 'Celo', 'UBE'] * stakingTokens = ['cEUR', 'MOO'] * paths = [ * [ // paths from cUSD to staking tokens * ['cUSD', 'cEUR'], // order matters here (need first staking token first) * ['cUSD', 'mcUSD', 'MOO'] * ], * [ // paths from Celo to staking tokens * ... * ], * [ // paths from UBE to staking tokens * ... * ] * ] * * The _minAmountsOut parameter represents a list of minimum amounts for token0/token1 we expect to receive when swapping * each rewardsToken. If we do not receive at least this much of token0/token1 for some swap, the transaction will revert. * If a path corresponding to some swap has length < 2, the minimum amount specified for that swap will be ignored. */ function compound( address[][2][] memory _paths, uint256[2][] memory _minAmountsOut, uint256 _deadline ) external ensure(_deadline) onlyRole(COMPOUNDER_ROLE) whenNotPaused { require( _paths.length == rewardsTokens.length, "Parameter _paths must have length equal to rewardsTokens" ); require( _minAmountsOut.length == rewardsTokens.length, "Parameter _minAmountsOut must have length equal to rewardsTokens" ); // Get rewards from farm _claimRewards(); // Get the current balance of rewards tokens uint256[] memory _tokenBalances = new uint256[](rewardsTokens.length); for (uint256 i = 0; i < rewardsTokens.length; i++) { _tokenBalances[i] = rewardsTokens[i].balanceOf(address(this)); require( _paths[i][0].length == 0 || address(rewardsTokens[i]) == _paths[i][0][0], "invalid path start" ); require( _paths[i][0].length == 0 || address(stakingToken0) == _paths[i][0][_paths[i][0].length - 1], "invalid path end" ); require( _paths[i][1].length == 0 || address(rewardsTokens[i]) == _paths[i][1][0], "invalid path start" ); require( _paths[i][1].length == 0 || address(stakingToken1) == _paths[i][1][_paths[i][1].length - 1], "invalid path end" ); } // Swap rewards tokens for equal value of LP tokens (uint256 _amountToken0, uint256 _amountToken1) = UniswapRouter .swapTokensForEqualAmounts( swapRouter, _tokenBalances, _paths, rewardsTokens, _minAmountsOut, _deadline ); // Mint LP UniswapRouter.addLiquidity( liquidityRouter, stakingToken0, stakingToken1, _amountToken0, _amountToken1, (_amountToken0 * slippageNumerator) / slippageDenominator, (_amountToken1 * slippageNumerator) / slippageDenominator, _deadline ); // Send fees and bonus, then deposit the remaining LP in the farm ( uint256 lpEarnings, uint256 compounderFee, uint256 reserveFee ) = issuePerformanceFeesAndBonus(); _deposit(lpEarnings); // Update FP weight and interest rate with earnings updateFpWeightAndInterestRate(lpEarnings); emit Compound( msg.sender, lpEarnings, lpTotalBalance, compounderFee, reserveFee ); } }
/farms/common/StakingTokenHolder.sol
//SPDX-License-Identifier: MIT pragma solidity 0.8.4; import "hardhat/console.sol"; import "../../openzeppelin-solidity/contracts/ERC20.sol"; import "../../openzeppelin-solidity/contracts/AccessControl.sol"; import "../../openzeppelin-solidity/contracts/SafeERC20.sol"; import "../../openzeppelin-solidity/contracts/Pausable.sol"; import "../../fees/interfaces/IRevoFees.sol"; /** * StakingTokenHolder is an abstract base class that can be used to implement Revo farm bots on top * of arbitrary sources of yield. These sources of yield come from staking some ERC20 token * (the "staking token") into a contract. * * Minimally, subclasses must implement the _deposit and _withdraw, methods that * deposit/withdraw an amount of the staked token into the "farm". This will * result in a farm bot that does not auto-compound yield; it acts only as "storage" for a * user's staking token. * * Notably, this class does not contain a virtual "compound" function; this is because depending * on the implementation, a function repsonsible for compounding the farm bot's staked position may * require different arguments from the caller. * * This class also does not make any assumptions about how yield rewards are converted back into * the staking token. For example, this may require a series of swaps and minting a liquidity token ("LP"), * or for a single-staking source of yield that issues the staking token itself as a reward, nothing at all. * Since swapping is a common scenario however, this class contains tools for controlling slippage tolerance. * * For convenience and ease of naming, the staking token is referred to as "LP" throughout the class, * although in reality, it may not represent an actual liquidity token. **/ abstract contract StakingTokenHolder is ERC20, AccessControl, Pausable { using SafeERC20 for IERC20; event ReserveUpdated(address indexed by, address indexed reserveAddress); event SlippageUpdated( address indexed by, uint256 numerator, uint256 denominator ); event Deposit(address indexed by, uint256 lpAmount); event Withdraw(address indexed by, uint256 lpAmount, uint256 fee); event Compound( address indexed by, uint256 lpStaked, uint256 newLPTotalBalance, uint256 compounderFeeAmount, uint256 reserveFeeAmount ); event GrantRole( address indexed by, address indexed newRoleRecipient, bytes32 role ); modifier ensure(uint256 deadline) { require(deadline >= block.timestamp, "FarmBot: EXPIRED"); _; } bytes32 public constant COMPOUNDER_ROLE = keccak256("COMPOUNDER_ROLE"); uint256 public lpTotalBalance; // total number of LP tokens owned by Farm Bot IERC20 public stakingToken; // LP that's being staked // fractional increase of LP balance last time compound was called. Used to calculate withdrawal fee. uint256 public interestEarnedNumerator; uint256 public interestEarnedDenominator = 10000; // Acceptable slippage when minting LP; can be updated by admin uint256 public slippageNumerator = 99; uint256 public slippageDenominator = 100; // Configurable fees contract. Determines: // - "compounder fee" for calling compound on behalf of farm investors. // - "reserve fee" sent to reserve // - "compounder bonus" (paid by reserve) for calling compound // - "withdrawal fee" for withdrawing (necessary for security, guaranteed <= 0.25%) // Note that compounder fees + reserve fees are "performance fees", meaning they are charged only on earnings. // Performance fees are guaranteed to be at most 4%, the current standard, and should be much less. IRevoFees public revoFees; uint256 public constant maxPerformanceFeeNumerator = 40; uint256 public constant maxPerformanceFeeDenominator = 1000; uint256 public constant maxWithdrawalFeeNumerator = 25; uint256 public constant maxWithdrawalFeeDenominator = 10000; address public reserveAddress; constructor( address _owner, address _reserveAddress, address _stakingToken, address _revoFees, string memory _symbol ) ERC20("Revo FP Token", _symbol) { revoFees = IRevoFees(_revoFees); stakingToken = IERC20(_stakingToken); reserveAddress = _reserveAddress; _setupRole(DEFAULT_ADMIN_ROLE, _owner); emit GrantRole(msg.sender, _owner, DEFAULT_ADMIN_ROLE); } function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { super.grantRole(role, account); emit GrantRole(msg.sender, account, role); } function updateReserveAddress(address _reserveAddress) external onlyRole(DEFAULT_ADMIN_ROLE) { require( _reserveAddress != address(0), "Cannot set reserve address to 0" ); reserveAddress = _reserveAddress; emit ReserveUpdated(msg.sender, _reserveAddress); } function updateSlippage( uint256 _slippageNumerator, uint256 _slippageDenominator ) external onlyRole(DEFAULT_ADMIN_ROLE) { slippageNumerator = _slippageNumerator; slippageDenominator = _slippageDenominator; emit SlippageUpdated( msg.sender, _slippageNumerator, _slippageDenominator ); } function getFpAmount(uint256 _lpAmount) public view returns (uint256) { if (lpTotalBalance == 0) { return _lpAmount; } else { return (_lpAmount * totalSupply()) / lpTotalBalance; } } function getLpAmount(uint256 _fpAmount) public view returns (uint256) { if (totalSupply() == 0) { return 0; } else { return (_fpAmount * lpTotalBalance) / totalSupply(); } } function deposit(uint256 _lpAmount) external whenNotPaused { bool transferSuccess = stakingToken.transferFrom( msg.sender, address(this), _lpAmount ); require(transferSuccess, "Transfer failed, aborting deposit"); uint256 _fpAmount = this.getFpAmount(_lpAmount); _mint(msg.sender, _fpAmount); lpTotalBalance += _lpAmount; _deposit(_lpAmount); emit Deposit(msg.sender, _lpAmount); } function withdrawAll() external { require(balanceOf(msg.sender) > 0, "Cannot withdraw zero balance"); uint256 _lpAmount = getLpAmount(balanceOf(msg.sender)); withdraw(_lpAmount); } function withdraw(uint256 _lpAmount) public { uint256 _fpAmount = this.getFpAmount(_lpAmount); require( balanceOf(msg.sender) >= _fpAmount, "Cannot withdraw more than the total balance of the owner" ); uint256 tokenBalance = stakingToken.balanceOf(address(this)); if (_lpAmount > tokenBalance) { _withdraw(_lpAmount - tokenBalance); } // fee (uint256 feeNumerator, uint256 feeDenominator) = revoFees.withdrawalFee( interestEarnedNumerator, interestEarnedDenominator ); uint256 _withdrawalFee = (feeNumerator * _lpAmount) / feeDenominator; uint256 _maxWithdrawalFee = (maxPerformanceFeeNumerator * _lpAmount) / maxPerformanceFeeDenominator; if (_withdrawalFee > _maxWithdrawalFee) { // guarantee the max fee _withdrawalFee = _maxWithdrawalFee; } bool feeSuccess = stakingToken.transfer(reserveAddress, _withdrawalFee); require(feeSuccess, "Fee failed, aborting withdrawal"); bool transferSuccess = stakingToken.transfer( msg.sender, _lpAmount - _withdrawalFee ); require(transferSuccess, "Transfer failed, aborting withdrawal"); _burn(msg.sender, _fpAmount); lpTotalBalance -= _lpAmount; emit Withdraw(msg.sender, _lpAmount, _withdrawalFee); } // Abstract method for depositing LP into a farm function _deposit(uint256 _lpAmount) internal virtual; // Abstract method for withdrawing LP from a farm function _withdraw(uint256 _lpAmount) internal virtual; // Convenience method for subclasses function issuePerformanceFeesAndBonus() internal whenNotPaused returns ( uint256 lpEarnings, uint256 compounderFee, uint256 reserveFee ) { // send fees to compounder and reserve uint256 lpBalance = stakingToken.balanceOf(address(this)); compounderFee = revoFees.compounderFee(lpBalance); reserveFee = revoFees.reserveFee(lpBalance); require( compounderFee + reserveFee <= (lpBalance * maxPerformanceFeeNumerator) / maxPerformanceFeeDenominator, "Performance fee too high" ); bool compounderFeeSuccess = stakingToken.transfer( msg.sender, compounderFee ); bool reserveFeeSuccess = stakingToken.transfer( reserveAddress, reserveFee ); require( compounderFeeSuccess && reserveFeeSuccess, "Sending fees failed" ); // Send compounder bonus revoFees.issueCompounderBonus(msg.sender); lpEarnings = lpBalance - compounderFee - reserveFee; return (lpEarnings, compounderFee, reserveFee); } // Convenience method for subclasses function updateFpWeightAndInterestRate(uint256 _lpEarnings) internal whenNotPaused { lpTotalBalance += _lpEarnings; interestEarnedNumerator = (_lpEarnings * interestEarnedDenominator) / lpTotalBalance; } function pause() external onlyRole(DEFAULT_ADMIN_ROLE) { _pause(); } function unpause() external onlyRole(DEFAULT_ADMIN_ROLE) { _unpause(); uint256 lpBalance = stakingToken.balanceOf(address(this)); if (lpBalance > 0) { _deposit(lpBalance); } } }
/fees/interfaces/IRevoFees.sol
//SPDX-License-Identifier: MIT pragma solidity 0.8.4; import "../../openzeppelin-solidity/contracts/IERC20.sol"; struct TokenAmount { IERC20 token; uint256 amount; } interface IRevoFees { function compounderFee(uint256 _interestAccrued) external view returns (uint256); function compounderBonus(TokenAmount calldata interestAccrued) external view returns (TokenAmount[] memory); function reserveFee(uint256 _interestAccrued) external view returns (uint256); function withdrawalFee( uint256 interestEarnedNumerator, uint256 interestEarnedDenominator ) external view returns (uint256 feeNumerator, uint256 feeDenominator); function issueCompounderBonus(address recipient) external; }
/hardhat/console.sol
// SPDX-License-Identifier: MIT pragma solidity >= 0.4.22 <0.9.0; library console { address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67); function _sendLogPayload(bytes memory payload) private view { uint256 payloadLength = payload.length; address consoleAddress = CONSOLE_ADDRESS; assembly { let payloadStart := add(payload, 32) let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0) } } function log() internal view { _sendLogPayload(abi.encodeWithSignature("log()")); } function logInt(int p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(int)", p0)); } function logUint(uint p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint)", p0)); } function logString(string memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function logBool(bool p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function logAddress(address p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function logBytes(bytes memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes)", p0)); } function logBytes1(bytes1 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0)); } function logBytes2(bytes2 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0)); } function logBytes3(bytes3 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0)); } function logBytes4(bytes4 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0)); } function logBytes5(bytes5 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0)); } function logBytes6(bytes6 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0)); } function logBytes7(bytes7 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0)); } function logBytes8(bytes8 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0)); } function logBytes9(bytes9 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0)); } function logBytes10(bytes10 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0)); } function logBytes11(bytes11 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0)); } function logBytes12(bytes12 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0)); } function logBytes13(bytes13 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0)); } function logBytes14(bytes14 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0)); } function logBytes15(bytes15 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0)); } function logBytes16(bytes16 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0)); } function logBytes17(bytes17 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0)); } function logBytes18(bytes18 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0)); } function logBytes19(bytes19 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0)); } function logBytes20(bytes20 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0)); } function logBytes21(bytes21 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0)); } function logBytes22(bytes22 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0)); } function logBytes23(bytes23 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0)); } function logBytes24(bytes24 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0)); } function logBytes25(bytes25 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0)); } function logBytes26(bytes26 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0)); } function logBytes27(bytes27 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0)); } function logBytes28(bytes28 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0)); } function logBytes29(bytes29 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0)); } function logBytes30(bytes30 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0)); } function logBytes31(bytes31 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0)); } function logBytes32(bytes32 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0)); } function log(uint p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint)", p0)); } function log(string memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function log(bool p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function log(address p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function log(uint p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint)", p0, p1)); } function log(uint p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string)", p0, p1)); } function log(uint p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool)", p0, p1)); } function log(uint p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address)", p0, p1)); } function log(string memory p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint)", p0, p1)); } function log(string memory p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1)); } function log(string memory p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1)); } function log(string memory p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1)); } function log(bool p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint)", p0, p1)); } function log(bool p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1)); } function log(bool p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1)); } function log(bool p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1)); } function log(address p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint)", p0, p1)); } function log(address p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1)); } function log(address p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1)); } function log(address p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1)); } function log(uint p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint)", p0, p1, p2)); } function log(uint p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string)", p0, p1, p2)); } function log(uint p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool)", p0, p1, p2)); } function log(uint p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address)", p0, p1, p2)); } function log(uint p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint)", p0, p1, p2)); } function log(uint p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string)", p0, p1, p2)); } function log(uint p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool)", p0, p1, p2)); } function log(uint p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address)", p0, p1, p2)); } function log(uint p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint)", p0, p1, p2)); } function log(uint p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string)", p0, p1, p2)); } function log(uint p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool)", p0, p1, p2)); } function log(uint p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address)", p0, p1, p2)); } function log(uint p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint)", p0, p1, p2)); } function log(uint p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string)", p0, p1, p2)); } function log(uint p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool)", p0, p1, p2)); } function log(uint p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address)", p0, p1, p2)); } function log(string memory p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint)", p0, p1, p2)); } function log(string memory p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string)", p0, p1, p2)); } function log(string memory p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool)", p0, p1, p2)); } function log(string memory p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address)", p0, p1, p2)); } function log(string memory p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint)", p0, p1, p2)); } function log(string memory p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2)); } function log(string memory p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2)); } function log(string memory p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2)); } function log(string memory p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint)", p0, p1, p2)); } function log(string memory p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2)); } function log(string memory p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2)); } function log(string memory p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2)); } function log(string memory p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint)", p0, p1, p2)); } function log(string memory p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2)); } function log(string memory p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2)); } function log(string memory p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2)); } function log(bool p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint)", p0, p1, p2)); } function log(bool p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string)", p0, p1, p2)); } function log(bool p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool)", p0, p1, p2)); } function log(bool p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address)", p0, p1, p2)); } function log(bool p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint)", p0, p1, p2)); } function log(bool p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2)); } function log(bool p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2)); } function log(bool p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2)); } function log(bool p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint)", p0, p1, p2)); } function log(bool p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2)); } function log(bool p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2)); } function log(bool p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2)); } function log(bool p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint)", p0, p1, p2)); } function log(bool p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2)); } function log(bool p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2)); } function log(bool p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2)); } function log(address p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint)", p0, p1, p2)); } function log(address p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string)", p0, p1, p2)); } function log(address p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool)", p0, p1, p2)); } function log(address p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address)", p0, p1, p2)); } function log(address p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint)", p0, p1, p2)); } function log(address p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2)); } function log(address p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2)); } function log(address p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2)); } function log(address p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint)", p0, p1, p2)); } function log(address p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2)); } function log(address p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2)); } function log(address p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2)); } function log(address p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint)", p0, p1, p2)); } function log(address p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2)); } function log(address p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2)); } function log(address p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2)); } function log(uint p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,string)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,address)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3)); } }
/library/UniswapRouter.sol
//SPDX-License-Identifier: MIT pragma solidity 0.8.4; import "hardhat/console.sol"; import "../ubeswap/contracts/uniswapv2/interfaces/IUniswapV2Router02.sol"; import "../ubeswap/contracts/uniswapv2/interfaces/IUniswapV2Router02SwapOnly.sol"; import "../openzeppelin-solidity/contracts/SafeERC20.sol"; /** * UniswapRouter is a library containing helper functions for interacting with contracts implementing * the IUniswapV2Router02 interface, or subsets of its functionality. **/ library UniswapRouter { using SafeERC20 for IERC20; function swap( IUniswapV2Router02SwapOnly router, address[] memory path, uint256 startTokenBudget, IERC20 startToken, uint256 minAmountOut, uint256 deadline ) internal returns (uint256) { if (path.length >= 2 && startTokenBudget > 0) { startToken.safeIncreaseAllowance(address(router), startTokenBudget); uint256[] memory _swapResultAmounts = router .swapExactTokensForTokens( startTokenBudget, minAmountOut, path, address(this), deadline ); return _swapResultAmounts[_swapResultAmounts.length - 1]; } else { return startTokenBudget; } } function swapTokensForEqualAmounts( IUniswapV2Router02SwapOnly router, uint256[] memory tokenBalances, address[][2][] memory paths, IERC20[] memory startTokens, uint256[2][] memory minAmountsOut, uint256 deadline ) internal returns (uint256, uint256) { uint256 _totalAmountToken0 = 0; uint256 _totalAmountToken1 = 0; for (uint256 i = 0; i < tokenBalances.length; i++) { uint256 _halfTokens = tokenBalances[i] / 2; _totalAmountToken0 += swap( router, paths[i][0], _halfTokens, startTokens[i], minAmountsOut[i][0], deadline ); _totalAmountToken1 += swap( router, paths[i][1], _halfTokens, startTokens[i], minAmountsOut[i][1], deadline ); } return (_totalAmountToken0, _totalAmountToken1); } function addLiquidity( IUniswapV2Router02 router, IERC20 token0, IERC20 token1, uint256 amount0Desired, uint256 amount1Desired, uint256 amount0Min, uint256 amount1Min, uint256 deadline ) internal returns ( uint256 amountA, uint256 amountB, uint256 liquidity ) { // Approve the liquidity router to spend the bot's token0/token1 token0.safeIncreaseAllowance(address(router), amount0Desired); token1.safeIncreaseAllowance(address(router), amount1Desired); // Actually add liquidity return router.addLiquidity( address(token0), address(token1), amount0Desired, amount1Desired, amount0Min, amount1Min, address(this), deadline ); } function removeLiquidity( IUniswapV2Router02 router, IERC20 stakingToken, address tokenA, address tokenB, uint256 liquidityAmount, uint256 amountAMin, uint256 amountBMin, address recipient, uint256 deadline ) internal returns (uint256 amountA, uint256 amountB) { stakingToken.safeIncreaseAllowance(address(router), liquidityAmount); return router.removeLiquidity( tokenA, tokenB, liquidityAmount, amountAMin, amountBMin, recipient, deadline ); } }
/openzeppelin-solidity/contracts/AccessControl.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol) pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "./Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
/openzeppelin-solidity/contracts/Address.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require( address(this).balance >= amount, "Address: insufficient balance" ); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{value: amount}(""); require( success, "Address: unable to send value, recipient may have reverted" ); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue( target, data, value, "Address: low-level call with value failed" ); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require( address(this).balance >= value, "Address: insufficient balance for call" ); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{value: value}(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall( target, data, "Address: low-level static call failed" ); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall( target, data, "Address: low-level delegate call failed" ); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
/openzeppelin-solidity/contracts/Context.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
/openzeppelin-solidity/contracts/ERC20.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The defaut value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overloaded; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); _approve(sender, _msgSender(), currentAllowance - amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); _approve(_msgSender(), spender, currentAllowance - subtractedValue); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); _balances[sender] = senderBalance - amount; _balances[recipient] += amount; emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); _balances[account] = accountBalance - amount; _totalSupply -= amount; emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } }
/openzeppelin-solidity/contracts/IAccessControl.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
/openzeppelin-solidity/contracts/IERC20.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval( address indexed owner, address indexed spender, uint256 value ); }
/openzeppelin-solidity/contracts/Pausable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "./Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
/openzeppelin-solidity/contracts/SafeERC20.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn( token, abi.encodeWithSelector(token.transfer.selector, to, value) ); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn( token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value) ); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn( token, abi.encodeWithSelector(token.approve.selector, spender, value) ); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn( token, abi.encodeWithSelector( token.approve.selector, spender, newAllowance ) ); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require( oldAllowance >= value, "SafeERC20: decreased allowance below zero" ); uint256 newAllowance = oldAllowance - value; _callOptionalReturn( token, abi.encodeWithSelector( token.approve.selector, spender, newAllowance ) ); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall( data, "SafeERC20: low-level call failed" ); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require( abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed" ); } } }
/openzeppelin-solidity/utils/Strings.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
/openzeppelin-solidity/utils/introspection/ERC165.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
/openzeppelin-solidity/utils/introspection/IERC165.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
/ubeswap/contracts/uniswapv2/interfaces/IUniswapV2Pair.sol
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, 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; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
/ubeswap/contracts/uniswapv2/interfaces/IUniswapV2Router01.sol
// SPDX-License-Identifier: MIT pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
/ubeswap/contracts/uniswapv2/interfaces/IUniswapV2Router02.sol
// SPDX-License-Identifier: MIT pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function pairFor(address tokenA, address tokenB) external view returns (address); }
/ubeswap/contracts/uniswapv2/interfaces/IUniswapV2Router02SwapOnly.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.3; /// @notice Swaps tokens interface IUniswapV2Router02SwapOnly { function swapExactTokensForTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapTokensForExactTokens( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function getAmountsOut(uint256 amountIn, address[] memory path) external view returns (uint256[] memory amounts); function getAmountsIn(uint256 amountOut, address[] memory path) external view returns (uint256[] memory amounts); }
/ubeswap-farming/interfaces/IStakingRewards.sol
// SPDX-License-Identifier: MIT pragma solidity >=0.4.24; import "../../openzeppelin-solidity/contracts/SafeERC20.sol"; // https://docs.synthetix.io/contracts/source/interfaces/istakingrewards interface IStakingRewards { // Views function rewardsToken() external view returns(IERC20); function stakingToken() external view returns(IERC20); function lastTimeRewardApplicable() external view returns (uint256); function rewardPerToken() external view returns (uint256); function earned(address account) external view returns (uint256); function getRewardForDuration() external view returns (uint256); function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); // Mutative function stake(uint256 amount) external; function withdraw(uint256 amount) external; function getReward() external; function exit() external; }
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"_owner","internalType":"address"},{"type":"address","name":"_reserveAddress","internalType":"address"},{"type":"address","name":"_stakingRewards","internalType":"address"},{"type":"address","name":"_stakingToken","internalType":"address"},{"type":"address","name":"_revoFees","internalType":"address"},{"type":"address[]","name":"_rewardsTokens","internalType":"address[]"},{"type":"address","name":"_swapRouter","internalType":"address"},{"type":"address","name":"_liquidityRouter","internalType":"address"},{"type":"string","name":"_symbol","internalType":"string"}]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Compound","inputs":[{"type":"address","name":"by","internalType":"address","indexed":true},{"type":"uint256","name":"lpStaked","internalType":"uint256","indexed":false},{"type":"uint256","name":"newLPTotalBalance","internalType":"uint256","indexed":false},{"type":"uint256","name":"compounderFeeAmount","internalType":"uint256","indexed":false},{"type":"uint256","name":"reserveFeeAmount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Deposit","inputs":[{"type":"address","name":"by","internalType":"address","indexed":true},{"type":"uint256","name":"lpAmount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"GrantRole","inputs":[{"type":"address","name":"by","internalType":"address","indexed":true},{"type":"address","name":"newRoleRecipient","internalType":"address","indexed":true},{"type":"bytes32","name":"role","internalType":"bytes32","indexed":false}],"anonymous":false},{"type":"event","name":"LiquidityRouterUpdated","inputs":[{"type":"address","name":"by","internalType":"address","indexed":true},{"type":"address","name":"routerAddress","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Paused","inputs":[{"type":"address","name":"account","internalType":"address","indexed":false}],"anonymous":false},{"type":"event","name":"ReserveUpdated","inputs":[{"type":"address","name":"by","internalType":"address","indexed":true},{"type":"address","name":"reserveAddress","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"RoleAdminChanged","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"bytes32","name":"previousAdminRole","internalType":"bytes32","indexed":true},{"type":"bytes32","name":"newAdminRole","internalType":"bytes32","indexed":true}],"anonymous":false},{"type":"event","name":"RoleGranted","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"address","name":"sender","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"RoleRevoked","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32","indexed":true},{"type":"address","name":"account","internalType":"address","indexed":true},{"type":"address","name":"sender","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"SlippageUpdated","inputs":[{"type":"address","name":"by","internalType":"address","indexed":true},{"type":"uint256","name":"numerator","internalType":"uint256","indexed":false},{"type":"uint256","name":"denominator","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"SwapRouterUpdated","inputs":[{"type":"address","name":"by","internalType":"address","indexed":true},{"type":"address","name":"routerAddress","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Unpaused","inputs":[{"type":"address","name":"account","internalType":"address","indexed":false}],"anonymous":false},{"type":"event","name":"Withdraw","inputs":[{"type":"address","name":"by","internalType":"address","indexed":true},{"type":"uint256","name":"lpAmount","internalType":"uint256","indexed":false},{"type":"uint256","name":"fee","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"COMPOUNDER_ROLE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"DEFAULT_ADMIN_ROLE","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"compound","inputs":[{"type":"address[][2][]","name":"_paths","internalType":"address[][2][]"},{"type":"uint256[2][]","name":"_minAmountsOut","internalType":"uint256[2][]"},{"type":"uint256","name":"_deadline","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"subtractedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"deposit","inputs":[{"type":"uint256","name":"_lpAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getFpAmount","inputs":[{"type":"uint256","name":"_lpAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getLpAmount","inputs":[{"type":"uint256","name":"_fpAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"getRoleAdmin","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"grantRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"hasRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"interestEarnedDenominator","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"interestEarnedNumerator","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IUniswapV2Router02"}],"name":"liquidityRouter","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"lpTotalBalance","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"maxPerformanceFeeDenominator","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"maxPerformanceFeeNumerator","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"maxWithdrawalFeeDenominator","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"maxWithdrawalFeeNumerator","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"pause","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"paused","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"reserveAddress","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IRevoFees"}],"name":"revoFees","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"revokeRole","inputs":[{"type":"bytes32","name":"role","internalType":"bytes32"},{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IERC20"}],"name":"rewardsTokens","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"slippageDenominator","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"slippageNumerator","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IStakingRewards"}],"name":"stakingRewards","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IERC20"}],"name":"stakingToken","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IERC20"}],"name":"stakingToken0","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IERC20"}],"name":"stakingToken1","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"supportsInterface","inputs":[{"type":"bytes4","name":"interfaceId","internalType":"bytes4"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IUniswapV2Router02SwapOnly"}],"name":"swapRouter","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"unpause","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateLiquidityRouterAddress","inputs":[{"type":"address","name":"_liquidityRouter","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateReserveAddress","inputs":[{"type":"address","name":"_reserveAddress","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateSlippage","inputs":[{"type":"uint256","name":"_slippageNumerator","internalType":"uint256"},{"type":"uint256","name":"_slippageDenominator","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"updateSwapRouterAddress","inputs":[{"type":"address","name":"_swapRouter","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"withdraw","inputs":[{"type":"uint256","name":"_lpAmount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"withdrawAll","inputs":[]}]
Deployed ByteCode
0x608060405234801561001057600080fd5b50600436106102d65760003560e01c806370a0823111610182578063b6b55f25116100e9578063d4840641116100a2578063dd62ed3e1161007c578063dd62ed3e146108c9578063f79ed94b146108f9578063f84afd4814610917578063fd3865e114610933576102d6565b8063d484064114610871578063d547741f1461088f578063dbae9b0f146108ab576102d6565b8063b6b55f251461079b578063b6d0dcd8146107b7578063c31c9c07146107e7578063c7493abb14610805578063c838b07414610823578063c9ce0e8c14610841576102d6565b806391d148541161013b57806391d14854146106b357806395d89b41146106e3578063a217fddf14610701578063a457c2d71461071f578063a9059cbb1461074f578063abfe2bdb1461077f576102d6565b806370a082311461061757806372f702f3146106475780637aca573c146106655780638456cb5914610683578063853828b61461068d5780638c00ca9d14610697576102d6565b80632f2ff15d116102415780634a1510b4116101fa5780635f8e9e91116101d45780635f8e9e911461058f57806364b87a70146105bf578063684cb274146105dd5780636cf3f8df146105fb576102d6565b80634a1510b4146105375780635a3746ca146105555780635c975abb14610571576102d6565b80632f2ff15d14610489578063313ce567146104a557806336568abe146104c35780633902cbff146104df57806339509351146104fd5780633f4ba83a1461052d576102d6565b806323b872dd1161029357806323b872dd146103b357806324702944146103e3578063248a9ca31461040157806327b74a5d146104315780632e1a7d4d1461044f5780632e5bd7ab1461046b576102d6565b806301ffc9a7146102db57806306fdde031461030b578063095ea7b3146103295780630ab8985b14610359578063147bd3af1461037757806318160ddd14610395575b600080fd5b6102f560048036038101906102f09190615360565b610951565b6040516103029190615c4e565b60405180910390f35b6103136109cb565b6040516103209190615d0b565b60405180910390f35b610343600480360381019061033e91906151d6565b610a5d565b6040516103509190615c4e565b60405180910390f35b610361610a7b565b60405161036e9190615c84565b60405180910390f35b61037f610aa1565b60405161038c919061610d565b60405180910390f35b61039d610aa7565b6040516103aa919061610d565b60405180910390f35b6103cd60048036038101906103c89190615187565b610ab1565b6040516103da9190615c4e565b60405180910390f35b6103eb610bb2565b6040516103f89190615cf0565b60405180910390f35b61041b600480360381019061041691906152fb565b610bd8565b6040516104289190615c69565b60405180910390f35b610439610bf8565b604051610446919061610d565b60405180910390f35b61046960048036038101906104649190615389565b610bfe565b005b61047361112f565b604051610480919061610d565b60405180910390f35b6104a3600480360381019061049e9190615324565b611135565b005b6104ad6111bb565b6040516104ba91906161f0565b60405180910390f35b6104dd60048036038101906104d89190615324565b6111c4565b005b6104e7611247565b6040516104f4919061610d565b60405180910390f35b610517600480360381019061051291906151d6565b61124d565b6040516105249190615c4e565b60405180910390f35b6105356112f9565b005b61053f6113d4565b60405161054c919061610d565b60405180910390f35b61056f600480360381019061056a9190615212565b6113da565b005b6105796121e4565b6040516105869190615c4e565b60405180910390f35b6105a960048036038101906105a49190615389565b6121fb565b6040516105b6919061610d565b60405180910390f35b6105c761223d565b6040516105d49190615cba565b60405180910390f35b6105e5612263565b6040516105f29190615c69565b60405180910390f35b61061560048036038101906106109190615122565b612287565b005b610631600480360381019061062c9190615122565b612333565b60405161063e919061610d565b60405180910390f35b61064f61237b565b60405161065c9190615c84565b60405180910390f35b61066d6123a1565b60405161067a9190615c9f565b60405180910390f35b61068b6123c7565b005b6106956123df565b005b6106b160048036038101906106ac91906153db565b61244b565b005b6106cd60048036038101906106c89190615324565b6124bb565b6040516106da9190615c4e565b60405180910390f35b6106eb612526565b6040516106f89190615d0b565b60405180910390f35b6107096125b8565b6040516107169190615c69565b60405180910390f35b610739600480360381019061073491906151d6565b6125bf565b6040516107469190615c4e565b60405180910390f35b610769600480360381019061076491906151d6565b6126b3565b6040516107769190615c4e565b60405180910390f35b61079960048036038101906107949190615122565b6126d1565b005b6107b560048036038101906107b09190615389565b61277d565b005b6107d160048036038101906107cc9190615389565b6129c6565b6040516107de9190615c84565b60405180910390f35b6107ef612a05565b6040516107fc9190615cd5565b60405180910390f35b61080d612a2b565b60405161081a919061610d565b60405180910390f35b61082b612a30565b604051610838919061610d565b60405180910390f35b61085b60048036038101906108569190615389565b612a36565b604051610868919061610d565b60405180910390f35b610879612a72565b604051610886919061610d565b60405180910390f35b6108a960048036038101906108a49190615324565b612a78565b005b6108b3612a99565b6040516108c0919061610d565b60405180910390f35b6108e360048036038101906108de919061514b565b612a9e565b6040516108f0919061610d565b60405180910390f35b610901612b25565b60405161090e9190615b2c565b60405180910390f35b610931600480360381019061092c9190615122565b612b4b565b005b61093b612c67565b6040516109489190615c84565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109c457506109c382612c8d565b5b9050919050565b6060600380546109da90616653565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0690616653565b8015610a535780601f10610a2857610100808354040283529160200191610a53565b820191906000526020600020905b815481529060010190602001808311610a3657829003601f168201915b5050505050905090565b6000610a71610a6a612cf7565b8484612cff565b6001905092915050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b5481565b6000600254905090565b6000610abe848484612eca565b6000600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610b09612cf7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610b89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8090615f2d565b60405180910390fd5b610ba685610b95612cf7565b8584610ba19190616483565b612cff565b60019150509392505050565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060056000838152602001908152602001600020600101549050919050565b60075481565b60003073ffffffffffffffffffffffffffffffffffffffff1663c9ce0e8c836040518263ffffffff1660e01b8152600401610c39919061610d565b60206040518083038186803b158015610c5157600080fd5b505afa158015610c65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8991906153b2565b905080610c9533612333565b1015610cd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccd90615fed565b60405180910390fd5b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610d339190615b2c565b60206040518083038186803b158015610d4b57600080fd5b505afa158015610d5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8391906153b2565b905080831115610da257610da18184610d9c9190616483565b613149565b5b600080600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634ae2859c600954600a546040518363ffffffff1660e01b8152600401610e06929190616128565b604080518083038186803b158015610e1d57600080fd5b505afa158015610e31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e559190615417565b915091506000818684610e689190616429565b610e7291906163f8565b905060006103e8876028610e869190616429565b610e9091906163f8565b905080821115610e9e578091505b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856040518363ffffffff1660e01b8152600401610f1f929190615c25565b602060405180830381600087803b158015610f3957600080fd5b505af1158015610f4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f7191906152d2565b905080610fb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610faa9061604d565b60405180910390fd5b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33868c6110009190616483565b6040518363ffffffff1660e01b815260040161101d929190615c25565b602060405180830381600087803b15801561103757600080fd5b505af115801561104b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106f91906152d2565b9050806110b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a890615f6d565b60405180910390fd5b6110bb33896131d9565b88600760008282546110cd9190616483565b925050819055503373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5688a8660405161111c929190616128565b60405180910390a2505050505050505050565b61271081565b61113e82610bd8565b611147816133ad565b61115183836133c1565b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fe7442843a65013dba5eebc77d5a00f5fafa588af0da4bf39250936d4783bb553856040516111ae9190615c69565b60405180910390a3505050565b60006012905090565b6111cc612cf7565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611239576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611230906160cd565b60405180910390fd5b61124382826133e2565b5050565b600a5481565b60006112ef61125a612cf7565b848460016000611268612cf7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546112ea91906163a2565b612cff565b6001905092915050565b6000801b611306816133ad565b61130e6134c4565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161136b9190615b2c565b60206040518083038186803b15801561138357600080fd5b505afa158015611397573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113bb91906153b2565b905060008111156113d0576113cf81613566565b5b5050565b6103e881565b804281101561141e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141590615e2d565b60405180910390fd5b7f29944e936a0f6e1cbaa227df218d7d6025c2a2785db840e42a3425f24e9e68ac611448816133ad565b6114506121e4565b15611490576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148790615e8d565b60405180910390fd5b6013805490508551146114d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114cf90615fad565b60405180910390fd5b601380549050845114611520576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151790615e6d565b60405180910390fd5b6115286136f0565b600060138054905067ffffffffffffffff81111561156f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561159d5781602001602082028036833780820191505090505b50905060005b601380549050811015611ff157601381815481106115ea577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161164d9190615b2c565b60206040518083038186803b15801561166557600080fd5b505afa158015611679573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061169d91906153b2565b8282815181106116d6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050600087828151811061171d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160006002811061175e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201515114806118be57508681815181106117a4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516000600281106117e5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151600081518110611823577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff166013828154811061187b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b6118fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f490615ecd565b60405180910390fd5b6000878281518110611938577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600060028110611979577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151511480611b2157508681815181106119bf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600060028110611a00577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201516001888381518110611a40577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600060028110611a81577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015151611a919190616483565b81518110611ac8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b611b60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b579061606d565b60405180910390fd5b6000878281518110611b9b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600160028110611bdc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151511480611d3c5750868181518110611c22577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600160028110611c63577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151600081518110611ca1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1660138281548110611cf9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b611d7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7290615ecd565b60405180910390fd5b6000878281518110611db6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600160028110611df7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151511480611f9f5750868181518110611e3d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600160028110611e7e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201516001888381518110611ebe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600160028110611eff577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015151611f0f9190616483565b81518110611f46577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff16601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b611fde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd59061606d565b60405180910390fd5b8080611fe9906166b6565b9150506115a3565b506000806120ab600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16848a601380548060200260200160405190810160405280929190818152602001828054801561209f57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311612055575b50505050508b8b6137bc565b91509150612159601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168585600c54600b548961212e9190616429565b61213891906163f8565b600c54600b54896121499190616429565b61215391906163f8565b8d613af5565b5050506000806000612169613bfd565b92509250925061217883613566565b61218183614139565b3373ffffffffffffffffffffffffffffffffffffffff167f36c54fe3f6742709ba65ab76880ce98cbacfc0e2f273d55f4e4d50d8830c26008460075485856040516121cf94939291906161ab565b60405180910390a25050505050505050505050565b6000600660009054906101000a900460ff16905090565b600080612206610aa7565b14156122155760009050612238565b61221d610aa7565b6007548361222b9190616429565b61223591906163f8565b90505b919050565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f29944e936a0f6e1cbaa227df218d7d6025c2a2785db840e42a3425f24e9e68ac81565b6000801b612294816133ad565b81600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fca394f95d8dbf1e8b2e76b9a8da90cacce1da85181a65508dab13212dc1df53b60405160405180910390a35050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000801b6123d4816133ad565b6123dc6141be565b50565b60006123ea33612333565b1161242a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242190615eed565b60405180910390fd5b600061243d61243833612333565b6121fb565b905061244881610bfe565b50565b6000801b612458816133ad565b82600b8190555081600c819055503373ffffffffffffffffffffffffffffffffffffffff167fe8a0df875bece805d1b6bd1bf60bdf2abc88b51be72ed2bb5cd590532bc446a884846040516124ae929190616128565b60405180910390a2505050565b60006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606004805461253590616653565b80601f016020809104026020016040519081016040528092919081815260200182805461256190616653565b80156125ae5780601f10612583576101008083540402835291602001916125ae565b820191906000526020600020905b81548152906001019060200180831161259157829003601f168201915b5050505050905090565b6000801b81565b600080600160006125ce612cf7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561268b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612682906160ad565b60405180910390fd5b6126a8612696612cf7565b8585846126a39190616483565b612cff565b600191505092915050565b60006126c76126c0612cf7565b8484612eca565b6001905092915050565b6000801b6126de816133ad565b81601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f5b1c29a1dba062a69b78ce73a2eefee7c106ae78ccd32338a741b3dc6fdcd32d60405160405180910390a35050565b6127856121e4565b156127c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127bc90615e8d565b60405180910390fd5b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b815260040161282693929190615b70565b602060405180830381600087803b15801561284057600080fd5b505af1158015612854573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061287891906152d2565b9050806128ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128b190615f4d565b60405180910390fd5b60003073ffffffffffffffffffffffffffffffffffffffff1663c9ce0e8c846040518263ffffffff1660e01b81526004016128f5919061610d565b60206040518083038186803b15801561290d57600080fd5b505afa158015612921573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061294591906153b2565b90506129513382614261565b826007600082825461296391906163a2565b9250508190555061297383613566565b3373ffffffffffffffffffffffffffffffffffffffff167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c846040516129b9919061610d565b60405180910390a2505050565b601381815481106129d657600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601981565b60095481565b6000806007541415612a4a57819050612a6d565b600754612a55610aa7565b83612a609190616429565b612a6a91906163f8565b90505b919050565b600c5481565b612a8182610bd8565b612a8a816133ad565b612a9483836133e2565b505050565b602881565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000801b612b58816133ad565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bbf90615dcd565b60405180910390fd5b81600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fbd45c5f5d28e3962d234f9fa4e443f6f92e4525b10556e441307306fab9f9e0360405160405180910390a35050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d669061600d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ddf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd690615dad565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051612ebd919061610d565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3190615fcd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612faa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fa190615d4d565b60405180910390fd5b612fb58383836143b5565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561303b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161303290615ded565b60405180910390fd5b81816130479190616483565b6000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130d791906163a2565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161313b919061610d565b60405180910390a350505050565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d826040518263ffffffff1660e01b81526004016131a4919061610d565b600060405180830381600087803b1580156131be57600080fd5b505af11580156131d2573d6000803e3d6000fd5b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613249576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161324090615f8d565b60405180910390fd5b613255826000836143b5565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156132db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132d290615d8d565b60405180910390fd5b81816132e79190616483565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816002600082825461333b9190616483565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516133a0919061610d565b60405180910390a3505050565b6133be816133b9612cf7565b6143ba565b50565b6133ca82610bd8565b6133d3816133ad565b6133dd8383614457565b505050565b6133ec82826124bb565b156134c05760006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550613465612cf7565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6134cc6121e4565b61350b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350290615d6d565b60405180910390fd5b6000600660006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61354f612cf7565b60405161355c9190615b2c565b60405180910390a1565b61356e6121e4565b156135ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135a590615e8d565b60405180910390fd5b600081116135f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135e890615ead565b60405180910390fd5b613660601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166145389092919063ffffffff16565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a694fc3a826040518263ffffffff1660e01b81526004016136bb919061610d565b600060405180830381600087803b1580156136d557600080fd5b505af11580156136e9573d6000803e3d6000fd5b5050505050565b6136f86121e4565b15613738576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161372f90615e8d565b60405180910390fd5b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633d18b9126040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156137a257600080fd5b505af11580156137b6573d6000803e3d6000fd5b50505050565b60008060008060005b8951811015613ae157600060028b838151811061380b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161381d91906163f8565b90506139698c8b848151811061385c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160006002811061389d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151838c86815181106138dc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518c878151811061391d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160006002811061395e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201518c614659565b8461397491906163a2565b9350613ac08c8b84815181106139b3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516001600281106139f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151838c8681518110613a33577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518c8781518110613a74577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600160028110613ab5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200201518c614659565b83613acb91906163a2565b9250508080613ad9906166b6565b9150506137c5565b508181935093505050965096945050505050565b6000806000613b258b898c73ffffffffffffffffffffffffffffffffffffffff166145389092919063ffffffff16565b613b508b888b73ffffffffffffffffffffffffffffffffffffffff166145389092919063ffffffff16565b8a73ffffffffffffffffffffffffffffffffffffffff1663e8e337008b8b8b8b8b8b308c6040518963ffffffff1660e01b8152600401613b97989796959493929190615ba7565b606060405180830381600087803b158015613bb157600080fd5b505af1158015613bc5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613be99190615453565b925092509250985098509895505050505050565b6000806000613c0a6121e4565b15613c4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c4190615e8d565b60405180910390fd5b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401613ca79190615b2c565b60206040518083038186803b158015613cbf57600080fd5b505afa158015613cd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613cf791906153b2565b9050600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166392ce27f8826040518263ffffffff1660e01b8152600401613d54919061610d565b60206040518083038186803b158015613d6c57600080fd5b505afa158015613d80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613da491906153b2565b9250600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631deae18c826040518263ffffffff1660e01b8152600401613e01919061610d565b60206040518083038186803b158015613e1957600080fd5b505afa158015613e2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e5191906153b2565b91506103e8602882613e639190616429565b613e6d91906163f8565b8284613e7991906163a2565b1115613eba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613eb190615e0d565b60405180910390fd5b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33866040518363ffffffff1660e01b8152600401613f19929190615c25565b602060405180830381600087803b158015613f3357600080fd5b505af1158015613f47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613f6b91906152d2565b90506000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16866040518363ffffffff1660e01b8152600401613fee929190615c25565b602060405180830381600087803b15801561400857600080fd5b505af115801561401c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061404091906152d2565b905081801561404c5750805b61408b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161408290615f0d565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632a564992336040518263ffffffff1660e01b81526004016140e69190615b2c565b600060405180830381600087803b15801561410057600080fd5b505af1158015614114573d6000803e3d6000fd5b505050508385846141259190616483565b61412f9190616483565b9550505050909192565b6141416121e4565b15614181576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161417890615e8d565b60405180910390fd5b806007600082825461419391906163a2565b92505081905550600754600a54826141ab9190616429565b6141b591906163f8565b60098190555050565b6141c66121e4565b15614206576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016141fd90615e8d565b60405180910390fd5b6001600660006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861424a612cf7565b6040516142579190615b2c565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156142d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016142c8906160ed565b60405180910390fd5b6142dd600083836143b5565b80600260008282546142ef91906163a2565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461434491906163a2565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516143a9919061610d565b60405180910390a35050565b505050565b6143c482826124bb565b614453576143e98173ffffffffffffffffffffffffffffffffffffffff16601461479d565b6143f78360001c602061479d565b604051602001614408929190615af2565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161444a9190615d0b565b60405180910390fd5b5050565b61446182826124bb565b6145345760016005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506144d9612cf7565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000818473ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30866040518363ffffffff1660e01b8152600401614576929190615b47565b60206040518083038186803b15801561458e57600080fd5b505afa1580156145a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906145c691906153b2565b6145d091906163a2565b90506146538463095ea7b360e01b85846040516024016145f1929190615c25565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050614a97565b50505050565b6000600286511015801561466d5750600085115b1561478f5761469d87868673ffffffffffffffffffffffffffffffffffffffff166145389092919063ffffffff16565b60008773ffffffffffffffffffffffffffffffffffffffff166338ed173987868a30886040518663ffffffff1660e01b81526004016146e0959493929190616151565b600060405180830381600087803b1580156146fa57600080fd5b505af115801561470e573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906147379190615291565b905080600182516147489190616483565b8151811061477f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151915050614793565b8490505b9695505050505050565b6060600060028360026147b09190616429565b6147ba91906163a2565b67ffffffffffffffff8111156147f9577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561482b5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110614889577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110614913577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026149539190616429565b61495d91906163a2565b90505b6001811115614a49577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106149c5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110614a02577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080614a4290616629565b9050614960565b5060008414614a8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614a8490615d2d565b60405180910390fd5b8091505092915050565b6000614af9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16614b5e9092919063ffffffff16565b9050600081511115614b595780806020019051810190614b1991906152d2565b614b58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614b4f9061608d565b60405180910390fd5b5b505050565b6060614b6d8484600085614b76565b90509392505050565b606082471015614bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614bb290615e4d565b60405180910390fd5b614bc485614c8a565b614c03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614bfa9061602d565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051614c2c9190615adb565b60006040518083038185875af1925050503d8060008114614c69576040519150601f19603f3d011682016040523d82523d6000602084013e614c6e565b606091505b5091509150614c7e828286614c9d565b92505050949350505050565b600080823b905060008111915050919050565b60608315614cad57829050614cfd565b600083511115614cc05782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614cf49190615d0b565b60405180910390fd5b9392505050565b6000614d17614d1284616230565b61620b565b90508083825260208201905082856020860282011115614d3657600080fd5b60005b85811015614d665781614d4c8882614fae565b845260208401935060208301925050600181019050614d39565b5050509392505050565b6000614d83614d7e8461625c565b61620b565b90508082856020860282011115614d9957600080fd5b60005b85811015614de357813567ffffffffffffffff811115614dbb57600080fd5b808601614dc88982614fc3565b85526020850194506020840193505050600181019050614d9c565b5050509392505050565b6000614e00614dfb84616282565b61620b565b90508083825260208201905082856020860282011115614e1f57600080fd5b60005b85811015614e6957813567ffffffffffffffff811115614e4157600080fd5b808601614e4e8982614fed565b85526020850194506020840193505050600181019050614e22565b5050509392505050565b6000614e86614e81846162ae565b61620b565b90508083825260208201905082856040860282011115614ea557600080fd5b60005b85811015614ed55781614ebb8882615068565b845260208401935060408301925050600181019050614ea8565b5050509392505050565b6000614ef2614eed846162da565b61620b565b90508082856020860282011115614f0857600080fd5b60005b85811015614f385781614f1e88826150f8565b845260208401935060208301925050600181019050614f0b565b5050509392505050565b6000614f55614f5084616300565b61620b565b90508083825260208201905082856020860282011115614f7457600080fd5b60005b85811015614fa45781614f8a888261510d565b845260208401935060208301925050600181019050614f77565b5050509392505050565b600081359050614fbd81616fc1565b92915050565b600082601f830112614fd457600080fd5b8135614fe4848260208601614d04565b91505092915050565b600082601f830112614ffe57600080fd5b600261500b848285614d70565b91505092915050565b600082601f83011261502557600080fd5b8135615035848260208601614ded565b91505092915050565b600082601f83011261504f57600080fd5b813561505f848260208601614e73565b91505092915050565b600082601f83011261507957600080fd5b6002615086848285614edf565b91505092915050565b600082601f8301126150a057600080fd5b81516150b0848260208601614f42565b91505092915050565b6000815190506150c881616fd8565b92915050565b6000813590506150dd81616fef565b92915050565b6000813590506150f281617006565b92915050565b6000813590506151078161701d565b92915050565b60008151905061511c8161701d565b92915050565b60006020828403121561513457600080fd5b600061514284828501614fae565b91505092915050565b6000806040838503121561515e57600080fd5b600061516c85828601614fae565b925050602061517d85828601614fae565b9150509250929050565b60008060006060848603121561519c57600080fd5b60006151aa86828701614fae565b93505060206151bb86828701614fae565b92505060406151cc868287016150f8565b9150509250925092565b600080604083850312156151e957600080fd5b60006151f785828601614fae565b9250506020615208858286016150f8565b9150509250929050565b60008060006060848603121561522757600080fd5b600084013567ffffffffffffffff81111561524157600080fd5b61524d86828701615014565b935050602084013567ffffffffffffffff81111561526a57600080fd5b6152768682870161503e565b9250506040615287868287016150f8565b9150509250925092565b6000602082840312156152a357600080fd5b600082015167ffffffffffffffff8111156152bd57600080fd5b6152c98482850161508f565b91505092915050565b6000602082840312156152e457600080fd5b60006152f2848285016150b9565b91505092915050565b60006020828403121561530d57600080fd5b600061531b848285016150ce565b91505092915050565b6000806040838503121561533757600080fd5b6000615345858286016150ce565b925050602061535685828601614fae565b9150509250929050565b60006020828403121561537257600080fd5b6000615380848285016150e3565b91505092915050565b60006020828403121561539b57600080fd5b60006153a9848285016150f8565b91505092915050565b6000602082840312156153c457600080fd5b60006153d28482850161510d565b91505092915050565b600080604083850312156153ee57600080fd5b60006153fc858286016150f8565b925050602061540d858286016150f8565b9150509250929050565b6000806040838503121561542a57600080fd5b60006154388582860161510d565b92505060206154498582860161510d565b9150509250929050565b60008060006060848603121561546857600080fd5b60006154768682870161510d565b93505060206154878682870161510d565b92505060406154988682870161510d565b9150509250925092565b60006154ae83836154ba565b60208301905092915050565b6154c3816164b7565b82525050565b6154d2816164b7565b82525050565b60006154e38261633c565b6154ed818561636a565b93506154f88361632c565b8060005b8381101561552957815161551088826154a2565b975061551b8361635d565b9250506001810190506154fc565b5085935050505092915050565b61553f816164c9565b82525050565b61554e816164d5565b82525050565b600061555f82616347565b615569818561637b565b93506155798185602086016165f6565b80840191505092915050565b61558e81616542565b82525050565b61559d81616566565b82525050565b6155ac8161658a565b82525050565b6155bb816165ae565b82525050565b6155ca816165d2565b82525050565b60006155db82616352565b6155e58185616386565b93506155f58185602086016165f6565b6155fe816167bb565b840191505092915050565b600061561482616352565b61561e8185616397565b935061562e8185602086016165f6565b80840191505092915050565b6000615647602083616386565b9150615652826167cc565b602082019050919050565b600061566a602383616386565b9150615675826167f5565b604082019050919050565b600061568d601483616386565b915061569882616844565b602082019050919050565b60006156b0602283616386565b91506156bb8261686d565b604082019050919050565b60006156d3602283616386565b91506156de826168bc565b604082019050919050565b60006156f6601f83616386565b91506157018261690b565b602082019050919050565b6000615719602683616386565b915061572482616934565b604082019050919050565b600061573c601883616386565b915061574782616983565b602082019050919050565b600061575f601083616386565b915061576a826169ac565b602082019050919050565b6000615782602683616386565b915061578d826169d5565b604082019050919050565b60006157a5604083616386565b91506157b082616a24565b604082019050919050565b60006157c8601083616386565b91506157d382616a73565b602082019050919050565b60006157eb602b83616386565b91506157f682616a9c565b604082019050919050565b600061580e601283616386565b915061581982616aeb565b602082019050919050565b6000615831601c83616386565b915061583c82616b14565b602082019050919050565b6000615854601383616386565b915061585f82616b3d565b602082019050919050565b6000615877602883616386565b915061588282616b66565b604082019050919050565b600061589a602183616386565b91506158a582616bb5565b604082019050919050565b60006158bd602483616386565b91506158c882616c04565b604082019050919050565b60006158e0602183616386565b91506158eb82616c53565b604082019050919050565b6000615903603883616386565b915061590e82616ca2565b604082019050919050565b6000615926602583616386565b915061593182616cf1565b604082019050919050565b6000615949603883616386565b915061595482616d40565b604082019050919050565b600061596c602483616386565b915061597782616d8f565b604082019050919050565b600061598f601d83616386565b915061599a82616dde565b602082019050919050565b60006159b2601f83616386565b91506159bd82616e07565b602082019050919050565b60006159d5601783616397565b91506159e082616e30565b601782019050919050565b60006159f8601083616386565b9150615a0382616e59565b602082019050919050565b6000615a1b602a83616386565b9150615a2682616e82565b604082019050919050565b6000615a3e602583616386565b9150615a4982616ed1565b604082019050919050565b6000615a61601183616397565b9150615a6c82616f20565b601182019050919050565b6000615a84602f83616386565b9150615a8f82616f49565b604082019050919050565b6000615aa7601f83616386565b9150615ab282616f98565b602082019050919050565b615ac68161652b565b82525050565b615ad581616535565b82525050565b6000615ae78284615554565b915081905092915050565b6000615afd826159c8565b9150615b098285615609565b9150615b1482615a54565b9150615b208284615609565b91508190509392505050565b6000602082019050615b4160008301846154c9565b92915050565b6000604082019050615b5c60008301856154c9565b615b6960208301846154c9565b9392505050565b6000606082019050615b8560008301866154c9565b615b9260208301856154c9565b615b9f6040830184615abd565b949350505050565b600061010082019050615bbd600083018b6154c9565b615bca602083018a6154c9565b615bd76040830189615abd565b615be46060830188615abd565b615bf16080830187615abd565b615bfe60a0830186615abd565b615c0b60c08301856154c9565b615c1860e0830184615abd565b9998505050505050505050565b6000604082019050615c3a60008301856154c9565b615c476020830184615abd565b9392505050565b6000602082019050615c636000830184615536565b92915050565b6000602082019050615c7e6000830184615545565b92915050565b6000602082019050615c996000830184615585565b92915050565b6000602082019050615cb46000830184615594565b92915050565b6000602082019050615ccf60008301846155a3565b92915050565b6000602082019050615cea60008301846155b2565b92915050565b6000602082019050615d0560008301846155c1565b92915050565b60006020820190508181036000830152615d2581846155d0565b905092915050565b60006020820190508181036000830152615d468161563a565b9050919050565b60006020820190508181036000830152615d668161565d565b9050919050565b60006020820190508181036000830152615d8681615680565b9050919050565b60006020820190508181036000830152615da6816156a3565b9050919050565b60006020820190508181036000830152615dc6816156c6565b9050919050565b60006020820190508181036000830152615de6816156e9565b9050919050565b60006020820190508181036000830152615e068161570c565b9050919050565b60006020820190508181036000830152615e268161572f565b9050919050565b60006020820190508181036000830152615e4681615752565b9050919050565b60006020820190508181036000830152615e6681615775565b9050919050565b60006020820190508181036000830152615e8681615798565b9050919050565b60006020820190508181036000830152615ea6816157bb565b9050919050565b60006020820190508181036000830152615ec6816157de565b9050919050565b60006020820190508181036000830152615ee681615801565b9050919050565b60006020820190508181036000830152615f0681615824565b9050919050565b60006020820190508181036000830152615f2681615847565b9050919050565b60006020820190508181036000830152615f468161586a565b9050919050565b60006020820190508181036000830152615f668161588d565b9050919050565b60006020820190508181036000830152615f86816158b0565b9050919050565b60006020820190508181036000830152615fa6816158d3565b9050919050565b60006020820190508181036000830152615fc6816158f6565b9050919050565b60006020820190508181036000830152615fe681615919565b9050919050565b600060208201905081810360008301526160068161593c565b9050919050565b600060208201905081810360008301526160268161595f565b9050919050565b6000602082019050818103600083015261604681615982565b9050919050565b60006020820190508181036000830152616066816159a5565b9050919050565b60006020820190508181036000830152616086816159eb565b9050919050565b600060208201905081810360008301526160a681615a0e565b9050919050565b600060208201905081810360008301526160c681615a31565b9050919050565b600060208201905081810360008301526160e681615a77565b9050919050565b6000602082019050818103600083015261610681615a9a565b9050919050565b60006020820190506161226000830184615abd565b92915050565b600060408201905061613d6000830185615abd565b61614a6020830184615abd565b9392505050565b600060a0820190506161666000830188615abd565b6161736020830187615abd565b818103604083015261618581866154d8565b905061619460608301856154c9565b6161a16080830184615abd565b9695505050505050565b60006080820190506161c06000830187615abd565b6161cd6020830186615abd565b6161da6040830185615abd565b6161e76060830184615abd565b95945050505050565b60006020820190506162056000830184615acc565b92915050565b6000616215616226565b90506162218282616685565b919050565b6000604051905090565b600067ffffffffffffffff82111561624b5761624a61678c565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156162775761627661678c565b5b602082029050919050565b600067ffffffffffffffff82111561629d5761629c61678c565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156162c9576162c861678c565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156162f5576162f461678c565b5b602082029050919050565b600067ffffffffffffffff82111561631b5761631a61678c565b5b602082029050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006163ad8261652b565b91506163b88361652b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156163ed576163ec6166ff565b5b828201905092915050565b60006164038261652b565b915061640e8361652b565b92508261641e5761641d61672e565b5b828204905092915050565b60006164348261652b565b915061643f8361652b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615616478576164776166ff565b5b828202905092915050565b600061648e8261652b565b91506164998361652b565b9250828210156164ac576164ab6166ff565b5b828203905092915050565b60006164c28261650b565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600061654d82616554565b9050919050565b600061655f8261650b565b9050919050565b600061657182616578565b9050919050565b60006165838261650b565b9050919050565b60006165958261659c565b9050919050565b60006165a78261650b565b9050919050565b60006165b9826165c0565b9050919050565b60006165cb8261650b565b9050919050565b60006165dd826165e4565b9050919050565b60006165ef8261650b565b9050919050565b60005b838110156166145780820151818401526020810190506165f9565b83811115616623576000848401525b50505050565b60006166348261652b565b91506000821415616648576166476166ff565b5b600182039050919050565b6000600282049050600182168061666b57607f821691505b6020821081141561667f5761667e61675d565b5b50919050565b61668e826167bb565b810181811067ffffffffffffffff821117156166ad576166ac61678c565b5b80604052505050565b60006166c18261652b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156166f4576166f36166ff565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f43616e6e6f74207365742072657365727665206164647265737320746f203000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f506572666f726d616e63652066656520746f6f20686967680000000000000000600082015250565b7f4661726d426f743a204558504952454400000000000000000000000000000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f506172616d65746572205f6d696e416d6f756e74734f7574206d75737420686160008201527f7665206c656e67746820657175616c20746f2072657761726473546f6b656e73602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f43616e6e6f7420696e7665737420696e206661726d2062656361757365206c7060008201527f416d6f756e742069732030000000000000000000000000000000000000000000602082015250565b7f696e76616c696420706174682073746172740000000000000000000000000000600082015250565b7f43616e6e6f74207769746864726177207a65726f2062616c616e636500000000600082015250565b7f53656e64696e672066656573206661696c656400000000000000000000000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b7f5472616e73666572206661696c65642c2061626f7274696e67206465706f736960008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b7f5472616e73666572206661696c65642c2061626f7274696e672077697468647260008201527f6177616c00000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f506172616d65746572205f7061746873206d7573742068617665206c656e677460008201527f6820657175616c20746f2072657761726473546f6b656e730000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f43616e6e6f74207769746864726177206d6f7265207468616e2074686520746f60008201527f74616c2062616c616e6365206f6620746865206f776e65720000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f466565206661696c65642c2061626f7274696e67207769746864726177616c00600082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f696e76616c6964207061746820656e6400000000000000000000000000000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b616fca816164b7565b8114616fd557600080fd5b50565b616fe1816164c9565b8114616fec57600080fd5b50565b616ff8816164d5565b811461700357600080fd5b50565b61700f816164df565b811461701a57600080fd5b50565b6170268161652b565b811461703157600080fd5b5056fea264697066735822122012509bb0a2534a839be7e51816c1877bf133b1bfe423ad033d3b2a821673e8fe64736f6c63430008040033