ETH Price: $2,633.50 (-1.99%)

Contract

0xc096362fa6f4A4B1a9ea68b1043416f3381ce300
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Checkpoint217664922025-02-03 14:11:238 days ago1738591883IN
0xc096362f...3381ce300
0 ETH0.0027098113.65179566
Checkpoint215515972025-01-04 14:05:3538 days ago1735999535IN
0xc096362f...3381ce300
0 ETH0.00451422.74115735
Checkpoint213330102024-12-05 1:27:2369 days ago1733362043IN
0xc096362f...3381ce300
0 ETH0.0043336223.42817973
Checkpoint210982692024-11-02 6:47:59102 days ago1730530079IN
0xc096362f...3381ce300
0 ETH0.003969920
Checkpoint208832892024-10-03 6:47:11132 days ago1727938031IN
0xc096362f...3381ce300
0 ETH0.000674223.39667014
Checkpoint206683342024-09-03 6:43:35162 days ago1725345815IN
0xc096362f...3381ce300
0 ETH0.000218181.09919887
Checkpoint204509412024-08-03 22:15:47192 days ago1722723347IN
0xc096362f...3381ce300
0 ETH0.000238411.28892817
Checkpoint202329562024-07-04 11:49:11223 days ago1720093751IN
0xc096362f...3381ce300
0 ETH0.000945357.85302923
Checkpoint200101682024-06-03 8:40:59254 days ago1717404059IN
0xc096362f...3381ce300
0 ETH0.0019725111.45698018
Checkpoint197955362024-05-04 8:25:47284 days ago1714811147IN
0xc096362f...3381ce300
0 ETH0.000878178.05346373
Checkpoint195811902024-04-04 8:24:23314 days ago1712219063IN
0xc096362f...3381ce300
0 ETH0.0033595620.05195875
Checkpoint192116782024-02-12 11:34:11366 days ago1707737651IN
0xc096362f...3381ce300
0 ETH0.0035858221.40238669
Checkpoint188712782023-12-26 17:11:59413 days ago1703610719IN
0xc096362f...3381ce300
0 ETH0.0047646428.4383517
Checkpoint186571212023-11-26 16:45:59443 days ago1701017159IN
0xc096362f...3381ce300
0 ETH0.0051607130.80234176
Checkpoint184416972023-10-27 12:59:35473 days ago1698411575IN
0xc096362f...3381ce300
0 ETH0.0039818723.76628258
Checkpoint182218932023-09-26 19:00:11504 days ago1695754811IN
0xc096362f...3381ce300
0 ETH0.0029966917.88614971
Checkpoint180079172023-08-27 18:55:23534 days ago1693162523IN
0xc096362f...3381ce300
0 ETH0.0014456813.25790035
Checkpoint177930332023-07-28 17:26:47564 days ago1690565207IN
0xc096362f...3381ce300
0 ETH0.0091786251.44018744
Checkpoint175791802023-06-28 17:02:59594 days ago1687971779IN
0xc096362f...3381ce300
0 ETH0.0042276524.55553531
Checkpoint171812222023-05-03 15:57:47650 days ago1683129467IN
0xc096362f...3381ce300
0 ETH0.0114310568.14866145
Change Owner167489392023-03-03 15:41:35711 days ago1677858095IN
0xc096362f...3381ce300
0 ETH0.0011239134.01889809
Change Managers166993122023-02-24 16:14:47718 days ago1677255287IN
0xc096362f...3381ce300
0 ETH0.00318165.58764164

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TokenomicsProxy

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 4000 runs

Other Settings:
default evmVersion
File 1 of 1 : TokenomicsProxy.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;

/// @dev Proxy initialization failed.
error InitializationFailed();

/// @dev Zero master tokenomics address.
error ZeroTokenomicsAddress();

/// @dev Zero tokenomics initialization data.
error ZeroTokenomicsData();

/*
* This is a proxy contract for tokenomics.
* Proxy implementation is created based on the Universal Upgradeable Proxy Standard (UUPS) EIP-1822.
* The implementation address must be located in a unique storage slot of the proxy contract.
* The upgrade logic must be located in the implementation contract.
* Special tokenomics implementation address slot is produced by hashing the "PROXY_TOKENOMICS" string in order to make
* the slot unique.
* The fallback() implementation for all the delegatecall-s is inspired by the Gnosis Safe set of contracts.
*/

