ETH Price: $3,333.77 (+3.92%)

Contract

0xED5F43902E07C99F2F19e53368ac3B6D50212d97
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve110093052020-10-07 15:11:251561 days ago1602083485IN
0xED5F4390...D50212d97
0 ETH0.003318375.00000145
Approve110092662020-10-07 15:02:071561 days ago1602082927IN
0xED5F4390...D50212d97
0 ETH0.003844886.9
Approve110092562020-10-07 14:58:491561 days ago1602082729IN
0xED5F4390...D50212d97
0 ETH0.0034510378.00000123
Approve110092552020-10-07 14:58:421561 days ago1602082722IN
0xED5F4390...D50212d97
0 ETH0.0034067877
Approve110092392020-10-07 14:53:411561 days ago1602082421IN
0xED5F4390...D50212d97
0 ETH0.0031855672.00000145
Approve110092382020-10-07 14:53:361561 days ago1602082416IN
0xED5F4390...D50212d97
0 ETH0.0018031672.00000145
Approve110092382020-10-07 14:53:361561 days ago1602082416IN
0xED5F4390...D50212d97
0 ETH0.0031855672.00000145
Approve110092292020-10-07 14:51:421561 days ago1602082302IN
0xED5F4390...D50212d97
0 ETH0.0034067877
Approve110092282020-10-07 14:51:381561 days ago1602082298IN
0xED5F4390...D50212d97
0 ETH0.0034067877
Approve110092252020-10-07 14:50:541561 days ago1602082254IN
0xED5F4390...D50212d97
0 ETH0.0037607485
Approve110092252020-10-07 14:50:541561 days ago1602082254IN
0xED5F4390...D50212d97
0 ETH0.0044244100
Approve110092242020-10-07 14:50:341561 days ago1602082234IN
0xED5F4390...D50212d97
0 ETH0.0034510378
Approve110092182020-10-07 14:50:141561 days ago1602082214IN
0xED5F4390...D50212d97
0 ETH0.0034510378
Approve110092142020-10-07 14:48:541561 days ago1602082134IN
0xED5F4390...D50212d97
0 ETH0.0034952779
Approve110092132020-10-07 14:47:491561 days ago1602082069IN
0xED5F4390...D50212d97
0 ETH0.0039887990.15440601
Approve110092102020-10-07 14:47:021561 days ago1602082022IN
0xED5F4390...D50212d97
0 ETH0.0034510378
Approve110092102020-10-07 14:47:021561 days ago1602082022IN
0xED5F4390...D50212d97
0 ETH0.0037099983.853
Approve110091912020-10-07 14:44:391561 days ago1602081879IN
0xED5F4390...D50212d97
0 ETH0.0034067877

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SushiSwap

Compiler Version
v0.7.2+commit.51b20bc0

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2020-10-07
*/

pragma solidity ^0.7.0;

contract Owned {
    modifier onlyOwner() {
        require(msg.sender == owner);
        _;
    }
    address owner;
    address newOwner;
    function changeOwner(address payable _newOwner) public onlyOwner {
        newOwner = _newOwner;
    }
    function acceptOwnership() public {
        if (msg.sender == newOwner) {
            owner = newOwner;
        }
    }
}

contract ERC20 {
    string public symbol;
    string public name;
    uint8 public decimals;
    uint256 public totalSupply;
    mapping (address=>uint256) balances;
    mapping (address=>mapping (address=>uint256)) allowed;
    event Transfer(address indexed _from, address indexed _to, uint256 _value);
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);
    
    function balanceOf(address _owner) view public returns (uint256 balance) {return balances[_owner];}
    
    function transfer(address _to, uint256 _amount) public 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 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 returns (bool success) {
        allowed[msg.sender][_spender]=_amount;
        emit Approval(msg.sender, _spender, _amount);
        return true;
    }
    
    function allowance(address _owner, address _spender) view public returns (uint256 remaining) {
      return allowed[_owner][_spender];
    }
}

