Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 4,326 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Death Row | 21281797 | 11 hrs ago | IN | 0 ETH | 0.00082994 | ||||
Death Row | 21281794 | 11 hrs ago | IN | 0 ETH | 0.00084502 | ||||
Death Row | 21278164 | 23 hrs ago | IN | 0 ETH | 0.00061482 | ||||
Death Row | 21271157 | 46 hrs ago | IN | 0 ETH | 0.00031182 | ||||
Death Row | 21271150 | 47 hrs ago | IN | 0 ETH | 0.00033063 | ||||
Death Row | 21271145 | 47 hrs ago | IN | 0 ETH | 0.00030638 | ||||
Death Row | 21192581 | 12 days ago | IN | 0 ETH | 0.0005835 | ||||
Death Row | 21189734 | 13 days ago | IN | 0 ETH | 0.00074531 | ||||
Death Row | 21182096 | 14 days ago | IN | 0 ETH | 0.00108082 | ||||
Death Row | 21173824 | 15 days ago | IN | 0 ETH | 0.0016981 | ||||
Death Row | 21173822 | 15 days ago | IN | 0 ETH | 0.00164029 | ||||
Death Row | 21173818 | 15 days ago | IN | 0 ETH | 0.00183394 | ||||
Death Row | 21138835 | 20 days ago | IN | 0 ETH | 0.00073962 | ||||
Death Row | 21138563 | 20 days ago | IN | 0 ETH | 0.00085326 | ||||
Death Row | 21120562 | 22 days ago | IN | 0 ETH | 0.00029851 | ||||
Death Row | 21114508 | 23 days ago | IN | 0 ETH | 0.00022566 | ||||
Death Row | 21114505 | 23 days ago | IN | 0 ETH | 0.00023276 | ||||
Death Row | 21114502 | 23 days ago | IN | 0 ETH | 0.00037644 | ||||
Death Row | 21056595 | 31 days ago | IN | 0 ETH | 0.00028791 | ||||
Death Row | 21056592 | 31 days ago | IN | 0 ETH | 0.00030625 | ||||
Death Row | 21054247 | 32 days ago | IN | 0 ETH | 0.00020416 | ||||
Death Row | 21039426 | 34 days ago | IN | 0 ETH | 0.00045525 | ||||
Death Row | 21030473 | 35 days ago | IN | 0 ETH | 0.00060308 | ||||
Death Row | 21024140 | 36 days ago | IN | 0 ETH | 0.00045676 | ||||
Death Row | 20993905 | 40 days ago | IN | 0 ETH | 0.00068799 |
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers. Name tag integration is not available in advanced view.
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | ||||
---|---|---|---|---|---|---|---|
21281797 | 11 hrs ago | 0 ETH | |||||
21281794 | 11 hrs ago | 0 ETH | |||||
21278164 | 23 hrs ago | 0 ETH | |||||
21271157 | 46 hrs ago | 0 ETH | |||||
21271150 | 47 hrs ago | 0 ETH | |||||
21271145 | 47 hrs ago | 0 ETH | |||||
21192581 | 12 days ago | 0 ETH | |||||
21189734 | 13 days ago | 0 ETH | |||||
21182096 | 14 days ago | 0 ETH | |||||
21173824 | 15 days ago | 0 ETH | |||||
21173822 | 15 days ago | 0 ETH | |||||
21173818 | 15 days ago | 0 ETH | |||||
21138835 | 20 days ago | 0 ETH | |||||
21138563 | 20 days ago | 0 ETH | |||||
21120562 | 22 days ago | 0 ETH | |||||
21114508 | 23 days ago | 0 ETH | |||||
21114505 | 23 days ago | 0 ETH | |||||
21114502 | 23 days ago | 0 ETH | |||||
21056595 | 31 days ago | 0 ETH | |||||
21056592 | 31 days ago | 0 ETH | |||||
21054247 | 32 days ago | 0 ETH | |||||
21039426 | 34 days ago | 0 ETH | |||||
21030473 | 35 days ago | 0 ETH | |||||
21024140 | 36 days ago | 0 ETH | |||||
20993905 | 40 days ago | 0 ETH |
Loading...
Loading
Contract Name:
Deathrow
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//MMMMMMMMMMMMMMMMMMMMMMMMMMMWKOdlc,... ..''.. ...,:ldkKWMMMMMMMMMMMMMMMMMMMMMMM //MMMMMMMMMMMMMMMMMMMMMMWXOdc,. :KXNX: .,cokXWMMMMMMMMMMMMMMMMMM //MMMMMMMMMMMMMMMMMMMW0d:. oMMMWc .. .;oONMMMMMMMMMMMMMMM //MMMMMMMMMMMMMMMMWKd,. oMMMWc .:oo:. ,o0WMMMMMMMMMMMM //MMMMMMMMMMMMMMNk:. .'. oMMMWc .:l' .;xNMMMMMMMMMM //MMMMMMMMMMMMNk; 'xXK; oMMMWc .oxc. ,xNMMMMMMMM //MMMMMMMMMMW0: .xMMX; oMMMWc :XMWo ,kWMMMMMM //MMMMMMMMMNd. .xMMX; oMMMWc ;XMMd ., .lXMMMMM //MMMMMMMMK: .xMMX; oMMMWc ;XMMd. ;0x. ,0WMMM //MMMMMMM0, .xMMX; oMMMWc ;XMMx. ,KM0; 'OWMM //MMMMMM0, .xMMX; oMMMWc ;XMMx. ,0MMX: .kWM //MMMMMK; .xMMX; oMMMWc ;XMMx. .OMMMX: 'OM //MMMMNl .xMMX; oMMMWc ;XMMx. cNMMMK; :X //MMMMk. .xMMX; oMMMWc ;XMMx. .kMMMMk. .d //MMMWl .xMMX; oMMMWc ;XMMx. cNMMMN: ; //MMMK, .xMMX; oMMMWc ;XMMx. '0MMMMd . //MMMO' .xMMX; oMMMWc ;XMMx. .OMMMMk. . //MMMk. .xMMX; oMMMWc ;XMMx. .xMMMM0' //MMMk. .xMMX; oMMMWc ;XMMx. .xMMMMK, //MMMx. .xMMX; oMMMWc ;XMMx. .xMMMMK, //MMMk. .xMMX; oMMMWc ;XMMx. .xMMMMK, //MMMk. .xMMX; oMMMWc ;XMMx. .xMMMMK, //MMMk. .xMMX; oMMMWc ;XMMx. .kMMMMK, //MMMO. .xMMX; oMMMWc ;XMMx. .kMMMMK, //MMMO. .xMMX; oMMMWc ;XMMx. .kMMMMK, //MMMO. .xMMX; oMMMWc ;XMMx. .kMMMMK, //MMMO. .xMMX; oMMMWc ;XMMx. .kMMMMK, . //MMMO. .xMMX; oMMMWc ;XMMx. .OMMMMK, . //MMMO. .xMMX; oMMMWl ;XMMx. .kMMMMK, //MMMO. .xMMX; oWMMWc ;XMMx. .kMMMMX; //MMMO. .oKKO, cKKKK: ,OKKo. .oKKKK0, //MMMK, ... .... ... ..... . //MMMWl .x // CELMATES - DEATHROW pragma solidity ^0.8.13; import "@openzeppelin/contracts/access/Ownable.sol"; interface ICelmates { function ownerOf(uint256 tokenId) external view returns (address); function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); function balanceOf(address owner) external view returns (uint256); } struct Infos { bool status; address owner; uint256 timestamp; } contract Deathrow is Ownable { ICelmates private CELMATES; mapping(uint256 => Infos) public deathRowInfos; mapping(uint256 => uint256) public points; mapping(uint256 => uint256) public celmateToType; bool private opened; // ------------------ External ------------------ // function deathRow(uint256 _celId, bool _status) external { require(opened, "Deathrow is closed."); require( CELMATES.ownerOf(_celId) == msg.sender, "You don't own this Celmate" ); Infos memory currDeathRow = deathRowInfos[_celId]; if (_status) { Infos memory newDeathRow = Infos(true, msg.sender, block.timestamp); deathRowInfos[_celId] = newDeathRow; } else { require(deathRowInfos[_celId].status, "Not on DeathRow"); currDeathRow.status = false; deathRowInfos[_celId] = currDeathRow; } } // ------------------ Public ------------------ // function getDeathrow(uint256 _celId) public view returns (Infos memory infos) { return deathRowInfos[_celId]; } function getPoints(address _owner) public view returns (uint256 pointsToReturn) { uint256 totalPoints; uint256 balance = CELMATES.balanceOf(_owner); for (uint256 i = 0; i < balance; i++) { uint256 tokenId = CELMATES.tokenOfOwnerByIndex(_owner, i); Infos memory infos = deathRowInfos[tokenId]; if (infos.owner == _owner && infos.status) { uint256 daysStaked = (block.timestamp - infos.timestamp) / 60 / 60 / 24; totalPoints += points[celmateToType[tokenId]] * daysStaked; } } return totalPoints; } // ------------------ Owner ------------------ // function setPoints(uint256[] memory _points) external onlyOwner { for (uint256 i = 0; i < _points.length; i++) { points[i] = _points[i]; } } function setTypes(uint256[] memory _types) external onlyOwner { for (uint256 i = 0; i < _types.length; i++) { celmateToType[i] = _types[i]; } } function editStake( uint256 _stakeId, address _owner, uint256 _timestamp, bool _status ) external onlyOwner { Infos memory infoToEdit = deathRowInfos[_stakeId]; infoToEdit.owner = _owner; infoToEdit.timestamp = _timestamp; infoToEdit.status = _status; deathRowInfos[_stakeId] = infoToEdit; } function editTypes(uint256[] memory _ids, uint256[] memory _types) external onlyOwner { for (uint256 i = 0; i < _ids.length; i++) { celmateToType[_ids[i]] = _types[i]; } } function setOpened(bool _flag) external onlyOwner { opened = _flag; } function setCelmates(address _celmates) external onlyOwner { CELMATES = ICelmates(_celmates); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (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 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; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"celmateToType","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_celId","type":"uint256"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"deathRow","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"deathRowInfos","outputs":[{"internalType":"bool","name":"status","type":"bool"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"timestamp","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_stakeId","type":"uint256"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_timestamp","type":"uint256"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"editStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256[]","name":"_types","type":"uint256[]"}],"name":"editTypes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_celId","type":"uint256"}],"name":"getDeathrow","outputs":[{"components":[{"internalType":"bool","name":"status","type":"bool"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"timestamp","type":"uint256"}],"internalType":"struct Infos","name":"infos","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"getPoints","outputs":[{"internalType":"uint256","name":"pointsToReturn","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"points","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_celmates","type":"address"}],"name":"setCelmates","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_flag","type":"bool"}],"name":"setOpened","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_points","type":"uint256[]"}],"name":"setPoints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_types","type":"uint256[]"}],"name":"setTypes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b5061002d61002261003260201b60201c565b61003a60201b60201c565b6100fe565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611a888061010d6000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c8063af7f102b11610097578063d60173af11610066578063d60173af14610270578063ee204abb1461028c578063f2fde38b146102bc578063fb611336146102d8576100f5565b8063af7f102b146101d6578063b494c513146101f2578063c3f767801461020e578063d11318fe1461023e576100f5565b80638da5cb5b116100d35780638da5cb5b1461013c5780639799b4e71461015a578063992584ff1461018a5780639a0a18bf146101ba576100f5565b80635915db9d146100fa578063715018a61461011657806378fa038f14610120575b600080fd5b610114600480360381019061010f919061108e565b6102f4565b005b61011e610340565b005b61013a60048036038101906101359190611129565b610354565b005b610144610717565b6040516101519190611178565b60405180910390f35b610174600480360381019061016f9190611193565b610740565b60405161018191906111cf565b60405180910390f35b6101a4600480360381019061019f9190611193565b610758565b6040516101b19190611259565b60405180910390f35b6101d460048036038101906101cf9190611274565b610800565b005b6101f060048036038101906101eb91906113fa565b610825565b005b61020c60048036038101906102079190611472565b61089d565b005b61022860048036038101906102239190611193565b6108fa565b60405161023591906111cf565b60405180910390f35b61025860048036038101906102539190611193565b610912565b604051610267939291906114ca565b60405180910390f35b61028a60048036038101906102859190611501565b610969565b005b6102a660048036038101906102a1919061108e565b610aef565b6040516102b391906111cf565b60405180910390f35b6102d660048036038101906102d1919061108e565b610db9565b005b6102f260048036038101906102ed9190611472565b610e3c565b005b6102fc610e99565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610348610e99565b6103526000610f17565b565b600560009054906101000a900460ff166103a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161039a906115c5565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b815260040161041591906111cf565b602060405180830381865afa158015610432573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045691906115fa565b73ffffffffffffffffffffffffffffffffffffffff16146104ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104a390611673565b60405180910390fd5b6000600260008481526020019081526020016000206040518060600160405290816000820160009054906101000a900460ff161515151581526020016000820160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815250509050811561061557600060405180606001604052806001151581526020013373ffffffffffffffffffffffffffffffffffffffff168152602001428152509050806002600086815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040820151816001015590505050610712565b6002600084815260200190815260200160002060000160009054906101000a900460ff16610678576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161066f906116df565b60405180910390fd5b6000816000019015159081151581525050806002600085815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604082015181600101559050505b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60036020528060005260406000206000915090505481565b610760610fe3565b600260008381526020019081526020016000206040518060600160405290816000820160009054906101000a900460ff161515151581526020016000820160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815250509050919050565b610808610e99565b80600560006101000a81548160ff02191690831515021790555050565b61082d610e99565b60005b82518110156108985781818151811061084c5761084b6116ff565b5b60200260200101516004600085848151811061086b5761086a6116ff565b5b602002602001015181526020019081526020016000208190555080806108909061175d565b915050610830565b505050565b6108a5610e99565b60005b81518110156108f6578181815181106108c4576108c36116ff565b5b6020026020010151600360008381526020019081526020016000208190555080806108ee9061175d565b9150506108a8565b5050565b60046020528060005260406000206000915090505481565b60026020528060005260406000206000915090508060000160009054906101000a900460ff16908060000160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154905083565b610971610e99565b6000600260008681526020019081526020016000206040518060600160405290816000820160009054906101000a900460ff161515151581526020016000820160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600182015481525050905083816020019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508281604001818152505081816000019015159081151581525050806002600087815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604082015181600101559050505050505050565b6000806000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b8152600401610b4f9190611178565b602060405180830381865afa158015610b6c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9091906117ba565b905060005b81811015610dae576000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5987846040518363ffffffff1660e01b8152600401610bfc9291906117e7565b602060405180830381865afa158015610c19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3d91906117ba565b90506000600260008381526020019081526020016000206040518060600160405290816000820160009054906101000a900460ff161515151581526020016000820160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160018201548152505090508673ffffffffffffffffffffffffffffffffffffffff16816020015173ffffffffffffffffffffffffffffffffffffffff16148015610d1c575080600001515b15610d995760006018603c80846040015142610d389190611810565b610d429190611873565b610d4c9190611873565b610d569190611873565b905080600360006004600087815260200190815260200160002054815260200190815260200160002054610d8a91906118a4565b86610d9591906118fe565b9550505b50508080610da69061175d565b915050610b95565b508192505050919050565b610dc1610e99565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610e30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e27906119c6565b60405180910390fd5b610e3981610f17565b50565b610e44610e99565b60005b8151811015610e9557818181518110610e6357610e626116ff565b5b602002602001015160046000838152602001908152602001600020819055508080610e8d9061175d565b915050610e47565b5050565b610ea1610fdb565b73ffffffffffffffffffffffffffffffffffffffff16610ebf610717565b73ffffffffffffffffffffffffffffffffffffffff1614610f15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0c90611a32565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b6040518060600160405280600015158152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081525090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061105b82611030565b9050919050565b61106b81611050565b811461107657600080fd5b50565b60008135905061108881611062565b92915050565b6000602082840312156110a4576110a3611026565b5b60006110b284828501611079565b91505092915050565b6000819050919050565b6110ce816110bb565b81146110d957600080fd5b50565b6000813590506110eb816110c5565b92915050565b60008115159050919050565b611106816110f1565b811461111157600080fd5b50565b600081359050611123816110fd565b92915050565b600080604083850312156111405761113f611026565b5b600061114e858286016110dc565b925050602061115f85828601611114565b9150509250929050565b61117281611050565b82525050565b600060208201905061118d6000830184611169565b92915050565b6000602082840312156111a9576111a8611026565b5b60006111b7848285016110dc565b91505092915050565b6111c9816110bb565b82525050565b60006020820190506111e460008301846111c0565b92915050565b6111f3816110f1565b82525050565b61120281611050565b82525050565b611211816110bb565b82525050565b60608201600082015161122d60008501826111ea565b50602082015161124060208501826111f9565b5060408201516112536040850182611208565b50505050565b600060608201905061126e6000830184611217565b92915050565b60006020828403121561128a57611289611026565b5b600061129884828501611114565b91505092915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6112ef826112a6565b810181811067ffffffffffffffff8211171561130e5761130d6112b7565b5b80604052505050565b600061132161101c565b905061132d82826112e6565b919050565b600067ffffffffffffffff82111561134d5761134c6112b7565b5b602082029050602081019050919050565b600080fd5b600061137661137184611332565b611317565b905080838252602082019050602084028301858111156113995761139861135e565b5b835b818110156113c257806113ae88826110dc565b84526020840193505060208101905061139b565b5050509392505050565b600082601f8301126113e1576113e06112a1565b5b81356113f1848260208601611363565b91505092915050565b6000806040838503121561141157611410611026565b5b600083013567ffffffffffffffff81111561142f5761142e61102b565b5b61143b858286016113cc565b925050602083013567ffffffffffffffff81111561145c5761145b61102b565b5b611468858286016113cc565b9150509250929050565b60006020828403121561148857611487611026565b5b600082013567ffffffffffffffff8111156114a6576114a561102b565b5b6114b2848285016113cc565b91505092915050565b6114c4816110f1565b82525050565b60006060820190506114df60008301866114bb565b6114ec6020830185611169565b6114f960408301846111c0565b949350505050565b6000806000806080858703121561151b5761151a611026565b5b6000611529878288016110dc565b945050602061153a87828801611079565b935050604061154b878288016110dc565b925050606061155c87828801611114565b91505092959194509250565b600082825260208201905092915050565b7f4465617468726f7720697320636c6f7365642e00000000000000000000000000600082015250565b60006115af601383611568565b91506115ba82611579565b602082019050919050565b600060208201905081810360008301526115de816115a2565b9050919050565b6000815190506115f481611062565b92915050565b6000602082840312156116105761160f611026565b5b600061161e848285016115e5565b91505092915050565b7f596f7520646f6e2774206f776e20746869732043656c6d617465000000000000600082015250565b600061165d601a83611568565b915061166882611627565b602082019050919050565b6000602082019050818103600083015261168c81611650565b9050919050565b7f4e6f74206f6e204465617468526f770000000000000000000000000000000000600082015250565b60006116c9600f83611568565b91506116d482611693565b602082019050919050565b600060208201905081810360008301526116f8816116bc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611768826110bb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361179a5761179961172e565b5b600182019050919050565b6000815190506117b4816110c5565b92915050565b6000602082840312156117d0576117cf611026565b5b60006117de848285016117a5565b91505092915050565b60006040820190506117fc6000830185611169565b61180960208301846111c0565b9392505050565b600061181b826110bb565b9150611826836110bb565b9250828210156118395761183861172e565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061187e826110bb565b9150611889836110bb565b92508261189957611898611844565b5b828204905092915050565b60006118af826110bb565b91506118ba836110bb565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156118f3576118f261172e565b5b828202905092915050565b6000611909826110bb565b9150611914836110bb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156119495761194861172e565b5b828201905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006119b0602683611568565b91506119bb82611954565b604082019050919050565b600060208201905081810360008301526119df816119a3565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611a1c602083611568565b9150611a27826119e6565b602082019050919050565b60006020820190508181036000830152611a4b81611a0f565b905091905056fea26469706673582212205a430beda4962a8fe2b62d569c190f962c26d04abb6da527d72d52e369cc082664736f6c634300080d0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100f55760003560e01c8063af7f102b11610097578063d60173af11610066578063d60173af14610270578063ee204abb1461028c578063f2fde38b146102bc578063fb611336146102d8576100f5565b8063af7f102b146101d6578063b494c513146101f2578063c3f767801461020e578063d11318fe1461023e576100f5565b80638da5cb5b116100d35780638da5cb5b1461013c5780639799b4e71461015a578063992584ff1461018a5780639a0a18bf146101ba576100f5565b80635915db9d146100fa578063715018a61461011657806378fa038f14610120575b600080fd5b610114600480360381019061010f919061108e565b6102f4565b005b61011e610340565b005b61013a60048036038101906101359190611129565b610354565b005b610144610717565b6040516101519190611178565b60405180910390f35b610174600480360381019061016f9190611193565b610740565b60405161018191906111cf565b60405180910390f35b6101a4600480360381019061019f9190611193565b610758565b6040516101b19190611259565b60405180910390f35b6101d460048036038101906101cf9190611274565b610800565b005b6101f060048036038101906101eb91906113fa565b610825565b005b61020c60048036038101906102079190611472565b61089d565b005b61022860048036038101906102239190611193565b6108fa565b60405161023591906111cf565b60405180910390f35b61025860048036038101906102539190611193565b610912565b604051610267939291906114ca565b60405180910390f35b61028a60048036038101906102859190611501565b610969565b005b6102a660048036038101906102a1919061108e565b610aef565b6040516102b391906111cf565b60405180910390f35b6102d660048036038101906102d1919061108e565b610db9565b005b6102f260048036038101906102ed9190611472565b610e3c565b005b6102fc610e99565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610348610e99565b6103526000610f17565b565b600560009054906101000a900460ff166103a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161039a906115c5565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b815260040161041591906111cf565b602060405180830381865afa158015610432573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045691906115fa565b73ffffffffffffffffffffffffffffffffffffffff16146104ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104a390611673565b60405180910390fd5b6000600260008481526020019081526020016000206040518060600160405290816000820160009054906101000a900460ff161515151581526020016000820160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815250509050811561061557600060405180606001604052806001151581526020013373ffffffffffffffffffffffffffffffffffffffff168152602001428152509050806002600086815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040820151816001015590505050610712565b6002600084815260200190815260200160002060000160009054906101000a900460ff16610678576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161066f906116df565b60405180910390fd5b6000816000019015159081151581525050806002600085815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604082015181600101559050505b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60036020528060005260406000206000915090505481565b610760610fe3565b600260008381526020019081526020016000206040518060600160405290816000820160009054906101000a900460ff161515151581526020016000820160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815250509050919050565b610808610e99565b80600560006101000a81548160ff02191690831515021790555050565b61082d610e99565b60005b82518110156108985781818151811061084c5761084b6116ff565b5b60200260200101516004600085848151811061086b5761086a6116ff565b5b602002602001015181526020019081526020016000208190555080806108909061175d565b915050610830565b505050565b6108a5610e99565b60005b81518110156108f6578181815181106108c4576108c36116ff565b5b6020026020010151600360008381526020019081526020016000208190555080806108ee9061175d565b9150506108a8565b5050565b60046020528060005260406000206000915090505481565b60026020528060005260406000206000915090508060000160009054906101000a900460ff16908060000160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154905083565b610971610e99565b6000600260008681526020019081526020016000206040518060600160405290816000820160009054906101000a900460ff161515151581526020016000820160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600182015481525050905083816020019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508281604001818152505081816000019015159081151581525050806002600087815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604082015181600101559050505050505050565b6000806000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b8152600401610b4f9190611178565b602060405180830381865afa158015610b6c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9091906117ba565b905060005b81811015610dae576000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5987846040518363ffffffff1660e01b8152600401610bfc9291906117e7565b602060405180830381865afa158015610c19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3d91906117ba565b90506000600260008381526020019081526020016000206040518060600160405290816000820160009054906101000a900460ff161515151581526020016000820160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160018201548152505090508673ffffffffffffffffffffffffffffffffffffffff16816020015173ffffffffffffffffffffffffffffffffffffffff16148015610d1c575080600001515b15610d995760006018603c80846040015142610d389190611810565b610d429190611873565b610d4c9190611873565b610d569190611873565b905080600360006004600087815260200190815260200160002054815260200190815260200160002054610d8a91906118a4565b86610d9591906118fe565b9550505b50508080610da69061175d565b915050610b95565b508192505050919050565b610dc1610e99565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610e30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e27906119c6565b60405180910390fd5b610e3981610f17565b50565b610e44610e99565b60005b8151811015610e9557818181518110610e6357610e626116ff565b5b602002602001015160046000838152602001908152602001600020819055508080610e8d9061175d565b915050610e47565b5050565b610ea1610fdb565b73ffffffffffffffffffffffffffffffffffffffff16610ebf610717565b73ffffffffffffffffffffffffffffffffffffffff1614610f15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0c90611a32565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b6040518060600160405280600015158152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081525090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061105b82611030565b9050919050565b61106b81611050565b811461107657600080fd5b50565b60008135905061108881611062565b92915050565b6000602082840312156110a4576110a3611026565b5b60006110b284828501611079565b91505092915050565b6000819050919050565b6110ce816110bb565b81146110d957600080fd5b50565b6000813590506110eb816110c5565b92915050565b60008115159050919050565b611106816110f1565b811461111157600080fd5b50565b600081359050611123816110fd565b92915050565b600080604083850312156111405761113f611026565b5b600061114e858286016110dc565b925050602061115f85828601611114565b9150509250929050565b61117281611050565b82525050565b600060208201905061118d6000830184611169565b92915050565b6000602082840312156111a9576111a8611026565b5b60006111b7848285016110dc565b91505092915050565b6111c9816110bb565b82525050565b60006020820190506111e460008301846111c0565b92915050565b6111f3816110f1565b82525050565b61120281611050565b82525050565b611211816110bb565b82525050565b60608201600082015161122d60008501826111ea565b50602082015161124060208501826111f9565b5060408201516112536040850182611208565b50505050565b600060608201905061126e6000830184611217565b92915050565b60006020828403121561128a57611289611026565b5b600061129884828501611114565b91505092915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6112ef826112a6565b810181811067ffffffffffffffff8211171561130e5761130d6112b7565b5b80604052505050565b600061132161101c565b905061132d82826112e6565b919050565b600067ffffffffffffffff82111561134d5761134c6112b7565b5b602082029050602081019050919050565b600080fd5b600061137661137184611332565b611317565b905080838252602082019050602084028301858111156113995761139861135e565b5b835b818110156113c257806113ae88826110dc565b84526020840193505060208101905061139b565b5050509392505050565b600082601f8301126113e1576113e06112a1565b5b81356113f1848260208601611363565b91505092915050565b6000806040838503121561141157611410611026565b5b600083013567ffffffffffffffff81111561142f5761142e61102b565b5b61143b858286016113cc565b925050602083013567ffffffffffffffff81111561145c5761145b61102b565b5b611468858286016113cc565b9150509250929050565b60006020828403121561148857611487611026565b5b600082013567ffffffffffffffff8111156114a6576114a561102b565b5b6114b2848285016113cc565b91505092915050565b6114c4816110f1565b82525050565b60006060820190506114df60008301866114bb565b6114ec6020830185611169565b6114f960408301846111c0565b949350505050565b6000806000806080858703121561151b5761151a611026565b5b6000611529878288016110dc565b945050602061153a87828801611079565b935050604061154b878288016110dc565b925050606061155c87828801611114565b91505092959194509250565b600082825260208201905092915050565b7f4465617468726f7720697320636c6f7365642e00000000000000000000000000600082015250565b60006115af601383611568565b91506115ba82611579565b602082019050919050565b600060208201905081810360008301526115de816115a2565b9050919050565b6000815190506115f481611062565b92915050565b6000602082840312156116105761160f611026565b5b600061161e848285016115e5565b91505092915050565b7f596f7520646f6e2774206f776e20746869732043656c6d617465000000000000600082015250565b600061165d601a83611568565b915061166882611627565b602082019050919050565b6000602082019050818103600083015261168c81611650565b9050919050565b7f4e6f74206f6e204465617468526f770000000000000000000000000000000000600082015250565b60006116c9600f83611568565b91506116d482611693565b602082019050919050565b600060208201905081810360008301526116f8816116bc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611768826110bb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361179a5761179961172e565b5b600182019050919050565b6000815190506117b4816110c5565b92915050565b6000602082840312156117d0576117cf611026565b5b60006117de848285016117a5565b91505092915050565b60006040820190506117fc6000830185611169565b61180960208301846111c0565b9392505050565b600061181b826110bb565b9150611826836110bb565b9250828210156118395761183861172e565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061187e826110bb565b9150611889836110bb565b92508261189957611898611844565b5b828204905092915050565b60006118af826110bb565b91506118ba836110bb565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156118f3576118f261172e565b5b828202905092915050565b6000611909826110bb565b9150611914836110bb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156119495761194861172e565b5b828201905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006119b0602683611568565b91506119bb82611954565b604082019050919050565b600060208201905081810360008301526119df816119a3565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611a1c602083611568565b9150611a27826119e6565b602082019050919050565b60006020820190508181036000830152611a4b81611a0f565b905091905056fea26469706673582212205a430beda4962a8fe2b62d569c190f962c26d04abb6da527d72d52e369cc082664736f6c634300080d0033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 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.