/// @title TokenomicsProxy - Smart contract for tokenomics proxy
/// @author AL
/// @author Aleksandr Kuperman - <[email protected]>
contract TokenomicsProxy {
    // Code position in storage is keccak256("PROXY_TOKENOMICS") = "0xbd5523e7c3b6a94aa0e3b24d1120addc2f95c7029e097b466b2bedc8d4b4362f"
    bytes32 public constant PROXY_TOKENOMICS = 0xbd5523e7c3b6a94aa0e3b24d1120addc2f95c7029e097b466b2bedc8d4b4362f;

    /// @dev TokenomicsProxy constructor.
    /// @param tokenomics Tokenomics implementation address.
    /// @param tokenomicsData Tokenomics initialization data.
    constructor(address tokenomics, bytes memory tokenomicsData) {
        // Check for the zero address, since the delegatecall works even with the zero one
        if (tokenomics == address(0)) {
            revert ZeroTokenomicsAddress();
        }

        // Check for the zero data
        if (tokenomicsData.length == 0) {
            revert ZeroTokenomicsData();
        }

        assembly {
            sstore(PROXY_TOKENOMICS, tokenomics)
        }
        // Initialize proxy tokenomics storage
        (bool success, ) = tokenomics.delegatecall(tokenomicsData);
        if (!success) {
            revert InitializationFailed();
        }
    }

    /// @dev Delegatecall to all the incoming data.
    fallback() external {
        assembly {
            let tokenomics := sload(PROXY_TOKENOMICS)
            // Otherwise continue with the delegatecall to the tokenomics implementation
            calldatacopy(0, 0, calldatasize())
            let success := delegatecall(gas(), tokenomics, 0, calldatasize(), 0, 0)
            returndatacopy(0, 0, returndatasize())
            if eq(success, 0) {
                revert(0, returndatasize())
            }
            return(0, returndatasize())
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"tokenomics","type":"address"},{"internalType":"bytes","name":"tokenomicsData","type":"bytes"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InitializationFailed","type":"error"},{"inputs":[],"name":"ZeroTokenomicsAddress","type":"error"},{"inputs":[],"name":"ZeroTokenomicsData","type":"error"},{"stateMutability":"nonpayable","type":"fallback"},{"inputs":[],"name":"PROXY_TOKENOMICS","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b5060405161032d38038061032d83398101604081905261002f91610159565b6001600160a01b03821661005657604051635c92fbed60e01b815260040160405180910390fd5b805160000361007857604051632f1a386560e11b815260040160405180910390fd5b817fbd5523e7c3b6a94aa0e3b24d1120addc2f95c7029e097b466b2bedc8d4b4362f556000826001600160a01b0316826040516100b59190610227565b600060405180830381855af49150503d80600081146100f0576040519150601f19603f3d011682016040523d82523d6000602084013e6100f5565b606091505b505090508061011757604051630337323560e31b815260040160405180910390fd5b505050610243565b634e487b7160e01b600052604160045260246000fd5b60005b83811015610150578181015183820152602001610138565b50506000910152565b6000806040838503121561016c57600080fd5b82516001600160a01b038116811461018357600080fd5b60208401519092506001600160401b03808211156101a057600080fd5b818501915085601f8301126101b457600080fd5b8151818111156101c6576101c661011f565b604051601f8201601f19908116603f011681019083821181831017156101ee576101ee61011f565b8160405282815288602084870101111561020757600080fd5b610218836020830160208801610135565b80955050505050509250929050565b60008251610239818460208701610135565b9190910192915050565b60dc806102516000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80636324b65e14606e575b7fbd5523e7c3b6a94aa0e3b24d1120addc2f95c7029e097b466b2bedc8d4b4362f543660008037600080366000845af490503d6000803e806068573d6000fd5b503d6000f35b60947fbd5523e7c3b6a94aa0e3b24d1120addc2f95c7029e097b466b2bedc8d4b4362f81565b60405190815260200160405180910390f3fea26469706673582212205605d025ebb8575419736af3a5807a955f1f57f58cd1a5c1e6dce7c41789ee3f64736f6c6343000812003300000000000000000000000087f89f94033305791b6269ae2f9cf4e09983e56e000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001444d02403c0000000000000000000000000001a500a6b18995b03f44bb040a5ffc28e45cb00000000000000000000000003c1ff68f5aa342d296d4dee4bb1cacca912d95fe0000000000000000000000003c1ff68f5aa342d296d4dee4bb1cacca912d95fe0000000000000000000000003c1ff68f5aa342d296d4dee4bb1cacca912d95fe0000000000000000000000007e01a500805f8a52fad229b3015ad130a332b7b30000000000000000000000000000000000000000000000000000000000278d0000000000000000000000000015bd56669f57192a97df41a2aa8f4403e94917760000000000000000000000002f1f7d38e4772884b88f3ecd8b6b9facdc31911200000000000000000000000048b6af7b12c71f09e2fc8af4855de4ff54e775ca000000000000000000000000e85791b18f5df42163092acc5c9da1c479afea9d00000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052348015600f57600080fd5b506004361060285760003560e01c80636324b65e14606e575b7fbd5523e7c3b6a94aa0e3b24d1120addc2f95c7029e097b466b2bedc8d4b4362f543660008037600080366000845af490503d6000803e806068573d6000fd5b503d6000f35b60947fbd5523e7c3b6a94aa0e3b24d1120addc2f95c7029e097b466b2bedc8d4b4362f81565b60405190815260200160405180910390f3fea26469706673582212205605d025ebb8575419736af3a5807a955f1f57f58cd1a5c1e6dce7c41789ee3f64736f6c63430008120033

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

00000000000000000000000087f89f94033305791b6269ae2f9cf4e09983e56e000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000001444d02403c0000000000000000000000000001a500a6b18995b03f44bb040a5ffc28e45cb00000000000000000000000003c1ff68f5aa342d296d4dee4bb1cacca912d95fe0000000000000000000000003c1ff68f5aa342d296d4dee4bb1cacca912d95fe0000000000000000000000003c1ff68f5aa342d296d4dee4bb1cacca912d95fe0000000000000000000000007e01a500805f8a52fad229b3015ad130a332b7b30000000000000000000000000000000000000000000000000000000000278d0000000000000000000000000015bd56669f57192a97df41a2aa8f4403e94917760000000000000000000000002f1f7d38e4772884b88f3ecd8b6b9facdc31911200000000000000000000000048b6af7b12c71f09e2fc8af4855de4ff54e775ca000000000000000000000000e85791b18f5df42163092acc5c9da1c479afea9d00000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : tokenomics (address): 0x87f89F94033305791B6269AE2F9cF4e09983E56e
Arg [1] : tokenomicsData (bytes): 0x4d02403c0000000000000000000000000001a500a6b18995b03f44bb040a5ffc28e45cb00000000000000000000000003c1ff68f5aa342d296d4dee4bb1cacca912d95fe0000000000000000000000003c1ff68f5aa342d296d4dee4bb1cacca912d95fe0000000000000000000000003c1ff68f5aa342d296d4dee4bb1cacca912d95fe0000000000000000000000007e01a500805f8a52fad229b3015ad130a332b7b30000000000000000000000000000000000000000000000000000000000278d0000000000000000000000000015bd56669f57192a97df41a2aa8f4403e94917760000000000000000000000002f1f7d38e4772884b88f3ecd8b6b9facdc31911200000000000000000000000048b6af7b12c71f09e2fc8af4855de4ff54e775ca000000000000000000000000e85791b18f5df42163092acc5c9da1c479afea9d

-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 00000000000000000000000087f89f94033305791b6269ae2f9cf4e09983e56e
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000144
Arg [3] : 4d02403c0000000000000000000000000001a500a6b18995b03f44bb040a5ffc
Arg [4] : 28e45cb00000000000000000000000003c1ff68f5aa342d296d4dee4bb1cacca
Arg [5] : 912d95fe0000000000000000000000003c1ff68f5aa342d296d4dee4bb1cacca
Arg [6] : 912d95fe0000000000000000000000003c1ff68f5aa342d296d4dee4bb1cacca
Arg [7] : 912d95fe0000000000000000000000007e01a500805f8a52fad229b3015ad130
Arg [8] : a332b7b300000000000000000000000000000000000000000000000000000000
Arg [9] : 00278d0000000000000000000000000015bd56669f57192a97df41a2aa8f4403
Arg [10] : e94917760000000000000000000000002f1f7d38e4772884b88f3ecd8b6b9fac
Arg [11] : dc31911200000000000000000000000048b6af7b12c71f09e2fc8af4855de4ff
Arg [12] : 54e775ca000000000000000000000000e85791b18f5df42163092acc5c9da1c4
Arg [13] : 79afea9d00000000000000000000000000000000000000000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.