Contract 0x937b524174B24f0884f9FEf167d6f9cdF553B371 2

 
 
Txn Hash
Method
Block
From
To
Value [Txn Fee]
0xa985b0804fe58217a4e84b84541994bf86d493c4b7627e421741fcce1d361af1Cross Chain Burn259374712022-03-14 15:21:26450 days 57 mins ago0x30ae6e0632a1cb1108d92364e1d1c8dbae271589 IN  0x937b524174b24f0884f9fef167d6f9cdf553b3710 MATIC0.0041971 100
0x202151479cf9c02bd3575755dfe594eed7708592b2e91742ff114ceb20ab6bedCross Chain Burn247805792022-02-10 15:43:13482 days 35 mins ago0x30ae6e0632a1cb1108d92364e1d1c8dbae271589 IN  0x937b524174b24f0884f9fef167d6f9cdf553b3710 MATIC0.0041971 100
0x5c3d82b74baad3621dd62b7dd01a94ada6d54a80cb605c02ae5dd37145381fecCross Chain Burn239095182022-01-19 14:20:08504 days 1 hr ago0x30ae6e0632a1cb1108d92364e1d1c8dbae271589 IN  0x937b524174b24f0884f9fef167d6f9cdf553b3710 MATIC0.02308405 550
0x3a58631bbe28a906d25bc63c4990ad3f059495e5bec58b2a1f762b24432d7afcCross Chain Burn231339012021-12-30 8:00:06524 days 8 hrs ago0x30ae6e0632a1cb1108d92364e1d1c8dbae271589 IN  0x937b524174b24f0884f9fef167d6f9cdf553b3710 MATIC0.0009531330
0x2eed63beec5bdfbfc3bb4e42fcbd63e3180eb6827ef77d4aedbabe55a3a50ae1Cross Chain Burn228203112021-12-22 7:45:06532 days 8 hrs ago0x30ae6e0632a1cb1108d92364e1d1c8dbae271589 IN  0x937b524174b24f0884f9fef167d6f9cdf553b3710 MATIC0.0006354220
0xb8c023f7d5e2c700aca30b10c3b9c5cce90cbfa68c18d60efee43f1c057daae7Cross Chain Burn225446442021-12-15 7:46:00539 days 8 hrs ago0x30ae6e0632a1cb1108d92364e1d1c8dbae271589 IN  0x937b524174b24f0884f9fef167d6f9cdf553b3710 MATIC0.0000635422
0x42f4bb6831edaca5970859bd17a8b51fa7d0ed52720311770b81d466e71b5dadCross Chain Burn222702352021-12-08 7:45:06546 days 8 hrs ago0x30ae6e0632a1cb1108d92364e1d1c8dbae271589 IN  0x937b524174b24f0884f9fef167d6f9cdf553b3710 MATIC0.0009531330
0xffa55219e1bd4b0602a5ed4d17ee7482d9b53b0acaba978c7ffc26d5da7f411eCross Chain Burn220049832021-12-01 7:45:05553 days 8 hrs ago0x30ae6e0632a1cb1108d92364e1d1c8dbae271589 IN  0x937b524174b24f0884f9fef167d6f9cdf553b3710 MATIC0.0009531330
0x96ea89f8954b5d8fe8dcd71b123ac34f9684af7850bd174e156c81b399afc2e1Cross Chain Burn217380152021-11-24 7:48:13560 days 8 hrs ago0x30ae6e0632a1cb1108d92364e1d1c8dbae271589 IN  0x937b524174b24f0884f9fef167d6f9cdf553b3710 MATIC0.0009531330
0x7d9b165862b372992e76b693ebf8f0461d065f225ffa0caaf6982d972434c7f1Cross Chain Burn214686102021-11-17 7:45:08567 days 8 hrs ago0x30ae6e0632a1cb1108d92364e1d1c8dbae271589 IN  0x937b524174b24f0884f9fef167d6f9cdf553b3710 MATIC0.0009531330
0x09906e7e8868e600c0a499ff1138f50be66c9ef71df29e93f64492d209a4d44aCross Chain Burn212005412021-11-10 7:45:05574 days 8 hrs ago0x30ae6e0632a1cb1108d92364e1d1c8dbae271589 IN  0x937b524174b24f0884f9fef167d6f9cdf553b3710 MATIC0.0009531330
0xd421346540c26ef21dd0969b3971b17a4b61d230556ba732b4eabf7414978e21Cross Chain Burn209306462021-11-03 9:54:47581 days 6 hrs ago0x30ae6e0632a1cb1108d92364e1d1c8dbae271589 IN  0x937b524174b24f0884f9fef167d6f9cdf553b3710 MATIC0.0009531330
0x9fcb2a847e8ecfa94ba9b93110fc3f079b5b7db63d4a9ca57a992e789aa5453eCross Chain Burn206616872021-10-27 8:42:26588 days 7 hrs ago0x30ae6e0632a1cb1108d92364e1d1c8dbae271589 IN  0x937b524174b24f0884f9fef167d6f9cdf553b3710 MATIC0.0009531330
0x5bc91ea85665767100d1892fab1a35db7c709451d6a37a6b152b52130f6eff21Cross Chain Burn204084952021-10-20 8:00:03595 days 8 hrs ago0x30ae6e0632a1cb1108d92364e1d1c8dbae271589 IN  0x937b524174b24f0884f9fef167d6f9cdf553b3710 MATIC0.0009531330
0x7358dcf794e59dd6ec47362b82e645463194a5fb66db4c93bb1ff0718428051cCross Chain Burn201660882021-10-13 7:30:06602 days 8 hrs ago0x30ae6e0632a1cb1108d92364e1d1c8dbae271589 IN  0x937b524174b24f0884f9fef167d6f9cdf553b3710 MATIC0.0009531330
0xf276112eef6e43975d8b7bfcc887bc808468de6551ad550c87befe45ec0cbadeCross Chain Burn198994912021-10-06 7:34:09609 days 8 hrs ago0x30ae6e0632a1cb1108d92364e1d1c8dbae271589 IN  0x937b524174b24f0884f9fef167d6f9cdf553b3710 MATIC0.0009531330
0xcbf89c2a203619671faea362562f110956269030f8a5230e5aea0c5530a3e382Cross Chain Burn196397832021-09-29 8:35:00616 days 7 hrs ago0x30ae6e0632a1cb1108d92364e1d1c8dbae271589 IN  0x937b524174b24f0884f9fef167d6f9cdf553b3710 MATIC0.00065176506720.514465002
0x5d7fff4dd16cd68419970eb918043866153d08a2fa860cb5b7872186855a2aa0Cross Chain Burn193800472021-09-22 9:30:10623 days 6 hrs ago0x30ae6e0632a1cb1108d92364e1d1c8dbae271589 IN  0x937b524174b24f0884f9fef167d6f9cdf553b3710 MATIC0.00003494811.1
0xdd39f03ebcb0d5104cbb09572064d7e8f66311665b1af4f289d338e86a11c510Cross Chain Burn191677442021-09-16 10:08:48629 days 6 hrs ago0x30ae6e0632a1cb1108d92364e1d1c8dbae271589 IN  0x937b524174b24f0884f9fef167d6f9cdf553b3710 MATIC0.0005642529617.76
0x180e0b8d302317432e6d7e06525a73cfea88ba855c088a1a54782dc0e872873eCross Chain Burn188744932021-09-08 8:00:11637 days 8 hrs ago0x30ae6e0632a1cb1108d92364e1d1c8dbae271589 IN  0x937b524174b24f0884f9fef167d6f9cdf553b3710 MATIC0.0006354220
0xd6ee5a0d46f70168781f1e204ad37acec1512bce13a97f066f23a3c95a7bc026Cross Chain Burn186151722021-09-01 6:30:16644 days 9 hrs ago0x30ae6e0632a1cb1108d92364e1d1c8dbae271589 IN  0x937b524174b24f0884f9fef167d6f9cdf553b3710 MATIC0.0000317711
0x6007643ced2038a760b2c49555790a83df26ce10ba772f426b84d159d8449c2aCross Chain Burn184140152021-08-26 11:35:09650 days 4 hrs ago0x30ae6e0632a1cb1108d92364e1d1c8dbae271589 IN  0x937b524174b24f0884f9fef167d6f9cdf553b3710 MATIC0.000317392299.990000001
0x92cb902da792cd0424d1822bfa219620c4fe59e63f85b20330b2a5a3d13d9e09Transfer184137042021-08-26 11:22:21650 days 4 hrs ago0x30ae6e0632a1cb1108d92364e1d1c8dbae271589 IN  0x937b524174b24f0884f9fef167d6f9cdf553b3710 MATIC0.0003820386
0xda7a471ca75087eae9f6c6bf5b6bf5615ee90fe61c3c5a531f0ee1f157926cebTransfer Ownersh...183812292021-08-25 12:40:44651 days 3 hrs ago0x124014531445bc3ee4ea67b6599086bc812a4987 IN  0x937b524174b24f0884f9fef167d6f9cdf553b3710 MATIC0.00071364500324.89864643
0x4beb383cfaa9f4af282e5ea81ca44b851fc371a8f3bce944a431f0d0cd64bf5bCross Chain Burn181965582021-08-20 14:02:49656 days 2 hrs ago0x124014531445bc3ee4ea67b6599086bc812a4987 IN  0x937b524174b24f0884f9fef167d6f9cdf553b3710 MATIC0.0003177110
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
L2Burner

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 5 : L2Burner.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

