Contract 0x903fcaf1a49b29678c15b43bc9f852232bfa7df1 1

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xe10d9b5e5c3c1190684b6bd5a9b303f026af6b1a818bb7076c6f900e0599f573Approve118486922021-10-17 10:27:541 hr 26 mins ago0x8d8dd0b10d95cb7d1d0f043fccdc1cdc68dd3c45 IN  0x903fcaf1a49b29678c15b43bc9f852232bfa7df10 BNB0.000221645
0xd92cd89762c1ecb64d3e84457b39058a16454c296480f7a040f679e3330c8ef9Approve118473832021-10-17 9:22:272 hrs 31 mins ago0x553d60bcba884c97fb763be6f937dcef7c83d8b2 IN  0x903fcaf1a49b29678c15b43bc9f852232bfa7df10 BNB0.000220325
0xd1e9de3218b9e137b2703e7b6cae171996d119ac1bb3b1f5af4cc330f244b450Approve118429262021-10-17 5:39:366 hrs 14 mins ago0x05edb39fa892fa7045b1ac86ccaef77edd132961 IN  0x903fcaf1a49b29678c15b43bc9f852232bfa7df10 BNB0.000220325
0x6bdedabe1a20614e38fb687206930e816ac4324c7fd48ac8cbaa4a1cafacf004Transfer118341922021-10-16 22:22:3813 hrs 31 mins ago0x5d4d4eeefd2f568a190a6f369d04fc7890badab3 IN  0x903fcaf1a49b29678c15b43bc9f852232bfa7df10 BNB0.000267375
0x364563d5d4fe0ff5dbba06af75befaeb3c632bb545a369cfde2067f4f7c07b1aApprove118332172021-10-16 21:33:5314 hrs 20 mins ago0x7fcc7f43b91426645c9f99e30824dedb25ed5412 IN  0x903fcaf1a49b29678c15b43bc9f852232bfa7df10 BNB0.000221645
0x7420685d531fab5ca11263db2e7dddf57a766cbccc968d9a2951237d31c93b08Approve118262672021-10-16 15:42:1420 hrs 11 mins ago0xf546b07e156f23f395ff382fc2eb351cbf5a3c45 IN  0x903fcaf1a49b29678c15b43bc9f852232bfa7df10 BNB0.000220325
0xb8d501314db9193d98055d6670410fd6872deeeea71829a2e43c7b69afab2659Approve118234582021-10-16 13:20:3822 hrs 33 mins ago0xf6b1ac95e82e1c712b49cbfa43a02bc5561179f4 IN  0x903fcaf1a49b29678c15b43bc9f852232bfa7df10 BNB0.000221645
0x03f6f05e8c9d1157bdb95631603a2a804d8fde098af41cd5bfd04a89b9132531Approve118213102021-10-16 11:32:471 day 21 mins ago0xb0dca1dc3e2679be8e48887aa4de2a3849a4aaf9 IN  0x903fcaf1a49b29678c15b43bc9f852232bfa7df10 BNB0.000220445
0xc171a14e93d57036df9b21a98242345e5ebda24f2f55217c89aa6bc4db119c6dApprove118208482021-10-16 11:09:411 day 44 mins ago0xb0dca1dc3e2679be8e48887aa4de2a3849a4aaf9 IN  0x903fcaf1a49b29678c15b43bc9f852232bfa7df10 BNB0.000220445
0x228b268d434584c702d5440546a4a8713d357d6555bebaeed44f23ac89b7d889Approve118207792021-10-16 11:06:141 day 47 mins ago0x9a6c7be320267a71d8282493c3761a08dcf791e8 IN  0x903fcaf1a49b29678c15b43bc9f852232bfa7df10 BNB0.000221645
0x8f57d864dbbe964cbea272c4fe2f76d0250add85e12af07fadfc197061b25109Transfer118207452021-10-16 11:04:321 day 49 mins ago0x9a6c7be320267a71d8282493c3761a08dcf791e8 IN  0x903fcaf1a49b29678c15b43bc9f852232bfa7df10 BNB0.000267435
0xcd54877324d0ae9948a5fcd4308d72d3890a268f3cc6e42c2a2a674b5b235fc2Approve118202202021-10-16 10:38:171 day 1 hr ago0x6f8827a4f77fe9e08502a5c28f7efe93eede19be IN  0x903fcaf1a49b29678c15b43bc9f852232bfa7df10 BNB0.000221645
0x96339cab7524be23c8faa06a108a5df9ade2bfc85b1a6c1d195ef857ee74a36aTransfer118200302021-10-16 10:28:431 day 1 hr ago0x1adfc2e734ff8a9575c2e65ac6ae9c258fe23450 IN  0x903fcaf1a49b29678c15b43bc9f852232bfa7df10 BNB0.000192435
0x30c4f02a44e2847fc18824adda5cb9b75178e70cfe4998de9f51c43243b7b878Approve118199432021-10-16 10:24:181 day 1 hr ago0xf466baa7565ab66013587b507ee4df1876ef36f0 IN  0x903fcaf1a49b29678c15b43bc9f852232bfa7df10 BNB0.000221645
0x4e9c7af7352071270002cc0e4582e565b0c04fd7498cc7efdb0708604a8cc202Approve118197392021-10-16 10:14:041 day 1 hr ago0xf466baa7565ab66013587b507ee4df1876ef36f0 IN  0x903fcaf1a49b29678c15b43bc9f852232bfa7df10 BNB0.000220445
0xa5eccad2d3421d15b9f8efb7ef3b9068306f80e29d4db65aa0cc5fa2518db9c3Approve118149062021-10-16 6:11:171 day 5 hrs ago0x4869b6a6848d938637ef3deb983bc1d9a170e47c IN  0x903fcaf1a49b29678c15b43bc9f852232bfa7df10 BNB0.0000738123
0xf28744a660f5a41175c13312cb6ee9e8d7297935b90a3ebac699b3e95a2b4143Approve118131882021-10-16 4:45:231 day 7 hrs ago0xab1bf6f58d2382ecbfc9afba8afa0b5dba5e6ae2 IN  0x903fcaf1a49b29678c15b43bc9f852232bfa7df10 BNB0.000221645
0x2f421b5850c3e7a5b9d6098d0d2d3993101669fc158932fc6e831a4c50c5acc1Transfer118100472021-10-16 2:08:171 day 9 hrs ago0xa94a59d2adda52f55d70b48f5b07c03d2dcc1e3d IN  0x903fcaf1a49b29678c15b43bc9f852232bfa7df10 BNB0.000117495
0x7876419cde7802aa1191296acdded9839615d468d404315e792c29c8fe1265a5Approve118081752021-10-16 0:32:381 day 11 hrs ago0x52e3be823cd96d8c37a01796a489ab58a3fe80b8 IN  0x903fcaf1a49b29678c15b43bc9f852232bfa7df10 BNB0.000220325
0xd1496b7e269bd7f08e487eb5283a1d6275ef9c2dbd46196cd31c9d63ca7dda12Transfer118065842021-10-15 23:13:011 day 12 hrs ago0x66f3d22a25bad10e744222c23345da4b2cf9dc10 IN  0x903fcaf1a49b29678c15b43bc9f852232bfa7df10 BNB0.000192375
0x8010930b6da4cc84c1dda0563c7e49caed55c91f6c1160a559f07e89b9c7c42dApprove118055072021-10-15 22:18:211 day 13 hrs ago0x740ba4f6d3af5c34752d355318dfa7bf8185b19b IN  0x903fcaf1a49b29678c15b43bc9f852232bfa7df10 BNB0.000221645
0xd5bdc41ebde4cdf634dcc8e50f39f791d6119179c07630fb7f612f3dad04b34dApprove118054932021-10-15 22:17:391 day 13 hrs ago0xcecc999910a0b831b0de11cbe8e4b8ac9a82cab3 IN  0x903fcaf1a49b29678c15b43bc9f852232bfa7df10 BNB0.000221645
0x6be3bf64d75bab88398e0a317f38f47e3c9b37b1d299770ddac8cfcf4fd69d0eApprove118053382021-10-15 22:09:541 day 13 hrs ago0x8becca74b2f93734804157bc6accc5c2413ea16f IN  0x903fcaf1a49b29678c15b43bc9f852232bfa7df10 BNB0.000221645
0x3bd82486c658e1cceb83009849f76080f19407e339172da7e873936b37bf11bbApprove118047552021-10-15 21:40:451 day 14 hrs ago0x1adfc2e734ff8a9575c2e65ac6ae9c258fe23450 IN  0x903fcaf1a49b29678c15b43bc9f852232bfa7df10 BNB0.000221645
0x49cd00a0f8aa7e588a8ac9595c9fe87d12d52eba6f23763b2849a26d293b8ad9Approve118015582021-10-15 19:00:481 day 16 hrs ago0xd23c6708b8d16718f310de74aeab25590ff28119 IN  0x903fcaf1a49b29678c15b43bc9f852232bfa7df10 BNB0.000220445
[ Download CSV Export 
Latest 2 internal transactions
Parent Txn Hash Block From To Value
0xddef0530f867b77322e1b1817aec606f1faafe60f2aad5c855beb64a5dfb8f32101973362021-08-20 15:26:3257 days 20 hrs ago 0x903fcaf1a49b29678c15b43bc9f852232bfa7df10x36b219fe9218dd0e94b2d67df7562e2fcaccf4450.01 BNB
0x6c036f809f1d43b9329a9ca4f20007019717358c4d7225d2b5404fec78e466bf101972872021-08-20 15:23:5557 days 20 hrs ago 0x903fcaf1a49b29678c15b43bc9f852232bfa7df10x36b219fe9218dd0e94b2d67df7562e2fcaccf4450.05 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MyFarmPet

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 1 : Token.sol
pragma solidity ^0.6.7;

// SPDX-License-Identifier: No Licencse
  
   
contract Owned {
    modifier onlyOwner() {
        require(msg.sender==owner);
        _;
    }
    address payable owner;
   
}

abstract contract ERC20 {
    uint256 public totalSupply;
    function balanceOf(address _owner) view public virtual returns (uint256 balance);
    function transfer(address _to, uint256 _value) public virtual returns (bool success);
    function transferFrom(address _from, address _to, uint256 _value) public virtual returns (bool success);
    function approve(address _spender, uint256 _value) public virtual returns (bool success);
    function allowance(address _owner, address _spender) view public virtual returns (uint256 remaining);
    event Transfer(address indexed _from, address indexed _to, uint256 _value);
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);
}

