Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 8 from a total of 8 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Emergency Withdr... | 16358583 | 762 days ago | IN | 0 ETH | 0.00057399 | ||||
Emergency Withdr... | 16272820 | 774 days ago | IN | 0 ETH | 0.00070284 | ||||
Emergency Withdr... | 15912178 | 824 days ago | IN | 0 ETH | 0.00075611 | ||||
Emergency Withdr... | 15392843 | 900 days ago | IN | 0 ETH | 0.00065637 | ||||
Emergency Withdr... | 14881754 | 983 days ago | IN | 0 ETH | 0.00268393 | ||||
Transfer Ownersh... | 14688490 | 1014 days ago | IN | 0 ETH | 0.00303129 | ||||
Transfer Ownersh... | 14684996 | 1014 days ago | IN | 0 ETH | 0.00089933 | ||||
Initialize | 14684983 | 1014 days ago | IN | 0 ETH | 0.00500486 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
20545161 | 175 days ago | 0.00850846 ETH | ||||
20190878 | 224 days ago | 0.00850846 ETH | ||||
20190876 | 224 days ago | 0.00850846 ETH | ||||
19691147 | 294 days ago | 0.00850846 ETH | ||||
19569367 | 311 days ago | 0.00850846 ETH | ||||
19569365 | 311 days ago | 0.00850846 ETH | ||||
19456463 | 327 days ago | 0.00850846 ETH | ||||
18134105 | 512 days ago | 0.00850846 ETH | ||||
17163923 | 648 days ago | 0.00850846 ETH | ||||
17163894 | 648 days ago | 0.00850846 ETH | ||||
17163889 | 648 days ago | 0.00850846 ETH | ||||
16267215 | 774 days ago | 0.00850846 ETH | ||||
16263617 | 775 days ago | 0.00850846 ETH | ||||
16263603 | 775 days ago | 0.00850846 ETH | ||||
16260444 | 775 days ago | 0.00850846 ETH | ||||
16243990 | 778 days ago | 0.00850846 ETH | ||||
16243984 | 778 days ago | 0.00850846 ETH | ||||
16242404 | 778 days ago | 0.00850846 ETH | ||||
15912178 | 824 days ago | 0.14174879 ETH | ||||
15893148 | 827 days ago | 0.00283203 ETH | ||||
15877674 | 829 days ago | 0.00495383 ETH | ||||
15876639 | 829 days ago | 0.02299126 ETH | ||||
15822712 | 836 days ago | 0.00889981 ETH | ||||
15806966 | 839 days ago | 0.00552809 ETH | ||||
15794425 | 840 days ago | 0.00735307 ETH |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x1068FEA3...a191e09FE The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
ScarDustTreasury
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
Yes with 100 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @author Brewlabs * This treasury contract has been developed by brewlabs.info */ import '@openzeppelin/contracts/access/Ownable.sol'; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol'; import '@openzeppelin/contracts/utils/math/SafeMath.sol'; import "../libs/IUniFactory.sol"; import "../libs/IUniRouter02.sol"; import "../libs/IWETH.sol"; interface IStaking { function performanceFee() external view returns(uint256); function setServiceInfo(address _addr, uint256 _fee) external; } interface IFarm { function setBuyBackWallet(address _addr) external; } contract ScarDustTreasury is Ownable, ReentrancyGuard { using SafeERC20 for IERC20; // Whether it is initialized bool private isInitialized; uint256 private TIME_UNIT = 1 days; IERC20 public token; address public dividendToken; address public pair; uint256 public period = 30; // 30 days uint256 public withdrawalLimit = 500; // 5% of total supply uint256 public liquidityWithdrawalLimit = 2000; // 20% of LP supply uint256 public buybackRate = 9500; // 95% uint256 public addLiquidityRate = 9400; // 94% uint256 private startTime; uint256 private sumWithdrawals = 0; uint256 private sumLiquidityWithdrawals = 0; uint256 public performanceFee = 100; // 1% uint256 public performanceLpFee = 200; // 2% address public feeWallet = 0xE1f1dd010BBC2860F81c8F90Ea4E38dB949BB16F; // swap router and path, slipPage address public uniRouterAddress; address[] public bnbToTokenPath; uint256 public slippageFactor = 830; // 17% uint256 public constant slippageFactorUL = 995; event TokenBuyBack(uint256 amountETH, uint256 amountToken); event LiquidityAdded(uint256 amountETH, uint256 amountToken, uint256 liquidity); event SetSwapConfig(address router, uint256 slipPage, address[] path); event TransferBuyBackWallet(address staking, address wallet); event LiquidityWithdrawn(uint256 amount); event Withdrawn(uint256 amount); event AddLiquidityRateUpdated(uint256 percent); event BuybackRateUpdated(uint256 percent); event PeriodUpdated(uint256 duration); event LiquidityWithdrawLimitUpdated(uint256 percent); event WithdrawLimitUpdated(uint256 percent); event ServiceInfoUpdated(address wallet, uint256 performanceFee, uint256 liquidityFee); constructor() {} /** * @notice Initialize the contract * @param _token: token address * @param _dividendToken: reflection token address * @param _uniRouter: uniswap router address for swap tokens * @param _bnbToTokenPath: swap path to buy Token */ function initialize( IERC20 _token, address _dividendToken, address _uniRouter, address[] memory _bnbToTokenPath ) external onlyOwner { require(!isInitialized, "Already initialized"); // Make this contract initialized isInitialized = true; token = _token; dividendToken = _dividendToken; pair = IUniV2Factory(IUniRouter02(_uniRouter).factory()).getPair(_bnbToTokenPath[0], address(token)); uniRouterAddress = _uniRouter; bnbToTokenPath = _bnbToTokenPath; } /** * @notice Buy token from BNB */ function buyBack() external onlyOwner nonReentrant { uint256 ethAmt = address(this).balance; uint256 _fee = ethAmt * performanceFee / 10000; if(_fee > 0) { payable(feeWallet).transfer(_fee); ethAmt = ethAmt - _fee; } ethAmt = ethAmt * buybackRate / 10000; if(ethAmt > 0) { uint256[] memory amounts = _safeSwapEth(ethAmt, bnbToTokenPath, address(this)); emit TokenBuyBack(amounts[0], amounts[amounts.length - 1]); } } /** * @notice Add liquidity */ function addLiquidity() external onlyOwner nonReentrant { uint256 ethAmt = address(this).balance; uint256 _fee = ethAmt * performanceLpFee / 10000; if(_fee > 0) { payable(feeWallet).transfer(_fee); ethAmt = ethAmt - _fee; } ethAmt = ethAmt * addLiquidityRate / 10000 / 2; if(ethAmt > 0) { uint256[] memory amounts = _safeSwapEth(ethAmt, bnbToTokenPath, address(this)); uint256 _tokenAmt = amounts[amounts.length - 1]; emit TokenBuyBack(amounts[0], _tokenAmt); (uint256 amountToken, uint256 amountETH, uint256 liquidity) = _addLiquidityEth(address(token), ethAmt, _tokenAmt, address(this)); emit LiquidityAdded(amountETH, amountToken, liquidity); } } /** * @notice Withdraw token as much as maximum 5% of total supply * @param _amount: amount to withdraw */ function withdraw(uint256 _amount) external onlyOwner { uint256 tokenAmt = token.balanceOf(address(this)); require(_amount > 0 && _amount <= tokenAmt, "Invalid Amount"); if(block.timestamp - startTime > period * TIME_UNIT) { startTime = block.timestamp; sumWithdrawals = 0; } uint256 limit = withdrawalLimit * (token.totalSupply()) / 10000; require(sumWithdrawals + _amount <= limit, "exceed maximum withdrawal limit for 30 days"); token.safeTransfer(msg.sender, _amount); emit Withdrawn(_amount); } /** * @notice Withdraw token as much as maximum 20% of lp supply * @param _amount: liquidity amount to withdraw */ function withdrawLiquidity(uint256 _amount) external onlyOwner { uint256 tokenAmt = IERC20(pair).balanceOf(address(this)); require(_amount > 0 && _amount <= tokenAmt, "Invalid Amount"); if(block.timestamp - startTime > period * TIME_UNIT) { startTime = block.timestamp; sumLiquidityWithdrawals = 0; } uint256 limit = liquidityWithdrawalLimit * (IERC20(pair).totalSupply()) / 10000; require(sumLiquidityWithdrawals + _amount <= limit, "exceed maximum LP withdrawal limit for 30 days"); IERC20(pair).safeTransfer(msg.sender, _amount); emit LiquidityWithdrawn(_amount); } /** * @notice Withdraw tokens * @dev Needs to be for emergency. */ function emergencyWithdraw() external onlyOwner { uint256 tokenAmt = token.balanceOf(address(this)); if(tokenAmt > 0) { token.transfer(msg.sender, tokenAmt); } tokenAmt = IERC20(pair).balanceOf(address(this)); if(tokenAmt > 0) { IERC20(pair).transfer(msg.sender, tokenAmt); } uint256 ethAmt = address(this).balance; if(ethAmt > 0) { payable(msg.sender).transfer(ethAmt); } } /** * @notice Harvest reflection for token */ function harvest() external onlyOwner { if(dividendToken == address(0x0)) { uint256 ethAmt = address(this).balance; if(ethAmt > 0) { payable(msg.sender).transfer(ethAmt); } } else { uint256 tokenAmt = IERC20(dividendToken).balanceOf(address(this)); if(tokenAmt > 0) { IERC20(dividendToken).transfer(msg.sender, tokenAmt); } } } /** * @notice Set duration for withdraw limit * @param _period: duration */ function setWithdrawalLimitPeriod(uint256 _period) external onlyOwner { require(_period >= 10, "small period"); period = _period; emit PeriodUpdated(_period); } /** * @notice Set liquidity withdraw limit * @param _percent: percentage of LP supply in point */ function setLiquidityWithdrawalLimit(uint256 _percent) external onlyOwner { require(_percent < 10000, "Invalid percentage"); liquidityWithdrawalLimit = _percent; emit LiquidityWithdrawLimitUpdated(_percent); } /** * @notice Set withdraw limit * @param _percent: percentage of total supply in point */ function setWithdrawalLimit(uint256 _percent) external onlyOwner { require(_percent < 10000, "Invalid percentage"); withdrawalLimit = _percent; emit WithdrawLimitUpdated(_percent); } /** * @notice Set buyback rate * @param _percent: percentage in point */ function setBuybackRate(uint256 _percent) external onlyOwner { require(_percent < 10000, "Invalid percentage"); buybackRate = _percent; emit BuybackRateUpdated(_percent); } /** * @notice Set addliquidy rate * @param _percent: percentage in point */ function setAddLiquidityRate(uint256 _percent) external onlyOwner { require(_percent < 10000, "Invalid percentage"); addLiquidityRate = _percent; emit AddLiquidityRateUpdated(_percent); } function setServiceInfo(address _wallet, uint256 _fee) external { require(msg.sender == feeWallet, "Invalid setter"); require(_wallet != feeWallet && _wallet != address(0x0), "Invalid new wallet"); require(_fee < 500, "invalid performance fee"); feeWallet = _wallet; performanceFee = _fee; performanceLpFee = _fee * 2; emit ServiceInfoUpdated(_wallet, performanceFee, performanceLpFee); } /** * @notice Set buyback wallet of farm contract * @param _uniRouter: dex router address * @param _slipPage: slip page for swap * @param _path: bnb-token swap path */ function setSwapSettings(address _uniRouter, uint256 _slipPage, address[] memory _path) external onlyOwner { require(_slipPage < 1000, "Invalid percentage"); uniRouterAddress = _uniRouter; slippageFactor = _slipPage; bnbToTokenPath = _path; emit SetSwapConfig(_uniRouter, _slipPage, _path); } /** * @notice set buyback wallet of farm contract * @param _farm: farm contract address * @param _addr: buyback wallet address */ function setFarmServiceInfo(address _farm, address _addr) external onlyOwner { require(_farm != address(0x0) && _addr != address(0x0), "Invalid Address"); IFarm(_farm).setBuyBackWallet(_addr); emit TransferBuyBackWallet(_farm, _addr); } /** * @notice set buyback wallet of staking contract * @param _staking: staking contract address * @param _addr: buyback wallet address */ function setStakingServiceInfo(address _staking, address _addr) external onlyOwner { require(_staking != address(0x0) && _addr != address(0x0), "Invalid Address"); uint256 _fee = IStaking(_staking).performanceFee(); IStaking(_staking).setServiceInfo(_addr, _fee); emit TransferBuyBackWallet(_staking, _addr); } /** * @notice It allows the admin to recover wrong tokens sent to the contract * @param _token: the address of the token to withdraw * @dev This function is only callable by admin. */ function recoverWrongTokens(address _token) external onlyOwner { require(_token != address(token) && _token != dividendToken && _token != pair, "Cannot be token & dividend token, pair"); if(_token == address(0x0)) { uint256 _tokenAmount = address(this).balance; payable(msg.sender).transfer(_tokenAmount); } else { uint256 _tokenAmount = IERC20(_token).balanceOf(address(this)); IERC20(_token).safeTransfer(msg.sender, _tokenAmount); } } /************************ ** Internal Methods *************************/ /* * @notice get token from ETH via swap. */ function _safeSwapEth( uint256 _amountIn, address[] memory _path, address _to ) internal returns (uint256[] memory amounts) { amounts = IUniRouter02(uniRouterAddress).getAmountsOut(_amountIn, _path); uint256 amountOut = amounts[amounts.length - 1]; IUniRouter02(uniRouterAddress).swapExactETHForTokensSupportingFeeOnTransferTokens{value: _amountIn}( amountOut * slippageFactor / 1000, _path, _to, block.timestamp + 600 ); } /* * @notice Add liquidity for Token-BNB pair. */ function _addLiquidityEth( address _token, uint256 _ethAmt, uint256 _tokenAmt, address _to ) internal returns(uint256 amountToken, uint256 amountETH, uint256 liquidity) { IERC20(_token).safeIncreaseAllowance(uniRouterAddress, _tokenAmt); (amountToken, amountETH, liquidity) = IUniRouter02(uniRouterAddress).addLiquidityETH{value: _ethAmt}( address(_token), _tokenAmt, 0, 0, _to, block.timestamp + 600 ); IERC20(_token).safeApprove(uniRouterAddress, uint256(0)); } receive() external payable {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/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' 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 require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IUniV2Factory { function getPair(address tokenA, address tokenB) external view returns (address); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IUniRouter01.sol"; interface IUniRouter02 is IUniRouter01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; }
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0; interface IWETH { function deposit() external payable; function transfer(address to, uint value) external returns (bool); function withdraw(uint) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) 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) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) 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; 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"); (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"); (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"); (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"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal 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 assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IUniRouter01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns ( uint256 amountA, uint256 amountB, uint256 liquidity ); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns ( uint256 amountToken, uint256 amountETH, uint256 liquidity ); function removeLiquidity( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETH( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountToken, uint256 amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETHWithPermit( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountToken, uint256 amountETH); 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 swapExactETHForTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function swapTokensForExactETH( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactTokensForETH( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapETHForExactTokens( uint256 amountOut, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function quote( uint256 amountA, uint256 reserveA, uint256 reserveB ) external pure returns (uint256 amountB); function getAmountOut( uint256 amountIn, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountOut); function getAmountIn( uint256 amountOut, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountIn); function getAmountsOut(uint256 amountIn, address[] calldata path) external view returns (uint256[] memory amounts); function getAmountsIn(uint256 amountOut, address[] calldata path) external view returns (uint256[] memory amounts); }
{ "optimizer": { "enabled": true, "runs": 100 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"percent","type":"uint256"}],"name":"AddLiquidityRateUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"percent","type":"uint256"}],"name":"BuybackRateUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountETH","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountToken","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"liquidity","type":"uint256"}],"name":"LiquidityAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"percent","type":"uint256"}],"name":"LiquidityWithdrawLimitUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"LiquidityWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"duration","type":"uint256"}],"name":"PeriodUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"wallet","type":"address"},{"indexed":false,"internalType":"uint256","name":"performanceFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"liquidityFee","type":"uint256"}],"name":"ServiceInfoUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"router","type":"address"},{"indexed":false,"internalType":"uint256","name":"slipPage","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"}],"name":"SetSwapConfig","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountETH","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountToken","type":"uint256"}],"name":"TokenBuyBack","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"staking","type":"address"},{"indexed":false,"internalType":"address","name":"wallet","type":"address"}],"name":"TransferBuyBackWallet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"percent","type":"uint256"}],"name":"WithdrawLimitUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"addLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"addLiquidityRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"bnbToTokenPath","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBack","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buybackRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividendToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"address","name":"_dividendToken","type":"address"},{"internalType":"address","name":"_uniRouter","type":"address"},{"internalType":"address[]","name":"_bnbToTokenPath","type":"address[]"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"liquidityWithdrawalLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"performanceFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"performanceLpFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"period","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"recoverWrongTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_percent","type":"uint256"}],"name":"setAddLiquidityRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_percent","type":"uint256"}],"name":"setBuybackRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_farm","type":"address"},{"internalType":"address","name":"_addr","type":"address"}],"name":"setFarmServiceInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_percent","type":"uint256"}],"name":"setLiquidityWithdrawalLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setServiceInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_staking","type":"address"},{"internalType":"address","name":"_addr","type":"address"}],"name":"setStakingServiceInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_uniRouter","type":"address"},{"internalType":"uint256","name":"_slipPage","type":"uint256"},{"internalType":"address[]","name":"_path","type":"address[]"}],"name":"setSwapSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_percent","type":"uint256"}],"name":"setWithdrawalLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_period","type":"uint256"}],"name":"setWithdrawalLimitPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"slippageFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"slippageFactorUL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniRouterAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawalLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Deployed Bytecode
0x6080604052600436106101c85760003560e01c80638d583550116100f8578063e6bfbfd811610090578063e6bfbfd81461049f578063e8078d94146104bf578063e8669da6146104d4578063ef78d4fd146104f4578063f25f4b5614610509578063f2fde38b1461051e578063f76024c41461053e578063fc0c546a14610553578063ffbd3b1f14610568576101cf565b80638d583550146103c15780638da5cb5b146103d65780638fec7a0a146103eb578063a8aa1b311461040b578063acdf4f1814610420578063b74cd24214610435578063b98f42711461044a578063db26eace1461046a578063db2e21bc1461048a576101cf565b8063693a090b1161016b578063693a090b146102d85780636e10f476146102ed578063715018a61461030d578063746268cc146103225780637d89c11e146103425780637ddfe78d1461035757806381b619481461036c578063877887821461038c5780638a317525146103a1576101cf565b8063045af258146101d45780630a861f2a146101ff5780630daa6c0d146102215780631582358e146102415780632e1a7d4d146102635780633ca68190146102835780634641257d146102a35780635a0768ce146102b8576101cf565b366101cf57005b600080fd5b3480156101e057600080fd5b506101e961057d565b6040516101f69190612da4565b60405180910390f35b34801561020b57600080fd5b5061021f61021a3660046127df565b610583565b005b34801561022d57600080fd5b5061021f61023c366004612602565b6107cb565b34801561024d57600080fd5b506102566108e1565b6040516101f6919061289b565b34801561026f57600080fd5b5061021f61027e3660046127df565b6108f0565b34801561028f57600080fd5b5061021f61029e3660046127df565b610b16565b3480156102af57600080fd5b5061021f610bb6565b3480156102c457600080fd5b5061021f6102d33660046127df565b610d54565b3480156102e457600080fd5b50610256610de9565b3480156102f957600080fd5b5061021f6103083660046127df565b610df8565b34801561031957600080fd5b5061021f610e8d565b34801561032e57600080fd5b5061021f61033d3660046125ca565b610ed6565b34801561034e57600080fd5b506101e9611050565b34801561036357600080fd5b506101e9611056565b34801561037857600080fd5b5061021f61038736600461263a565b61105c565b34801561039857600080fd5b506101e961114f565b3480156103ad57600080fd5b5061021f6103bc366004612602565b611155565b3480156103cd57600080fd5b506101e96112d7565b3480156103e257600080fd5b506102566112dd565b3480156103f757600080fd5b5061021f610406366004612665565b6112ec565b34801561041757600080fd5b506102566113b3565b34801561042c57600080fd5b5061021f6113c2565b34801561044157600080fd5b506101e96115c4565b34801561045657600080fd5b506102566104653660046127df565b6115ca565b34801561047657600080fd5b5061021f6104853660046127df565b6115f4565b34801561049657600080fd5b5061021f611689565b3480156104ab57600080fd5b5061021f6104ba36600461276c565b61191e565b3480156104cb57600080fd5b5061021f611b2c565b3480156104e057600080fd5b5061021f6104ef3660046127df565b611da0565b34801561050057600080fd5b506101e9611e35565b34801561051557600080fd5b50610256611e3b565b34801561052a57600080fd5b5061021f6105393660046125ca565b611e4a565b34801561054a57600080fd5b506101e9611eb8565b34801561055f57600080fd5b50610256611ebe565b34801561057457600080fd5b506101e9611ecd565b600b5481565b61058b611ed3565b6001600160a01b031661059c6112dd565b6001600160a01b0316146105cb5760405162461bcd60e51b81526004016105c290612b9f565b60405180910390fd5b6006546040516370a0823160e01b81526000916001600160a01b0316906370a08231906105fc90309060040161289b565b60206040518083038186803b15801561061457600080fd5b505afa158015610628573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061064c91906127f7565b905060008211801561065e5750808211155b61067a5760405162461bcd60e51b81526004016105c290612a13565b60035460075461068a9190612ea5565b600c546106979042612ec4565b11156106a75742600c556000600e555b6000612710600660009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156106fa57600080fd5b505afa15801561070e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073291906127f7565b60095461073f9190612ea5565b6107499190612e85565b90508083600e5461075a9190612e6d565b11156107785760405162461bcd60e51b81526004016105c290612b20565b60065461078f906001600160a01b03163385611ed7565b7f73ce532f480864bd2fccd1bcdbb4c8151f02cd9450c4f3e5b834ef74503abdb2836040516107be9190612da4565b60405180910390a1505050565b6107d3611ed3565b6001600160a01b03166107e46112dd565b6001600160a01b03161461080a5760405162461bcd60e51b81526004016105c290612b9f565b6001600160a01b0382161580159061082a57506001600160a01b03811615155b6108465760405162461bcd60e51b81526004016105c290612bfa565b60405163523205c160e11b81526001600160a01b0383169063a4640b829061087290849060040161289b565b600060405180830381600087803b15801561088c57600080fd5b505af11580156108a0573d6000803e3d6000fd5b505050507f7f78141a3bd83bf938eb2a367b5b7e1a1056d8128b3f1809535eed46891c903382826040516108d59291906128af565b60405180910390a15050565b6005546001600160a01b031681565b6108f8611ed3565b6001600160a01b03166109096112dd565b6001600160a01b03161461092f5760405162461bcd60e51b81526004016105c290612b9f565b600480546040516370a0823160e01b81526000926001600160a01b03909216916370a08231916109619130910161289b565b60206040518083038186803b15801561097957600080fd5b505afa15801561098d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b191906127f7565b90506000821180156109c35750808211155b6109df5760405162461bcd60e51b81526004016105c290612a13565b6003546007546109ef9190612ea5565b600c546109fc9042612ec4565b1115610a0c5742600c556000600d555b60048054604080516318160ddd60e01b81529051600093612710936001600160a01b0316926318160ddd9281830192602092829003018186803b158015610a5257600080fd5b505afa158015610a66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8a91906127f7565b600854610a979190612ea5565b610aa19190612e85565b90508083600d54610ab29190612e6d565b1115610ad05760405162461bcd60e51b81526004016105c290612aa9565b600454610ae7906001600160a01b03163385611ed7565b7f430648de173157e069201c943adb2d4e340e7cf5b27b1b09c9cb852f03d63b56836040516107be9190612da4565b610b1e611ed3565b6001600160a01b0316610b2f6112dd565b6001600160a01b031614610b555760405162461bcd60e51b81526004016105c290612b9f565b6127108110610b765760405162461bcd60e51b81526004016105c2906129e7565b600b8190556040517f71e39bccc2e27c18ea159b9a4fbc08961b9d9583ea143ae3e5021cf6aefb613c90610bab908390612da4565b60405180910390a150565b610bbe611ed3565b6001600160a01b0316610bcf6112dd565b6001600160a01b031614610bf55760405162461bcd60e51b81526004016105c290612b9f565b6005546001600160a01b0316610c4157478015610c3b57604051339082156108fc029083906000818181858888f19350505050158015610c39573d6000803e3d6000fd5b505b50610d52565b6005546040516370a0823160e01b81526000916001600160a01b0316906370a0823190610c7290309060040161289b565b60206040518083038186803b158015610c8a57600080fd5b505afa158015610c9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc291906127f7565b90508015610d505760055460405163a9059cbb60e01b81526001600160a01b039091169063a9059cbb90610cfc90339085906004016128c9565b602060405180830381600087803b158015610d1657600080fd5b505af1158015610d2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d4e919061274c565b505b505b565b610d5c611ed3565b6001600160a01b0316610d6d6112dd565b6001600160a01b031614610d935760405162461bcd60e51b81526004016105c290612b9f565b6127108110610db45760405162461bcd60e51b81526004016105c2906129e7565b60088190556040517f0969f79b044617688492c7c9b226129947037ca88c450002a7561ed78aa549ac90610bab908390612da4565b6012546001600160a01b031681565b610e00611ed3565b6001600160a01b0316610e116112dd565b6001600160a01b031614610e375760405162461bcd60e51b81526004016105c290612b9f565b6127108110610e585760405162461bcd60e51b81526004016105c2906129e7565b600a8190556040517fcc694eb069971c6c91f6c905b0f66a7a6322a90a42f3904b7508e7b9336a7dfe90610bab908390612da4565b610e95611ed3565b6001600160a01b0316610ea66112dd565b6001600160a01b031614610ecc5760405162461bcd60e51b81526004016105c290612b9f565b610d526000611f2d565b610ede611ed3565b6001600160a01b0316610eef6112dd565b6001600160a01b031614610f155760405162461bcd60e51b81526004016105c290612b9f565b6004546001600160a01b03828116911614801590610f4157506005546001600160a01b03828116911614155b8015610f5b57506006546001600160a01b03828116911614155b610f775760405162461bcd60e51b81526004016105c290612c87565b6001600160a01b038116610fbb576040514790339082156108fc029083906000818181858888f19350505050158015610fb4573d6000803e3d6000fd5b5050610d50565b6040516370a0823160e01b81526000906001600160a01b038316906370a0823190610fea90309060040161289b565b60206040518083038186803b15801561100257600080fd5b505afa158015611016573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103a91906127f7565b9050610d4e6001600160a01b0383163383611ed7565b60105481565b60085481565b6011546001600160a01b031633146110865760405162461bcd60e51b81526004016105c290612a81565b6011546001600160a01b038381169116148015906110ac57506001600160a01b03821615155b6110c85760405162461bcd60e51b81526004016105c290612af4565b6101f481106110e95760405162461bcd60e51b81526004016105c290612b6e565b601180546001600160a01b0319166001600160a01b038416179055600f819055611114816002612ea5565b6010819055600f546040517f0c6c26c051e2276acb170b6252f3a3bffdc980d5f1544b14b1052b7dfe9b31f0926108d592869290919061294d565b600f5481565b61115d611ed3565b6001600160a01b031661116e6112dd565b6001600160a01b0316146111945760405162461bcd60e51b81526004016105c290612b9f565b6001600160a01b038216158015906111b457506001600160a01b03811615155b6111d05760405162461bcd60e51b81526004016105c290612bfa565b6000826001600160a01b031663877887826040518163ffffffff1660e01b815260040160206040518083038186803b15801561120b57600080fd5b505afa15801561121f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124391906127f7565b604051631036c32960e31b81529091506001600160a01b038416906381b619489061127490859085906004016128c9565b600060405180830381600087803b15801561128e57600080fd5b505af11580156112a2573d6000803e3d6000fd5b505050507f7f78141a3bd83bf938eb2a367b5b7e1a1056d8128b3f1809535eed46891c903383836040516107be9291906128af565b60095481565b6000546001600160a01b031690565b6112f4611ed3565b6001600160a01b03166113056112dd565b6001600160a01b03161461132b5760405162461bcd60e51b81526004016105c290612b9f565b6103e8821061134c5760405162461bcd60e51b81526004016105c2906129e7565b601280546001600160a01b0319166001600160a01b0385161790556014829055805161137f9060139060208401906124db565b507f3d883564f807fb6f17f435cc07c5a07f20a8e66dff4d38942ef9bc3952c6fca28383836040516107be939291906128e2565b6006546001600160a01b031681565b6113ca611ed3565b6001600160a01b03166113db6112dd565b6001600160a01b0316146114015760405162461bcd60e51b81526004016105c290612b9f565b600260015414156114245760405162461bcd60e51b81526004016105c290612d17565b6002600155600f5447906000906127109061143f9084612ea5565b6114499190612e85565b90508015611499576011546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561148b573d6000803e3d6000fd5b506114968183612ec4565b91505b612710600a54836114aa9190612ea5565b6114b49190612e85565b915081156115bc57600061152383601380548060200260200160405190810160405280929190818152602001828054801561151857602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116114fa575b505050505030611f7d565b90507f5af76d43c73e649d671103b29a6b93de2a53abb35bf2600ac3d04b13d413072d8160008151811061156757634e487b7160e01b600052603260045260246000fd5b6020026020010151826001845161157e9190612ec4565b8151811061159c57634e487b7160e01b600052603260045260246000fd5b60200260200101516040516115b2929190612dfb565b60405180910390a1505b505060018055565b6103e381565b601381815481106115da57600080fd5b6000918252602090912001546001600160a01b0316905081565b6115fc611ed3565b6001600160a01b031661160d6112dd565b6001600160a01b0316146116335760405162461bcd60e51b81526004016105c290612b9f565b600a8110156116545760405162461bcd60e51b81526004016105c290612bd4565b60078190556040517f989f99d0a575dfaf67701aef35b8654442a4705a4bce243d8f81e1bb2bc4a63f90610bab908390612da4565b611691611ed3565b6001600160a01b03166116a26112dd565b6001600160a01b0316146116c85760405162461bcd60e51b81526004016105c290612b9f565b600480546040516370a0823160e01b81526000926001600160a01b03909216916370a08231916116fa9130910161289b565b60206040518083038186803b15801561171257600080fd5b505afa158015611726573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174a91906127f7565b905080156117d7576004805460405163a9059cbb60e01b81526001600160a01b039091169163a9059cbb916117839133918691016128c9565b602060405180830381600087803b15801561179d57600080fd5b505af11580156117b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117d5919061274c565b505b6006546040516370a0823160e01b81526001600160a01b03909116906370a082319061180790309060040161289b565b60206040518083038186803b15801561181f57600080fd5b505afa158015611833573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185791906127f7565b905080156118e55760065460405163a9059cbb60e01b81526001600160a01b039091169063a9059cbb9061189190339085906004016128c9565b602060405180830381600087803b1580156118ab57600080fd5b505af11580156118bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e3919061274c565b505b478015610d4e57604051339082156108fc029083906000818181858888f19350505050158015611919573d6000803e3d6000fd5b505050565b611926611ed3565b6001600160a01b03166119376112dd565b6001600160a01b03161461195d5760405162461bcd60e51b81526004016105c290612b9f565b60025460ff16156119805760405162461bcd60e51b81526004016105c290612c5a565b6002805460ff19166001179055600480546001600160a01b038087166001600160a01b0319928316178355600580548783169316929092179091556040805163c45a015560e01b815290519185169263c45a0155928282019260209290829003018186803b1580156119f157600080fd5b505afa158015611a05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a2991906125e6565b6001600160a01b031663e6a4390582600081518110611a5857634e487b7160e01b600052603260045260246000fd5b6020026020010151600460009054906101000a90046001600160a01b03166040518363ffffffff1660e01b8152600401611a939291906128af565b60206040518083038186803b158015611aab57600080fd5b505afa158015611abf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ae391906125e6565b600680546001600160a01b03199081166001600160a01b0393841617909155601280549091169184169190911790558051611b259060139060208401906124db565b5050505050565b611b34611ed3565b6001600160a01b0316611b456112dd565b6001600160a01b031614611b6b5760405162461bcd60e51b81526004016105c290612b9f565b60026001541415611b8e5760405162461bcd60e51b81526004016105c290612d17565b6002600155601054479060009061271090611ba99084612ea5565b611bb39190612e85565b90508015611c03576011546040516001600160a01b039091169082156108fc029083906000818181858888f19350505050158015611bf5573d6000803e3d6000fd5b50611c008183612ec4565b91505b6002612710600b5484611c169190612ea5565b611c209190612e85565b611c2a9190612e85565b915081156115bc576000611c97836013805480602002602001604051908101604052809291908181526020018280548015611518576020028201919060005260206000209081546001600160a01b031681526001909101906020018083116114fa57505050505030611f7d565b905060008160018351611caa9190612ec4565b81518110611cc857634e487b7160e01b600052603260045260246000fd5b602002602001015190507f5af76d43c73e649d671103b29a6b93de2a53abb35bf2600ac3d04b13d413072d82600081518110611d1457634e487b7160e01b600052603260045260246000fd5b602002602001015182604051611d2b929190612dfb565b60405180910390a160045460009081908190611d52906001600160a01b03168886306120da565b9250925092507fd7f28048575eead8851d024ead087913957dfb4fd1a02b4d1573f5352a5a2be3828483604051611d8b93929190612e09565b60405180910390a15050505050505060018055565b611da8611ed3565b6001600160a01b0316611db96112dd565b6001600160a01b031614611ddf5760405162461bcd60e51b81526004016105c290612b9f565b6127108110611e005760405162461bcd60e51b81526004016105c2906129e7565b60098190556040517f0eeb4417a0dd5e563056eaf6d3024509bedf001cfac9394bb02f37e3414fa34b90610bab908390612da4565b60075481565b6011546001600160a01b031681565b611e52611ed3565b6001600160a01b0316611e636112dd565b6001600160a01b031614611e895760405162461bcd60e51b81526004016105c290612b9f565b6001600160a01b038116611eaf5760405162461bcd60e51b81526004016105c2906129a1565b610d5081611f2d565b600a5481565b6004546001600160a01b031681565b60145481565b3390565b6119198363a9059cbb60e01b8484604051602401611ef69291906128c9565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526121bf565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60125460405163d06ca61f60e01b81526060916001600160a01b03169063d06ca61f90611fb09087908790600401612dad565b60006040518083038186803b158015611fc857600080fd5b505afa158015611fdc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261200491908101906126bc565b9050600081600183516120179190612ec4565b8151811061203557634e487b7160e01b600052603260045260246000fd5b60209081029190910101516012546014549192506001600160a01b03169063b6f9de959087906103e8906120699086612ea5565b6120739190612e85565b878761208142610258612e6d565b6040518663ffffffff1660e01b81526004016120a09493929190612dc6565b6000604051808303818588803b1580156120b957600080fd5b505af11580156120cd573d6000803e3d6000fd5b5050505050509392505050565b601254600090819081906120fb906001600160a01b0389811691168761224e565b6012546001600160a01b031663f305d7198789886000808a61211f42610258612e6d565b6040518863ffffffff1660e01b815260040161214096959493929190612912565b6060604051808303818588803b15801561215957600080fd5b505af115801561216d573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612192919061280f565b60125492955090935091506121b5906001600160a01b0389811691166000612300565b9450945094915050565b6000612214826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166123c39092919063ffffffff16565b8051909150156119195780806020019051810190612232919061274c565b6119195760405162461bcd60e51b81526004016105c290612ccd565b600081846001600160a01b031663dd62ed3e30866040518363ffffffff1660e01b815260040161227f9291906128af565b60206040518083038186803b15801561229757600080fd5b505afa1580156122ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122cf91906127f7565b6122d99190612e6d565b90506122fa8463095ea7b360e01b8584604051602401611ef69291906128c9565b50505050565b8015806123885750604051636eb1769f60e11b81526001600160a01b0384169063dd62ed3e9061233690309086906004016128af565b60206040518083038186803b15801561234e57600080fd5b505afa158015612362573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061238691906127f7565b155b6123a45760405162461bcd60e51b81526004016105c290612d4e565b6119198363095ea7b360e01b8484604051602401611ef69291906128c9565b60606123d284846000856123dc565b90505b9392505050565b6060824710156123fe5760405162461bcd60e51b81526004016105c290612a3b565b6124078561249c565b6124235760405162461bcd60e51b81526004016105c290612c23565b600080866001600160a01b0316858760405161243f919061287f565b60006040518083038185875af1925050503d806000811461247c576040519150601f19603f3d011682016040523d82523d6000602084013e612481565b606091505b50915091506124918282866124a2565b979650505050505050565b3b151590565b606083156124b15750816123d5565b8251156124c15782518084602001fd5b8160405162461bcd60e51b81526004016105c2919061296e565b828054828255906000526020600020908101928215612530579160200282015b8281111561253057825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906124fb565b5061253c929150612540565b5090565b5b8082111561253c5760008155600101612541565b600082601f830112612565578081fd5b8135602061257a61257583612e49565b612e1f565b8281528181019085830183850287018401881015612596578586fd5b855b858110156125bd5781356125ab81612f33565b84529284019290840190600101612598565b5090979650505050505050565b6000602082840312156125db578081fd5b81356123d581612f33565b6000602082840312156125f7578081fd5b81516123d581612f33565b60008060408385031215612614578081fd5b823561261f81612f33565b9150602083013561262f81612f33565b809150509250929050565b6000806040838503121561264c578182fd5b823561265781612f33565b946020939093013593505050565b600080600060608486031215612679578081fd5b833561268481612f33565b925060208401359150604084013567ffffffffffffffff8111156126a6578182fd5b6126b286828701612555565b9150509250925092565b600060208083850312156126ce578182fd5b825167ffffffffffffffff8111156126e4578283fd5b8301601f810185136126f4578283fd5b805161270261257582612e49565b818152838101908385018584028501860189101561271e578687fd5b8694505b83851015612740578051835260019490940193918501918501612722565b50979650505050505050565b60006020828403121561275d578081fd5b815180151581146123d5578182fd5b60008060008060808587031215612781578081fd5b843561278c81612f33565b9350602085013561279c81612f33565b925060408501356127ac81612f33565b9150606085013567ffffffffffffffff8111156127c7578182fd5b6127d387828801612555565b91505092959194509250565b6000602082840312156127f0578081fd5b5035919050565b600060208284031215612808578081fd5b5051919050565b600080600060608486031215612823578283fd5b8351925060208401519150604084015190509250925092565b6000815180845260208085019450808401835b838110156128745781516001600160a01b03168752958201959082019060010161284f565b509495945050505050565b60008251612891818460208701612edb565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b03929092168252602082015260400190565b600060018060a01b038516825283602083015260606040830152612909606083018461283c565b95945050505050565b6001600160a01b039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b6001600160a01b039390931683526020830191909152604082015260600190565b600060208252825180602084015261298d816040850160208701612edb565b601f01601f19169190910160400192915050565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b602080825260129082015271496e76616c69642070657263656e7461676560701b604082015260600190565b6020808252600e908201526d125b9d985b1a5908105b5bdd5b9d60921b604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252600e908201526d24b73b30b634b21039b2ba3a32b960911b604082015260600190565b6020808252602b908201527f657863656564206d6178696d756d207769746864726177616c206c696d69742060408201526a666f72203330206461797360a81b606082015260800190565b602080825260129082015271125b9d985b1a59081b995dc81dd85b1b195d60721b604082015260600190565b6020808252602e908201527f657863656564206d6178696d756d204c50207769746864726177616c206c696d60408201526d697420666f72203330206461797360901b606082015260800190565b602080825260179082015276696e76616c696420706572666f726d616e63652066656560481b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600c908201526b1cdb585b1b081c195c9a5bd960a21b604082015260600190565b6020808252600f908201526e496e76616c6964204164647265737360881b604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b602080825260139082015272105b1c9958591e481a5b9a5d1a585b1a5e9959606a1b604082015260600190565b60208082526026908201527f43616e6e6f7420626520746f6b656e2026206469766964656e6420746f6b656e60408201526516103830b4b960d11b606082015260800190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526036908201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60408201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b606082015260800190565b90815260200190565b6000838252604060208301526123d2604083018461283c565b600085825260806020830152612ddf608083018661283c565b6001600160a01b03949094166040830152506060015292915050565b918252602082015260400190565b9283526020830191909152604082015260600190565b60405181810167ffffffffffffffff81118282101715612e4157612e41612f1d565b604052919050565b600067ffffffffffffffff821115612e6357612e63612f1d565b5060209081020190565b60008219821115612e8057612e80612f07565b500190565b600082612ea057634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612ebf57612ebf612f07565b500290565b600082821015612ed657612ed6612f07565b500390565b60005b83811015612ef6578181015183820152602001612ede565b838111156122fa5750506000910152565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610d5057600080fdfea264697066735822122066a54dce4b6989984d6f54922257ce4852ab77e10ad9021c338ebc1e02648e5664736f6c63430008000033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.