ETH Price: $1,795.24 (+7.13%)

Contract

0x416810F4fDcEbC5FE804E53ff970652B2d3932E7

Overview

ETH Balance

0 ETH

ETH Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Deposit Tokens T...297467432024-03-24 10:35:46395 days ago1711276546IN
0x416810F4...B2d3932E7
0 ETH0.000007240.025
Deposit Tokens T...230185692024-01-02 7:26:36477 days ago1704180396IN
0x416810F4...B2d3932E7
0 ETH0.000039670.15
Deposit Tokens T...227864622023-12-30 12:18:16480 days ago1703938696IN
0x416810F4...B2d3932E7
0 ETH0.000037620.15
Deposit Tokens T...218593532023-12-19 4:26:25491 days ago1702959985IN
0x416810F4...B2d3932E7
0 ETH0.000080740.19
Deposit Tokens T...209253052023-12-07 22:14:08502 days ago1701987248IN
0x416810F4...B2d3932E7
0 ETH0.000139380.25
Deposit Tokens T...207453892023-12-05 17:43:43504 days ago1701798223IN
0x416810F4...B2d3932E7
0 ETH0.000213910.25
Deposit Tokens T...207441522023-12-05 17:22:15504 days ago1701796935IN
0x416810F4...B2d3932E7
0 ETH0.000192420.25
Withdraw For Bur...203399202023-11-30 21:31:01509 days ago1701379861IN
0x416810F4...B2d3932E7
0 ETH0.000188470.25
Deposit Tokens T...203163892023-11-30 14:51:34509 days ago1701355894IN
0x416810F4...B2d3932E7
0 ETH0.000357140.25
Deposit Tokens T...203107722023-11-30 13:16:57510 days ago1701350217IN
0x416810F4...B2d3932E7
0 ETH0.000102670.25
Deposit Tokens T...203100512023-11-30 13:04:44510 days ago1701349484IN
0x416810F4...B2d3932E7
0 ETH0.000096470.25
Deposit Tokens T...203090132023-11-30 12:47:10510 days ago1701348430IN
0x416810F4...B2d3932E7
0 ETH0.000095290.25
Deposit Tokens T...203084352023-11-30 12:37:23510 days ago1701347843IN
0x416810F4...B2d3932E7
0 ETH0.000095740.25
Deposit Tokens T...203083512023-11-30 12:35:57510 days ago1701347757IN
0x416810F4...B2d3932E7
0 ETH0.000093440.25
Deposit Tokens T...203058252023-11-30 11:53:07510 days ago1701345187IN
0x416810F4...B2d3932E7
0 ETH0.000097690.25
Deposit Tokens T...203050162023-11-30 11:39:21510 days ago1701344361IN
0x416810F4...B2d3932E7
0 ETH0.00008570.25
Deposit Tokens T...203043332023-11-30 11:27:40510 days ago1701343660IN
0x416810F4...B2d3932E7
0 ETH0.00008320.25
Deposit Tokens T...203040582023-11-30 11:22:58510 days ago1701343378IN
0x416810F4...B2d3932E7
0 ETH0.000109130.25
Deposit Tokens T...203036992023-11-30 11:16:48510 days ago1701343008IN
0x416810F4...B2d3932E7
0 ETH0.00008160.25
Deposit Tokens T...203034032023-11-30 11:11:44510 days ago1701342704IN
0x416810F4...B2d3932E7
0 ETH0.000105650.25
Deposit Tokens T...203026052023-11-30 10:58:02510 days ago1701341882IN
0x416810F4...B2d3932E7
0 ETH0.000084990.25
Deposit Tokens T...203019182023-11-30 10:46:16510 days ago1701341176IN
0x416810F4...B2d3932E7
0 ETH0.000115080.25
Deposit Tokens T...203014162023-11-30 10:37:41510 days ago1701340661IN
0x416810F4...B2d3932E7
0 ETH0.000086350.25
Deposit Tokens T...203012812023-11-30 10:35:23510 days ago1701340523IN
0x416810F4...B2d3932E7
0 ETH0.000089380.25
Deposit Tokens T...203011942023-11-30 10:33:54510 days ago1701340434IN
0x416810F4...B2d3932E7
0 ETH0.000090190.25
View all transactions

Latest 1 internal transaction

Parent Transaction Hash Block From To
166979892023-10-18 13:48:07553 days ago1697636887  Contract Creation0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BurningVault

Compiler Version
v0.8.17+commit.8df45f5f

ZkSolc Version
v1.3.13

