More Info
Private Name Tags
ContractCreator
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
11473365 | 1407 days ago | 5.63807689 ETH | ||||
11473365 | 1407 days ago | 0.11506279 ETH | ||||
11473365 | 1407 days ago | 5.75313968 ETH | ||||
11473365 | 1407 days ago | 0.14175003 ETH | ||||
11473365 | 1407 days ago | 0.00289285 ETH | ||||
11473365 | 1407 days ago | 0.14464289 ETH | ||||
11473365 | 1407 days ago | 6.22277169 ETH | ||||
11473365 | 1407 days ago | 6.22277169 ETH | ||||
11473132 | 1407 days ago | 5.86391017 ETH | ||||
11473132 | 1407 days ago | 0.11967163 ETH | ||||
11473132 | 1407 days ago | 5.9835818 ETH | ||||
11473132 | 1407 days ago | 0.11218114 ETH | ||||
11473132 | 1407 days ago | 0.00228941 ETH | ||||
11473132 | 1407 days ago | 0.11447055 ETH | ||||
11473132 | 1407 days ago | 5.68674104 ETH | ||||
11473132 | 1407 days ago | 5.68674104 ETH | ||||
11472798 | 1407 days ago | 6.40849237 ETH | ||||
11472798 | 1407 days ago | 0.13078555 ETH | ||||
11472798 | 1407 days ago | 6.53927793 ETH | ||||
11472798 | 1407 days ago | 0.13601312 ETH | ||||
11472798 | 1407 days ago | 0.00277577 ETH | ||||
11472798 | 1407 days ago | 0.1387889 ETH | ||||
11472798 | 1407 days ago | 6.52688112 ETH | ||||
11472798 | 1407 days ago | 6.52688112 ETH | ||||
11472648 | 1407 days ago | 6.52352231 ETH |
Loading...
Loading
Contract Name:
BalancerNew
Compiler Version
v0.6.12+commit.27d51765
Optimization Enabled:
Yes with 10000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity >=0.6.8; import { Ownable, SafeMath } from '../interfaces/CommonImports.sol'; import { IERC20Burnable } from '../interfaces/IERC20Burnable.sol'; import '../interfaces/IUniswapV2Router02.sol'; import '../interfaces/IBalancer.sol'; interface IFreeFromUpTo { function freeFromUpTo(address from, uint256 value) external returns (uint256 freed); function balanceOf(address account) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); } contract BalancerNew is Ownable, IBalancer { using SafeMath for uint256; address internal UniRouter = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; address payable public override treasury; IERC20Burnable token; IUniswapV2Router02 routerInterface = IUniswapV2Router02(UniRouter); address internal WETH = routerInterface.WETH(); constructor() public { treasury = msg.sender; } function setToken(address tokenAddr) public onlyOwner { token = IERC20Burnable(tokenAddr); } function setTreasury(address treasuryN) external override{ require(msg.sender == address(token), "only token"); treasury = payable(treasuryN); } receive () external payable {} /** Path stuff **/ function getPath(address tokent,bool isSell) internal view returns (address[] memory path){ path = new address[](2); path[0] = isSell ? tokent : WETH; path[1] = isSell ? WETH : tokent; return path; } function getSellPath(address tokent) public view returns (address[] memory path) { path = getPath(tokent,true); } function getBuyPath(address tokent) public view returns (address[] memory path){ path = getPath(tokent,false); } /** Path stuff end **/ function rebalance(address rewardRecp) external override returns (uint256) { require(msg.sender == address(token), "only token"); swapEthForTokens(); uint256 lockableBalance = token.balanceOf(address(this)); uint256 callerReward = token.getCallerCut(lockableBalance); token.transfer(rewardRecp, callerReward); token.burn(lockableBalance.sub(callerReward,"Underflow on burn")); return lockableBalance.sub(callerReward,"underflow on return"); } function swapEthForTokens() private { uint256 treasuryAmount = token.getCallerCut(address(this).balance); (bool success,) = treasury.call{value: treasuryAmount}(""); require(success,"treasury send failed"); routerInterface.swapExactETHForTokensSupportingFeeOnTransferTokens{value: address(this).balance}( 0, getBuyPath(address(token)), address(this), block.timestamp.add(200) ); } function swapTokensForETH(uint256 tokenAmount) private { //Approve before swap token.approve(UniRouter,tokenAmount); routerInterface.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, getSellPath(address(token)), address(this), block.timestamp.add(200) ); } function addLiq(uint256 tokenAmount,uint256 ethamount) private { //Approve before adding liq token.approve(UniRouter,tokenAmount); routerInterface.addLiquidityETH{value:ethamount}( address(token), tokenAmount, 0, ethamount.div(2),//Atleast half of eth should be added address(token), block.timestamp.add(200) ); } function AddLiq() external override returns (bool) { //Sell half of the amount to ETH uint256 tokenAmount = token.balanceOf(address(this)).div(2); //Swap half of it to eth swapTokensForETH(tokenAmount); //Add liq with remaining eth and tokens addLiq(token.balanceOf(address(this)),address(this).balance); //If any eth remains swap to token if(address(this).balance > 0) swapEthForTokens(); return true; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.8; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import '@openzeppelin/contracts/math/SafeMath.sol'; import '@openzeppelin/contracts/access/Ownable.sol';
// SPDX-License-Identifier: MIT pragma solidity >=0.6.8; interface IBalancer { function treasury ( ) external view returns ( address payable ); function setTreasury ( address treasuryN ) external; function rebalance ( address rewardRecp ) external returns ( uint256 ); function AddLiq ( ) external returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.8; import {IERC20} from '../interfaces/CommonImports.sol'; interface IERC20Burnable is IERC20 { function burn(uint256 amount) external; function getLiqAddBudget(uint256 amount) external view returns (uint256); function getCallerCut(uint256 amount) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.8; interface IUniswapV2Router02 { function factory() external pure returns (address); function WETH() external pure returns (address); function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <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 GSN 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 payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "../GSN/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 () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view 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 { emit OwnershipTransferred(_owner, address(0)); _owner = 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"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the 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 sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <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); }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 10000 }, "evmVersion": "istanbul", "libraries": { "": {} }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"AddLiq","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokent","type":"address"}],"name":"getBuyPath","outputs":[{"internalType":"address[]","name":"path","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokent","type":"address"}],"name":"getSellPath","outputs":[{"internalType":"address[]","name":"path","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"rewardRecp","type":"address"}],"name":"rebalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddr","type":"address"}],"name":"setToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"treasuryN","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040819052600180546001600160a01b0319908116737a250d5630b4cf539739df2c5dacb4c659f2488d1791829055600480549091166001600160a01b03928316178082556315ab88c960e31b84529091169163ad5c4648916084916020918186803b15801561007057600080fd5b505afa158015610084573d6000803e3d6000fd5b505050506040513d602081101561009a57600080fd5b5051600580546001600160a01b0319166001600160a01b039092169190911790553480156100c757600080fd5b5060006100d2610133565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600280546001600160a01b03191633179055610137565b3390565b6115c1806101466000396000f3fe6080604052600436106100b55760003560e01c8063715018a611610069578063b73c02a41161004e578063b73c02a414610276578063f0f44260146102b6578063f2fde38b146102f6576100bc565b8063715018a61461024c5780638da5cb5b14610261576100bc565b806361d027b31161009a57806361d027b3146101555780636c208a53146101935780636fa7a5c4146101bc576100bc565b8063144fa6d7146100c157806321c2819114610103576100bc565b366100bc57005b600080fd5b3480156100cd57600080fd5b50610101600480360360208110156100e457600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610336565b005b34801561010f57600080fd5b506101436004803603602081101561012657600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661040e565b60408051918252519081900360200190f35b34801561016157600080fd5b5061016a610784565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561019f57600080fd5b506101a86107a0565b604080519115158252519081900360200190f35b3480156101c857600080fd5b506101fc600480360360208110156101df57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610911565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610238578181015183820152602001610220565b505050509050019250505060405180910390f35b34801561025857600080fd5b50610101610924565b34801561026d57600080fd5b5061016a610a24565b34801561028257600080fd5b506101fc6004803603602081101561029957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610a40565b3480156102c257600080fd5b50610101600480360360208110156102d957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610a4d565b34801561030257600080fd5b506101016004803603602081101561031957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610b1a565b61033e610ca4565b60005473ffffffffffffffffffffffffffffffffffffffff9081169116146103c757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60035460009073ffffffffffffffffffffffffffffffffffffffff16331461049757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f6f6e6c7920746f6b656e00000000000000000000000000000000000000000000604482015290519081900360640190fd5b61049f610ca8565b600354604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905160009273ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b15801561051057600080fd5b505afa158015610524573d6000803e3d6000fd5b505050506040513d602081101561053a57600080fd5b5051600354604080517fb477bddd00000000000000000000000000000000000000000000000000000000815260048101849052905192935060009273ffffffffffffffffffffffffffffffffffffffff9092169163b477bddd91602480820192602092909190829003018186803b1580156105b457600080fd5b505afa1580156105c8573d6000803e3d6000fd5b505050506040513d60208110156105de57600080fd5b5051600354604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff888116600483015260248201859052915193945091169163a9059cbb916044808201926020929091908290030181600087803b15801561065e57600080fd5b505af1158015610672573d6000803e3d6000fd5b505050506040513d602081101561068857600080fd5b505060035460408051808201909152601181527f556e646572666c6f77206f6e206275726e000000000000000000000000000000602082015273ffffffffffffffffffffffffffffffffffffffff909116906342966c68906106ed9085908590610f14565b6040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561072357600080fd5b505af1158015610737573d6000803e3d6000fd5b505060408051808201909152601381527f756e646572666c6f77206f6e2072657475726e00000000000000000000000000602082015261077c92508491508390610f14565b949350505050565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b600354604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600092839261084c9260029273ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b15801561081a57600080fd5b505afa15801561082e573d6000803e3d6000fd5b505050506040513d602081101561084457600080fd5b505190610fc5565b90506108578161100e565b600354604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290516108fb9273ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b1580156108c957600080fd5b505afa1580156108dd573d6000803e3d6000fd5b505050506040513d60208110156108f357600080fd5b5051476111ba565b471561090957610909610ca8565b600191505090565b606061091e826000611374565b92915050565b61092c610ca4565b60005473ffffffffffffffffffffffffffffffffffffffff9081169116146109b557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b606061091e826001611374565b60035473ffffffffffffffffffffffffffffffffffffffff163314610ad357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f6f6e6c7920746f6b656e00000000000000000000000000000000000000000000604482015290519081900360640190fd5b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b610b22610ca4565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610bab57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116610c17576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806115666026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b3390565b600354604080517fb477bddd000000000000000000000000000000000000000000000000000000008152476004820152905160009273ffffffffffffffffffffffffffffffffffffffff169163b477bddd916024808301926020929190829003018186803b158015610d1957600080fd5b505afa158015610d2d573d6000803e3d6000fd5b505050506040513d6020811015610d4357600080fd5b505160025460405191925060009173ffffffffffffffffffffffffffffffffffffffff9091169083908381818185875af1925050503d8060008114610da4576040519150601f19603f3d011682016040523d82523d6000602084013e610da9565b606091505b5050905080610e1957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f74726561737572792073656e64206661696c6564000000000000000000000000604482015290519081900360640190fd5b60045460035473ffffffffffffffffffffffffffffffffffffffff9182169163b6f9de95914791600091610e4d9116610911565b30610e594260c8611472565b6040518663ffffffff1660e01b815260040180858152602001806020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b83811015610ed0578181015183820152602001610eb8565b50505050905001955050505050506000604051808303818588803b158015610ef757600080fd5b505af1158015610f0b573d6000803e3d6000fd5b50505050505050565b60008184841115610fbd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610f82578181015183820152602001610f6a565b50505050905090810190601f168015610faf5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600061100783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506114e6565b9392505050565b600354600154604080517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9283166004820152602481018590529051919092169163095ea7b39160448083019260209291908290030181600087803b15801561108d57600080fd5b505af11580156110a1573d6000803e3d6000fd5b505050506040513d60208110156110b757600080fd5b505060045460035473ffffffffffffffffffffffffffffffffffffffff9182169163791ac9479184916000916110ed9116610a40565b306110f94260c8611472565b6040518663ffffffff1660e01b815260040180868152602001858152602001806020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b8381101561117657818101518382015260200161115e565b505050509050019650505050505050600060405180830381600087803b15801561119f57600080fd5b505af11580156111b3573d6000803e3d6000fd5b5050505050565b600354600154604080517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9283166004820152602481018690529051919092169163095ea7b39160448083019260209291908290030181600087803b15801561123957600080fd5b505af115801561124d573d6000803e3d6000fd5b505050506040513d602081101561126357600080fd5b505060045460035473ffffffffffffffffffffffffffffffffffffffff9182169163f305d7199184911685600061129b846002610fc5565b60035473ffffffffffffffffffffffffffffffffffffffff166112bf4260c8611472565b6040518863ffffffff1660e01b8152600401808773ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200196505050505050506060604051808303818588803b15801561134357600080fd5b505af1158015611357573d6000803e3d6000fd5b50505050506040513d606081101561136e57600080fd5b50505050565b6040805160028082526060808301845292602083019080368337019050509050816113b75760055473ffffffffffffffffffffffffffffffffffffffff166113b9565b825b816000815181106113c657fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508161140b5782611425565b60055473ffffffffffffffffffffffffffffffffffffffff165b8160018151811061143257fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505092915050565b60008282018381101561100757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000818361154f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201818152835160248401528351909283926044909101919085019080838360008315610f82578181015183820152602001610f6a565b50600083858161155b57fe5b049594505050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a2646970667358221220d525bc53d44aa07b4f884340249d2f7809e39b4214457b8a9534707fd0d8fbad64736f6c634300060c0033
Deployed Bytecode
0x6080604052600436106100b55760003560e01c8063715018a611610069578063b73c02a41161004e578063b73c02a414610276578063f0f44260146102b6578063f2fde38b146102f6576100bc565b8063715018a61461024c5780638da5cb5b14610261576100bc565b806361d027b31161009a57806361d027b3146101555780636c208a53146101935780636fa7a5c4146101bc576100bc565b8063144fa6d7146100c157806321c2819114610103576100bc565b366100bc57005b600080fd5b3480156100cd57600080fd5b50610101600480360360208110156100e457600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610336565b005b34801561010f57600080fd5b506101436004803603602081101561012657600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661040e565b60408051918252519081900360200190f35b34801561016157600080fd5b5061016a610784565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561019f57600080fd5b506101a86107a0565b604080519115158252519081900360200190f35b3480156101c857600080fd5b506101fc600480360360208110156101df57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610911565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610238578181015183820152602001610220565b505050509050019250505060405180910390f35b34801561025857600080fd5b50610101610924565b34801561026d57600080fd5b5061016a610a24565b34801561028257600080fd5b506101fc6004803603602081101561029957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610a40565b3480156102c257600080fd5b50610101600480360360208110156102d957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610a4d565b34801561030257600080fd5b506101016004803603602081101561031957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610b1a565b61033e610ca4565b60005473ffffffffffffffffffffffffffffffffffffffff9081169116146103c757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60035460009073ffffffffffffffffffffffffffffffffffffffff16331461049757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f6f6e6c7920746f6b656e00000000000000000000000000000000000000000000604482015290519081900360640190fd5b61049f610ca8565b600354604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905160009273ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b15801561051057600080fd5b505afa158015610524573d6000803e3d6000fd5b505050506040513d602081101561053a57600080fd5b5051600354604080517fb477bddd00000000000000000000000000000000000000000000000000000000815260048101849052905192935060009273ffffffffffffffffffffffffffffffffffffffff9092169163b477bddd91602480820192602092909190829003018186803b1580156105b457600080fd5b505afa1580156105c8573d6000803e3d6000fd5b505050506040513d60208110156105de57600080fd5b5051600354604080517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff888116600483015260248201859052915193945091169163a9059cbb916044808201926020929091908290030181600087803b15801561065e57600080fd5b505af1158015610672573d6000803e3d6000fd5b505050506040513d602081101561068857600080fd5b505060035460408051808201909152601181527f556e646572666c6f77206f6e206275726e000000000000000000000000000000602082015273ffffffffffffffffffffffffffffffffffffffff909116906342966c68906106ed9085908590610f14565b6040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561072357600080fd5b505af1158015610737573d6000803e3d6000fd5b505060408051808201909152601381527f756e646572666c6f77206f6e2072657475726e00000000000000000000000000602082015261077c92508491508390610f14565b949350505050565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b600354604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600092839261084c9260029273ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b15801561081a57600080fd5b505afa15801561082e573d6000803e3d6000fd5b505050506040513d602081101561084457600080fd5b505190610fc5565b90506108578161100e565b600354604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290516108fb9273ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b1580156108c957600080fd5b505afa1580156108dd573d6000803e3d6000fd5b505050506040513d60208110156108f357600080fd5b5051476111ba565b471561090957610909610ca8565b600191505090565b606061091e826000611374565b92915050565b61092c610ca4565b60005473ffffffffffffffffffffffffffffffffffffffff9081169116146109b557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b606061091e826001611374565b60035473ffffffffffffffffffffffffffffffffffffffff163314610ad357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f6f6e6c7920746f6b656e00000000000000000000000000000000000000000000604482015290519081900360640190fd5b600280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b610b22610ca4565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610bab57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116610c17576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806115666026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b3390565b600354604080517fb477bddd000000000000000000000000000000000000000000000000000000008152476004820152905160009273ffffffffffffffffffffffffffffffffffffffff169163b477bddd916024808301926020929190829003018186803b158015610d1957600080fd5b505afa158015610d2d573d6000803e3d6000fd5b505050506040513d6020811015610d4357600080fd5b505160025460405191925060009173ffffffffffffffffffffffffffffffffffffffff9091169083908381818185875af1925050503d8060008114610da4576040519150601f19603f3d011682016040523d82523d6000602084013e610da9565b606091505b5050905080610e1957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f74726561737572792073656e64206661696c6564000000000000000000000000604482015290519081900360640190fd5b60045460035473ffffffffffffffffffffffffffffffffffffffff9182169163b6f9de95914791600091610e4d9116610911565b30610e594260c8611472565b6040518663ffffffff1660e01b815260040180858152602001806020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b83811015610ed0578181015183820152602001610eb8565b50505050905001955050505050506000604051808303818588803b158015610ef757600080fd5b505af1158015610f0b573d6000803e3d6000fd5b50505050505050565b60008184841115610fbd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610f82578181015183820152602001610f6a565b50505050905090810190601f168015610faf5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600061100783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506114e6565b9392505050565b600354600154604080517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9283166004820152602481018590529051919092169163095ea7b39160448083019260209291908290030181600087803b15801561108d57600080fd5b505af11580156110a1573d6000803e3d6000fd5b505050506040513d60208110156110b757600080fd5b505060045460035473ffffffffffffffffffffffffffffffffffffffff9182169163791ac9479184916000916110ed9116610a40565b306110f94260c8611472565b6040518663ffffffff1660e01b815260040180868152602001858152602001806020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b8381101561117657818101518382015260200161115e565b505050509050019650505050505050600060405180830381600087803b15801561119f57600080fd5b505af11580156111b3573d6000803e3d6000fd5b5050505050565b600354600154604080517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9283166004820152602481018690529051919092169163095ea7b39160448083019260209291908290030181600087803b15801561123957600080fd5b505af115801561124d573d6000803e3d6000fd5b505050506040513d602081101561126357600080fd5b505060045460035473ffffffffffffffffffffffffffffffffffffffff9182169163f305d7199184911685600061129b846002610fc5565b60035473ffffffffffffffffffffffffffffffffffffffff166112bf4260c8611472565b6040518863ffffffff1660e01b8152600401808773ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200196505050505050506060604051808303818588803b15801561134357600080fd5b505af1158015611357573d6000803e3d6000fd5b50505050506040513d606081101561136e57600080fd5b50505050565b6040805160028082526060808301845292602083019080368337019050509050816113b75760055473ffffffffffffffffffffffffffffffffffffffff166113b9565b825b816000815181106113c657fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508161140b5782611425565b60055473ffffffffffffffffffffffffffffffffffffffff165b8160018151811061143257fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505092915050565b60008282018381101561100757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000818361154f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201818152835160248401528351909283926044909101919085019080838360008315610f82578181015183820152602001610f6a565b50600083858161155b57fe5b049594505050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a2646970667358221220d525bc53d44aa07b4f884340249d2f7809e39b4214457b8a9534707fd0d8fbad64736f6c634300060c0033
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.