Contract 0x39aB6574c289c3Ae4d88500eEc792AB5B947A5Eb

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xc255bf99a198429d39f21b6307e99cae8e8e7520d3ec8e7ab1c23e9bddfd6703Approve320054152022-08-17 19:14:591 hr 12 mins ago0xfe5b925941f0e5110e588f2198cb110a62c6e94f IN  0x39ab6574c289c3ae4d88500eec792ab5b947a5eb0 MATIC0.001669207294 35.889984618
0x5791d422a31ce732a9891c982517b19e35594e9f943224b5301cfb1ad19f5c0dApprove320049452022-08-17 18:58:511 hr 28 mins ago0xa92a34360ff605a7012e946e148b86cf0923eab2 IN  0x39ab6574c289c3ae4d88500eec792ab5b947a5eb0 MATIC0.002185923 47
0xe6913f2b66733dcb2b38cfbbfefa44a9d5124b5f29b62cda5ba8d40474081d1aApprove320047032022-08-17 18:49:271 hr 37 mins ago0xbb40888f5c2509eba0dce37dbb02d15f6d26e1fc IN  0x39ab6574c289c3ae4d88500eec792ab5b947a5eb0 MATIC0.001368123 47
0x1f7696fb44f643e7fd439191ea9dafee9275a6af0fb909a19c84df2107f6a609Approve320023522022-08-17 17:22:473 hrs 4 mins ago0xca5b1bc12559be6dfde9ab79af3914c8fc1728e1 IN  0x39ab6574c289c3ae4d88500eec792ab5b947a5eb0 MATIC0.002139414 46
0x3187d0ee56569c3f9ba80453b91691b262d1432e63293345a1e875975ce61516Approve320018932022-08-17 17:05:233 hrs 22 mins ago0x85fd76654d6e691db87a24f1f17b04140cb669f4 IN  0x39ab6574c289c3ae4d88500eec792ab5b947a5eb0 MATIC0.001444090277 31.049695273
0x1698a2988b7f78e64671f3df8ad830e6558e27fa29ce32d3b27852661b6a911cTransfer320015532022-08-17 16:53:383 hrs 33 mins ago0xe497285e466227f4e8648209e34b465daa1f90a0 IN  0x39ab6574c289c3ae4d88500eec792ab5b947a5eb0 MATIC0.000890166198 30.003242401
0xd504dc990f72b324e226e233ce0faf1d8044ece4be9f8ea1b2649666381f88f9Approve320010762022-08-17 16:36:263 hrs 50 mins ago0x97424388a67dc0d4dfd51e90e1b507d85da3bd52 IN  0x39ab6574c289c3ae4d88500eec792ab5b947a5eb0 MATIC0.002883558 62
0xe0d69dd68523042e3109f675ec9a2e3e550f698bb6dbc41164ffa2341012cd18Approve320008282022-08-17 16:24:224 hrs 3 mins ago0x4ccf9283be80032f377cc583a864112a25502610 IN  0x39ab6574c289c3ae4d88500eec792ab5b947a5eb0 MATIC0.002092905 45
0x3080cc0aa17de82964526839759635b53cd5c0c49b6d8fdbc8007505dbe06045Approve320003692022-08-17 16:08:364 hrs 18 mins ago0x3bb6cc669c7940c80dc1e26a0ef7df5e9f9b921d IN  0x39ab6574c289c3ae4d88500eec792ab5b947a5eb0 MATIC0.002883558 62
0xdc3775bf8fd53c8aad970859d9d64f027db4d1b686ef38a5a1914e0b94e285a4Approve319999792022-08-17 15:52:244 hrs 34 mins ago0x1ddaf9cb206802d776af83974a4d720eb2cf6528 IN  0x39ab6574c289c3ae4d88500eec792ab5b947a5eb0 MATIC0.002472133434 53.153872026
0x306a22efe5ae66dcd2dbc8e64c430a7a2691d0a62735856ee94711cf45e49b75Approve319995332022-08-17 15:33:124 hrs 54 mins ago0x259dcf60cf6e77bf79ab56b3af644cef294d6813 IN  0x39ab6574c289c3ae4d88500eec792ab5b947a5eb0 MATIC0.001691058753 36.359817524
0x5a995b82010f2a048681634079b2c9ace33c40f113c7cf090a3af9312e549914Approve319995262022-08-17 15:32:584 hrs 54 mins ago0xfe5b925941f0e5110e588f2198cb110a62c6e94f IN  0x39ab6574c289c3ae4d88500eec792ab5b947a5eb0 MATIC0.002604504 56
0xf6775cb57e24a0e79b98cd52cb1fb97ab36d8c515908d010f7a554cc241510dbApprove319989792022-08-17 15:12:045 hrs 15 mins ago0xc8ad45663dc6b2103f925c5753505ea8e15ffc11 IN  0x39ab6574c289c3ae4d88500eec792ab5b947a5eb0 MATIC0.002930067 63
0xae9ce086b348a4c32d0bec58137834e2baa1bedc02e727515f435c5452a635b0Approve319979432022-08-17 14:27:525 hrs 59 mins ago0xdd83eaa1a66369ab09b2642a1a130287c4ad8e40 IN  0x39ab6574c289c3ae4d88500eec792ab5b947a5eb0 MATIC0.006139188132
0xad64996fb311313256efc58e2026e5e949e9fc6b71b2412ba8a3e57b18b35e78Approve319961272022-08-17 13:07:197 hrs 20 mins ago0x450757703ec49008ffcc427d2fd163a03b4f9c3c IN  0x39ab6574c289c3ae4d88500eec792ab5b947a5eb0 MATIC0.001788881684 73.844445176
0xff3c52fa1dbc75233e1ba7cb327112c341047ce3bd33192be802814e0ef4e7b9Approve319959522022-08-17 13:01:177 hrs 26 mins ago0x450757703ec49008ffcc427d2fd163a03b4f9c3c IN  0x39ab6574c289c3ae4d88500eec792ab5b947a5eb0 MATIC0.009580854 206
0x58e4cee6285b9c1b377e856b94acd1620e20e6ff3675ab06193bfdf9bb0e03c9Approve319955052022-08-17 12:37:237 hrs 50 mins ago0xffbc10d5520d549f36dd6f4774710e121d9ea1d1 IN  0x39ab6574c289c3ae4d88500eec792ab5b947a5eb0 MATIC0.003417357056 73.477328188
0x781fa5273a6bd906fd3b59180d1abe8e73c8c134a4f2da471d095dbe3ec4813fApprove319952732022-08-17 12:27:397 hrs 59 mins ago0x17da29eebae041b4bbcd49eca15340f060fddb3f IN  0x39ab6574c289c3ae4d88500eec792ab5b947a5eb0 MATIC0.002185923 47
0x430fb96cd6a7266ec4483a305cd0a717e6163b5fab1faa281051e3b91d9db89eApprove319934112022-08-17 11:07:069 hrs 20 mins ago0x43ac07ef2a17e897d1d4be96859c6f7ce298f25c IN  0x39ab6574c289c3ae4d88500eec792ab5b947a5eb0 MATIC0.001396316853 30.022508625
0xd03d0446972739cdac5d7e12a691705e5e81f95858faa00e79fe12f2e8d7f0b9Approve319891862022-08-17 8:25:0612 hrs 2 mins ago0x738e28878aae5fb2114646bf0d04e945db9e5340 IN  0x39ab6574c289c3ae4d88500eec792ab5b947a5eb0 MATIC0.000726850418 30.004145263
0xf1d19ea8daf9516438d5c9f567d38042a3359cb31d78b7a12650fad52f49f94eApprove319882732022-08-17 7:53:4012 hrs 33 mins ago0x738e28878aae5fb2114646bf0d04e945db9e5340 IN  0x39ab6574c289c3ae4d88500eec792ab5b947a5eb0 MATIC0.012371394 266
0x23d1d860c949d41e74abfa8de812c1713d1fc83e7a81f7d4f2ab7784c4f7fff0Transfer319881012022-08-17 7:47:4712 hrs 39 mins ago0xd957530851b89f841bae46fba4d1a5c17b4ad5db IN  0x39ab6574c289c3ae4d88500eec792ab5b947a5eb0 MATIC0.001766231689 59.531217414
0xa7effdc5fafc94adb6c40f26f36f21bfcb2cb081c5c595096a9eabed642b4673Transfer319875122022-08-17 7:27:2512 hrs 59 mins ago0x8ce134d810f5361f3d4bb0707482bcde92c26777 IN  0x39ab6574c289c3ae4d88500eec792ab5b947a5eb0 MATIC0.003455119552 116.408461726
0xa87795686ff04ae3c8675ed8693d739b069a51a22db91e8af5f7fe98644a9433Approve319866802022-08-17 6:49:5913 hrs 37 mins ago0x1e140b3f8a4731f47edfcf4de23c83da8d5e7716 IN  0x39ab6574c289c3ae4d88500eec792ab5b947a5eb0 MATIC0.001395270065 30.00000141
0x40ac01f9ad590708946311be4577ab8d86054a29d55bb4b231daa505a253a028Approve319843152022-08-17 5:28:2314 hrs 59 mins ago0xaf5c7b039a3de3d1c13001f9a52314d496ed2cfa IN  0x39ab6574c289c3ae4d88500eec792ab5b947a5eb0 MATIC0.0023254550
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x5093868fBc3f96FF07A840D3b03Aa807dA05e2EF