contract SushiSwap is Owned,ERC20{
    uint256 public maxSupply;

    constructor(address _owner) {
        symbol = "SUSHIB";
        name = "Sushi Swap v2.0";
        decimals = 18;                                 // 18 Decimals are Best for Liquidity
        totalSupply = 30000*10**uint256(decimals);
        maxSupply   = 30000*10**uint256(decimals);
        owner = _owner;
        balances[owner] = totalSupply;
    }
    
    receive() external payable {
        revert();
    }
    
   
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"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":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"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":[{"internalType":"address payable","name":"_newOwner","type":"address"}],"name":"changeOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"}]

608060405234801561001057600080fd5b506040516108ea3803806108ea8339818101604052602081101561003357600080fd5b50516040805180820190915260068082526529aaa9a424a160d11b6020909201918252610062916002916100f1565b5060408051808201909152600f8082526e0537573686920537761702076322e3608c1b6020909201918252610099916003916100f1565b5060048054601260ff19909116179081905560ff16600a0a6175300260058190556008819055600080546001600160a01b0319166001600160a01b039384161780825590921682526006602052604090912055610184565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061013257805160ff191683800117855561015f565b8280016001018555821561015f579182015b8281111561015f578251825591602001919060010190610144565b5061016b92915061016f565b5090565b5b8082111561016b5760008155600101610170565b610757806101936000396000f3fe6080604052600436106100ab5760003560e01c806379ba50971161006457806379ba50971461025957806395d89b4114610270578063a6f9dae114610285578063a9059cbb146102b8578063d5abeb01146102f1578063dd62ed3e14610306576100b5565b806306fdde03146100ba578063095ea7b31461014457806318160ddd1461019157806323b872dd146101b8578063313ce567146101fb57806370a0823114610226576100b5565b366100b557600080fd5b600080fd5b3480156100c657600080fd5b506100cf610341565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101095781810151838201526020016100f1565b50505050905090810190601f1680156101365780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015057600080fd5b5061017d6004803603604081101561016757600080fd5b506001600160a01b0381351690602001356103cf565b604080519115158252519081900360200190f35b34801561019d57600080fd5b506101a6610435565b60408051918252519081900360200190f35b3480156101c457600080fd5b5061017d600480360360608110156101db57600080fd5b506001600160a01b0381358116916020810135909116906040013561043b565b34801561020757600080fd5b50610210610548565b6040805160ff9092168252519081900360200190f35b34801561023257600080fd5b506101a66004803603602081101561024957600080fd5b50356001600160a01b0316610551565b34801561026557600080fd5b5061026e61056c565b005b34801561027c57600080fd5b506100cf6105a4565b34801561029157600080fd5b5061026e600480360360208110156102a857600080fd5b50356001600160a01b03166105fc565b3480156102c457600080fd5b5061017d600480360360408110156102db57600080fd5b506001600160a01b038135169060200135610635565b3480156102fd57600080fd5b506101a66106f0565b34801561031257600080fd5b506101a66004803603604081101561032957600080fd5b506001600160a01b03813581169160200135166106f6565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103c75780601f1061039c576101008083540402835291602001916103c7565b820191906000526020600020905b8154815290600101906020018083116103aa57829003601f168201915b505050505081565b3360008181526007602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60055481565b6001600160a01b038316600090815260066020526040812054821180159061048657506001600160a01b03841660009081526007602090815260408083203384529091529020548211155b80156104925750600082115b80156104b757506001600160a01b038316600090815260066020526040902054828101115b6104c057600080fd5b6001600160a01b0380851660008181526006602081815260408084208054899003905560078252808420338552825280842080548990039055948816808452918152918490208054870190558351868152935190937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92908290030190a35060019392505050565b60045460ff1681565b6001600160a01b031660009081526006602052604090205490565b6001546001600160a01b03163314156105a257600154600080546001600160a01b0319166001600160a01b039092169190911790555b565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156103c75780601f1061039c576101008083540402835291602001916103c7565b6000546001600160a01b0316331461061357600080fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b3360009081526006602052604081205482118015906106545750600082115b801561067957506001600160a01b038316600090815260066020526040902054828101115b61068257600080fd5b336000818152600660209081526040808320805487900390556001600160a01b03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600192915050565b60085481565b6001600160a01b0391821660009081526007602090815260408083209390941682529190915220549056fea26469706673582212201f7cb039acce9bac4b2afa0d406581dd5b2aafa13c5d59e217253c6c6ba49d6264736f6c63430007020033000000000000000000000000459411d04df7598b7b9c5ebdd5137289a2a1e0ff