contract Token is Owned,  ERC20 {
    string public symbol;
    string public name;
    uint8 public decimals;
    mapping (address=>uint256) balances;
    mapping (address=>mapping (address=>uint256)) allowed;
    
    function balanceOf(address _owner) view public virtual override returns (uint256 balance) {return balances[_owner];}
    
    function transfer(address _to, uint256 _amount) public virtual override returns (bool success) {
        require (balances[msg.sender]>=_amount&&_amount>0&&balances[_to]+_amount>balances[_to]);
        balances[msg.sender]-=_amount;
        balances[_to]+=_amount;
        emit Transfer(msg.sender,_to,_amount);
        return true;
    }
  
    function transferFrom(address _from,address _to,uint256 _amount) public virtual override returns (bool success) {
        require (balances[_from]>=_amount&&allowed[_from][msg.sender]>=_amount&&_amount>0&&balances[_to]+_amount>balances[_to]);
        balances[_from]-=_amount;
        allowed[_from][msg.sender]-=_amount;
        balances[_to]+=_amount;
        emit Transfer(_from, _to, _amount);
        return true;
    }
  
    function approve(address _spender, uint256 _amount) public virtual override returns (bool success) {
        allowed[msg.sender][_spender]=_amount;
        emit Approval(msg.sender, _spender, _amount);
        return true;
    }
    
    function allowance(address _owner, address _spender) view public virtual override returns (uint256 remaining) {
      return allowed[_owner][_spender];
    }
}

