Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
Latest 25 from a total of 73 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Gimme Tendies | 5153531 | 2923 days ago | IN | 0 ETH | 0.00019092 | ||||
| Return Eth | 5153292 | 2923 days ago | IN | 0 ETH | 0.0001542 | ||||
| Return Eth | 5153194 | 2923 days ago | IN | 0 ETH | 0.00034003 | ||||
| Adopt | 5153189 | 2923 days ago | IN | 0.32 ETH | 0.00049688 | ||||
| Return Eth | 5153175 | 2923 days ago | IN | 0 ETH | 0.00007678 | ||||
| Return Eth | 5153168 | 2923 days ago | IN | 0 ETH | 0.00007662 | ||||
| Return Eth | 5153167 | 2923 days ago | IN | 1 wei | 0.00024723 | ||||
| Return Eth | 5153164 | 2923 days ago | IN | 1 wei | 0.00015452 | ||||
| Return Eth | 5153162 | 2923 days ago | IN | 1 wei | 0.00395673 | ||||
| Return Eth | 5153153 | 2923 days ago | IN | 0 ETH | 0.00004765 | ||||
| Adopt | 5153149 | 2923 days ago | IN | 0.16 ETH | 0.00014906 | ||||
| Adopt | 5153079 | 2923 days ago | IN | 0.16 ETH | 0.00014906 | ||||
| Return Eth | 5153078 | 2923 days ago | IN | 0 ETH | 0.00055641 | ||||
| Return Eth | 5153074 | 2923 days ago | IN | 0 ETH | 0.00051271 | ||||
| Adopt | 5153066 | 2923 days ago | IN | 0.32 ETH | 0.00014906 | ||||
| Adopt | 5153058 | 2923 days ago | IN | 0.32 ETH | 0.00014887 | ||||
| Adopt | 5153021 | 2923 days ago | IN | 0.16 ETH | 0.00009924 | ||||
| Return Eth | 5153004 | 2923 days ago | IN | 0 ETH | 0.00034003 | ||||
| Return Eth | 5152992 | 2923 days ago | IN | 0 ETH | 0.0002442 | ||||
| Adopt | 5152982 | 2923 days ago | IN | 0.08 ETH | 0.00029812 | ||||
| Adopt | 5152967 | 2923 days ago | IN | 0.16 ETH | 0.00024844 | ||||
| Adopt | 5152964 | 2923 days ago | IN | 0.16 ETH | 0.00024844 | ||||
| Adopt | 5152960 | 2923 days ago | IN | 0.08 ETH | 0.00008287 | ||||
| Adopt | 5152957 | 2923 days ago | IN | 0.08 ETH | 0.00008287 | ||||
| Adopt | 5152957 | 2923 days ago | IN | 0.08 ETH | 0.00008287 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 5153194 | 2923 days ago | 0.16 ETH | ||||
| Transfer | 5153189 | 2923 days ago | 0.016 ETH | ||||
| Transfer | 5153189 | 2923 days ago | 0.144 ETH | ||||
| Transfer | 5153162 | 2923 days ago | 0.08 ETH | ||||
| Transfer | 5153149 | 2923 days ago | 0.008 ETH | ||||
| Transfer | 5153149 | 2923 days ago | 0.072 ETH | ||||
| Transfer | 5153079 | 2923 days ago | 0.016 ETH | ||||
| Transfer | 5153079 | 2923 days ago | 0.144 ETH | ||||
| Transfer | 5153078 | 2923 days ago | 0.24 ETH | ||||
| Transfer | 5153066 | 2923 days ago | 0.008 ETH | ||||
| Transfer | 5153066 | 2923 days ago | 0.072 ETH | ||||
| Transfer | 5153058 | 2923 days ago | 0.032 ETH | ||||
| Transfer | 5153058 | 2923 days ago | 0.288 ETH | ||||
| Transfer | 5153021 | 2923 days ago | 0.016 ETH | ||||
| Transfer | 5153021 | 2923 days ago | 0.144 ETH | ||||
| Transfer | 5153004 | 2923 days ago | 0.28 ETH | ||||
| Transfer | 5152992 | 2923 days ago | 0.18 ETH | ||||
| Transfer | 5152982 | 2923 days ago | 0.008 ETH | ||||
| Transfer | 5152982 | 2923 days ago | 0.072 ETH | ||||
| Transfer | 5152967 | 2923 days ago | 0.016 ETH | ||||
| Transfer | 5152967 | 2923 days ago | 0.144 ETH | ||||
| Transfer | 5152964 | 2923 days ago | 0.008 ETH | ||||
| Transfer | 5152964 | 2923 days ago | 0.072 ETH | ||||
| Transfer | 5152955 | 2923 days ago | 0.008 ETH | ||||
| Transfer | 5152955 | 2923 days ago | 0.072 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
Adoption
Compiler Version
v0.4.20+commit.3155dd80
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2018-02-25
*/
pragma solidity ^0.4.19;
contract Adoption {
address ceoAddress = 0x1AEA2d3709bB7CFf5326a4Abc44c45Aa2629C626;
struct Pepe {
address owner;
uint256 price;
}
Pepe[16] data;
function Adoption() public {
for (uint i = 0; i < 16; i++) {
data[i].price = 10000000000000000;
data[i].owner = msg.sender;
}
}
function returnEth(address oldOwner, uint256 price) public payable {
oldOwner.transfer(price);
}
function gimmeTendies(address, uint256 price) public payable {
ceoAddress.transfer(price);
}
// Adopting a pet
function adopt(uint pepeId) public payable returns (uint, uint) {
require(pepeId >= 0 && pepeId <= 15);
if ( data[pepeId].price == 10000000000000000 ) {
data[pepeId].price = 20000000000000000;
} else {
data[pepeId].price = data[pepeId].price * 2;
}
require(msg.value >= data[pepeId].price * uint256(1));
returnEth(data[pepeId].owner, (data[pepeId].price / 10) * (9));
gimmeTendies(ceoAddress, (data[pepeId].price / 10) * (1));
data[pepeId].owner = msg.sender;
return (pepeId, data[pepeId].price);
//return value;
}
function getAdopters() external view returns (address[], uint256[]) {
address[] memory owners = new address[](16);
uint256[] memory prices = new uint256[](16);
for (uint i=0; i<16; i++) {
owners[i] = (data[i].owner);
prices[i] = (data[i].price);
}
return (owners,prices);
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"constant":true,"inputs":[],"name":"getAdopters","outputs":[{"name":"","type":"address[]"},{"name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"","type":"address"},{"name":"price","type":"uint256"}],"name":"gimmeTendies","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"oldOwner","type":"address"},{"name":"price","type":"uint256"}],"name":"returnEth","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"pepeId","type":"uint256"}],"name":"adopt","outputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"}]Contract Creation Code
6060604052731aea2d3709bb7cff5326a4abc44c45aa2629c6266000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550341561006357600080fd5b60008090505b60108110156100f657662386f26fc1000060018260108110151561008957fe5b6002020160010181905550336001826010811015156100a457fe5b6002020160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508080600101915050610069565b506105ec806101066000396000f300606060405260043610610062576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680633de4eb171461006757806343b8aedf146101195780636840f8e8146101505780638588b2c514610187575b600080fd5b341561007257600080fd5b61007a6101ba565b604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b838110156100c15780820151818401526020810190506100a6565b50505050905001838103825284818151815260200191508051906020019060200280838360005b838110156101035780820151818401526020810190506100e8565b5050505090500194505050505060405180910390f35b61014e600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506102fc565b005b610185600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610361565b005b61019d60048080359060200190919050506103a5565b604051808381526020018281526020019250505060405180910390f35b6101c2610598565b6101ca6105ac565b6101d2610598565b6101da6105ac565b600060106040518059106101eb5750595b90808252806020026020018201604052509250601060405180591061020d5750595b90808252806020026020018201604052509150600090505b60108110156102ef5760018160108110151561023d57fe5b6002020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16838281518110151561027357fe5b9060200190602002019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506001816010811015156102be57fe5b600202016001015482828151811015156102d457fe5b90602001906020020181815250508080600101915050610225565b8282945094505050509091565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050151561035d57600080fd5b5050565b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015156103a157600080fd5b5050565b600080600083101580156103ba5750600f8311155b15156103c557600080fd5b662386f26fc100006001846010811015156103dc57fe5b600202016001015414156104115766470de4df82000060018460108110151561040157fe5b6002020160010181905550610446565b600260018460108110151561042257fe5b60020201600101540260018460108110151561043a57fe5b60020201600101819055505b6001808460108110151561045657fe5b600202016001015402341015151561046d57600080fd5b6104d260018460108110151561047f57fe5b6002020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166009600a6001876010811015156104ba57fe5b60020201600101548115156104cb57fe5b0402610361565b6105226000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff166001600a60018760108110151561050a57fe5b600202016001015481151561051b57fe5b04026102fc565b3360018460108110151561053257fe5b6002020160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260018460108110151561058757fe5b600202016001015491509150915091565b602060405190810160405280600081525090565b6020604051908101604052806000815250905600a165627a7a723058209e8d66b9b8fdda9e5d0116091ad7538197eb7d746a6aa978b84960afd366c67e0029
Deployed Bytecode
0x606060405260043610610062576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680633de4eb171461006757806343b8aedf146101195780636840f8e8146101505780638588b2c514610187575b600080fd5b341561007257600080fd5b61007a6101ba565b604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b838110156100c15780820151818401526020810190506100a6565b50505050905001838103825284818151815260200191508051906020019060200280838360005b838110156101035780820151818401526020810190506100e8565b5050505090500194505050505060405180910390f35b61014e600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919080359060200190919050506102fc565b005b610185600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610361565b005b61019d60048080359060200190919050506103a5565b604051808381526020018281526020019250505060405180910390f35b6101c2610598565b6101ca6105ac565b6101d2610598565b6101da6105ac565b600060106040518059106101eb5750595b90808252806020026020018201604052509250601060405180591061020d5750595b90808252806020026020018201604052509150600090505b60108110156102ef5760018160108110151561023d57fe5b6002020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16838281518110151561027357fe5b9060200190602002019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506001816010811015156102be57fe5b600202016001015482828151811015156102d457fe5b90602001906020020181815250508080600101915050610225565b8282945094505050509091565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050151561035d57600080fd5b5050565b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015156103a157600080fd5b5050565b600080600083101580156103ba5750600f8311155b15156103c557600080fd5b662386f26fc100006001846010811015156103dc57fe5b600202016001015414156104115766470de4df82000060018460108110151561040157fe5b6002020160010181905550610446565b600260018460108110151561042257fe5b60020201600101540260018460108110151561043a57fe5b60020201600101819055505b6001808460108110151561045657fe5b600202016001015402341015151561046d57600080fd5b6104d260018460108110151561047f57fe5b6002020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166009600a6001876010811015156104ba57fe5b60020201600101548115156104cb57fe5b0402610361565b6105226000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff166001600a60018760108110151561050a57fe5b600202016001015481151561051b57fe5b04026102fc565b3360018460108110151561053257fe5b6002020160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260018460108110151561058757fe5b600202016001015491509150915091565b602060405190810160405280600081525090565b6020604051908101604052806000815250905600a165627a7a723058209e8d66b9b8fdda9e5d0116091ad7538197eb7d746a6aa978b84960afd366c67e0029
Swarm Source
bzzr://9e8d66b9b8fdda9e5d0116091ad7538197eb7d746a6aa978b84960afd366c67e
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Token Allocations
ETH
100.00%
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $2,026.76 | 0.000000000000000001 | <$0.000001 |
Loading...
Loading
Loading...
Loading
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.