Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 2,260 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Save Pepe | 18993423 | 174 days ago | IN | 0 ETH | 0.00218339 | ||||
Save Pepe | 18968687 | 177 days ago | IN | 0 ETH | 0.02404735 | ||||
Save Pepe | 18952245 | 179 days ago | IN | 0 ETH | 0.01814348 | ||||
Save Pepe | 18952185 | 179 days ago | IN | 0 ETH | 0.01958886 | ||||
Save Pepe | 18952177 | 179 days ago | IN | 0 ETH | 0.00950592 | ||||
Save Pepe | 18952172 | 179 days ago | IN | 0 ETH | 0.01477863 | ||||
Save Pepe | 18952165 | 179 days ago | IN | 0 ETH | 0.02165653 | ||||
Save Pepe | 18952151 | 179 days ago | IN | 0 ETH | 0.01678928 | ||||
Save Pepe | 18952148 | 179 days ago | IN | 0 ETH | 0.01635994 | ||||
Save Pepe | 18952139 | 179 days ago | IN | 0 ETH | 0.0171659 | ||||
Save Pepe | 18952092 | 179 days ago | IN | 0 ETH | 0.01542949 | ||||
Save Pepe | 18952089 | 179 days ago | IN | 0 ETH | 0.01218955 | ||||
Save Pepe | 18952085 | 179 days ago | IN | 0 ETH | 0.01885152 | ||||
Save Pepe | 18952082 | 179 days ago | IN | 0 ETH | 0.02211167 | ||||
Save Pepe | 18952077 | 179 days ago | IN | 0 ETH | 0.0178207 | ||||
Save Pepe | 18952058 | 179 days ago | IN | 0 ETH | 0.01814723 | ||||
Save Pepe | 18952034 | 179 days ago | IN | 0 ETH | 0.01557219 | ||||
Save Pepe | 18952028 | 179 days ago | IN | 0 ETH | 0.02145775 | ||||
Save Pepe | 18952025 | 179 days ago | IN | 0 ETH | 0.0146921 | ||||
Save Pepe | 18951656 | 179 days ago | IN | 0 ETH | 0.00956453 | ||||
Save Pepe | 18951651 | 179 days ago | IN | 0 ETH | 0.01643407 | ||||
Save Pepe | 18951647 | 179 days ago | IN | 0 ETH | 0.01199655 | ||||
Save Pepe | 18951643 | 179 days ago | IN | 0 ETH | 0.0166041 | ||||
Save Pepe | 18951634 | 179 days ago | IN | 0 ETH | 0.01586885 | ||||
Save Pepe | 18951621 | 179 days ago | IN | 0 ETH | 0.01502342 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | Value | ||
---|---|---|---|---|---|---|
9827423 | 1549 days ago | 0.55368026 ETH | ||||
7443270 | 1927 days ago | 0.01925 ETH | ||||
7443251 | 1927 days ago | 0.01925 ETH | ||||
7443239 | 1927 days ago | 0.01925 ETH | ||||
7443199 | 1927 days ago | 0.01925 ETH | ||||
7443161 | 1927 days ago | 0.01925 ETH | ||||
7323022 | 1946 days ago | 0.00185625 ETH | ||||
7323022 | 1946 days ago | 0.0952875 ETH | ||||
7288319 | 1951 days ago | 0.00000197 ETH | ||||
7288319 | 1951 days ago | 0.06078959 ETH | ||||
7265665 | 1956 days ago | 0.01925 ETH | ||||
7086114 | 1994 days ago | 0.00001671 ETH | ||||
7086114 | 1994 days ago | 0.01047516 ETH | ||||
7068560 | 1997 days ago | 0.00000702 ETH | ||||
7068560 | 1997 days ago | 0.01282335 ETH | ||||
7058560 | 1999 days ago | 0.00000111 ETH | ||||
7058560 | 1999 days ago | 0.00963259 ETH | ||||
7054300 | 2000 days ago | 0.00000083 ETH | ||||
7054300 | 2000 days ago | 0.02058707 ETH | ||||
7043568 | 2002 days ago | 0.077 ETH | ||||
7037445 | 2003 days ago | 0.28875 ETH | ||||
7031815 | 2004 days ago | 0.00000531 ETH | ||||
7031815 | 2004 days ago | 0.10212019 ETH | ||||
7012926 | 2007 days ago | 0.00000862 ETH | ||||
7012926 | 2007 days ago | 0.09672294 ETH |
Loading...
Loading
Contract Name:
PepeAuctionSale
Compiler Version
v0.4.25+commit.59dbf8f1
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-10-09 */ pragma solidity ^0.4.24; // File: openzeppelin-solidity/contracts/ownership/Ownable.sol /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwner); event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ constructor() public { owner = msg.sender; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(msg.sender == owner); _; } /** * @dev Allows the current owner to relinquish control of the contract. * @notice Renouncing to ownership will leave the contract without an owner. * It will not be possible to call the functions with the `onlyOwner` * modifier anymore. */ function renounceOwnership() public onlyOwner { emit OwnershipRenounced(owner); owner = address(0); } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param _newOwner The address to transfer ownership to. */ function transferOwnership(address _newOwner) public onlyOwner { _transferOwnership(_newOwner); } /** * @dev Transfers control of the contract to a newOwner. * @param _newOwner The address to transfer ownership to. */ function _transferOwnership(address _newOwner) internal { require(_newOwner != address(0)); emit OwnershipTransferred(owner, _newOwner); owner = _newOwner; } } // File: contracts/Beneficiary.sol // solhint-disable-next-line pragma solidity ^0.4.24; /** @title Beneficiary */ contract Beneficiary is Ownable { address public beneficiary; constructor() public { beneficiary = msg.sender; } /** * @dev Change the beneficiary address * @param _beneficiary Address of the new beneficiary */ function setBeneficiary(address _beneficiary) public onlyOwner { beneficiary = _beneficiary; } } // File: contracts/Affiliate.sol // solhint-disable-next-line pragma solidity ^0.4.25; /** @title Affiliate */ contract Affiliate is Ownable { mapping(address => bool) public canSetAffiliate; mapping(address => address) public userToAffiliate; /** @dev Allows an address to set the affiliate address for a user * @param _setter The address that should be allowed */ function setAffiliateSetter(address _setter) public onlyOwner { canSetAffiliate[_setter] = true; } /** * @dev Set the affiliate of a user * @param _user user to set affiliate for * @param _affiliate address to set */ function setAffiliate(address _user, address _affiliate) public { require(canSetAffiliate[msg.sender]); if (userToAffiliate[_user] == address(0)) { userToAffiliate[_user] = _affiliate; } } } // File: contracts/interfaces/ERC721.sol contract ERC721 { function implementsERC721() public pure returns (bool); function totalSupply() public view returns (uint256 total); function balanceOf(address _owner) public view returns (uint256 balance); function ownerOf(uint256 _tokenId) public view returns (address owner); function approve(address _to, uint256 _tokenId) public; function transferFrom(address _from, address _to, uint256 _tokenId) public returns (bool) ; function transfer(address _to, uint256 _tokenId) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); // Optional // function name() public view returns (string name); // function symbol() public view returns (string symbol); // function tokenOfOwnerByIndex(address _owner, uint256 _index) external view returns (uint256 tokenId); // function tokenMetadata(uint256 _tokenId) public view returns (string infoUrl); } // File: contracts/interfaces/PepeInterface.sol contract PepeInterface is ERC721{ function cozyTime(uint256 _mother, uint256 _father, address _pepeReceiver) public returns (bool); function getCozyAgain(uint256 _pepeId) public view returns(uint64); } // File: contracts/AuctionBase.sol // solhint-disable-next-line pragma solidity ^0.4.24; /** @title AuctionBase */ contract AuctionBase is Beneficiary { mapping(uint256 => PepeAuction) public auctions;//maps pepes to auctions PepeInterface public pepeContract; Affiliate public affiliateContract; uint256 public fee = 37500; //in 1 10000th of a percent so 3.75% at the start uint256 public constant FEE_DIVIDER = 1000000; //Perhaps needs better name? struct PepeAuction { address seller; uint256 pepeId; uint64 auctionBegin; uint64 auctionEnd; uint256 beginPrice; uint256 endPrice; } event AuctionWon(uint256 indexed pepe, address indexed winner, address indexed seller); event AuctionStarted(uint256 indexed pepe, address indexed seller); event AuctionFinalized(uint256 indexed pepe, address indexed seller); constructor(address _pepeContract, address _affiliateContract) public { pepeContract = PepeInterface(_pepeContract); affiliateContract = Affiliate(_affiliateContract); } /** * @dev Return a pepe from a auction that has passed * @param _pepeId the id of the pepe to save */ function savePepe(uint256 _pepeId) external { // solhint-disable-next-line not-rely-on-time require(auctions[_pepeId].auctionEnd < now);//auction must have ended require(pepeContract.transfer(auctions[_pepeId].seller, _pepeId));//transfer pepe back to seller emit AuctionFinalized(_pepeId, auctions[_pepeId].seller); delete auctions[_pepeId];//delete auction } /** * @dev change the fee on pepe sales. Can only be lowerred * @param _fee The new fee to set. Must be lower than current fee */ function changeFee(uint256 _fee) external onlyOwner { require(_fee < fee);//fee can not be raised fee = _fee; } /** * @dev Start a auction * @param _pepeId Pepe to sell * @param _beginPrice Price at which the auction starts * @param _endPrice Ending price of the auction * @param _duration How long the auction should take */ function startAuction(uint256 _pepeId, uint256 _beginPrice, uint256 _endPrice, uint64 _duration) public { require(pepeContract.transferFrom(msg.sender, address(this), _pepeId)); // solhint-disable-next-line not-rely-on-time require(now > auctions[_pepeId].auctionEnd);//can only start new auction if no other is active PepeAuction memory auction; auction.seller = msg.sender; auction.pepeId = _pepeId; // solhint-disable-next-line not-rely-on-time auction.auctionBegin = uint64(now); // solhint-disable-next-line not-rely-on-time auction.auctionEnd = uint64(now) + _duration; require(auction.auctionEnd > auction.auctionBegin); auction.beginPrice = _beginPrice; auction.endPrice = _endPrice; auctions[_pepeId] = auction; emit AuctionStarted(_pepeId, msg.sender); } /** * @dev directly start a auction from the PepeBase contract * @param _pepeId Pepe to put on auction * @param _beginPrice Price at which the auction starts * @param _endPrice Ending price of the auction * @param _duration How long the auction should take * @param _seller The address selling the pepe */ // solhint-disable-next-line max-line-length function startAuctionDirect(uint256 _pepeId, uint256 _beginPrice, uint256 _endPrice, uint64 _duration, address _seller) public { require(msg.sender == address(pepeContract)); //can only be called by pepeContract //solhint-disable-next-line not-rely-on-time require(now > auctions[_pepeId].auctionEnd);//can only start new auction if no other is active PepeAuction memory auction; auction.seller = _seller; auction.pepeId = _pepeId; // solhint-disable-next-line not-rely-on-time auction.auctionBegin = uint64(now); // solhint-disable-next-line not-rely-on-time auction.auctionEnd = uint64(now) + _duration; require(auction.auctionEnd > auction.auctionBegin); auction.beginPrice = _beginPrice; auction.endPrice = _endPrice; auctions[_pepeId] = auction; emit AuctionStarted(_pepeId, _seller); } /** * @dev Calculate the current price of a auction * @param _pepeId the pepeID to calculate the current price for * @return currentBid the current price for the auction */ function calculateBid(uint256 _pepeId) public view returns(uint256 currentBid) { PepeAuction storage auction = auctions[_pepeId]; // solhint-disable-next-line not-rely-on-time uint256 timePassed = now - auctions[_pepeId].auctionBegin; // If auction ended return auction end price. // solhint-disable-next-line not-rely-on-time if (now >= auction.auctionEnd) { return auction.endPrice; } else { // Can be negative int256 priceDifference = int256(auction.endPrice) - int256(auction.beginPrice); // Always positive int256 duration = int256(auction.auctionEnd) - int256(auction.auctionBegin); // As already proven in practice by CryptoKitties: // timePassed -> 64 bits at most // priceDifference -> 128 bits at most // timePassed * priceDifference -> 64 + 128 bits at most int256 priceChange = priceDifference * int256(timePassed) / duration; // Will be positive, both operands are less than 256 bits int256 price = int256(auction.beginPrice) + priceChange; return uint256(price); } } /** * @dev collect the fees from the auction */ function getFees() public { beneficiary.transfer(address(this).balance); } } // File: contracts/PepeAuctionSale.sol // solhint-disable-next-line pragma solidity ^0.4.19; //Most functionality is in the AuctionBase contract. //This contract is to buy pepes on the auction. contract PepeAuctionSale is AuctionBase { // solhint-disable-next-line constructor(address _pepeContract, address _affiliateContract) AuctionBase(_pepeContract, _affiliateContract) public { } /** * @dev Buy a pepe from the auction * @param _pepeId The id of the pepe to buy */ function buyPepe(uint256 _pepeId) public payable { PepeAuction storage auction = auctions[_pepeId]; // solhint-disable-next-line not-rely-on-time require(now < auction.auctionEnd);// auction must be still going uint256 price = calculateBid(_pepeId); require(msg.value >= price); //must send enough ether uint256 totalFee = price * fee / FEE_DIVIDER; //safe math needed? //Send ETH to seller auction.seller.transfer(price - totalFee); //send ETH to beneficiary // solhint-disable-next-line if(affiliateContract.userToAffiliate(msg.sender) != address(0) && affiliateContract.userToAffiliate(msg.sender).send(totalFee / 2)) { //if user has affiliate //nothing to do here. Just to suppress warning } //Send pepe to buyer if (!pepeContract.transfer(msg.sender, _pepeId)) { revert(); //can't complete transfer if this fails } emit AuctionWon(_pepeId, msg.sender, auction.seller); if (msg.value > price) { //return ether send to much msg.sender.transfer(msg.value - price); } delete auctions[_pepeId];//deletes auction } /** * @dev Buy a pepe and send along affiliate address * @param _pepeId The id of the pepe to buy * @param _affiliate address of the affiliate to set */ // solhint-disable-next-line func-order function buyPepeAffiliated(uint256 _pepeId, address _affiliate) external payable { affiliateContract.setAffiliate(msg.sender, _affiliate); buyPepe(_pepeId); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"affiliateContract","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"pepeContract","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_beneficiary","type":"address"}],"name":"setBeneficiary","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_pepeId","type":"uint256"}],"name":"calculateBid","outputs":[{"name":"currentBid","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"beneficiary","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"auctions","outputs":[{"name":"seller","type":"address"},{"name":"pepeId","type":"uint256"},{"name":"auctionBegin","type":"uint64"},{"name":"auctionEnd","type":"uint64"},{"name":"beginPrice","type":"uint256"},{"name":"endPrice","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_fee","type":"uint256"}],"name":"changeFee","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_pepeId","type":"uint256"},{"name":"_beginPrice","type":"uint256"},{"name":"_endPrice","type":"uint256"},{"name":"_duration","type":"uint64"}],"name":"startAuction","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"FEE_DIVIDER","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_pepeId","type":"uint256"}],"name":"savePepe","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_pepeId","type":"uint256"}],"name":"buyPepe","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_pepeId","type":"uint256"},{"name":"_beginPrice","type":"uint256"},{"name":"_endPrice","type":"uint256"},{"name":"_duration","type":"uint64"},{"name":"_seller","type":"address"}],"name":"startAuctionDirect","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"getFees","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"fee","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_pepeId","type":"uint256"},{"name":"_affiliate","type":"address"}],"name":"buyPepeAffiliated","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"inputs":[{"name":"_pepeContract","type":"address"},{"name":"_affiliateContract","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"pepe","type":"uint256"},{"indexed":true,"name":"winner","type":"address"},{"indexed":true,"name":"seller","type":"address"}],"name":"AuctionWon","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"pepe","type":"uint256"},{"indexed":true,"name":"seller","type":"address"}],"name":"AuctionStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"pepe","type":"uint256"},{"indexed":true,"name":"seller","type":"address"}],"name":"AuctionFinalized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"}],"name":"OwnershipRenounced","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]
Contract Creation Code
608060405261927c60055534801561001657600080fd5b50604051604080610fc88339810160405280516020909101516000805433600160a060020a0319918216811783556001805483169091179055600380548216600160a060020a039586161790556004805490911693909216929092179055610f4490819061008490396000f3006080604052600436106100fb5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630117200581146101005780631887a4d0146101315780631c31f710146101465780632d4a170a1461016957806338af3eed14610193578063571a26a0146101a85780636a1db1bf1461020a578063715018a61461022257806374a25d431461023757806378d6ade4146102625780638da5cb5b14610277578063a8f5c6731461028c578063b9a82f80146102a4578063d024cd02146102af578063db8d55f1146102e6578063ddca3f43146102fb578063f2fde38b14610310578063f49dec7014610331575b600080fd5b34801561010c57600080fd5b50610115610348565b60408051600160a060020a039092168252519081900360200190f35b34801561013d57600080fd5b50610115610357565b34801561015257600080fd5b50610167600160a060020a0360043516610366565b005b34801561017557600080fd5b5061018160043561039f565b60408051918252519081900360200190f35b34801561019f57600080fd5b50610115610444565b3480156101b457600080fd5b506101c0600435610453565b60408051600160a060020a039097168752602087019590955267ffffffffffffffff93841686860152919092166060850152608084019190915260a0830152519081900360c00190f35b34801561021657600080fd5b506101676004356104a6565b34801561022e57600080fd5b506101676104d0565b34801561024357600080fd5b5061016760043560243560443567ffffffffffffffff6064351661052f565b34801561026e57600080fd5b50610181610722565b34801561028357600080fd5b50610115610729565b34801561029857600080fd5b50610167600435610738565b6101676004356108ad565b3480156102bb57600080fd5b5061016760043560243560443567ffffffffffffffff60643516600160a060020a0360843516610c13565b3480156102f257600080fd5b50610167610d7d565b34801561030757600080fd5b50610181610dba565b34801561031c57600080fd5b50610167600160a060020a0360043516610dc0565b610167600435600160a060020a0360243516610de0565b600454600160a060020a031681565b600354600160a060020a031681565b600054600160a060020a0316331461037d57600080fd5b60018054600160a060020a031916600160a060020a0392909216919091179055565b600081815260026020819052604082209081015467ffffffffffffffff808216429081039285928392839283926801000000000000000090910416116103eb5785600401549650610439565b600386015460048701546002880154919003945067ffffffffffffffff80821668010000000000000000909204160392508285850281151561042957fe5b0591508186600301540190508096505b505050505050919050565b600154600160a060020a031681565b600260208190526000918252604090912080546001820154928201546003830154600490930154600160a060020a03909216939267ffffffffffffffff8083169368010000000000000000909304169186565b600054600160a060020a031633146104bd57600080fd5b60055481106104cb57600080fd5b600555565b600054600160a060020a031633146104e757600080fd5b60008054604051600160a060020a03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a260008054600160a060020a0319169055565b610537610ee3565b600354604080517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018890529051600160a060020a03909216916323b872dd916064808201926020929091908290030181600087803b1580156105aa57600080fd5b505af11580156105be573d6000803e3d6000fd5b505050506040513d60208110156105d457600080fd5b505115156105e157600080fd5b6000858152600260208190526040909120015468010000000000000000900467ffffffffffffffff16421161061557600080fd5b338152602081018590524267ffffffffffffffff8181166040840181905291840116606083018190521161064857600080fd5b6080810184815260a08201848152600087815260026020818152604080842087518154600160a060020a031916600160a060020a03909116178155918701516001830155808701519282018054606089015167ffffffffffffffff1990911667ffffffffffffffff958616176fffffffffffffffff000000000000000019166801000000000000000095909116949094029390931790925593516003850155915160049093019290925551339187917f16da476d7265fc95576888b93de4fa4849d6cea1228235887f569c6530ddfec19190a35050505050565b620f424081565b600054600160a060020a031681565b60008181526002602081905260409091200154426801000000000000000090910467ffffffffffffffff161061076d57600080fd5b60035460008281526002602090815260408083205481517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a03918216600482015260248101879052915194169363a9059cbb93604480840194938390030190829087803b1580156107e657600080fd5b505af11580156107fa573d6000803e3d6000fd5b505050506040513d602081101561081057600080fd5b5051151561081d57600080fd5b600081815260026020526040808220549051600160a060020a039091169183917f95b73f79c6d7b09d4dd9a323589aec50a424621f53a70ece1cc21aa75554b5199190a3600090815260026020819052604082208054600160a060020a03191681556001810183905590810180546fffffffffffffffffffffffffffffffff191690556003810182905560040155565b6000818152600260208190526040822090810154909190819068010000000000000000900467ffffffffffffffff1642106108e757600080fd5b6108f08461039f565b9150348211156108ff57600080fd5b600554620f42409083028454604051929091049250600160a060020a03169082840380156108fc02916000818181858888f19350505050158015610947573d6000803e3d6000fd5b5060048054604080517f873abd75000000000000000000000000000000000000000000000000000000008152339381019390935251600092600160a060020a039092169163873abd7591602480830192602092919082900301818787803b1580156109b157600080fd5b505af11580156109c5573d6000803e3d6000fd5b505050506040513d60208110156109db57600080fd5b5051600160a060020a031614801590610aab575060048054604080517f873abd75000000000000000000000000000000000000000000000000000000008152339381019390935251600160a060020a039091169163873abd759160248083019260209291908290030181600087803b158015610a5657600080fd5b505af1158015610a6a573d6000803e3d6000fd5b505050506040513d6020811015610a8057600080fd5b5051604051600160a060020a03909116906002830480156108fc02916000818181858888f193505050505b50600354604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018790529051600160a060020a039092169163a9059cbb916044808201926020929091908290030181600087803b158015610b1957600080fd5b505af1158015610b2d573d6000803e3d6000fd5b505050506040513d6020811015610b4357600080fd5b50511515610b5057600080fd5b8254604051600160a060020a0390911690339086907f94ffdfa810a5f08da0ec8ea0f74619814453cfc101a90504a3a8f77e0eb6198690600090a481341115610bc45760405133903484900380156108fc02916000818181858888f19350505050158015610bc2573d6000803e3d6000fd5b505b505050600090815260026020819052604082208054600160a060020a03191681556001810183905590810180546fffffffffffffffffffffffffffffffff191690556003810182905560040155565b610c1b610ee3565b600354600160a060020a03163314610c3257600080fd5b6000868152600260208190526040909120015468010000000000000000900467ffffffffffffffff164211610c6657600080fd5b600160a060020a0382168152602081018690524267ffffffffffffffff81811660408401819052918501166060830181905211610ca257600080fd5b6080810185815260a08201858152600088815260026020818152604080842087518154600160a060020a031916600160a060020a0391821617825592880151600182015581880151938101805460608a015167ffffffffffffffff1990911667ffffffffffffffff968716176fffffffffffffffff000000000000000019166801000000000000000096909116959095029490941790935594516003830155925160049091015591519084169188917f16da476d7265fc95576888b93de4fa4849d6cea1228235887f569c6530ddfec19190a3505050505050565b600154604051600160a060020a0390911690303180156108fc02916000818181858888f19350505050158015610db7573d6000803e3d6000fd5b50565b60055481565b600054600160a060020a03163314610dd757600080fd5b610db781610e73565b60048054604080517f7352e4b80000000000000000000000000000000000000000000000000000000081523393810193909352600160a060020a0384811660248501529051911691637352e4b891604480830192600092919082900301818387803b158015610e4e57600080fd5b505af1158015610e62573d6000803e3d6000fd5b50505050610e6f826108ad565b5050565b600160a060020a0381161515610e8857600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a360008054600160a060020a031916600160a060020a0392909216919091179055565b6040805160c081018252600080825260208201819052918101829052606081018290526080810182905260a0810191909152905600a165627a7a72305820be17e679560c791ac20d0fac375f106649098c8b69346a82b692f0be893c61dc002900000000000000000000000084ac94f17622241f313511b629e5e98f489ad6e400000000000000000000000008014573ff457d8e08d6fbf2813617def4f28e54
Deployed Bytecode
0x6080604052600436106100fb5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630117200581146101005780631887a4d0146101315780631c31f710146101465780632d4a170a1461016957806338af3eed14610193578063571a26a0146101a85780636a1db1bf1461020a578063715018a61461022257806374a25d431461023757806378d6ade4146102625780638da5cb5b14610277578063a8f5c6731461028c578063b9a82f80146102a4578063d024cd02146102af578063db8d55f1146102e6578063ddca3f43146102fb578063f2fde38b14610310578063f49dec7014610331575b600080fd5b34801561010c57600080fd5b50610115610348565b60408051600160a060020a039092168252519081900360200190f35b34801561013d57600080fd5b50610115610357565b34801561015257600080fd5b50610167600160a060020a0360043516610366565b005b34801561017557600080fd5b5061018160043561039f565b60408051918252519081900360200190f35b34801561019f57600080fd5b50610115610444565b3480156101b457600080fd5b506101c0600435610453565b60408051600160a060020a039097168752602087019590955267ffffffffffffffff93841686860152919092166060850152608084019190915260a0830152519081900360c00190f35b34801561021657600080fd5b506101676004356104a6565b34801561022e57600080fd5b506101676104d0565b34801561024357600080fd5b5061016760043560243560443567ffffffffffffffff6064351661052f565b34801561026e57600080fd5b50610181610722565b34801561028357600080fd5b50610115610729565b34801561029857600080fd5b50610167600435610738565b6101676004356108ad565b3480156102bb57600080fd5b5061016760043560243560443567ffffffffffffffff60643516600160a060020a0360843516610c13565b3480156102f257600080fd5b50610167610d7d565b34801561030757600080fd5b50610181610dba565b34801561031c57600080fd5b50610167600160a060020a0360043516610dc0565b610167600435600160a060020a0360243516610de0565b600454600160a060020a031681565b600354600160a060020a031681565b600054600160a060020a0316331461037d57600080fd5b60018054600160a060020a031916600160a060020a0392909216919091179055565b600081815260026020819052604082209081015467ffffffffffffffff808216429081039285928392839283926801000000000000000090910416116103eb5785600401549650610439565b600386015460048701546002880154919003945067ffffffffffffffff80821668010000000000000000909204160392508285850281151561042957fe5b0591508186600301540190508096505b505050505050919050565b600154600160a060020a031681565b600260208190526000918252604090912080546001820154928201546003830154600490930154600160a060020a03909216939267ffffffffffffffff8083169368010000000000000000909304169186565b600054600160a060020a031633146104bd57600080fd5b60055481106104cb57600080fd5b600555565b600054600160a060020a031633146104e757600080fd5b60008054604051600160a060020a03909116917ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482091a260008054600160a060020a0319169055565b610537610ee3565b600354604080517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018890529051600160a060020a03909216916323b872dd916064808201926020929091908290030181600087803b1580156105aa57600080fd5b505af11580156105be573d6000803e3d6000fd5b505050506040513d60208110156105d457600080fd5b505115156105e157600080fd5b6000858152600260208190526040909120015468010000000000000000900467ffffffffffffffff16421161061557600080fd5b338152602081018590524267ffffffffffffffff8181166040840181905291840116606083018190521161064857600080fd5b6080810184815260a08201848152600087815260026020818152604080842087518154600160a060020a031916600160a060020a03909116178155918701516001830155808701519282018054606089015167ffffffffffffffff1990911667ffffffffffffffff958616176fffffffffffffffff000000000000000019166801000000000000000095909116949094029390931790925593516003850155915160049093019290925551339187917f16da476d7265fc95576888b93de4fa4849d6cea1228235887f569c6530ddfec19190a35050505050565b620f424081565b600054600160a060020a031681565b60008181526002602081905260409091200154426801000000000000000090910467ffffffffffffffff161061076d57600080fd5b60035460008281526002602090815260408083205481517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a03918216600482015260248101879052915194169363a9059cbb93604480840194938390030190829087803b1580156107e657600080fd5b505af11580156107fa573d6000803e3d6000fd5b505050506040513d602081101561081057600080fd5b5051151561081d57600080fd5b600081815260026020526040808220549051600160a060020a039091169183917f95b73f79c6d7b09d4dd9a323589aec50a424621f53a70ece1cc21aa75554b5199190a3600090815260026020819052604082208054600160a060020a03191681556001810183905590810180546fffffffffffffffffffffffffffffffff191690556003810182905560040155565b6000818152600260208190526040822090810154909190819068010000000000000000900467ffffffffffffffff1642106108e757600080fd5b6108f08461039f565b9150348211156108ff57600080fd5b600554620f42409083028454604051929091049250600160a060020a03169082840380156108fc02916000818181858888f19350505050158015610947573d6000803e3d6000fd5b5060048054604080517f873abd75000000000000000000000000000000000000000000000000000000008152339381019390935251600092600160a060020a039092169163873abd7591602480830192602092919082900301818787803b1580156109b157600080fd5b505af11580156109c5573d6000803e3d6000fd5b505050506040513d60208110156109db57600080fd5b5051600160a060020a031614801590610aab575060048054604080517f873abd75000000000000000000000000000000000000000000000000000000008152339381019390935251600160a060020a039091169163873abd759160248083019260209291908290030181600087803b158015610a5657600080fd5b505af1158015610a6a573d6000803e3d6000fd5b505050506040513d6020811015610a8057600080fd5b5051604051600160a060020a03909116906002830480156108fc02916000818181858888f193505050505b50600354604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018790529051600160a060020a039092169163a9059cbb916044808201926020929091908290030181600087803b158015610b1957600080fd5b505af1158015610b2d573d6000803e3d6000fd5b505050506040513d6020811015610b4357600080fd5b50511515610b5057600080fd5b8254604051600160a060020a0390911690339086907f94ffdfa810a5f08da0ec8ea0f74619814453cfc101a90504a3a8f77e0eb6198690600090a481341115610bc45760405133903484900380156108fc02916000818181858888f19350505050158015610bc2573d6000803e3d6000fd5b505b505050600090815260026020819052604082208054600160a060020a03191681556001810183905590810180546fffffffffffffffffffffffffffffffff191690556003810182905560040155565b610c1b610ee3565b600354600160a060020a03163314610c3257600080fd5b6000868152600260208190526040909120015468010000000000000000900467ffffffffffffffff164211610c6657600080fd5b600160a060020a0382168152602081018690524267ffffffffffffffff81811660408401819052918501166060830181905211610ca257600080fd5b6080810185815260a08201858152600088815260026020818152604080842087518154600160a060020a031916600160a060020a0391821617825592880151600182015581880151938101805460608a015167ffffffffffffffff1990911667ffffffffffffffff968716176fffffffffffffffff000000000000000019166801000000000000000096909116959095029490941790935594516003830155925160049091015591519084169188917f16da476d7265fc95576888b93de4fa4849d6cea1228235887f569c6530ddfec19190a3505050505050565b600154604051600160a060020a0390911690303180156108fc02916000818181858888f19350505050158015610db7573d6000803e3d6000fd5b50565b60055481565b600054600160a060020a03163314610dd757600080fd5b610db781610e73565b60048054604080517f7352e4b80000000000000000000000000000000000000000000000000000000081523393810193909352600160a060020a0384811660248501529051911691637352e4b891604480830192600092919082900301818387803b158015610e4e57600080fd5b505af1158015610e62573d6000803e3d6000fd5b50505050610e6f826108ad565b5050565b600160a060020a0381161515610e8857600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a360008054600160a060020a031916600160a060020a0392909216919091179055565b6040805160c081018252600080825260208201819052918101829052606081018290526080810182905260a0810191909152905600a165627a7a72305820be17e679560c791ac20d0fac375f106649098c8b69346a82b692f0be893c61dc0029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000084ac94f17622241f313511b629e5e98f489ad6e400000000000000000000000008014573ff457d8e08d6fbf2813617def4f28e54
-----Decoded View---------------
Arg [0] : _pepeContract (address): 0x84aC94F17622241f313511B629e5E98f489AD6E4
Arg [1] : _affiliateContract (address): 0x08014573FF457D8e08D6Fbf2813617Def4f28E54
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000084ac94f17622241f313511b629e5e98f489ad6e4
Arg [1] : 00000000000000000000000008014573ff457d8e08d6fbf2813617def4f28e54
Swarm Source
bzzr://be17e679560c791ac20d0fac375f106649098c8b69346a82b692f0be893c61dc
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 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.