import "./interfaces/IChildToken.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

contract L2Burner is Ownable {
    address childToken;

    constructor(address _childToken) {
        childToken = _childToken;
    }

    function crossChainBurn() public onlyOwner {
        uint256 amount = IChildToken(childToken).balanceOf(address(this));
        IChildToken(childToken).withdraw(amount);
    }

    function transfer(uint _amount) onlyOwner public {
      IERC20(childToken).transfer(owner(), _amount);  
    }
}

File 2 of 5 : IChildToken.sol
interface IChildToken {
    function deposit(address user, bytes calldata depositData) external;

    function withdraw(uint256 amount) external;

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

File 3 of 5 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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

pragma solidity ^0.8.0;

/**
 * @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);
}

File 5 of 5 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_childToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"crossChainBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5060405161062638038061062683398101604081905261002f916100b8565b61003f61003a610064565b610068565b600180546001600160a01b0319166001600160a01b03929092169190911790556100e6565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100c9578081fd5b81516001600160a01b03811681146100df578182fd5b9392505050565b610531806100f56000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c806312514bba1461005c57806315500df714610071578063715018a6146100795780638da5cb5b14610081578063f2fde38b1461009f575b600080fd5b61006f61006a36600461041a565b6100b2565b005b61006f610187565b61006f6102ad565b6100896102f8565b604051610096919061044a565b60405180910390f35b61006f6100ad3660046103cc565b610307565b6100ba610378565b6001600160a01b03166100cb6102f8565b6001600160a01b0316146100fa5760405162461bcd60e51b81526004016100f1906104bd565b60405180910390fd5b6001546001600160a01b031663a9059cbb6101136102f8565b836040518363ffffffff1660e01b815260040161013192919061045e565b602060405180830381600087803b15801561014b57600080fd5b505af115801561015f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061018391906103fa565b5050565b61018f610378565b6001600160a01b03166101a06102f8565b6001600160a01b0316146101c65760405162461bcd60e51b81526004016100f1906104bd565b6001546040516370a0823160e01b81526000916001600160a01b0316906370a08231906101f790309060040161044a565b60206040518083038186803b15801561020f57600080fd5b505afa158015610223573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102479190610432565b600154604051632e1a7d4d60e01b81529192506001600160a01b031690632e1a7d4d906102789084906004016104f2565b600060405180830381600087803b15801561029257600080fd5b505af11580156102a6573d6000803e3d6000fd5b5050505050565b6102b5610378565b6001600160a01b03166102c66102f8565b6001600160a01b0316146102ec5760405162461bcd60e51b81526004016100f1906104bd565b6102f6600061037c565b565b6000546001600160a01b031690565b61030f610378565b6001600160a01b03166103206102f8565b6001600160a01b0316146103465760405162461bcd60e51b81526004016100f1906104bd565b6001600160a01b03811661036c5760405162461bcd60e51b81526004016100f190610477565b6103758161037c565b50565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156103dd578081fd5b81356001600160a01b03811681146103f3578182fd5b9392505050565b60006020828403121561040b578081fd5b815180151581146103f3578182fd5b60006020828403121561042b578081fd5b5035919050565b600060208284031215610443578081fd5b5051919050565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b9081526020019056fea2646970667358221220287f5fab0d86ab05c91e7c66271fecbfe9e682f6ac8eba6fa07f98531d644cad64736f6c63430008000033000000000000000000000000d1e6354fb05bf72a8909266203dab80947dceccf

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

000000000000000000000000d1e6354fb05bf72a8909266203dab80947dceccf

-----Decoded View---------------
Arg [0] : _childToken (address): 0xd1e6354fb05bf72a8909266203dab80947dceccf

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000d1e6354fb05bf72a8909266203dab80947dceccf


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.