Contract Name:
Dyst

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 2 : Dyst.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.13;

import "../../interface/IERC20.sol";

contract Dyst is IERC20 {

  string public constant symbol = "DYST";
  string public constant name = "Dystopia token";
  uint8 public constant decimals = 18;
  uint public override totalSupply = 0;

  mapping(address => uint) public override balanceOf;
  mapping(address => mapping(address => uint)) public override allowance;

  address public minter;

  constructor() {
    minter = msg.sender;
    _mint(msg.sender, 0);
  }

  // No checks as its meant to be once off to set minting rights to Minter
  function setMinter(address _minter) external {
    require(msg.sender == minter, "DYST: Not minter");
    minter = _minter;
  }

  function approve(address _spender, uint _value) external override returns (bool) {
    require(_spender != address(0), "DYST: Approve to the zero address");
    allowance[msg.sender][_spender] = _value;
    emit Approval(msg.sender, _spender, _value);
    return true;
  }

  function _mint(address _to, uint _amount) internal returns (bool) {
    require(_to != address(0), "DYST: Mint to the zero address");
    balanceOf[_to] += _amount;
    totalSupply += _amount;
    emit Transfer(address(0x0), _to, _amount);
    return true;
  }

  function _transfer(address _from, address _to, uint _value) internal returns (bool) {
    require(_to != address(0), "DYST: Transfer to the zero address");

    uint fromBalance = balanceOf[_from];
    require(fromBalance >= _value, "DYST: Transfer amount exceeds balance");
  unchecked {
    balanceOf[_from] = fromBalance - _value;
  }

    balanceOf[_to] += _value;
    emit Transfer(_from, _to, _value);
    return true;
  }

  function transfer(address _to, uint _value) external override returns (bool) {
    return _transfer(msg.sender, _to, _value);
  }

  function transferFrom(address _from, address _to, uint _value) external override returns (bool) {
    address spender = msg.sender;
    uint spenderAllowance = allowance[_from][spender];
    if (spenderAllowance != type(uint).max) {
      require(spenderAllowance >= _value, "DYST: Insufficient allowance");
    unchecked {
      uint newAllowance = spenderAllowance - _value;
      allowance[_from][spender] = newAllowance;
      emit Approval(_from, spender, newAllowance);
    }
    }
    return _transfer(_from, _to, _value);
  }

  function mint(address account, uint amount) external returns (bool) {
    require(msg.sender == minter, "DYST: Not minter");
    _mint(account, amount);
    return true;
  }
}