Deployed Bytecode

0x6080604052600436106100ab5760003560e01c806379ba50971161006457806379ba50971461025957806395d89b4114610270578063a6f9dae114610285578063a9059cbb146102b8578063d5abeb01146102f1578063dd62ed3e14610306576100b5565b806306fdde03146100ba578063095ea7b31461014457806318160ddd1461019157806323b872dd146101b8578063313ce567146101fb57806370a0823114610226576100b5565b366100b557600080fd5b600080fd5b3480156100c657600080fd5b506100cf610341565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101095781810151838201526020016100f1565b50505050905090810190601f1680156101365780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015057600080fd5b5061017d6004803603604081101561016757600080fd5b506001600160a01b0381351690602001356103cf565b604080519115158252519081900360200190f35b34801561019d57600080fd5b506101a6610435565b60408051918252519081900360200190f35b3480156101c457600080fd5b5061017d600480360360608110156101db57600080fd5b506001600160a01b0381358116916020810135909116906040013561043b565b34801561020757600080fd5b50610210610548565b6040805160ff9092168252519081900360200190f35b34801561023257600080fd5b506101a66004803603602081101561024957600080fd5b50356001600160a01b0316610551565b34801561026557600080fd5b5061026e61056c565b005b34801561027c57600080fd5b506100cf6105a4565b34801561029157600080fd5b5061026e600480360360208110156102a857600080fd5b50356001600160a01b03166105fc565b3480156102c457600080fd5b5061017d600480360360408110156102db57600080fd5b506001600160a01b038135169060200135610635565b3480156102fd57600080fd5b506101a66106f0565b34801561031257600080fd5b506101a66004803603604081101561032957600080fd5b506001600160a01b03813581169160200135166106f6565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103c75780601f1061039c576101008083540402835291602001916103c7565b820191906000526020600020905b8154815290600101906020018083116103aa57829003601f168201915b505050505081565b3360008181526007602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60055481565b6001600160a01b038316600090815260066020526040812054821180159061048657506001600160a01b03841660009081526007602090815260408083203384529091529020548211155b80156104925750600082115b80156104b757506001600160a01b038316600090815260066020526040902054828101115b6104c057600080fd5b6001600160a01b0380851660008181526006602081815260408084208054899003905560078252808420338552825280842080548990039055948816808452918152918490208054870190558351868152935190937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92908290030190a35060019392505050565b60045460ff1681565b6001600160a01b031660009081526006602052604090205490565b6001546001600160a01b03163314156105a257600154600080546001600160a01b0319166001600160a01b039092169190911790555b565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156103c75780601f1061039c576101008083540402835291602001916103c7565b6000546001600160a01b0316331461061357600080fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b3360009081526006602052604081205482118015906106545750600082115b801561067957506001600160a01b038316600090815260066020526040902054828101115b61068257600080fd5b336000818152600660209081526040808320805487900390556001600160a01b03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600192915050565b60085481565b6001600160a01b0391821660009081526007602090815260408083209390941682529190915220549056fea26469706673582212201f7cb039acce9bac4b2afa0d406581dd5b2aafa13c5d59e217253c6c6ba49d6264736f6c63430007020033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000459411d04df7598b7b9c5ebdd5137289a2a1e0ff

-----Decoded View---------------
Arg [0] : _owner (address): 0x459411d04DF7598B7B9C5ebDd5137289a2A1E0FF

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000459411d04df7598b7b9c5ebdd5137289a2a1e0ff


Deployed Bytecode Sourcemap

