Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 55,430 transactions
(More than 25 Pending Txns)
Latest 25 internal transactions (View All)
Advanced mode:
Parent Txn Hash | Block | From | To | Value | ||
---|---|---|---|---|---|---|
18212874 | 185 days ago | 0.025 ETH | ||||
18212874 | 185 days ago | 0.01 ETH | ||||
18212874 | 185 days ago | 0.015 ETH | ||||
16347772 | 447 days ago | 0.01 ETH | ||||
16347772 | 447 days ago | 0.015 ETH | ||||
16347772 | 447 days ago | 0.025 ETH | ||||
15968105 | 500 days ago | 0.01 ETH | ||||
15968105 | 500 days ago | 0.015 ETH | ||||
15968105 | 500 days ago | 0.025 ETH | ||||
15968085 | 500 days ago | 0.01 ETH | ||||
15968085 | 500 days ago | 0.015 ETH | ||||
15968085 | 500 days ago | 0.025 ETH | ||||
15485158 | 569 days ago | 0.01 ETH | ||||
15485158 | 569 days ago | 0.015 ETH | ||||
15485158 | 569 days ago | 0.025 ETH | ||||
15047324 | 638 days ago | 0.025 ETH | ||||
15047324 | 638 days ago | 0.015 ETH | ||||
15047324 | 638 days ago | 0.01 ETH | ||||
14823401 | 676 days ago | 0.025 ETH | ||||
14823401 | 676 days ago | 0.015 ETH | ||||
14823401 | 676 days ago | 0.01 ETH | ||||
14535246 | 722 days ago | 0.01 ETH | ||||
14535246 | 722 days ago | 0.015 ETH | ||||
14535246 | 722 days ago | 0.025 ETH | ||||
14511005 | 726 days ago | 0.05 ETH |
Loading...
Loading
Contract Name:
XGoldProxy
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-06-07 */ // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; /** * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to * be specified by overriding the virtual {_implementation} function. * * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a * different contract through the {_delegate} function. * * The success and return data of the delegated call will be returned back to the caller of the proxy. */ abstract contract Proxy { /** * @dev Delegates the current call to `implementation`. * * This function does not return to its internall call site, it will return directly to the external caller. */ function _delegate(address implementation) internal { // solhint-disable-next-line no-inline-assembly assembly { // Copy msg.data. We take full control of memory in this inline assembly // block because it will not return to Solidity code. We overwrite the // Solidity scratch pad at memory position 0. calldatacopy(0, 0, calldatasize()) // Call the implementation. // out and outsize are 0 because we don't know the size yet. let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0) // Copy the returned data. returndatacopy(0, 0, returndatasize()) switch result // delegatecall returns 0 on error. case 0 { revert(0, returndatasize()) } default { return(0, returndatasize()) } } } /** * @dev This is a virtual function that should be overriden so it returns the address to which the fallback function * and {_fallback} should delegate. */ function _implementation() internal virtual view returns (address); /** * @dev Delegates the current call to the address returned by `_implementation()`. * * This function does not return to its internall call site, it will return directly to the external caller. */ function _fallback() internal { _beforeFallback(); _delegate(_implementation()); } /** * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other * function in the contract matches the call data. */ fallback () payable external { _fallback(); } /** * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data * is empty. */ receive () payable external { _fallback(); } /** * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback` * call, or as part of the Solidity `fallback` or `receive` functions. * * If overriden should call `super._beforeFallback()`. */ function _beforeFallback() internal virtual { } } contract XGoldProxy is Proxy { address public impl; address public contractOwner; address public fourthLevelUpdater; modifier onlyContractOwner() { require(msg.sender == contractOwner); _; } constructor(address _impl) public { impl = _impl; contractOwner = msg.sender; } function update(address newImpl) public onlyContractOwner { impl = newImpl; } function removeOwnership() public onlyContractOwner { contractOwner = address(0); } function _implementation() internal override view returns (address) { return impl; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_impl","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"contractOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fourthLevelUpdater","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"impl","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImpl","type":"address"}],"name":"update","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405234801561001057600080fd5b506040516102873803806102878339818101604052602081101561003357600080fd5b5051600080546001600160a01b039092166001600160a01b0319928316179055600180549091163317905561021a8061006d6000396000f3fe60806040526004361061004e5760003560e01c80631c1b8772146100655780636127cdfa146100985780638abf6077146100c9578063ce606ee0146100de578063d99bb9f7146100f35761005d565b3661005d5761005b610108565b005b61005b610108565b34801561007157600080fd5b5061005b6004803603602081101561008857600080fd5b50356001600160a01b0316610122565b3480156100a457600080fd5b506100ad61015b565b604080516001600160a01b039092168252519081900360200190f35b3480156100d557600080fd5b506100ad61016a565b3480156100ea57600080fd5b506100ad610179565b3480156100ff57600080fd5b5061005b610188565b610110610120565b61012061011b6101b1565b6101c0565b565b6001546001600160a01b0316331461013957600080fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6002546001600160a01b031681565b6000546001600160a01b031681565b6001546001600160a01b031681565b6001546001600160a01b0316331461019f57600080fd5b600180546001600160a01b0319169055565b6000546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101df573d6000f35b3d6000fdfea26469706673582212204bad15a11b35ff7b3a644244e9d46627518c282d8dfb96b1be85c5bfa37fc7be64736f6c634300060c0033000000000000000000000000ae2ba2dcc7ad3a21783540eb9e68c2175e374693
Deployed Bytecode
0x60806040526004361061004e5760003560e01c80631c1b8772146100655780636127cdfa146100985780638abf6077146100c9578063ce606ee0146100de578063d99bb9f7146100f35761005d565b3661005d5761005b610108565b005b61005b610108565b34801561007157600080fd5b5061005b6004803603602081101561008857600080fd5b50356001600160a01b0316610122565b3480156100a457600080fd5b506100ad61015b565b604080516001600160a01b039092168252519081900360200190f35b3480156100d557600080fd5b506100ad61016a565b3480156100ea57600080fd5b506100ad610179565b3480156100ff57600080fd5b5061005b610188565b610110610120565b61012061011b6101b1565b6101c0565b565b6001546001600160a01b0316331461013957600080fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6002546001600160a01b031681565b6000546001600160a01b031681565b6001546001600160a01b031681565b6001546001600160a01b0316331461019f57600080fd5b600180546001600160a01b0319169055565b6000546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101df573d6000f35b3d6000fdfea26469706673582212204bad15a11b35ff7b3a644244e9d46627518c282d8dfb96b1be85c5bfa37fc7be64736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000ae2ba2dcc7ad3a21783540eb9e68c2175e374693
-----Decoded View---------------
Arg [0] : _impl (address): 0xAE2ba2dCC7ad3A21783540Eb9e68C2175e374693
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000ae2ba2dcc7ad3a21783540eb9e68c2175e374693
Deployed Bytecode Sourcemap
3246:677:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2878:11;:9;:11::i;:::-;3246:677;;2654:11;:9;:11::i;3614:91::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3614:91:0;-1:-1:-1;;;;;3614:91:0;;:::i;3351:33::-;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;3351:33:0;;;;;;;;;;;;;;3288:19;;;;;;;;;;;;;:::i;3314:28::-;;;;;;;;;;;;;:::i;3713:97::-;;;;;;;;;;;;;:::i;2306:105::-;2347:17;:15;:17::i;:::-;2375:28;2385:17;:15;:17::i;:::-;2375:9;:28::i;:::-;2306:105::o;3614:91::-;3456:13;;-1:-1:-1;;;;;3456:13:0;3442:10;:27;3434:36;;;;;;3683:4:::1;:14:::0;;-1:-1:-1;;;;;;3683:14:0::1;-1:-1:-1::0;;;;;3683:14:0;;;::::1;::::0;;;::::1;::::0;;3614:91::o;3351:33::-;;;-1:-1:-1;;;;;3351:33:0;;:::o;3288:19::-;;;-1:-1:-1;;;;;3288:19:0;;:::o;3314:28::-;;;-1:-1:-1;;;;;3314:28:0;;:::o;3713:97::-;3456:13;;-1:-1:-1;;;;;3456:13:0;3442:10;:27;3434:36;;;;;;3776:13:::1;:26:::0;;-1:-1:-1;;;;;;3776:26:0::1;::::0;;3713:97::o;3822:98::-;3881:7;3908:4;-1:-1:-1;;;;;3908:4:0;3822:98;:::o;906:907::-;1298:14;1295:1;1292;1279:34;1516:1;1513;1497:14;1494:1;1478:14;1471:5;1458:60;1595:16;1592:1;1589;1574:38;1635:6;1704:38;;;;1776:16;1773:1;1766:27;1704:38;1723:16;1720:1;1713:27
Swarm Source
ipfs://4bad15a11b35ff7b3a644244e9d46627518c282d8dfb96b1be85c5bfa37fc7be
Loading...
Loading
Loading...
Loading
[ 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.