File 2 of 2 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.13;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
  /**
   * @dev Returns the amount of tokens in existence.
   */
  function totalSupply() external view returns (uint256);

  /**
   * @dev Returns the amount of tokens owned by `account`.
   */
  function balanceOf(address account) external view returns (uint256);

  /**
   * @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 recipient, uint256 amount) external returns (bool);

  /**
   * @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 owner, address spender) external view returns (uint256);

  /**
   * @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, uint256 amount) external returns (bool);

  /**
   * @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 sender,
    address recipient,
    uint256 amount
  ) external returns (bool);

  /**
   * @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, uint256 value);

  /**
   * @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 owner, address indexed spender, uint256 value);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "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":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"setMinter","outputs":[],"stateMutability":"nonpayable","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":"_value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60806040526000805534801561001457600080fd5b50600380546001600160a01b0319163390811790915561003590600061003b565b5061014c565b60006001600160a01b0383166100975760405162461bcd60e51b815260206004820152601e60248201527f445953543a204d696e7420746f20746865207a65726f20616464726573730000604482015260640160405180910390fd5b6001600160a01b038316600090815260016020526040812080548492906100bf908490610126565b92505081905550816000808282546100d79190610126565b90915550506040518281526001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350600192915050565b6000821982111561014757634e487b7160e01b600052601160045260246000fd5b500190565b6108ae8061015b6000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806340c10f191161007157806340c10f191461018e57806370a08231146101a157806395d89b41146101c1578063a9059cbb146101e4578063dd62ed3e146101f7578063fca3b5aa1461022257600080fd5b806306fdde03146100b957806307546172146100fc578063095ea7b31461012757806318160ddd1461014a57806323b872dd14610161578063313ce56714610174575b600080fd5b6100e66040518060400160405280600e81526020016d223cb9ba37b834b0903a37b5b2b760911b81525081565b6040516100f3919061072d565b60405180910390f35b60035461010f906001600160a01b031681565b6040516001600160a01b0390911681526020016100f3565b61013a61013536600461079e565b610237565b60405190151581526020016100f3565b61015360005481565b6040519081526020016100f3565b61013a61016f3660046107c8565b610303565b61017c601281565b60405160ff90911681526020016100f3565b61013a61019c36600461079e565b6103fb565b6101536101af366004610804565b60016020526000908152604090205481565b6100e660405180604001604052806004815260200163111654d560e21b81525081565b61013a6101f236600461079e565b61045f565b61015361020536600461081f565b600260209081526000928352604080842090915290825290205481565b610235610230366004610804565b610473565b005b60006001600160a01b03831661029e5760405162461bcd60e51b815260206004820152602160248201527f445953543a20417070726f766520746f20746865207a65726f206164647265736044820152607360f81b60648201526084015b60405180910390fd5b3360008181526002602090815260408083206001600160a01b03881680855290835292819020869055518581529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a350600192915050565b6001600160a01b038316600090815260026020908152604080832033808552925282205460001981146103e657838110156103805760405162461bcd60e51b815260206004820152601c60248201527f445953543a20496e73756666696369656e7420616c6c6f77616e6365000000006044820152606401610295565b6001600160a01b03868116600081815260026020908152604080832094871680845294825291829020888603908190559151828152919392917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505b6103f18686866104e2565b9695505050505050565b6003546000906001600160a01b0316331461044b5760405162461bcd60e51b815260206004820152601060248201526f222ca9aa1d102737ba1036b4b73a32b960811b6044820152606401610295565b6104558383610652565b5060019392505050565b600061046c3384846104e2565b9392505050565b6003546001600160a01b031633146104c05760405162461bcd60e51b815260206004820152601060248201526f222ca9aa1d102737ba1036b4b73a32b960811b6044820152606401610295565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b0383166105455760405162461bcd60e51b815260206004820152602260248201527f445953543a205472616e7366657220746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610295565b6001600160a01b038416600090815260016020526040902054828110156105bc5760405162461bcd60e51b815260206004820152602560248201527f445953543a205472616e7366657220616d6f756e7420657863656564732062616044820152646c616e636560d81b6064820152608401610295565b6001600160a01b038086166000908152600160205260408082208685039055918616815290812080548592906105f3908490610852565b92505081905550836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161063f91815260200190565b60405180910390a3506001949350505050565b60006001600160a01b0383166106aa5760405162461bcd60e51b815260206004820152601e60248201527f445953543a204d696e7420746f20746865207a65726f206164647265737300006044820152606401610295565b6001600160a01b038316600090815260016020526040812080548492906106d2908490610852565b92505081905550816000808282546106ea9190610852565b90915550506040518281526001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016102f2565b600060208083528351808285015260005b8181101561075a5785810183015185820160400152820161073e565b8181111561076c576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461079957600080fd5b919050565b600080604083850312156107b157600080fd5b6107ba83610782565b946020939093013593505050565b6000806000606084860312156107dd57600080fd5b6107e684610782565b92506107f460208501610782565b9150604084013590509250925092565b60006020828403121561081657600080fd5b61046c82610782565b6000806040838503121561083257600080fd5b61083b83610782565b915061084960208401610782565b90509250929050565b6000821982111561087357634e487b7160e01b600052601160045260246000fd5b50019056fea26469706673582212206398c77ce84bf7d9a1c4552f2f165af8825be9afae9a79e92a1a77dd9c02ab0d64736f6c634300080d0033

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.