Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 269 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Pikanik Baskitz | 19856593 | 268 days ago | IN | 0 ETH | 0.00047759 | ||||
Pikanik Baskitz | 19853937 | 269 days ago | IN | 0 ETH | 0.00073827 | ||||
Pikanik Baskitz | 19310755 | 345 days ago | IN | 0 ETH | 0.00626163 | ||||
Pikanik Baskitz | 19024008 | 385 days ago | IN | 0 ETH | 0.00675034 | ||||
Pikanik Baskitz | 19023205 | 385 days ago | IN | 0 ETH | 0.00634968 | ||||
Pikanik Baskitz | 18910613 | 401 days ago | IN | 0 ETH | 0.00150746 | ||||
Pikanik Baskitz | 18105838 | 514 days ago | IN | 0 ETH | 0.00282787 | ||||
Pikanik Baskitz | 18069533 | 519 days ago | IN | 0 ETH | 0.00284584 | ||||
Pikanik Baskitz | 17939498 | 537 days ago | IN | 0 ETH | 0.00313774 | ||||
Pikanik Baskitz | 17929271 | 538 days ago | IN | 0 ETH | 0.00461965 | ||||
Pikanik Baskitz | 17917754 | 540 days ago | IN | 0 ETH | 0.00290604 | ||||
Pikanik Baskitz | 17917088 | 540 days ago | IN | 0 ETH | 0.00296113 | ||||
Pikanik Baskitz | 17909468 | 541 days ago | IN | 0 ETH | 0.00216428 | ||||
Pikanik Baskitz | 17908859 | 541 days ago | IN | 0 ETH | 0.00376159 | ||||
Pikanik Baskitz | 17902160 | 542 days ago | IN | 0 ETH | 0.01281289 | ||||
Pikanik Baskitz | 17898581 | 543 days ago | IN | 0 ETH | 0.00240031 | ||||
Pikanik Baskitz | 17897736 | 543 days ago | IN | 0 ETH | 0.00171712 | ||||
Pikanik Baskitz | 17887421 | 544 days ago | IN | 0 ETH | 0.0033384 | ||||
Pikanik Baskitz | 17877097 | 546 days ago | IN | 0 ETH | 0.00346327 | ||||
Pikanik Baskitz | 17876763 | 546 days ago | IN | 0 ETH | 0.00305937 | ||||
Pikanik Baskitz | 17875421 | 546 days ago | IN | 0 ETH | 0.00702753 | ||||
Pikanik Baskitz | 17873791 | 546 days ago | IN | 0 ETH | 0.00648454 | ||||
Pikanik Baskitz | 17846271 | 550 days ago | IN | 0 ETH | 0.0023509 | ||||
Pikanik Baskitz | 17523180 | 595 days ago | IN | 0 ETH | 0.00413026 | ||||
Pikanik Baskitz | 17037845 | 664 days ago | IN | 0 ETH | 0.00494977 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
IngredientGrabber
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: Unlicense // Creator: 0xYeety/YEETY.eth - CTO, Virtue Labs pragma solidity ^0.8.17; import "lib/openzeppelin-contracts/contracts/access/Ownable.sol"; import "lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol"; // // :==- // .:-@@@@=:. // &@@@@@@@@@= // .: .@@@@@@@@@@= :. // .-+%@@+ :.+-##%@@@@@@@@@@@#%**-.: +@@@*=. // #@@@@@@*@%@@@@@@@@@@@@@@@@@@@@@@@@#@@@@@@%. // . .-@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%@@@+. : // +@@#: .:*@@@@@@%@@%@@#*+=%@@@@@@@@@@@+=+#@@@@@@@@@@@@*- :#@@+ // .+@@@@@@*-*@@@@@@@%++##%* :-@@@@@@@@@@@@*-: =#%%++*@@@@@@%*=#@@@@@@+. // :@@@@@@@@@@@@@@@@@@* -.-@* -@@@@@@@@@@@@@@@@# :%*:- +@@@@@@@@@@@@@@@@@@: // =@@@@@@%%@@@@@*- .-: :-@@@@@@@%@@@@*-: .-. -*@@@@@@@@@@@@@+ // #@@@@@@%@@@#++: %@@@@@@@%%@@: :+*%@@@@@@@@@@+. // =#@@@@@@@@@@@@@+ :#%@@@@@@@@@%%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@@# .+@@@@@@@@@@@@.-. // .@@@@@@@@@@@@@@@@@@+ : :%* -%%@@@%@@@@@@@@@#= .@* . -#@@@@@@@@@@@@@@@@@: // +@@@@@%= +#%@@@@@= =%%@# :#%@@@@@@@@@@@@%*- =@@@= %@@@@@%*-+@@@@@@*. // =@@* -**@@@%@@@@@@@@#+*@@@@@@@@@@@@%**%@@@@@@%@@@@%%-. +@@+. // :%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@=: . // :@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+ // +@@@@@@:=-+%*@%@@@@@@@@@@@@@@%##=*:%@@@@@#. // :=#%: ...@@@@@@@@@@# : ##=: // *@@@@@@@@@= // **#@@@@##*: // #@@@ // contract IngredientGrabber is Ownable { // ICanSeesU bool public boksIzOpen = true; enum WenEggHatch { HatchMeOussideHowBouDah, YuKneedMoarFhood, DidDisAlredi } WenEggHatch public wenItzRedi = WenEggHatch.HatchMeOussideHowBouDah; mapping(address => bool) public sunniSiedUpp; uint256 public ordurzTakenn; ////////// mapping(uint256 => uint256) public izitsOrIzontitzs; CrudeBorneEggs public eggzzz; ERC721StorageLayerProto public pantreeDhoor; ////////// /*************************************************************************/ /*** PAYMENT VARIABLES (Start) *******************************************/ address[] public based; mapping(address => uint256) private howBased; uint256 totalReceived = 0; mapping(address => uint256) amountsWithdrawn; modifier onlyBased() { _isBased(); _; } function _isBased() internal view virtual { require(howBased[msg.sender] > 0, "not based"); } /*** PAYMENT VARIABLES (End) *******************************************/ /***********************************************************************/ constructor( address cbeAddy_, address storageLayer_, address[] memory based_, uint256[] memory howBased_ ) { eggzzz = CrudeBorneEggs(cbeAddy_); pantreeDhoor = ERC721StorageLayerProto(storageLayer_); pantreeDhoor.registerMintingContract(); for (uint256 i = 0; i < based_.length; i++) { howBased[based_[i]] = howBased_[i]; } based = based_; } /*********************************************************************/ /*** PAYMENT LOGIC (Start) *******************************************/ receive() external payable { totalReceived += msg.value; } function withdraw() public onlyBased { uint256 respects = (totalReceived/10000)*howBased[msg.sender]; uint256 toPay = respects - amountsWithdrawn[msg.sender]; amountsWithdrawn[msg.sender] = respects; (bool press, ) = payable(msg.sender).call{value: toPay}(""); require(press, "F"); } function withdrawTokens(address tokenAddress) external onlyBased { for (uint256 i = 0; i < based.length; i++) { IERC20(tokenAddress).transfer( based[i], (IERC20(tokenAddress).balanceOf(address(this))/10000)*howBased[based[i]] ); } } function emergencyWithdrawTokens(address tokenAddress) external onlyOwner { IERC20(tokenAddress).transfer(msg.sender, IERC20(tokenAddress).balanceOf(address(this))); } /*** PAYMENT LOGIC (End) *******************************************/ /*******************************************************************/ ////////// function piknikTiemz() public onlyOwner { boksIzOpen = !boksIzOpen; } function invitoooor(address eggBoksz) public onlyOwner { sunniSiedUpp[eggBoksz] = true; } function tellMiWennDammit(WenEggHatch wennn) public onlyOwner { require(wennn != WenEggHatch.HatchMeOussideHowBouDah && wenItzRedi != WenEggHatch.DidDisAlredi); wenItzRedi = wennn; } ////////// function piknikInvitayshun(uint256 whichEgg) public view returns (bool) { uint256 eggBlocc = whichEgg/250; uint256 eggSlot = whichEgg - eggBlocc*250; return ((izitsOrIzontitzs[eggBlocc] >> eggSlot)%2 == 1); } function pikanikBaskitz(uint256[] memory eggz) public { require(boksIzOpen, 'bio'); require(wenItzRedi == WenEggHatch.YuKneedMoarFhood || (sunniSiedUpp[msg.sender] && (wenItzRedi == WenEggHatch.HatchMeOussideHowBouDah)), 'ms/a'); uint256 curBlocc = 0; uint256 bloccUpdates = 0; uint256 eggBlocc; bool fukGroseriz = true; bool inDaLibrary = true; for (uint256 i = 0; i < eggz.length; i++) { eggBlocc = eggz[i]/250; if (eggBlocc != curBlocc) { izitsOrIzontitzs[curBlocc] = izitsOrIzontitzs[curBlocc] | bloccUpdates; curBlocc = eggBlocc; bloccUpdates = 0; } uint256 eggSlot = eggz[i] - curBlocc*250; fukGroseriz = fukGroseriz && (izitsOrIzontitzs[curBlocc] >> eggSlot)%2 == 0; inDaLibrary = inDaLibrary && eggzzz.ownerOf(eggz[i]) == msg.sender; bloccUpdates += (1 << eggSlot); } require(fukGroseriz && inDaLibrary, 'f;i'); izitsOrIzontitzs[curBlocc] = izitsOrIzontitzs[curBlocc] | bloccUpdates; pantreeDhoor.storage_safeMint(msg.sender, msg.sender, eggz.length); ordurzTakenn += eggz.length; } } //////////////////// abstract contract CrudeBorneEggs { function balanceOf(address owner) public view virtual returns (uint256); function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual returns (uint256); function ownerOf(uint256 tokenId) public view virtual returns (address); } abstract contract ERC721StorageLayerProto { function registerMintingContract() public virtual; function storage_safeMint(address msgSender, address to, uint256 quantity) public virtual; } ////////////////////////////////////////
// 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 (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// 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; } }
{ "remappings": [ "ds-test/=lib/forge-std/lib/ds-test/src/", "forge-std/=lib/forge-std/src/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "bytecodeHash": "ipfs" }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "london", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"cbeAddy_","type":"address"},{"internalType":"address","name":"storageLayer_","type":"address"},{"internalType":"address[]","name":"based_","type":"address[]"},{"internalType":"uint256[]","name":"howBased_","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"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"based","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"boksIzOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"eggzzz","outputs":[{"internalType":"contract CrudeBorneEggs","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"emergencyWithdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"eggBoksz","type":"address"}],"name":"invitoooor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"izitsOrIzontitzs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ordurzTakenn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pantreeDhoor","outputs":[{"internalType":"contract ERC721StorageLayerProto","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"eggz","type":"uint256[]"}],"name":"pikanikBaskitz","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"whichEgg","type":"uint256"}],"name":"piknikInvitayshun","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"piknikTiemz","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"sunniSiedUpp","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum IngredientGrabber.WenEggHatch","name":"wennn","type":"uint8"}],"name":"tellMiWennDammit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wenItzRedi","outputs":[{"internalType":"enum IngredientGrabber.WenEggHatch","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526000805461ffff60a01b1916600160a01b1781556008553480156200002857600080fd5b50604051620014ae380380620014ae8339810160408190526200004b9162000349565b620000563362000179565b600480546001600160a01b038087166001600160a01b0319928316178355600580549187169190921681179091556040805163acb608b360e01b81529051919263acb608b392828201926000929082900301818387803b158015620000ba57600080fd5b505af1158015620000cf573d6000803e3d6000fd5b5050505060005b82518110156200015857818181518110620000f557620000f56200043f565b6020026020010151600760008584815181106200011657620001166200043f565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000208190555080806200014f9062000455565b915050620000d6565b5081516200016e906006906020850190620001c9565b50505050506200047d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b82805482825590600052602060002090810192821562000221579160200282015b828111156200022157825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620001ea565b506200022f92915062000233565b5090565b5b808211156200022f576000815560010162000234565b80516001600160a01b03811681146200026257600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715620002a857620002a862000267565b604052919050565b60006001600160401b03821115620002cc57620002cc62000267565b5060051b60200190565b600082601f830112620002e857600080fd5b8151602062000301620002fb83620002b0565b6200027d565b82815260059290921b840181019181810190868411156200032157600080fd5b8286015b848110156200033e578051835291830191830162000325565b509695505050505050565b600080600080608085870312156200036057600080fd5b6200036b856200024a565b935060206200037c8187016200024a565b60408701519094506001600160401b03808211156200039a57600080fd5b818801915088601f830112620003af57600080fd5b8151620003c0620002fb82620002b0565b81815260059190911b8301840190848101908b831115620003e057600080fd5b938501935b828510156200040957620003f9856200024a565b82529385019390850190620003e5565b60608b015190975094505050808311156200042357600080fd5b50506200043387828801620002d6565b91505092959194509250565b634e487b7160e01b600052603260045260246000fd5b6000600182016200047657634e487b7160e01b600052601160045260246000fd5b5060010190565b611021806200048d6000396000f3fe6080604052600436106101185760003560e01c8063908d71ac116100a0578063d027ed4e11610064578063d027ed4e14610346578063d70553141461035b578063f2270a7e1461037c578063f2fde38b1461039c578063fc5d554f146103bc57600080fd5b8063908d71ac14610275578063973781eb14610295578063b2af127c146102d0578063b4186e11146102f0578063cbf4631c1461033057600080fd5b806351aa08fa116100e757806351aa08fa146101ca5780635c8095ea146102025780636886d35c14610222578063715018a6146102425780638da5cb5b1461025757600080fd5b806317de47e21461013c57806338e6f95c1461015e5780633ccfd60b1461019557806349df728c146101aa57600080fd5b3661013757346008600082825461012f9190610d5e565b925050819055005b600080fd5b34801561014857600080fd5b5061015c610157366004610d8d565b6103dc565b005b34801561016a57600080fd5b5060005461017f90600160a81b900460ff1681565b60405161018c9190610e61565b60405180910390f35b3480156101a157600080fd5b5061015c610717565b3480156101b657600080fd5b5061015c6101c5366004610e9e565b6107f8565b3480156101d657600080fd5b506005546101ea906001600160a01b031681565b6040516001600160a01b03909116815260200161018c565b34801561020e57600080fd5b506101ea61021d366004610ec2565b61098e565b34801561022e57600080fd5b5061015c61023d366004610e9e565b6109b8565b34801561024e57600080fd5b5061015c6109e7565b34801561026357600080fd5b506000546001600160a01b03166101ea565b34801561028157600080fd5b506004546101ea906001600160a01b031681565b3480156102a157600080fd5b506102c26102b0366004610ec2565b60036020526000908152604090205481565b60405190815260200161018c565b3480156102dc57600080fd5b5061015c6102eb366004610e9e565b6109fb565b3480156102fc57600080fd5b5061032061030b366004610e9e565b60016020526000908152604090205460ff1681565b604051901515815260200161018c565b34801561033c57600080fd5b506102c260025481565b34801561035257600080fd5b5061015c610ae4565b34801561036757600080fd5b5060005461032090600160a01b900460ff1681565b34801561038857600080fd5b5061015c610397366004610edb565b610b0d565b3480156103a857600080fd5b5061015c6103b7366004610e9e565b610b8b565b3480156103c857600080fd5b506103206103d7366004610ec2565b610c04565b600054600160a01b900460ff166104205760405162461bcd60e51b815260206004820152600360248201526262696f60e81b60448201526064015b60405180910390fd5b6001600054600160a81b900460ff16600281111561044057610440610e4b565b148061048257503360009081526001602052604090205460ff168015610482575060008054600160a81b900460ff16600281111561048057610480610e4b565b145b6104b75760405162461bcd60e51b8152600401610417906020808252600490820152636d732f6160e01b604082015260600190565b60008080600180825b86518110156106395760fa8782815181106104dd576104dd610efc565b60200260200101516104ef9190610f28565b935085841461051557600095865260036020526040862080549095179094559193928492905b60006105228760fa610f3c565b88838151811061053457610534610efc565b60200260200101516105469190610f53565b905083801561056f575060008781526003602052604090205461056d90600290831c610f66565b155b93508280156106145750600454885133916001600160a01b031690636352211e908b90869081106105a2576105a2610efc565b60200260200101516040518263ffffffff1660e01b81526004016105c891815260200190565b602060405180830381865afa1580156105e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106099190610f7a565b6001600160a01b0316145b92506106236001821b87610d5e565b955050808061063190610f97565b9150506104c0565b508180156106445750805b6106765760405162461bcd60e51b8152602060048201526003602482015262663b6960e81b6044820152606401610417565b6000858152600360205260409081902080548617905560055487519151630dec90a160e11b81523360048201819052602482015260448101929092526001600160a01b031690631bd9214290606401600060405180830381600087803b1580156106df57600080fd5b505af11580156106f3573d6000803e3d6000fd5b5050505085516002600082825461070a9190610d5e565b9091555050505050505050565b61071f610c56565b3360009081526007602052604081205460085461073f9061271090610f28565b6107499190610f3c565b33600090815260096020526040812054919250906107679083610f53565b33600081815260096020526040808220869055519293509183908381818185875af1925050503d80600081146107b9576040519150601f19603f3d011682016040523d82523d6000602084013e6107be565b606091505b50509050806107f35760405162461bcd60e51b81526020600482015260016024820152602360f91b6044820152606401610417565b505050565b610800610c56565b60005b60065481101561098a57816001600160a01b031663a9059cbb6006838154811061082f5761082f610efc565b9060005260206000200160009054906101000a90046001600160a01b0316600760006006868154811061086457610864610efc565b60009182526020808320909101546001600160a01b03908116845290830193909352604091820190205490516370a0823160e01b8152306004820152909161271091908816906370a0823190602401602060405180830381865afa1580156108d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f49190610fb0565b6108fe9190610f28565b6109089190610f3c565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610953573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109779190610fc9565b508061098281610f97565b915050610803565b5050565b6006818154811061099e57600080fd5b6000918252602090912001546001600160a01b0316905081565b6109c0610c9e565b6001600160a01b03166000908152600160208190526040909120805460ff19169091179055565b6109ef610c9e565b6109f96000610cf8565b565b610a03610c9e565b6040516370a0823160e01b81523060048201526001600160a01b0382169063a9059cbb90339083906370a0823190602401602060405180830381865afa158015610a51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a759190610fb0565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610ac0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098a9190610fc9565b610aec610c9e565b6000805460ff60a01b198116600160a01b9182900460ff1615909102179055565b610b15610c9e565b6000816002811115610b2957610b29610e4b565b14158015610b5557506002600054600160a81b900460ff166002811115610b5257610b52610e4b565b14155b610b5e57600080fd5b6000805482919060ff60a81b1916600160a81b836002811115610b8357610b83610e4b565b021790555050565b610b93610c9e565b6001600160a01b038116610bf85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610417565b610c0181610cf8565b50565b600080610c1260fa84610f28565b90506000610c218260fa610f3c565b610c2b9085610f53565b600083815260036020526040902054909150610c4b90600290831c610f66565b600114949350505050565b336000908152600760205260409020546109f95760405162461bcd60e51b81526020600482015260096024820152681b9bdd0818985cd95960ba1b6044820152606401610417565b6000546001600160a01b031633146109f95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610417565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610d7157610d71610d48565b92915050565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215610da057600080fd5b823567ffffffffffffffff80821115610db857600080fd5b818501915085601f830112610dcc57600080fd5b813581811115610dde57610dde610d77565b8060051b604051601f19603f83011681018181108582111715610e0357610e03610d77565b604052918252848201925083810185019188831115610e2157600080fd5b938501935b82851015610e3f57843584529385019392850192610e26565b98975050505050505050565b634e487b7160e01b600052602160045260246000fd5b6020810160038310610e8357634e487b7160e01b600052602160045260246000fd5b91905290565b6001600160a01b0381168114610c0157600080fd5b600060208284031215610eb057600080fd5b8135610ebb81610e89565b9392505050565b600060208284031215610ed457600080fd5b5035919050565b600060208284031215610eed57600080fd5b813560038110610ebb57600080fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601260045260246000fd5b600082610f3757610f37610f12565b500490565b8082028115828204841417610d7157610d71610d48565b81810381811115610d7157610d71610d48565b600082610f7557610f75610f12565b500690565b600060208284031215610f8c57600080fd5b8151610ebb81610e89565b600060018201610fa957610fa9610d48565b5060010190565b600060208284031215610fc257600080fd5b5051919050565b600060208284031215610fdb57600080fd5b81518015158114610ebb57600080fdfea26469706673582212207ea73a3a8a11b931537fa2f0c0dd02fc8e2ffa18141943462f61b1e2bad3e3b964736f6c634300081100330000000000000000000000006c5a06ae6b773457480c12f12c2fb22627507a3a000000000000000000000000694ec2dffd101e08dfa2e7ce782381b498896d72000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000236e5fc476d2f944ce441c50faf158a0a55fed040000000000000000000000005d5ee1d6b3c12b07519020b0b14a495d518be78d000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000005dc0000000000000000000000000000000000000000000000000000000000002134
Deployed Bytecode
0x6080604052600436106101185760003560e01c8063908d71ac116100a0578063d027ed4e11610064578063d027ed4e14610346578063d70553141461035b578063f2270a7e1461037c578063f2fde38b1461039c578063fc5d554f146103bc57600080fd5b8063908d71ac14610275578063973781eb14610295578063b2af127c146102d0578063b4186e11146102f0578063cbf4631c1461033057600080fd5b806351aa08fa116100e757806351aa08fa146101ca5780635c8095ea146102025780636886d35c14610222578063715018a6146102425780638da5cb5b1461025757600080fd5b806317de47e21461013c57806338e6f95c1461015e5780633ccfd60b1461019557806349df728c146101aa57600080fd5b3661013757346008600082825461012f9190610d5e565b925050819055005b600080fd5b34801561014857600080fd5b5061015c610157366004610d8d565b6103dc565b005b34801561016a57600080fd5b5060005461017f90600160a81b900460ff1681565b60405161018c9190610e61565b60405180910390f35b3480156101a157600080fd5b5061015c610717565b3480156101b657600080fd5b5061015c6101c5366004610e9e565b6107f8565b3480156101d657600080fd5b506005546101ea906001600160a01b031681565b6040516001600160a01b03909116815260200161018c565b34801561020e57600080fd5b506101ea61021d366004610ec2565b61098e565b34801561022e57600080fd5b5061015c61023d366004610e9e565b6109b8565b34801561024e57600080fd5b5061015c6109e7565b34801561026357600080fd5b506000546001600160a01b03166101ea565b34801561028157600080fd5b506004546101ea906001600160a01b031681565b3480156102a157600080fd5b506102c26102b0366004610ec2565b60036020526000908152604090205481565b60405190815260200161018c565b3480156102dc57600080fd5b5061015c6102eb366004610e9e565b6109fb565b3480156102fc57600080fd5b5061032061030b366004610e9e565b60016020526000908152604090205460ff1681565b604051901515815260200161018c565b34801561033c57600080fd5b506102c260025481565b34801561035257600080fd5b5061015c610ae4565b34801561036757600080fd5b5060005461032090600160a01b900460ff1681565b34801561038857600080fd5b5061015c610397366004610edb565b610b0d565b3480156103a857600080fd5b5061015c6103b7366004610e9e565b610b8b565b3480156103c857600080fd5b506103206103d7366004610ec2565b610c04565b600054600160a01b900460ff166104205760405162461bcd60e51b815260206004820152600360248201526262696f60e81b60448201526064015b60405180910390fd5b6001600054600160a81b900460ff16600281111561044057610440610e4b565b148061048257503360009081526001602052604090205460ff168015610482575060008054600160a81b900460ff16600281111561048057610480610e4b565b145b6104b75760405162461bcd60e51b8152600401610417906020808252600490820152636d732f6160e01b604082015260600190565b60008080600180825b86518110156106395760fa8782815181106104dd576104dd610efc565b60200260200101516104ef9190610f28565b935085841461051557600095865260036020526040862080549095179094559193928492905b60006105228760fa610f3c565b88838151811061053457610534610efc565b60200260200101516105469190610f53565b905083801561056f575060008781526003602052604090205461056d90600290831c610f66565b155b93508280156106145750600454885133916001600160a01b031690636352211e908b90869081106105a2576105a2610efc565b60200260200101516040518263ffffffff1660e01b81526004016105c891815260200190565b602060405180830381865afa1580156105e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106099190610f7a565b6001600160a01b0316145b92506106236001821b87610d5e565b955050808061063190610f97565b9150506104c0565b508180156106445750805b6106765760405162461bcd60e51b8152602060048201526003602482015262663b6960e81b6044820152606401610417565b6000858152600360205260409081902080548617905560055487519151630dec90a160e11b81523360048201819052602482015260448101929092526001600160a01b031690631bd9214290606401600060405180830381600087803b1580156106df57600080fd5b505af11580156106f3573d6000803e3d6000fd5b5050505085516002600082825461070a9190610d5e565b9091555050505050505050565b61071f610c56565b3360009081526007602052604081205460085461073f9061271090610f28565b6107499190610f3c565b33600090815260096020526040812054919250906107679083610f53565b33600081815260096020526040808220869055519293509183908381818185875af1925050503d80600081146107b9576040519150601f19603f3d011682016040523d82523d6000602084013e6107be565b606091505b50509050806107f35760405162461bcd60e51b81526020600482015260016024820152602360f91b6044820152606401610417565b505050565b610800610c56565b60005b60065481101561098a57816001600160a01b031663a9059cbb6006838154811061082f5761082f610efc565b9060005260206000200160009054906101000a90046001600160a01b0316600760006006868154811061086457610864610efc565b60009182526020808320909101546001600160a01b03908116845290830193909352604091820190205490516370a0823160e01b8152306004820152909161271091908816906370a0823190602401602060405180830381865afa1580156108d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f49190610fb0565b6108fe9190610f28565b6109089190610f3c565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610953573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109779190610fc9565b508061098281610f97565b915050610803565b5050565b6006818154811061099e57600080fd5b6000918252602090912001546001600160a01b0316905081565b6109c0610c9e565b6001600160a01b03166000908152600160208190526040909120805460ff19169091179055565b6109ef610c9e565b6109f96000610cf8565b565b610a03610c9e565b6040516370a0823160e01b81523060048201526001600160a01b0382169063a9059cbb90339083906370a0823190602401602060405180830381865afa158015610a51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a759190610fb0565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610ac0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098a9190610fc9565b610aec610c9e565b6000805460ff60a01b198116600160a01b9182900460ff1615909102179055565b610b15610c9e565b6000816002811115610b2957610b29610e4b565b14158015610b5557506002600054600160a81b900460ff166002811115610b5257610b52610e4b565b14155b610b5e57600080fd5b6000805482919060ff60a81b1916600160a81b836002811115610b8357610b83610e4b565b021790555050565b610b93610c9e565b6001600160a01b038116610bf85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610417565b610c0181610cf8565b50565b600080610c1260fa84610f28565b90506000610c218260fa610f3c565b610c2b9085610f53565b600083815260036020526040902054909150610c4b90600290831c610f66565b600114949350505050565b336000908152600760205260409020546109f95760405162461bcd60e51b81526020600482015260096024820152681b9bdd0818985cd95960ba1b6044820152606401610417565b6000546001600160a01b031633146109f95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610417565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610d7157610d71610d48565b92915050565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215610da057600080fd5b823567ffffffffffffffff80821115610db857600080fd5b818501915085601f830112610dcc57600080fd5b813581811115610dde57610dde610d77565b8060051b604051601f19603f83011681018181108582111715610e0357610e03610d77565b604052918252848201925083810185019188831115610e2157600080fd5b938501935b82851015610e3f57843584529385019392850192610e26565b98975050505050505050565b634e487b7160e01b600052602160045260246000fd5b6020810160038310610e8357634e487b7160e01b600052602160045260246000fd5b91905290565b6001600160a01b0381168114610c0157600080fd5b600060208284031215610eb057600080fd5b8135610ebb81610e89565b9392505050565b600060208284031215610ed457600080fd5b5035919050565b600060208284031215610eed57600080fd5b813560038110610ebb57600080fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601260045260246000fd5b600082610f3757610f37610f12565b500490565b8082028115828204841417610d7157610d71610d48565b81810381811115610d7157610d71610d48565b600082610f7557610f75610f12565b500690565b600060208284031215610f8c57600080fd5b8151610ebb81610e89565b600060018201610fa957610fa9610d48565b5060010190565b600060208284031215610fc257600080fd5b5051919050565b600060208284031215610fdb57600080fd5b81518015158114610ebb57600080fdfea26469706673582212207ea73a3a8a11b931537fa2f0c0dd02fc8e2ffa18141943462f61b1e2bad3e3b964736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000006c5a06ae6b773457480c12f12c2fb22627507a3a000000000000000000000000694ec2dffd101e08dfa2e7ce782381b498896d72000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000236e5fc476d2f944ce441c50faf158a0a55fed040000000000000000000000005d5ee1d6b3c12b07519020b0b14a495d518be78d000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000005dc0000000000000000000000000000000000000000000000000000000000002134
-----Decoded View---------------
Arg [0] : cbeAddy_ (address): 0x6C5a06AE6b773457480c12F12C2fB22627507A3A
Arg [1] : storageLayer_ (address): 0x694Ec2DfFd101E08Dfa2E7Ce782381b498896D72
Arg [2] : based_ (address[]): 0x236E5fc476D2f944CE441c50fAF158a0a55fed04,0x5d5EE1d6b3C12b07519020b0B14A495d518be78D
Arg [3] : howBased_ (uint256[]): 1500,8500
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000006c5a06ae6b773457480c12f12c2fb22627507a3a
Arg [1] : 000000000000000000000000694ec2dffd101e08dfa2e7ce782381b498896d72
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [5] : 000000000000000000000000236e5fc476d2f944ce441c50faf158a0a55fed04
Arg [6] : 0000000000000000000000005d5ee1d6b3c12b07519020b0b14a495d518be78d
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [8] : 00000000000000000000000000000000000000000000000000000000000005dc
Arg [9] : 0000000000000000000000000000000000000000000000000000000000002134
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.