2077:515:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2562:8;;;2077:515;;;;467:18;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1701:215;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1701:215:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;520:26;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;1277:414;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1277:414:0;;;;;;;;;;;;;;;;;:::i;492:21::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;829:99;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;829:99:0;-1:-1:-1;;;;;829:99:0;;:::i;288:123::-;;;;;;;;;;;;;:::i;:::-;;440:20;;;;;;;;;;;;;:::i;178:104::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;178:104:0;-1:-1:-1;;;;;178:104:0;;:::i;940:327::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;940:327:0;;;;;;;;:::i;2117:24::-;;;;;;;;;;;;;:::i;1928:142::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1928:142:0;;;;;;;;;;:::i;467:18::-;;;;;;;;;;;;;;;-1:-1:-1;;467:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1701:215::-;1802:10;1769:12;1794:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;1794:29:0;;;;;;;;;;;:37;;;1847:39;;;;;;;1769:12;;1794:29;;1802:10;;1847:39;;;;;;;;-1:-1:-1;1904:4:0;1701:215;;;;:::o;520:26::-;;;;:::o;1277:414::-;-1:-1:-1;;;;;1392:15:0;;1358:12;1392:15;;;:8;:15;;;;;;:24;-1:-1:-1;1392:24:0;;;:61;;-1:-1:-1;;;;;;1418:14:0;;;;;;:7;:14;;;;;;;;1433:10;1418:26;;;;;;;;:35;-1:-1:-1;1418:35:0;1392:61;:72;;;;;1463:1;1455:7;:9;1392:72;:109;;;;-1:-1:-1;;;;;;1488:13:0;;;;;;:8;:13;;;;;;1466:21;;;:35;1392:109;1383:119;;;;;;-1:-1:-1;;;;;1513:15:0;;;;;;;:8;:15;;;;;;;;:24;;;;;;;1548:7;:14;;;;;1563:10;1548:26;;;;;;;:35;;;;;;;1594:13;;;;;;;;;;;;;:22;;;;;;1632:29;;;;;;;1594:13;;1632:29;;;;;;;;;-1:-1:-1;1679:4:0;1277:414;;;;;:::o;492:21::-;;;;;;:::o;829:99::-;-1:-1:-1;;;;;910:16:0;885:15;910:16;;;:8;:16;;;;;;;829:99::o;288:123::-;351:8;;-1:-1:-1;;;;;351:8:0;337:10;:22;333:71;;;384:8;;;376:16;;-1:-1:-1;;;;;;376:16:0;-1:-1:-1;;;;;384:8:0;;;376:16;;;;;;333:71;288:123::o;440:20::-;;;;;;;;;;;;;;-1:-1:-1;;440:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;178:104;103:5;;-1:-1:-1;;;;;103:5:0;89:10;:19;81:28;;;;;;254:8:::1;:20:::0;;-1:-1:-1;;;;;;254:20:0::1;-1:-1:-1::0;;;;;254:20:0;;;::::1;::::0;;;::::1;::::0;;178:104::o;940:327::-;1047:10;1004:12;1038:20;;;:8;:20;;;;;;:29;-1:-1:-1;1038:29:0;;;:40;;;1077:1;1069:7;:9;1038:40;:77;;;;-1:-1:-1;;;;;;1102:13:0;;;;;;:8;:13;;;;;;1080:21;;;:35;1038:77;1029:87;;;;;;1136:10;1127:20;;;;:8;:20;;;;;;;;:29;;;;;;;-1:-1:-1;;;;;1167:13:0;;;;;;;;;:22;;;;;;1205:32;;;;;;;1167:13;;1136:10;1205:32;;;;;;;;;;;-1:-1:-1;1255:4:0;940:327;;;;:::o;2117:24::-;;;;:::o;1928:142::-;-1:-1:-1;;;;;2037:15:0;;;2002:17;2037:15;;;:7;:15;;;;;;;;:25;;;;;;;;;;;;;1928:142::o

Swarm Source

ipfs://1f7cb039acce9bac4b2afa0d406581dd5b2aafa13c5d59e217253c6c6ba49d62

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.