Optimization Enabled:
Yes with Mode z

Other Settings:
default evmVersion, MIT license
File 1 of 2 : BurningVault.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

contract BurningVault {
    address public admin;
    IERC20 public token;

    mapping(address => uint256) public deposits;

    event Deposited(address indexed user, uint256 amount);
    event WithdrawForBurning(uint256 amount);

    constructor(address _tokenAddress) {
        admin = msg.sender;
        token = IERC20(_tokenAddress);
    }

    modifier onlyAdmin() {
        require(msg.sender == admin, "Only admin can call this function.");
        _;
    }

    function depositTokensToBurn(uint256 amount) external {
        require(token.transferFrom(msg.sender, address(this), amount), "Transfer failed.");

        deposits[msg.sender] += amount;
        emit Deposited(msg.sender, amount);
    }

    function withdrawForBurning() external onlyAdmin {
        uint256 contractBalance = token.balanceOf(address(this));
        require(token.transfer(msg.sender, contractBalance), "Transfer to burn address failed.");
        emit WithdrawForBurning(contractBalance);
    }
}

File 2 of 2 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

    /**
     * @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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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, uint256 amount) external returns (bool);
}

Settings
{
  "compilerPath": "",
  "experimental": {},
  "forceEvmla": false,
  "isSystem": false,
  "optimizer": {
    "enabled": true,
    "mode": "z"
  }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawForBurning","type":"event"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"depositTokensToBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"deposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawForBurning","outputs":[],"stateMutability":"nonpayable","type":"function"}]

9c4d535b0000000000000000000000000000000000000000000000000000000000000000010000bf45de8cc16ecab188fa6efe33e2fd8e4a807f44a9b5f6dc089746809b00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000020000000000000000000000000c38abbbaf4d4221d4012c4bbfd9a5d615e8c6e57

Deployed Bytecode

0x0004000000000002000300000000000200000000030100190000006003300270000000a40430019700030000004103550002000000010355000000a40030019d000100000000001f00000001012001900000008f0000c13d0000008001000039000000400010043f0000000001000031000000040110008c000001760000413d0000000201000367000000000101043b000000e001100270000000aa0210009c000000dc0000613d000000ab0210009c000000fd0000613d000000ac0210009c0000014d0000613d000000ad0210009c000001650000613d000000ae0110009c000001760000c13d0000000001000416000000000101004b000001760000c13d000000040100008a0000000001100031000000a602000041000000000301004b00000000030000190000000003024019000000a601100197000000000401004b000000000200a019000000a60110009c00000000010300190000000001026019000000000101004b000001760000c13d000000000100041a000000a7011001970000000005000411000000000115004b000001a70000c13d0000000101000039000000000201041a000000400700043d000000b80100004100000000001704350000000401700039000000000300041000000000003104350000000001000414000000a702200197000000040320008c0000004a0000613d00000000030700190000000004070019000300000005001d000200000002001d000100000007001d028b02280000040f000000010700002900000002020000290000000305000029000000000101004b0000012d0000613d0000000101000031000000200310008c000000200300003900000000030140190000001f03300039000000600430018f0000000003740019000000000443004b00000000060000190000000106004039000000b00430009c000000980000213d0000000104600190000000980000c13d000000400030043f000000200110008c000001760000413d0000000006070433000000b901000041000000000013043500000004013000390000000000510435000000240130003900000000006104350000000001000414000000040420008c0000006f0000613d0000004404000039000200000006001d0000002006000039000300000003001d0000000305000029028b01f30000040f00000002060000290000000303000029000000000101004b0000012d0000613d0000000102000031000000200120008c000000200100003900000000010240190000001f01100039000000600110018f0000000001310019000000b00410009c000000980000213d000000400010043f000000200220008c000001760000413d0000000002030433000000000302004b0000000003000019000000010300c039000000000332004b000001760000c13d000000000202004b000001e10000c13d0000004402100039000000bb030000410000000000320435000000b5020000410000000000210435000000240210003900000020030000390000000000320435000000040210003900000000003204350000006402000039028b02780000040f0000000001000416000000000101004b000001760000c13d00000000010000310000009f02100039000000200300008a000000000232016f000000a50320009c0000009f0000413d000000b30100004100000000001004350000004101000039000000040010043f00000024020000390000000001000019028b02780000040f000000400020043f0000001f0210018f00000002030003670000000504100272000000ad0000613d00000000050000190000000506500210000000000763034f000000000707043b000000800660003900000000007604350000000105500039000000000645004b000000a50000413d000000000502004b000000bc0000613d0000000504400210000000000343034f00000003022002100000008004400039000000000504043300000000052501cf000000000525022f000000000303043b0000010002200089000000000323022f00000000022301cf000000000252019f0000000000240435000000a602000041000000200310008c00000000030000190000000003024019000000a601100197000000000401004b000000000200a019000000a60110009c00000000010300190000000001026019000000000101004b000001760000c13d000000800100043d000000a70210009c000001760000213d000000000200041a000000a8022001970000000003000411000000000232019f000000000020041b0000000102000039000000000302041a000000a803300197000000000113019f000000000012041b00000020010000390000010000100443000001200000044300000100010000390000004002000039000000a903000041028b026e0000040f0000000001000416000000000101004b000001760000c13d000000040100008a0000000001100031000000a602000041000000200310008c00000000030000190000000003024019000000a601100197000000000401004b000000000200a019000000a60110009c00000000010300190000000001026019000000000101004b000001760000c13d00000004010000390000000201100367000000000101043b000000a70210009c000001760000213d00000000001004350000000201000039000000200010043f0000000001000019028b025b0000040f000000000201041a000000400100043d000000000021043500000020020000390000000003000019028b026e0000040f0000000001000416000000000101004b000001760000c13d000000040100008a0000000001100031000000a602000041000000200310008c00000000030000190000000003024019000000a601100197000000000401004b000000000200a019000000a60110009c00000000010300190000000001026019000000000101004b000001760000c13d0000000101000039000000000201041a00000004010000390000000201100367000000000401043b000000400300043d000000240130003900000000050004100000000000510435000000af0100004100000000001304350000004401300039000200000004001d00000000004104350000000401300039000000000500041100000000005104350000000001000414000000a702200197000000040420008c000001810000613d00000064040000390000002006000039000300000005001d0000000005030019000100000003001d028b01f30000040f00000001030000290000000305000029000000000101004b000001810000c13d0000000302000367000000400100043d00000001040000310000001f0340018f00000005044002720000013c0000613d000000000500001900000005065002100000000007610019000000000662034f000000000606043b00000000006704350000000105500039000000000645004b000001340000413d000000000503004b0000014b0000613d0000000504400210000000000242034f00000000044100190000000303300210000000000504043300000000053501cf000000000535022f000000000202043b0000010003300089000000000232022f00000000023201cf000000000252019f00000000002404350000000102000031028b02780000040f0000000001000416000000000101004b000001760000c13d000000040100008a0000000001100031000000a602000041000000000301004b00000000030000190000000003024019000000a601100197000000000401004b000000000200a019000000a60110009c00000000010300190000000001026019000000000101004b000001760000c13d000000000100041a000000a702100197000000400100043d000000000021043500000020020000390000000003000019028b026e0000040f0000000001000416000000000101004b000001760000c13d000000040100008a0000000001100031000000a602000041000000000301004b00000000030000190000000003024019000000a601100197000000000401004b000000000200a019000000a60110009c00000000010300190000000001026019000000000101004b000001790000613d00000000010000190000000002000019028b02780000040f0000000101000039000000000101041a000000a702100197000000400100043d000000000021043500000020020000390000000003000019028b026e0000040f0000000102000031000000200120008c000000200100003900000000010240190000001f01100039000000600410018f0000000001340019000000000441004b00000000060000190000000106004039000000b00410009c000000980000213d0000000104600190000000980000c13d000000400010043f000000200220008c000001760000413d0000000002030433000000000302004b0000000003000019000000010300c039000000000332004b000001760000c13d000000000202004b000001b40000c13d0000004402100039000000b4030000410000000000320435000000240210003900000010030000390000000000320435000000b50200004100000000002104350000000402100039000000200300003900000000003204350000006402000039028b02780000040f000000b501000041000000800010043f0000002001000039000000840010043f0000002201000039000000a40010043f000000b601000041000000c40010043f000000b701000041000000e40010043f00000080010000390000008402000039028b02780000040f00000000005004350000000201000039000000200010043f0000000001000019000300000005001d028b025b0000040f000000000301041a00000002040000290000000002430019000000000332004b000000000300001900000001030040390000000103300190000001c90000613d000000b30100004100000000001004350000001101000039000000040010043f00000024020000390000000001000019028b02780000040f000000000021041b000000400100043d0000000000410435000000a4020000410000000003000414000000a40430009c0000000003028019000000a40410009c00000000010280190000004001100210000000c002300210000000000112019f000000b1011001c70000800d020000390000000203000039000000b2040000410000000305000029028b02810000040f0000000101200190000001760000613d000000000100001900000000020000190000000003000019028b026e0000040f0000000000610435000000a4020000410000000003000414000000a40430009c0000000003028019000000a40410009c00000000010280190000004001100210000000c002300210000000000112019f000000b1011001c70000800d020000390000000103000039000000ba04000041028b02810000040f0000000101200190000001760000613d000001dd0000013d0002000000000002000200000006001d000100000005001d000000a405000041000000a40610009c0000000001058019000000c00110021000000060044002100000000001140019000000a40430009c00000000030580190000004003300210000000000131019f028b02810000040f000000010900002900000000030100190000006003300270000000a4033001970000000205000029000000000453004b00000000050340190000001f0450018f0000000505500272000002140000613d000000000600001900000005076002100000000008790019000000000771034f000000000707043b00000000007804350000000106600039000000000756004b0000020c0000413d000000010220018f000000000604004b000002240000613d0000000505500210000000000651034f00000000055900190000000304400210000000000705043300000000074701cf000000000747022f000000000606043b0000010004400089000000000646022f00000000044601cf000000000474019f0000000000450435000100000003001f00030000000103550000000001020019000000000001042d0001000000000002000100000004001d000000a404000041000000a40530009c0000000003048019000000a40510009c0000000001048019000000c0011002100000004003300210000000000113019f000000bc011001c7028b02860000040f000000010900002900000000030100190000006003300270000000a403300197000000200430008c000000200500003900000000050340190000001f0450018f0000000505500272000002470000613d000000000600001900000005076002100000000008790019000000000771034f000000000707043b00000000007804350000000106600039000000000756004b0000023f0000413d000000010220018f000000000604004b000002570000613d0000000505500210000000000651034f00000000055900190000000304400210000000000705043300000000074701cf000000000747022f000000000606043b0000010004400089000000000646022f00000000044601cf000000000474019f0000000000450435000100000003001f00030000000103550000000001020019000000000001042d000000a4020000410000000003000414000000a40430009c0000000003028019000000a40410009c00000000010280190000004001100210000000c002300210000000000112019f000000bd011001c70000801002000039028b02860000040f00000001022001900000026b0000613d000000000101043b000000000001042d00000000010000190000000002000019028b02780000040f000000a404000041000000a40510009c000000000104801900000040011002100000000001310019000000a40320009c0000000002048019000000600220021000000000012100190000028c0001042e000000a403000041000000a40420009c0000000002038019000000a40410009c000000000103801900000040011002100000006002200210000000000112019f0000028d0001043000000284002104210000000102000039000000000001042d0000000002000019000000000001042d00000289002104230000000102000039000000000001042d0000000002000019000000000001042d0000028b000004320000028c0001042e0000028d000104300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff00000000000000000000000000000000000000000000000100000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fc7e286d00000000000000000000000000000000000000000000000000000000c4ba60e300000000000000000000000000000000000000000000000000000000f851a44000000000000000000000000000000000000000000000000000000000fc0c546a0000000000000000000000000000000000000000000000000000000003d4f6d423b872dd00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffff02000000000000000000000000000000000000200000000000000000000000002da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c44e487b71000000000000000000000000000000000000000000000000000000005472616e73666572206661696c65642e0000000000000000000000000000000008c379a0000000000000000000000000000000000000000000000000000000004f6e6c792061646d696e2063616e2063616c6c20746869732066756e6374696f6e2e00000000000000000000000000000000000000000000000000000000000070a0823100000000000000000000000000000000000000000000000000000000a9059cbb0000000000000000000000000000000000000000000000000000000077ab6deae7cf41af54b3ea81f30cca62ac822d1fff4b0cc6ac2baad3962893245472616e7366657220746f206275726e2061646472657373206661696c65642e000000000000000000000000000000000000002400000000000000000000000002000000000000000000000000000000000000400000000000000000000000005e8e3062824303c581ac784f318e93ee2c9a31b7f14064eefef470c70b52110d

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

0x000000000000000000000000c38abbbaf4d4221d4012c4bbfd9a5d615e8c6e57

-----Decoded View---------------
Arg [0] : _tokenAddress (address): 0xC38ABBBAF4D4221d4012c4BbfD9a5d615E8c6e57

-----Encoded View---------------


Block Transaction 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
[ Download: CSV Export  ]
[ 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.