ETH Price: $2,317.10 (-7.71%)

Contract

0x76D8aFDeA71bC1577f1C86c8A83688B6E5a25419
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Account Leve...75977192019-04-19 10:49:352140 days ago1555670975IN
0x76D8aFDe...6E5a25419
0 ETH0.000043491
Set Account Leve...75977192019-04-19 10:49:352140 days ago1555670975IN
0x76D8aFDe...6E5a25419
0 ETH0.000043491
Set Account Leve...75977192019-04-19 10:49:352140 days ago1555670975IN
0x76D8aFDe...6E5a25419
0 ETH0.000043491
Set Account Leve...75977162019-04-19 10:49:072140 days ago1555670947IN
0x76D8aFDe...6E5a25419
0 ETH0.000043491
Set Account Leve...75977162019-04-19 10:49:072140 days ago1555670947IN
0x76D8aFDe...6E5a25419
0 ETH0.000043491
Set Account Leve...75779812019-04-16 8:57:522143 days ago1555405072IN
0x76D8aFDe...6E5a25419
0 ETH0.000086982
Set Account Leve...75779812019-04-16 8:57:522143 days ago1555405072IN
0x76D8aFDe...6E5a25419
0 ETH0.000086982
Set Account Leve...75779812019-04-16 8:57:522143 days ago1555405072IN
0x76D8aFDe...6E5a25419
0 ETH0.000086982
Set Account Leve...75779772019-04-16 8:56:592143 days ago1555405019IN
0x76D8aFDe...6E5a25419
0 ETH0.000086982
Set Account Leve...75779772019-04-16 8:56:592143 days ago1555405019IN
0x76D8aFDe...6E5a25419
0 ETH0.000086982
Set Account Leve...72387272019-02-19 3:43:202199 days ago1550547800IN
0x76D8aFDe...6E5a25419
0 ETH0.000085286
Set Account Leve...72387252019-02-19 3:42:182199 days ago1550547738IN
0x76D8aFDe...6E5a25419
0 ETH0.000260956
Set Account Leve...72387222019-02-19 3:41:062199 days ago1550547666IN
0x76D8aFDe...6E5a25419
0 ETH0.000260956
Transfer Ownersh...72374252019-02-18 20:20:112200 days ago1550521211IN
0x76D8aFDe...6E5a25419
0 ETH0.000090913
Set Account Leve...56009922018-05-12 13:42:352482 days ago1526132555IN
0x76D8aFDe...6E5a25419
0 ETH0.0004349210

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AccountLevelsTest

Compiler Version
v0.4.19+commit.c4cbbb05

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-05-12
*/

contract Ownable {
  address public owner;

  event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

  /**
   * @dev The Ownable constructor sets the original `owner` of the contract to the sender
   * account.
   */
  function Ownable() 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 transfer control of the contract to a newOwner.
   * @param newOwner The address to transfer ownership to.
   */
  function transferOwnership(address newOwner) public onlyOwner {
    require(newOwner != address(0));
    OwnershipTransferred(owner, newOwner);
    owner = newOwner;
  }
}

contract AccountLevels {
  //given a user, returns an account level
  //0 = regular user (pays take fee and make fee)
  //1 = market maker silver (pays take fee, no make fee, gets rebate)
  //2 = market maker gold (pays take fee, no make fee, gets entire counterparty's take fee as rebate)
  function accountLevel(address user) constant returns(uint) {}
}

contract AccountLevelsTest is AccountLevels, Ownable {
  mapping (address => uint) public accountLevels;

  function setAccountLevel(address user, uint level) onlyOwner {
    accountLevels[user] = level;
  }

  function accountLevel(address user) constant returns(uint) {
    return accountLevels[user];
  }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"accountLevels","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"user","type":"address"}],"name":"accountLevel","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"user","type":"address"},{"name":"level","type":"uint256"}],"name":"setAccountLevel","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

6060604052336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610486806100536000396000f30060606040526004361061006d576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806314577c55146100725780631cbd0519146100bf5780638abadb6b1461010c5780638da5cb5b1461014e578063f2fde38b146101a3575b600080fd5b341561007d57600080fd5b6100a9600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506101dc565b6040518082815260200191505060405180910390f35b34156100ca57600080fd5b6100f6600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506101f4565b6040518082815260200191505060405180910390f35b341561011757600080fd5b61014c600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061023d565b005b341561015957600080fd5b6101616102e0565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156101ae57600080fd5b6101da600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610305565b005b60016020528060005260406000206000915090505481565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561029857600080fd5b80600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561036057600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561039c57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505600a165627a7a723058209ef993dd17b2dd3516bf02c77990874217f670bc6db0288b1e7a16261c4997f70029

Deployed Bytecode

0x60606040526004361061006d576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806314577c55146100725780631cbd0519146100bf5780638abadb6b1461010c5780638da5cb5b1461014e578063f2fde38b146101a3575b600080fd5b341561007d57600080fd5b6100a9600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506101dc565b6040518082815260200191505060405180910390f35b34156100ca57600080fd5b6100f6600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506101f4565b6040518082815260200191505060405180910390f35b341561011757600080fd5b61014c600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803590602001909190505061023d565b005b341561015957600080fd5b6101616102e0565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156101ae57600080fd5b6101da600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610305565b005b60016020528060005260406000206000915090505481565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561029857600080fd5b80600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561036057600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561039c57600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505600a165627a7a723058209ef993dd17b2dd3516bf02c77990874217f670bc6db0288b1e7a16261c4997f70029

Swarm Source

bzzr://9ef993dd17b2dd3516bf02c77990874217f670bc6db0288b1e7a16261c4997f7

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.