Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 1,139 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 14833751 | 945 days ago | IN | 0 ETH | 0.00078132 | ||||
Raid | 14832624 | 945 days ago | IN | 0.01 ETH | 0.00085911 | ||||
Flip Raid Status | 14832567 | 945 days ago | IN | 0 ETH | 0.00054864 | ||||
Raid | 14832561 | 945 days ago | IN | 0.01 ETH | 0.00084983 | ||||
Raid | 14832555 | 945 days ago | IN | 0.01 ETH | 0.00064809 | ||||
Raid | 14832537 | 945 days ago | IN | 0.01 ETH | 0.0007333 | ||||
Raid | 14832530 | 945 days ago | IN | 0.01 ETH | 0.00069171 | ||||
Raid | 14832518 | 945 days ago | IN | 0.01 ETH | 0.00096411 | ||||
Raid | 14832514 | 945 days ago | IN | 0.01 ETH | 0.00090573 | ||||
Raid | 14832510 | 945 days ago | IN | 0.01 ETH | 0.0010491 | ||||
Raid | 14832466 | 945 days ago | IN | 0.01 ETH | 0.00068015 | ||||
Raid | 14832453 | 945 days ago | IN | 0.01 ETH | 0.00073902 | ||||
Raid | 14832447 | 945 days ago | IN | 0.01 ETH | 0.00073068 | ||||
Raid | 14832447 | 945 days ago | IN | 0.01 ETH | 0.00072427 | ||||
Raid | 14832437 | 945 days ago | IN | 0.01 ETH | 0.00074136 | ||||
Raid | 14832427 | 945 days ago | IN | 0.01 ETH | 0.0011779 | ||||
Raid | 14832424 | 945 days ago | IN | 0.01 ETH | 0.00111367 | ||||
Raid | 14832419 | 945 days ago | IN | 0.01 ETH | 0.00117172 | ||||
Raid | 14832411 | 945 days ago | IN | 0.01 ETH | 0.00139651 | ||||
Raid | 14832411 | 945 days ago | IN | 0.01 ETH | 0.00107876 | ||||
Raid | 14832406 | 945 days ago | IN | 0.01 ETH | 0.00118508 | ||||
Raid | 14832405 | 945 days ago | IN | 0.01 ETH | 0.00167663 | ||||
Raid | 14832405 | 945 days ago | IN | 0.01 ETH | 0.00123112 | ||||
Raid | 14832402 | 945 days ago | IN | 0.01 ETH | 0.00173229 | ||||
Raid | 14832401 | 945 days ago | IN | 0.01 ETH | 0.00127631 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
14833751 | 945 days ago | 11.1 ETH |
Loading...
Loading
Contract Name:
TombRaid
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-05-17 */ // File: @openzeppelin/contracts/utils/Context.sol // 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; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: Season3.sol pragma solidity 0.8.13; interface IBoneheadz { function ownerOf(uint256 tokenId) external view returns (address); function totalSupply() external view returns (uint256); } contract TombRaid is Ownable { IBoneheadz public Boneheadz; bool public raidActive = false; mapping(uint256 => uint256) public tokenTiers; mapping(uint256 => bool) public isLocked; uint256 public raidPrice = 0.01 ether; uint256 public constant SEASON = 3; uint256 public constant MAX_TIER = 3; // raid 1: 90% chance of success // raid 2: 50% chance of success // raid 3: 10% chance of success uint256[3] public CUTOFFS = [9, 5, 1]; event Locked(uint256 indexed tokenId); event TierUpdated(uint256 indexed tokenId, uint256 tier); constructor(address boneheadz) { Boneheadz = IBoneheadz(boneheadz); } // MODIFIERS modifier onlyTokenOwner(uint256 tokenId) { require(msg.sender == Boneheadz.ownerOf(tokenId), "Caller is not the token owner"); _; } // OWNER FUNCTIONS function flipRaidStatus() external onlyOwner { raidActive = !raidActive; } function setRaidPrice(uint256 price) external onlyOwner { raidPrice = price; } function flipLockStatuses(uint256[] calldata tokenIds) public onlyOwner { uint256 numIds = tokenIds.length; for (uint256 i; i < numIds; i++) { isLocked[tokenIds[i]] = !isLocked[tokenIds[i]]; } } function withdraw(address recipient) external onlyOwner { (bool success, ) = recipient.call{value: address(this).balance}(""); require(success, "Withdraw failed"); } // RAID FUNCTIONS function raid(uint256 tokenId) public payable onlyTokenOwner(tokenId) { require(msg.sender == tx.origin, "Caller not allowed"); require(raidActive, "Raiding not active"); require(!isLocked[tokenId], "Bonehead is locked"); require(tokenTiers[tokenId] < MAX_TIER, "Already max tier"); require(msg.value == raidPrice, "Not enough ETH sent"); uint256 pseudoRandomNumber = _genPseudoRandomNumber(tokenId); uint256 currentTier = tokenTiers[tokenId]; if (pseudoRandomNumber < CUTOFFS[currentTier]) { tokenTiers[tokenId]++; emit TierUpdated(tokenId, tokenTiers[tokenId]); } else { isLocked[tokenId] = true; emit Locked(tokenId); } } // VIEW FUNCTIONS function numPerTier() public view returns (uint256[] memory) { uint256[] memory counts = new uint256[](MAX_TIER + 1); for (uint256 tier; tier <= MAX_TIER; tier++) { uint256 numAtTier = 0; uint256 totalSupply = Boneheadz.totalSupply(); for (uint256 id; id < totalSupply; id++) { if (tokenTiers[id] == tier) { numAtTier++; } } counts[tier] = numAtTier; } return counts; } function numLockedPerTier() public view returns (uint256[] memory) { uint256[] memory counts = new uint256[](MAX_TIER + 1); for (uint256 tier; tier <= MAX_TIER; tier++) { uint256 numLockedAtTier = 0; uint256 totalSupply = Boneheadz.totalSupply(); for (uint256 id; id < totalSupply; id++) { if (tokenTiers[id] == tier && isLocked[id]) { numLockedAtTier++; } } counts[tier] = numLockedAtTier; } return counts; } function _genPseudoRandomNumber(uint256 tokenId) private view returns (uint256) { uint256 pseudoRandomHash = uint256(keccak256(abi.encodePacked(block.difficulty, block.timestamp, tokenId))); return pseudoRandomHash % 10; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"boneheadz","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Locked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tier","type":"uint256"}],"name":"TierUpdated","type":"event"},{"inputs":[],"name":"Boneheadz","outputs":[{"internalType":"contract IBoneheadz","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"CUTOFFS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TIER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SEASON","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"flipLockStatuses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipRaidStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"isLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numLockedPerTier","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numPerTier","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":"tokenId","type":"uint256"}],"name":"raid","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"raidActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"raidPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setRaidPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenTiers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6001805460ff60a01b19168155662386f26fc1000060045560e060405260096080908152600560a081905260c0929092526200003e91906003620000f0565b503480156200004c57600080fd5b506040516200109d3803806200109d8339810160408190526200006f916200014f565b6200007a33620000a0565b600180546001600160a01b0319166001600160a01b039290921691909117905562000181565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b826003810192821562000126579160200282015b8281111562000126578251829060ff1690559160200191906001019062000104565b506200013492915062000138565b5090565b5b8082111562000134576000815560010162000139565b6000602082840312156200016257600080fd5b81516001600160a01b03811681146200017a57600080fd5b9392505050565b610f0c80620001916000396000f3fe6080604052600436106101095760003560e01c8063715018a6116100955780639e67104c116100645780639e67104c146102c4578063af3a19c714610264578063c3458ac8146102e4578063f2fde38b146102fa578063f6aacfb11461031a57600080fd5b8063715018a61461024f5780637bf544d514610264578063818f2e42146102795780638da5cb5b146102a657600080fd5b80632dd9e54d116100dc5780632dd9e54d146101855780632f914df2146101b65780634e9d695a146101c957806351cff8d9146101f75780636a8094f51461021757600080fd5b806301a0e5dd1461010e57806301a32d8a146101395780631ae01e3e146101505780632bfeb6f514610165575b600080fd5b34801561011a57600080fd5b5061012361034a565b6040516101309190610cd2565b60405180910390f35b34801561014557600080fd5b5061014e6104bb565b005b34801561015c57600080fd5b5061012361050f565b34801561017157600080fd5b5061014e610180366004610d16565b610660565b34801561019157600080fd5b506001546101a690600160a01b900460ff1681565b6040519015158152602001610130565b61014e6101c4366004610d16565b61068f565b3480156101d557600080fd5b506101e96101e4366004610d16565b6109cb565b604051908152602001610130565b34801561020357600080fd5b5061014e610212366004610d44565b6109e2565b34801561022357600080fd5b50600154610237906001600160a01b031681565b6040516001600160a01b039091168152602001610130565b34801561025b57600080fd5b5061014e610aa5565b34801561027057600080fd5b506101e9600381565b34801561028557600080fd5b506101e9610294366004610d16565b60026020526000908152604090205481565b3480156102b257600080fd5b506000546001600160a01b0316610237565b3480156102d057600080fd5b5061014e6102df366004610d61565b610adb565b3480156102f057600080fd5b506101e960045481565b34801561030657600080fd5b5061014e610315366004610d44565b610ba0565b34801561032657600080fd5b506101a6610335366004610d16565b60036020526000908152604090205460ff1681565b6060600061035a60036001610dec565b67ffffffffffffffff81111561037257610372610e04565b60405190808252806020026020018201604052801561039b578160200160208202803683370190505b50905060005b600381116104b557600080600160009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104239190610e1a565b905060005b81811015610480576000818152600260205260409020548414801561045b575060008181526003602052604090205460ff165b1561046e578261046a81610e33565b9350505b8061047881610e33565b915050610428565b508184848151811061049457610494610e4c565b602002602001018181525050505080806104ad90610e33565b9150506103a1565b50919050565b6000546001600160a01b031633146104ee5760405162461bcd60e51b81526004016104e590610e62565b60405180910390fd5b6001805460ff60a01b198116600160a01b9182900460ff1615909102179055565b6060600061051f60036001610dec565b67ffffffffffffffff81111561053757610537610e04565b604051908082528060200260200182016040528015610560578160200160208202803683370190505b50905060005b600381116104b557600080600160009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e89190610e1a565b905060005b8181101561062b57600081815260026020526040902054849003610619578261061581610e33565b9350505b8061062381610e33565b9150506105ed565b508184848151811061063f5761063f610e4c565b6020026020010181815250505050808061065890610e33565b915050610566565b6000546001600160a01b0316331461068a5760405162461bcd60e51b81526004016104e590610e62565b600455565b6001546040516331a9108f60e11b81526004810183905282916001600160a01b031690636352211e90602401602060405180830381865afa1580156106d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fc9190610e97565b6001600160a01b0316336001600160a01b03161461075c5760405162461bcd60e51b815260206004820152601d60248201527f43616c6c6572206973206e6f742074686520746f6b656e206f776e657200000060448201526064016104e5565b3332146107a05760405162461bcd60e51b815260206004820152601260248201527110d85b1b195c881b9bdd08185b1b1bddd95960721b60448201526064016104e5565b600154600160a01b900460ff166107ee5760405162461bcd60e51b815260206004820152601260248201527152616964696e67206e6f742061637469766560701b60448201526064016104e5565b60008281526003602052604090205460ff16156108425760405162461bcd60e51b8152602060048201526012602482015271109bdb995a195859081a5cc81b1bd8dad95960721b60448201526064016104e5565b6000828152600260205260409020546003116108935760405162461bcd60e51b815260206004820152601060248201526f20b63932b0b23c9036b0bc103a34b2b960811b60448201526064016104e5565b60045434146108da5760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08115512081cd95b9d606a1b60448201526064016104e5565b60006108e583610c3b565b6000848152600260205260409020549091506005816003811061090a5761090a610e4c565b015482101561098457600084815260026020526040812080549161092d83610e33565b9190505550837f5349d126fd113e080c8df8082fb24f953d527eca3de019efe9b3574285b3f041600260008781526020019081526020016000205460405161097791815260200190565b60405180910390a26109c5565b600084815260036020526040808220805460ff191660011790555185917f032bc66be43dbccb7487781d168eb7bda224628a3b2c3388bdf69b532a3a161191a25b50505050565b600581600381106109db57600080fd5b0154905081565b6000546001600160a01b03163314610a0c5760405162461bcd60e51b81526004016104e590610e62565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610a59576040519150601f19603f3d011682016040523d82523d6000602084013e610a5e565b606091505b5050905080610aa15760405162461bcd60e51b815260206004820152600f60248201526e15da5d1a191c985dc819985a5b1959608a1b60448201526064016104e5565b5050565b6000546001600160a01b03163314610acf5760405162461bcd60e51b81526004016104e590610e62565b610ad96000610c82565b565b6000546001600160a01b03163314610b055760405162461bcd60e51b81526004016104e590610e62565b8060005b818110156109c55760036000858584818110610b2757610b27610e4c565b90506020020135815260200190815260200160002060009054906101000a900460ff161560036000868685818110610b6157610b61610e4c565b90506020020135815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610b9890610e33565b915050610b09565b6000546001600160a01b03163314610bca5760405162461bcd60e51b81526004016104e590610e62565b6001600160a01b038116610c2f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104e5565b610c3881610c82565b50565b6040805144602080830191909152428284015260608083018590528351808403909101815260809092019092528051910120600090610c7b600a82610eb4565b9392505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6020808252825182820181905260009190848201906040850190845b81811015610d0a57835183529284019291840191600101610cee565b50909695505050505050565b600060208284031215610d2857600080fd5b5035919050565b6001600160a01b0381168114610c3857600080fd5b600060208284031215610d5657600080fd5b8135610c7b81610d2f565b60008060208385031215610d7457600080fd5b823567ffffffffffffffff80821115610d8c57600080fd5b818501915085601f830112610da057600080fd5b813581811115610daf57600080fd5b8660208260051b8501011115610dc457600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052601160045260246000fd5b60008219821115610dff57610dff610dd6565b500190565b634e487b7160e01b600052604160045260246000fd5b600060208284031215610e2c57600080fd5b5051919050565b600060018201610e4557610e45610dd6565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215610ea957600080fd5b8151610c7b81610d2f565b600082610ed157634e487b7160e01b600052601260045260246000fd5b50069056fea2646970667358221220124dbb9f58784c89ba05c31824d666cd636a1c7e6c848117b1c57e553caa8b2864736f6c634300080d0033000000000000000000000000010a45801ee731e016aaaa68ee570b9950be0e37
Deployed Bytecode
0x6080604052600436106101095760003560e01c8063715018a6116100955780639e67104c116100645780639e67104c146102c4578063af3a19c714610264578063c3458ac8146102e4578063f2fde38b146102fa578063f6aacfb11461031a57600080fd5b8063715018a61461024f5780637bf544d514610264578063818f2e42146102795780638da5cb5b146102a657600080fd5b80632dd9e54d116100dc5780632dd9e54d146101855780632f914df2146101b65780634e9d695a146101c957806351cff8d9146101f75780636a8094f51461021757600080fd5b806301a0e5dd1461010e57806301a32d8a146101395780631ae01e3e146101505780632bfeb6f514610165575b600080fd5b34801561011a57600080fd5b5061012361034a565b6040516101309190610cd2565b60405180910390f35b34801561014557600080fd5b5061014e6104bb565b005b34801561015c57600080fd5b5061012361050f565b34801561017157600080fd5b5061014e610180366004610d16565b610660565b34801561019157600080fd5b506001546101a690600160a01b900460ff1681565b6040519015158152602001610130565b61014e6101c4366004610d16565b61068f565b3480156101d557600080fd5b506101e96101e4366004610d16565b6109cb565b604051908152602001610130565b34801561020357600080fd5b5061014e610212366004610d44565b6109e2565b34801561022357600080fd5b50600154610237906001600160a01b031681565b6040516001600160a01b039091168152602001610130565b34801561025b57600080fd5b5061014e610aa5565b34801561027057600080fd5b506101e9600381565b34801561028557600080fd5b506101e9610294366004610d16565b60026020526000908152604090205481565b3480156102b257600080fd5b506000546001600160a01b0316610237565b3480156102d057600080fd5b5061014e6102df366004610d61565b610adb565b3480156102f057600080fd5b506101e960045481565b34801561030657600080fd5b5061014e610315366004610d44565b610ba0565b34801561032657600080fd5b506101a6610335366004610d16565b60036020526000908152604090205460ff1681565b6060600061035a60036001610dec565b67ffffffffffffffff81111561037257610372610e04565b60405190808252806020026020018201604052801561039b578160200160208202803683370190505b50905060005b600381116104b557600080600160009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104239190610e1a565b905060005b81811015610480576000818152600260205260409020548414801561045b575060008181526003602052604090205460ff165b1561046e578261046a81610e33565b9350505b8061047881610e33565b915050610428565b508184848151811061049457610494610e4c565b602002602001018181525050505080806104ad90610e33565b9150506103a1565b50919050565b6000546001600160a01b031633146104ee5760405162461bcd60e51b81526004016104e590610e62565b60405180910390fd5b6001805460ff60a01b198116600160a01b9182900460ff1615909102179055565b6060600061051f60036001610dec565b67ffffffffffffffff81111561053757610537610e04565b604051908082528060200260200182016040528015610560578160200160208202803683370190505b50905060005b600381116104b557600080600160009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e89190610e1a565b905060005b8181101561062b57600081815260026020526040902054849003610619578261061581610e33565b9350505b8061062381610e33565b9150506105ed565b508184848151811061063f5761063f610e4c565b6020026020010181815250505050808061065890610e33565b915050610566565b6000546001600160a01b0316331461068a5760405162461bcd60e51b81526004016104e590610e62565b600455565b6001546040516331a9108f60e11b81526004810183905282916001600160a01b031690636352211e90602401602060405180830381865afa1580156106d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fc9190610e97565b6001600160a01b0316336001600160a01b03161461075c5760405162461bcd60e51b815260206004820152601d60248201527f43616c6c6572206973206e6f742074686520746f6b656e206f776e657200000060448201526064016104e5565b3332146107a05760405162461bcd60e51b815260206004820152601260248201527110d85b1b195c881b9bdd08185b1b1bddd95960721b60448201526064016104e5565b600154600160a01b900460ff166107ee5760405162461bcd60e51b815260206004820152601260248201527152616964696e67206e6f742061637469766560701b60448201526064016104e5565b60008281526003602052604090205460ff16156108425760405162461bcd60e51b8152602060048201526012602482015271109bdb995a195859081a5cc81b1bd8dad95960721b60448201526064016104e5565b6000828152600260205260409020546003116108935760405162461bcd60e51b815260206004820152601060248201526f20b63932b0b23c9036b0bc103a34b2b960811b60448201526064016104e5565b60045434146108da5760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08115512081cd95b9d606a1b60448201526064016104e5565b60006108e583610c3b565b6000848152600260205260409020549091506005816003811061090a5761090a610e4c565b015482101561098457600084815260026020526040812080549161092d83610e33565b9190505550837f5349d126fd113e080c8df8082fb24f953d527eca3de019efe9b3574285b3f041600260008781526020019081526020016000205460405161097791815260200190565b60405180910390a26109c5565b600084815260036020526040808220805460ff191660011790555185917f032bc66be43dbccb7487781d168eb7bda224628a3b2c3388bdf69b532a3a161191a25b50505050565b600581600381106109db57600080fd5b0154905081565b6000546001600160a01b03163314610a0c5760405162461bcd60e51b81526004016104e590610e62565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610a59576040519150601f19603f3d011682016040523d82523d6000602084013e610a5e565b606091505b5050905080610aa15760405162461bcd60e51b815260206004820152600f60248201526e15da5d1a191c985dc819985a5b1959608a1b60448201526064016104e5565b5050565b6000546001600160a01b03163314610acf5760405162461bcd60e51b81526004016104e590610e62565b610ad96000610c82565b565b6000546001600160a01b03163314610b055760405162461bcd60e51b81526004016104e590610e62565b8060005b818110156109c55760036000858584818110610b2757610b27610e4c565b90506020020135815260200190815260200160002060009054906101000a900460ff161560036000868685818110610b6157610b61610e4c565b90506020020135815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610b9890610e33565b915050610b09565b6000546001600160a01b03163314610bca5760405162461bcd60e51b81526004016104e590610e62565b6001600160a01b038116610c2f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104e5565b610c3881610c82565b50565b6040805144602080830191909152428284015260608083018590528351808403909101815260809092019092528051910120600090610c7b600a82610eb4565b9392505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6020808252825182820181905260009190848201906040850190845b81811015610d0a57835183529284019291840191600101610cee565b50909695505050505050565b600060208284031215610d2857600080fd5b5035919050565b6001600160a01b0381168114610c3857600080fd5b600060208284031215610d5657600080fd5b8135610c7b81610d2f565b60008060208385031215610d7457600080fd5b823567ffffffffffffffff80821115610d8c57600080fd5b818501915085601f830112610da057600080fd5b813581811115610daf57600080fd5b8660208260051b8501011115610dc457600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052601160045260246000fd5b60008219821115610dff57610dff610dd6565b500190565b634e487b7160e01b600052604160045260246000fd5b600060208284031215610e2c57600080fd5b5051919050565b600060018201610e4557610e45610dd6565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215610ea957600080fd5b8151610c7b81610d2f565b600082610ed157634e487b7160e01b600052601260045260246000fd5b50069056fea2646970667358221220124dbb9f58784c89ba05c31824d666cd636a1c7e6c848117b1c57e553caa8b2864736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000010a45801ee731e016aaaa68ee570b9950be0e37
-----Decoded View---------------
Arg [0] : boneheadz (address): 0x010a45801EE731e016aAAa68ee570B9950bE0e37
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000010a45801ee731e016aaaa68ee570b9950be0e37
Deployed Bytecode Sourcemap
3642:3747:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6563:570;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4555:88;;;;;;;;;;;;;:::i;:::-;;6025:530;;;;;;;;;;;;;:::i;4651:92::-;;;;;;;;;;-1:-1:-1;4651:92:0;;;;;:::i;:::-;;:::i;3715:30::-;;;;;;;;;;-1:-1:-1;3715:30:0;;;;-1:-1:-1;;;3715:30:0;;;;;;;;;1001:14:1;;994:22;976:41;;964:2;949:18;3715:30:0;836:187:1;5219:773:0;;;;;;:::i;:::-;;:::i;4101:37::-;;;;;;;;;;-1:-1:-1;4101:37:0;;;;;:::i;:::-;;:::i;:::-;;;1174:25:1;;;1162:2;1147:18;4101:37:0;1028:177:1;4998:188:0;;;;;;;;;;-1:-1:-1;4998:188:0;;;;;:::i;:::-;;:::i;3678:27::-;;;;;;;;;;-1:-1:-1;3678:27:0;;;;-1:-1:-1;;;;;3678:27:0;;;;;;-1:-1:-1;;;;;1780:32:1;;;1762:51;;1750:2;1735:18;3678:27:0;1598:221:1;2606:103:0;;;;;;;;;;;;;:::i;3901:34::-;;;;;;;;;;;;3934:1;3901:34;;3754:45;;;;;;;;;;-1:-1:-1;3754:45:0;;;;;:::i;:::-;;;;;;;;;;;;;;1955:87;;;;;;;;;;-1:-1:-1;2001:7:0;2028:6;-1:-1:-1;;;;;2028:6:0;1955:87;;4751:239;;;;;;;;;;-1:-1:-1;4751:239:0;;;;;:::i;:::-;;:::i;3855:37::-;;;;;;;;;;;;;;;;2864:201;;;;;;;;;;-1:-1:-1;2864:201:0;;;;;:::i;:::-;;:::i;3806:40::-;;;;;;;;;;-1:-1:-1;3806:40:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;6563:570;6612:16;6641:23;6681:12;3977:1;6692;6681:12;:::i;:::-;6667:27;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6667:27:0;;6641:53;;6710:12;6705:397;3977:1;6724:4;:16;6705:397;;6765:23;6807:19;6829:9;;;;;;;;;-1:-1:-1;;;;;6829:9:0;-1:-1:-1;;;;;6829:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6807:45;;6872:10;6867:179;6889:11;6884:2;:16;6867:179;;;6931:14;;;;:10;:14;;;;;;:22;;:38;;;;-1:-1:-1;6957:12:0;;;;:8;:12;;;;;;;;6931:38;6927:104;;;6994:17;;;;:::i;:::-;;;;6927:104;6902:4;;;;:::i;:::-;;;;6867:179;;;;7075:15;7060:6;7067:4;7060:12;;;;;;;;:::i;:::-;;;;;;:30;;;;;6750:352;;6742:6;;;;;:::i;:::-;;;;6705:397;;;-1:-1:-1;7119:6:0;6563:570;-1:-1:-1;6563:570:0:o;4555:88::-;2001:7;2028:6;-1:-1:-1;;;;;2028:6:0;759:10;2175:23;2167:68;;;;-1:-1:-1;;;2167:68:0;;;;;;;:::i;:::-;;;;;;;;;4625:10:::1;::::0;;-1:-1:-1;;;;4611:24:0;::::1;-1:-1:-1::0;;;4625:10:0;;;::::1;;;4624:11;4611:24:::0;;::::1;;::::0;;4555:88::o;6025:530::-;6068:16;6097:23;6137:12;3977:1;6148;6137:12;:::i;:::-;6123:27;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6123:27:0;;6097:53;;6166:12;6161:363;3977:1;6180:4;:16;6161:363;;6221:17;6257:19;6279:9;;;;;;;;;-1:-1:-1;;;;;6279:9:0;-1:-1:-1;;;;;6279:21:0;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6257:45;;6322:10;6317:157;6339:11;6334:2;:16;6317:157;;;6381:14;;;;:10;:14;;;;;;:22;;;6377:82;;6428:11;;;;:::i;:::-;;;;6377:82;6352:4;;;;:::i;:::-;;;;6317:157;;;;6503:9;6488:6;6495:4;6488:12;;;;;;;;:::i;:::-;;;;;;:24;;;;;6206:318;;6198:6;;;;;:::i;:::-;;;;6161:363;;4651:92;2001:7;2028:6;-1:-1:-1;;;;;2028:6:0;759:10;2175:23;2167:68;;;;-1:-1:-1;;;2167:68:0;;;;;;;:::i;:::-;4718:9:::1;:17:::0;4651:92::o;5219:773::-;4441:9;;:26;;-1:-1:-1;;;4441:26:0;;;;;1174:25:1;;;5280:7:0;;-1:-1:-1;;;;;4441:9:0;;:17;;1147:18:1;;4441:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;4427:40:0;:10;-1:-1:-1;;;;;4427:40:0;;4419:82;;;;-1:-1:-1;;;4419:82:0;;4329:2:1;4419:82:0;;;4311:21:1;4368:2;4348:18;;;4341:30;4407:31;4387:18;;;4380:59;4456:18;;4419:82:0;4127:353:1;4419:82:0;5308:10:::1;5322:9;5308:23;5300:54;;;::::0;-1:-1:-1;;;5300:54:0;;4687:2:1;5300:54:0::1;::::0;::::1;4669:21:1::0;4726:2;4706:18;;;4699:30;-1:-1:-1;;;4745:18:1;;;4738:48;4803:18;;5300:54:0::1;4485:342:1::0;5300:54:0::1;5373:10;::::0;-1:-1:-1;;;5373:10:0;::::1;;;5365:41;;;::::0;-1:-1:-1;;;5365:41:0;;5034:2:1;5365:41:0::1;::::0;::::1;5016:21:1::0;5073:2;5053:18;;;5046:30;-1:-1:-1;;;5092:18:1;;;5085:48;5150:18;;5365:41:0::1;4832:342:1::0;5365:41:0::1;5426:17;::::0;;;:8:::1;:17;::::0;;;;;::::1;;5425:18;5417:49;;;::::0;-1:-1:-1;;;5417:49:0;;5381:2:1;5417:49:0::1;::::0;::::1;5363:21:1::0;5420:2;5400:18;;;5393:30;-1:-1:-1;;;5439:18:1;;;5432:48;5497:18;;5417:49:0::1;5179:342:1::0;5417:49:0::1;5485:19;::::0;;;:10:::1;:19;::::0;;;;;3977:1:::1;-1:-1:-1::0;5477:59:0::1;;;::::0;-1:-1:-1;;;5477:59:0;;5728:2:1;5477:59:0::1;::::0;::::1;5710:21:1::0;5767:2;5747:18;;;5740:30;-1:-1:-1;;;5786:18:1;;;5779:46;5842:18;;5477:59:0::1;5526:340:1::0;5477:59:0::1;5568:9;;5555;:22;5547:54;;;::::0;-1:-1:-1;;;5547:54:0;;6073:2:1;5547:54:0::1;::::0;::::1;6055:21:1::0;6112:2;6092:18;;;6085:30;-1:-1:-1;;;6131:18:1;;;6124:49;6190:18;;5547:54:0::1;5871:343:1::0;5547:54:0::1;5614:26;5643:31;5666:7;5643:22;:31::i;:::-;5685:19;5707::::0;;;:10:::1;:19;::::0;;;;;5614:60;;-1:-1:-1;5762:7:0::1;5707:19:::0;5762:20:::1;::::0;::::1;;;;;:::i;:::-;;;5741:18;:41;5737:248;;;5799:19;::::0;;;:10:::1;:19;::::0;;;;:21;;;::::1;::::0;::::1;:::i;:::-;;;;;;5852:7;5840:41;5861:10;:19;5872:7;5861:19;;;;;;;;;;;;5840:41;;;;1174:25:1::0;;1162:2;1147:18;;1028:177;5840:41:0::1;;;;;;;;5737:248;;;5914:17;::::0;;;:8:::1;:17;::::0;;;;;:24;;-1:-1:-1;;5914:24:0::1;5934:4;5914:24;::::0;;5958:15;5923:7;;5958:15:::1;::::0;::::1;5737:248;5289:703;;5219:773:::0;;:::o;4101:37::-;;;;;;;;;;;;;;;-1:-1:-1;4101:37:0;:::o;4998:188::-;2001:7;2028:6;-1:-1:-1;;;;;2028:6:0;759:10;2175:23;2167:68;;;;-1:-1:-1;;;2167:68:0;;;;;;;:::i;:::-;5066:12:::1;5084:9;-1:-1:-1::0;;;;;5084:14:0::1;5106:21;5084:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5065:67;;;5151:7;5143:35;;;::::0;-1:-1:-1;;;5143:35:0;;6631:2:1;5143:35:0::1;::::0;::::1;6613:21:1::0;6670:2;6650:18;;;6643:30;-1:-1:-1;;;6689:18:1;;;6682:45;6744:18;;5143:35:0::1;6429:339:1::0;5143:35:0::1;5054:132;4998:188:::0;:::o;2606:103::-;2001:7;2028:6;-1:-1:-1;;;;;2028:6:0;759:10;2175:23;2167:68;;;;-1:-1:-1;;;2167:68:0;;;;;;;:::i;:::-;2671:30:::1;2698:1;2671:18;:30::i;:::-;2606:103::o:0;4751:239::-;2001:7;2028:6;-1:-1:-1;;;;;2028:6:0;759:10;2175:23;2167:68;;;;-1:-1:-1;;;2167:68:0;;;;;;;:::i;:::-;4851:8;4834:14:::1;4877:106;4897:6;4893:1;:10;4877:106;;;4950:8;:21;4959:8;;4968:1;4959:11;;;;;;;:::i;:::-;;;;;;;4950:21;;;;;;;;;;;;;;;;;;;;;4949:22;4925:8;:21;4934:8;;4943:1;4934:11;;;;;;;:::i;:::-;;;;;;;4925:21;;;;;;;;;;;;:46;;;;;;;;;;;;;;;;;;4905:3;;;;;:::i;:::-;;;;4877:106;;2864:201:::0;2001:7;2028:6;-1:-1:-1;;;;;2028:6:0;759:10;2175:23;2167:68;;;;-1:-1:-1;;;2167:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2953:22:0;::::1;2945:73;;;::::0;-1:-1:-1;;;2945:73:0;;6975:2:1;2945:73:0::1;::::0;::::1;6957:21:1::0;7014:2;6994:18;;;6987:30;7053:34;7033:18;;;7026:62;-1:-1:-1;;;7104:18:1;;;7097:36;7150:19;;2945:73:0::1;6773:402:1::0;2945:73:0::1;3029:28;3048:8;3029:18;:28::i;:::-;2864:201:::0;:::o;7141:245::-;7277:60;;;7294:16;7277:60;;;;7365:19:1;;;;7312:15:0;7400:12:1;;;7393:28;7437:12;;;;7430:28;;;7277:60:0;;;;;;;;;;7474:12:1;;;;7277:60:0;;;7267:71;;;;;-1:-1:-1;;7357:21:0;7376:2;7267:71;7357:21;:::i;:::-;7350:28;7141:245;-1:-1:-1;;;7141:245:0:o;3225:191::-;3299:16;3318:6;;-1:-1:-1;;;;;3335:17:0;;;-1:-1:-1;;;;;;3335:17:0;;;;;;3368:40;;3318:6;;;;;;;3368:40;;3299:16;3368:40;3288:128;3225:191;:::o;14:632:1:-;185:2;237:21;;;307:13;;210:18;;;329:22;;;156:4;;185:2;408:15;;;;382:2;367:18;;;156:4;451:169;465:6;462:1;459:13;451:169;;;526:13;;514:26;;595:15;;;;560:12;;;;487:1;480:9;451:169;;;-1:-1:-1;637:3:1;;14:632;-1:-1:-1;;;;;;14:632:1:o;651:180::-;710:6;763:2;751:9;742:7;738:23;734:32;731:52;;;779:1;776;769:12;731:52;-1:-1:-1;802:23:1;;651:180;-1:-1:-1;651:180:1:o;1210:131::-;-1:-1:-1;;;;;1285:31:1;;1275:42;;1265:70;;1331:1;1328;1321:12;1346:247;1405:6;1458:2;1446:9;1437:7;1433:23;1429:32;1426:52;;;1474:1;1471;1464:12;1426:52;1513:9;1500:23;1532:31;1557:5;1532:31;:::i;2032:615::-;2118:6;2126;2179:2;2167:9;2158:7;2154:23;2150:32;2147:52;;;2195:1;2192;2185:12;2147:52;2235:9;2222:23;2264:18;2305:2;2297:6;2294:14;2291:34;;;2321:1;2318;2311:12;2291:34;2359:6;2348:9;2344:22;2334:32;;2404:7;2397:4;2393:2;2389:13;2385:27;2375:55;;2426:1;2423;2416:12;2375:55;2466:2;2453:16;2492:2;2484:6;2481:14;2478:34;;;2508:1;2505;2498:12;2478:34;2561:7;2556:2;2546:6;2543:1;2539:14;2535:2;2531:23;2527:32;2524:45;2521:65;;;2582:1;2579;2572:12;2521:65;2613:2;2605:11;;;;;2635:6;;-1:-1:-1;2032:615:1;;-1:-1:-1;;;;2032:615:1:o;2652:127::-;2713:10;2708:3;2704:20;2701:1;2694:31;2744:4;2741:1;2734:15;2768:4;2765:1;2758:15;2784:128;2824:3;2855:1;2851:6;2848:1;2845:13;2842:39;;;2861:18;;:::i;:::-;-1:-1:-1;2897:9:1;;2784:128::o;2917:127::-;2978:10;2973:3;2969:20;2966:1;2959:31;3009:4;3006:1;2999:15;3033:4;3030:1;3023:15;3049:184;3119:6;3172:2;3160:9;3151:7;3147:23;3143:32;3140:52;;;3188:1;3185;3178:12;3140:52;-1:-1:-1;3211:16:1;;3049:184;-1:-1:-1;3049:184:1:o;3238:135::-;3277:3;3298:17;;;3295:43;;3318:18;;:::i;:::-;-1:-1:-1;3365:1:1;3354:13;;3238:135::o;3378:127::-;3439:10;3434:3;3430:20;3427:1;3420:31;3470:4;3467:1;3460:15;3494:4;3491:1;3484:15;3510:356;3712:2;3694:21;;;3731:18;;;3724:30;3790:34;3785:2;3770:18;;3763:62;3857:2;3842:18;;3510:356::o;3871:251::-;3941:6;3994:2;3982:9;3973:7;3969:23;3965:32;3962:52;;;4010:1;4007;4000:12;3962:52;4042:9;4036:16;4061:31;4086:5;4061:31;:::i;7497:209::-;7529:1;7555;7545:132;;7599:10;7594:3;7590:20;7587:1;7580:31;7634:4;7631:1;7624:15;7662:4;7659:1;7652:15;7545:132;-1:-1:-1;7691:9:1;;7497:209::o
Swarm Source
ipfs://124dbb9f58784c89ba05c31824d666cd636a1c7e6c848117b1c57e553caa8b28
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.