contract MyFarmPet is Token{
    
    constructor() public{
        symbol = "MyFarmPet";
        name = "My Farm Pet";
        decimals = 18;
        totalSupply = 1e6*1e18;  
        owner = msg.sender;
        balances[owner] = totalSupply;
    }
    
    receive () payable external {
        require(msg.value>0);
        owner.transfer(msg.value);
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_owner","type":"address"},{"indexed":true,"internalType":"address","name":"_spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"remaining","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b506040518060400160405280600981526020017f4d794661726d50657400000000000000000000000000000000000000000000008152506002908051906020019061005c929190610182565b506040518060400160405280600b81526020017f4d79204661726d20506574000000000000000000000000000000000000000000815250600390805190602001906100a8929190610182565b506012600460006101000a81548160ff021916908360ff16021790555069d3c21bcecceda1000000600181905550336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600154600560008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061021f565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106101c357805160ff19168380011785556101f1565b828001600101855582156101f1579182015b828111156101f05782518255916020019190600101906101d5565b5b5090506101fe9190610202565b5090565b5b8082111561021b576000816000905550600101610203565b5090565b610d1c8061022e6000396000f3fe60806040526004361061008a5760003560e01c8063313ce56711610059578063313ce567146102c757806370a08231146102f557806395d89b411461035a578063a9059cbb146103ea578063dd62ed3e1461045b57610105565b806306fdde031461010a578063095ea7b31461019a57806318160ddd1461020b57806323b872dd1461023657610105565b36610105576000341161009c57600080fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015610102573d6000803e3d6000fd5b50005b600080fd5b34801561011657600080fd5b5061011f6104e0565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561015f578082015181840152602081019050610144565b50505050905090810190601f16801561018c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101a657600080fd5b506101f3600480360360408110156101bd57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061057e565b60405180821515815260200191505060405180910390f35b34801561021757600080fd5b50610220610670565b6040518082815260200191505060405180910390f35b34801561024257600080fd5b506102af6004803603606081101561025957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610676565b60405180821515815260200191505060405180910390f35b3480156102d357600080fd5b506102dc610977565b604051808260ff16815260200191505060405180910390f35b34801561030157600080fd5b506103446004803603602081101561031857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061098a565b6040518082815260200191505060405180910390f35b34801561036657600080fd5b5061036f6109d3565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156103af578082015181840152602081019050610394565b50505050905090810190601f1680156103dc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156103f657600080fd5b506104436004803603604081101561040d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610a71565b60405180821515815260200191505060405180910390f35b34801561046757600080fd5b506104ca6004803603604081101561047e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610c5f565b6040518082815260200191505060405180910390f35b60038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105765780601f1061054b57610100808354040283529160200191610576565b820191906000526020600020905b81548152906001019060200180831161055957829003601f168201915b505050505081565b600081600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040518082815260200191505060405180910390a36001905092915050565b60015481565b600081600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410158015610743575081600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410155b801561074f5750600082115b80156107da5750600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205401115b6107e357600080fd5b81600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555081600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555081600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a3600190509392505050565b600460009054906101000a900460ff1681565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60028054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610a695780601f10610a3e57610100808354040283529160200191610a69565b820191906000526020600020905b815481529060010190602001808311610a4c57829003601f168201915b505050505081565b600081600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410158015610ac25750600082115b8015610b4d5750600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205401115b610b5657600080fd5b81600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555081600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a36001905092915050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490509291505056fea2646970667358221220cd4d35e60253f917f35038ca26a5e3749a7ebee11eb1c92ef7a6ae7e5f40bf1d64736f6c634300060c0033

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.