Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 1,364 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw Token | 16222607 | 610 days ago | IN | 0 ETH | 0.00059572 | ||||
Purchase | 16219683 | 610 days ago | IN | 0 ETH | 0.00663129 | ||||
Purchase | 16219570 | 611 days ago | IN | 0 ETH | 0.00597532 | ||||
Purchase | 16219500 | 611 days ago | IN | 0 ETH | 0.00709569 | ||||
Purchase | 16219462 | 611 days ago | IN | 0 ETH | 0.0066538 | ||||
Purchase | 16219102 | 611 days ago | IN | 0 ETH | 0.00636831 | ||||
Purchase | 16218945 | 611 days ago | IN | 0 ETH | 0.00482097 | ||||
Purchase | 16218847 | 611 days ago | IN | 0 ETH | 0.00602659 | ||||
Purchase | 16218844 | 611 days ago | IN | 0 ETH | 0.00639754 | ||||
Purchase | 16218842 | 611 days ago | IN | 0 ETH | 0.00615027 | ||||
Purchase | 16218839 | 611 days ago | IN | 0 ETH | 0.00566418 | ||||
Purchase | 16218836 | 611 days ago | IN | 0 ETH | 0.00539124 | ||||
Purchase | 16218834 | 611 days ago | IN | 0 ETH | 0.00485415 | ||||
Purchase | 16218831 | 611 days ago | IN | 0 ETH | 0.00526912 | ||||
Purchase | 16218829 | 611 days ago | IN | 0 ETH | 0.00516671 | ||||
Purchase | 16218826 | 611 days ago | IN | 0 ETH | 0.00543404 | ||||
Purchase | 16218824 | 611 days ago | IN | 0 ETH | 0.00485495 | ||||
Purchase | 16218823 | 611 days ago | IN | 0 ETH | 0.00543022 | ||||
Purchase | 16218821 | 611 days ago | IN | 0 ETH | 0.00540946 | ||||
Purchase | 16218821 | 611 days ago | IN | 0 ETH | 0.00613404 | ||||
Purchase | 16218818 | 611 days ago | IN | 0 ETH | 0.0061365 | ||||
Purchase | 16218816 | 611 days ago | IN | 0 ETH | 0.00646758 | ||||
Purchase | 16218813 | 611 days ago | IN | 0 ETH | 0.0054903 | ||||
Purchase | 16218810 | 611 days ago | IN | 0 ETH | 0.00541343 | ||||
Purchase | 16218808 | 611 days ago | IN | 0 ETH | 0.00544427 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x2A6262EB...78631b1f7 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
VrhIdo
Compiler Version
v0.8.15+commit.e14f2714
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "Ownable.sol"; import "SafeMath.sol"; interface IERC20 { function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); //function symbol() external view returns (string memory); function decimals() external view returns (uint8); function burn(uint256 amount) external; function approve(address spender, uint256 amount) external returns (bool); } interface USDT { function decimals() external view returns (uint); function transferFrom(address sender, address recipient, uint256 amount) external; } struct LockedBalance{ int128 amount; uint256 end; } interface VotingEscrow { function create_lock_for(address _for, uint256 _value, uint256 _unlock_time) external; function deposit_for(address _addr, uint256 _value) external; function locked(address arg0) external returns(LockedBalance memory); } contract VrhIdo is Ownable { using SafeMath for uint256; event Purchase(address indexed buyer,uint256 indexed round, uint256 paymentAmount, uint256 vrhAmount, uint256 lockedVrhAmount, uint256 lockedEnd, uint256 ratio); struct IdoRound{ uint256 startTime; uint256 endTime; uint256 idoRoundSupply; uint256 ratio;// for example: usdt 10**6 can buy token 5x(10**18) then ratio = 5x(10**18) uint256 salesVolume; uint256 burnVolume; } IdoRound[] private idoRoundList; uint256 private MAX_INT = 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff; uint256 private YEAR = 86400 * 365; uint256 private WEEK = 7 * 86400; address public vrhTokenAddress; address public quoteTokenAddress; address public votingEscrowAddress; address public fundAddress; uint256 public lockedVrhRatio; uint256 public quoteTokenDecimals; constructor(address _vrhTokenAddress, address _quoteTokenAddress, address _votingEscrowAddress, address _fundAddress, uint256 _lockedVrhRatio) { vrhTokenAddress = _vrhTokenAddress; quoteTokenAddress = _quoteTokenAddress; votingEscrowAddress = _votingEscrowAddress; fundAddress = _fundAddress; lockedVrhRatio = _lockedVrhRatio; if(_quoteTokenAddress == address(0)){ quoteTokenDecimals = 18; }else{ quoteTokenDecimals = USDT(quoteTokenAddress).decimals(); } IERC20(vrhTokenAddress).approve(votingEscrowAddress, MAX_INT); } function setFundAddress(address _fundAddress) external onlyOwner { require(_fundAddress != address(0)); fundAddress = _fundAddress; } function addIdoRound(uint256 _startTime, uint256 _endTime, uint256 _idoRoundSupply, uint256 _ratio) external onlyOwner { require(_startTime > block.timestamp, "startTime error"); require(_endTime > _startTime, "endTime error"); require(_idoRoundSupply > 0, "idoRoundSupply error"); require(_ratio > 0, "ratio error"); if(idoRoundList.length > 0){ IdoRound memory lastIdoRound = idoRoundList[idoRoundList.length - 1]; require(_startTime >= lastIdoRound.endTime, "startTime error"); } IdoRound memory idoRound = IdoRound(_startTime, _endTime, _idoRoundSupply, _ratio, 0, 0); idoRoundList.push(idoRound); } function burn(uint256 index) external onlyOwner { IdoRound memory idoRound = idoRoundList[index]; require(idoRound.idoRoundSupply > 0, "index error"); require(idoRound.burnVolume == 0, "already burned"); require(idoRound.idoRoundSupply > idoRound.salesVolume, "nothing to burn"); require(block.timestamp > idoRound.endTime, "idoRound ongoing"); uint256 burnVolume = idoRound.idoRoundSupply.sub(idoRound.salesVolume); IERC20(vrhTokenAddress).burn(burnVolume); idoRoundList[index].burnVolume = burnVolume; } function purchase(uint256 amount, uint256 yearCount) external payable { require(amount > 0, "amount error"); require(idoRoundList.length > 0, "no idoRound"); require(yearCount > 0 && yearCount <= 4, "yearCount error"); uint256 index = MAX_INT; for(uint256 i=0;i<idoRoundList.length;i++){ if(block.timestamp >= idoRoundList[i].startTime && block.timestamp < idoRoundList[i].endTime){ index = i; break; } } require(index < MAX_INT, "no active idoRound"); IdoRound memory idoRound = idoRoundList[index]; uint256 totalVrhAmount ; if(quoteTokenAddress == address(0)){ require(msg.value == amount, "amount error"); totalVrhAmount = amount.mul(idoRound.ratio).div(10**18); payable(fundAddress).transfer(msg.value); }else{ //require(msg.value == 0, "return eth"); USDT(quoteTokenAddress).transferFrom(msg.sender, fundAddress, amount); totalVrhAmount = amount.mul(idoRound.ratio).div(10**quoteTokenDecimals); } require(idoRound.idoRoundSupply.sub(idoRound.salesVolume) >= totalVrhAmount, "vrh insufficient"); uint256 lockedVrhAmount = totalVrhAmount.mul(lockedVrhRatio).div(10000); uint256 vrhAmount = totalVrhAmount.sub(lockedVrhAmount); IERC20(vrhTokenAddress).transfer(msg.sender, vrhAmount); uint256 end; LockedBalance memory lockedBalance = VotingEscrow(votingEscrowAddress).locked(msg.sender); if(lockedBalance.amount > 0){ end = lockedBalance.end; VotingEscrow(votingEscrowAddress).deposit_for(msg.sender, lockedVrhAmount); }else{ end = block.timestamp.add(yearCount.mul(YEAR)).div(WEEK).mul(WEEK); VotingEscrow(votingEscrowAddress).create_lock_for(msg.sender, lockedVrhAmount, end); } idoRoundList[index].salesVolume += totalVrhAmount; emit Purchase(msg.sender, index, amount, vrhAmount, lockedVrhAmount, end, idoRound.ratio); } function withdrawToken(address token, address to) external onlyOwner{ IERC20 iERC20 = IERC20(token); uint256 balance = iERC20.balanceOf(address(this)); require(balance > 0, "token insufficient"); iERC20.transfer(to==address(0)?msg.sender:to, balance); } function withdraw(address to) external onlyOwner{ uint256 balance = address(this).balance; payable(to==address(0)?msg.sender:to).transfer(balance); } function getIdoRound(uint256 index) public view returns (IdoRound memory){ IdoRound memory idoRound; if(index < idoRoundList.length){ return idoRoundList[index]; } return idoRound; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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 (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 (last updated v4.6.0) (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 subtraction 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; } } }
{ "evmVersion": "istanbul", "optimizer": { "enabled": true, "runs": 200 }, "libraries": { "vrhido.sol": {} }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_vrhTokenAddress","type":"address"},{"internalType":"address","name":"_quoteTokenAddress","type":"address"},{"internalType":"address","name":"_votingEscrowAddress","type":"address"},{"internalType":"address","name":"_fundAddress","type":"address"},{"internalType":"uint256","name":"_lockedVrhRatio","type":"uint256"}],"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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"buyer","type":"address"},{"indexed":true,"internalType":"uint256","name":"round","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"paymentAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"vrhAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lockedVrhAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lockedEnd","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ratio","type":"uint256"}],"name":"Purchase","type":"event"},{"inputs":[{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"uint256","name":"_endTime","type":"uint256"},{"internalType":"uint256","name":"_idoRoundSupply","type":"uint256"},{"internalType":"uint256","name":"_ratio","type":"uint256"}],"name":"addIdoRound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fundAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getIdoRound","outputs":[{"components":[{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"endTime","type":"uint256"},{"internalType":"uint256","name":"idoRoundSupply","type":"uint256"},{"internalType":"uint256","name":"ratio","type":"uint256"},{"internalType":"uint256","name":"salesVolume","type":"uint256"},{"internalType":"uint256","name":"burnVolume","type":"uint256"}],"internalType":"struct VrhIdo.IdoRound","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockedVrhRatio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"yearCount","type":"uint256"}],"name":"purchase","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"quoteTokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"quoteTokenDecimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_fundAddress","type":"address"}],"name":"setFundAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"votingEscrowAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vrhTokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Deployed Bytecode
0x6080604052600436106100f35760003560e01c8063715018a61161008a578063bad3462011610059578063bad34620146102c3578063de0dc55f146102e3578063e82bef2914610303578063f2fde38b1461032357600080fd5b8063715018a61461025057806385dc3004146102655780638da5cb5b14610285578063a90aa8e8146102a357600080fd5b806351cff8d9116100c657806351cff8d9146101cf5780636705872a146101ef5780636dd0433a1461022757806370876c981461023d57600080fd5b806327624b07146100f857806336d93053146101215780633aeac4e11461018d57806342966c68146101af575b600080fd5b34801561010457600080fd5b5061010e600a5481565b6040519081526020015b60405180910390f35b34801561012d57600080fd5b5061014161013c36600461133e565b610343565b6040516101189190600060c082019050825182526020830151602083015260408301516040830152606083015160608301526080830151608083015260a083015160a083015292915050565b34801561019957600080fd5b506101ad6101a8366004611373565b610435565b005b3480156101bb57600080fd5b506101ad6101ca36600461133e565b61058f565b3480156101db57600080fd5b506101ad6101ea3660046113a6565b6107c1565b3480156101fb57600080fd5b5060075461020f906001600160a01b031681565b6040516001600160a01b039091168152602001610118565b34801561023357600080fd5b5061010e60095481565b6101ad61024b3660046113c1565b61081e565b34801561025c57600080fd5b506101ad610e95565b34801561027157600080fd5b506101ad6102803660046113a6565b610ea9565b34801561029157600080fd5b506000546001600160a01b031661020f565b3480156102af57600080fd5b5060055461020f906001600160a01b031681565b3480156102cf57600080fd5b5060065461020f906001600160a01b031681565b3480156102ef57600080fd5b506101ad6102fe3660046113e3565b610ee6565b34801561030f57600080fd5b5060085461020f906001600160a01b031681565b34801561032f57600080fd5b506101ad61033e3660046113a6565b6111e4565b61037c6040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6103b56040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b60015483101561042f57600183815481106103d2576103d2611415565b90600052602060002090600602016040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481525050915050919050565b92915050565b61043d61125d565b6040516370a0823160e01b815230600482015282906000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610486573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104aa919061142b565b9050600081116104f65760405162461bcd60e51b81526020600482015260126024820152711d1bdad95b881a5b9cdd59999a58da595b9d60721b60448201526064015b60405180910390fd5b6001600160a01b038083169063a9059cbb908516156105155784610517565b335b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015610564573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105889190611444565b5050505050565b61059761125d565b6000600182815481106105ac576105ac611415565b90600052602060002090600602016040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481525050905060008160400151116106455760405162461bcd60e51b815260206004820152600b60248201526a34b73232bc1032b93937b960a91b60448201526064016104ed565b60a0810151156106885760405162461bcd60e51b815260206004820152600e60248201526d185b1c9958591e48189d5c9b995960921b60448201526064016104ed565b80608001518160400151116106d15760405162461bcd60e51b815260206004820152600f60248201526e3737ba3434b733903a3790313ab93760891b60448201526064016104ed565b806020015142116107175760405162461bcd60e51b815260206004820152601060248201526f69646f526f756e64206f6e676f696e6760801b60448201526064016104ed565b6000610734826080015183604001516112b790919063ffffffff16565b600554604051630852cd8d60e31b8152600481018390529192506001600160a01b0316906342966c6890602401600060405180830381600087803b15801561077b57600080fd5b505af115801561078f573d6000803e3d6000fd5b5050505080600184815481106107a7576107a7611415565b906000526020600020906006020160050181905550505050565b6107c961125d565b476001600160a01b038216156107df57816107e1565b335b6001600160a01b03166108fc829081150290604051600060405180830381858888f19350505050158015610819573d6000803e3d6000fd5b505050565b6000821161085d5760405162461bcd60e51b815260206004820152600c60248201526b30b6b7bab73a1032b93937b960a11b60448201526064016104ed565b60015461089a5760405162461bcd60e51b815260206004820152600b60248201526a1b9bc81a591bd49bdd5b9960aa1b60448201526064016104ed565b6000811180156108ab575060048111155b6108e95760405162461bcd60e51b815260206004820152600f60248201526e3cb2b0b921b7bab73a1032b93937b960891b60448201526064016104ed565b60025460005b60015481101561096f576001818154811061090c5761090c611415565b906000526020600020906006020160000154421015801561095057506001818154811061093b5761093b611415565b90600052602060002090600602016001015442105b1561095d5780915061096f565b806109678161147c565b9150506108ef565b5060025481106109b65760405162461bcd60e51b81526020600482015260126024820152711b9bc81858dd1a5d99481a591bd49bdd5b9960721b60448201526064016104ed565b6000600182815481106109cb576109cb611415565b600091825260208083206040805160c081018252600694850290920180548352600181015493830193909352600283015490820152600382015460608201526004820154608082015260059091015460a082015290549092506001600160a01b0316610ad857843414610a6f5760405162461bcd60e51b815260206004820152600c60248201526b30b6b7bab73a1032b93937b960a11b60448201526064016104ed565b610a98670de0b6b3a7640000610a928460600151886112ca90919063ffffffff16565b906112d6565b6008546040519192506001600160a01b0316903480156108fc02916000818181858888f19350505050158015610ad2573d6000803e3d6000fd5b50610b6b565b6006546008546040516323b872dd60e01b81523360048201526001600160a01b039182166024820152604481018890529116906323b872dd90606401600060405180830381600087803b158015610b2e57600080fd5b505af1158015610b42573d6000803e3d6000fd5b50505050610b68600a54600a610b589190611579565b6060840151610a929088906112ca565b90505b80610b87836080015184604001516112b790919063ffffffff16565b1015610bc85760405162461bcd60e51b815260206004820152601060248201526f1d9c9a081a5b9cdd59999a58da595b9d60821b60448201526064016104ed565b6000610be5612710610a92600954856112ca90919063ffffffff16565b90506000610bf383836112b7565b60055460405163a9059cbb60e01b8152336004820152602481018390529192506001600160a01b03169063a9059cbb906044016020604051808303816000875af1158015610c45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c699190611444565b5060075460405163cbf9fe5f60e01b815233600482015260009182916001600160a01b039091169063cbf9fe5f9060240160408051808303816000875af1158015610cb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cdc9190611585565b905060008160000151600f0b1315610d5d576020810151600754604051631d23139f60e11b8152336004820152602481018790529193506001600160a01b031690633a46273e90604401600060405180830381600087803b158015610d4057600080fd5b505af1158015610d54573d6000803e3d6000fd5b50505050610dfb565b610d8e600454610d88600454610a92610d816003548e6112ca90919063ffffffff16565b42906112e2565b906112ca565b600754604051633e173b2960e01b815233600482015260248101879052604481018390529193506001600160a01b031690633e173b2990606401600060405180830381600087803b158015610de257600080fd5b505af1158015610df6573d6000803e3d6000fd5b505050505b8460018881548110610e0f57610e0f611415565b90600052602060002090600602016004016000828254610e2f91906115f2565b9091555050606086810151604080518c8152602081018790529081018790529182018490526080820152879033907f5f5c368f56e7bc3366ecb82f3ce9f2d08015458607cbddb45f8b3ed3c951176b9060a00160405180910390a3505050505050505050565b610e9d61125d565b610ea760006112ee565b565b610eb161125d565b6001600160a01b038116610ec457600080fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055565b610eee61125d565b428411610f2f5760405162461bcd60e51b815260206004820152600f60248201526e39ba30b93a2a34b6b29032b93937b960891b60448201526064016104ed565b838311610f6e5760405162461bcd60e51b815260206004820152600d60248201526c32b7322a34b6b29032b93937b960991b60448201526064016104ed565b60008211610fb55760405162461bcd60e51b815260206004820152601460248201527334b237a937bab73229bab838363c9032b93937b960611b60448201526064016104ed565b60008111610ff35760405162461bcd60e51b815260206004820152600b60248201526a3930ba34b79032b93937b960a91b60448201526064016104ed565b600154156110bd57600180546000919061100e90829061160a565b8154811061101e5761101e611415565b90600052602060002090600602016040518060c00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481525050905080602001518510156110bb5760405162461bcd60e51b815260206004820152600f60248201526e39ba30b93a2a34b6b29032b93937b960891b60448201526064016104ed565b505b6040805160c0810182529485526020850193845284019182526060840190815260006080850181815260a08601828152600180548082018255935295517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf660069093029283015593517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf782015591517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf8830155517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf982015590517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cfa82015590517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cfb90910155565b6111ec61125d565b6001600160a01b0381166112515760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104ed565b61125a816112ee565b50565b6000546001600160a01b03163314610ea75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104ed565b60006112c3828461160a565b9392505050565b60006112c38284611621565b60006112c38284611640565b60006112c382846115f2565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561135057600080fd5b5035919050565b80356001600160a01b038116811461136e57600080fd5b919050565b6000806040838503121561138657600080fd5b61138f83611357565b915061139d60208401611357565b90509250929050565b6000602082840312156113b857600080fd5b6112c382611357565b600080604083850312156113d457600080fd5b50508035926020909101359150565b600080600080608085870312156113f957600080fd5b5050823594602084013594506040840135936060013592509050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561143d57600080fd5b5051919050565b60006020828403121561145657600080fd5b815180151581146112c357600080fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161148e5761148e611466565b5060010190565b600181815b808511156114d05781600019048211156114b6576114b6611466565b808516156114c357918102915b93841c939080029061149a565b509250929050565b6000826114e75750600161042f565b816114f45750600061042f565b816001811461150a576002811461151457611530565b600191505061042f565b60ff84111561152557611525611466565b50506001821b61042f565b5060208310610133831016604e8410600b8410161715611553575081810a61042f565b61155d8383611495565b806000190482111561157157611571611466565b029392505050565b60006112c383836114d8565b60006040828403121561159757600080fd5b6040516040810181811067ffffffffffffffff821117156115c857634e487b7160e01b600052604160045260246000fd5b6040528251600f81900b81146115dd57600080fd5b81526020928301519281019290925250919050565b6000821982111561160557611605611466565b500190565b60008282101561161c5761161c611466565b500390565b600081600019048311821515161561163b5761163b611466565b500290565b60008261165d57634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212206926a8388e3be6dae5e09e423f42d00cfc58365eaa32fc01941dd0faa0ce885964736f6c634300080f0033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.