Source Code
Overview
MATIC Balance
0 MATIC
Token Holdings
More Info
ContractCreator:
Multichain Info
N/A
Latest 25 from a total of 35,349 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Call Agreement | 47610310 | 8 hrs ago | IN | 0 MATIC | 0.00328521 | ||||
Call Agreement | 47610306 | 8 hrs ago | IN | 0 MATIC | 0.00331981 | ||||
Call Agreement | 47610303 | 8 hrs ago | IN | 0 MATIC | 0.00327572 | ||||
Call Agreement | 47593568 | 18 hrs ago | IN | 0 MATIC | 0.00439689 | ||||
Call Agreement | 47593554 | 18 hrs ago | IN | 0 MATIC | 0.00541071 | ||||
Call Agreement | 47593546 | 18 hrs ago | IN | 0 MATIC | 0.00439689 | ||||
Call Agreement | 47593508 | 18 hrs ago | IN | 0 MATIC | 0.00541071 | ||||
Call Agreement | 47582848 | 25 hrs ago | IN | 0 MATIC | 0.00439689 | ||||
Call Agreement | 47582828 | 25 hrs ago | IN | 0 MATIC | 0.00541071 | ||||
Call Agreement | 47582168 | 25 hrs ago | IN | 0 MATIC | 0.00439689 | ||||
Call Agreement | 47582151 | 25 hrs ago | IN | 0 MATIC | 0.00541071 | ||||
Call Agreement | 47581875 | 25 hrs ago | IN | 0 MATIC | 0.00439689 | ||||
Call Agreement | 47581862 | 25 hrs ago | IN | 0 MATIC | 0.00541071 | ||||
Call Agreement | 47581712 | 25 hrs ago | IN | 0 MATIC | 0.00439689 | ||||
Call Agreement | 47581698 | 25 hrs ago | IN | 0 MATIC | 0.00541071 | ||||
Call Agreement | 47577947 | 28 hrs ago | IN | 0 MATIC | 0.00052602 | ||||
Call Agreement | 47545289 | 2 days ago | IN | 0 MATIC | 0.00439689 | ||||
Call Agreement | 47545277 | 2 days ago | IN | 0 MATIC | 0.00541071 | ||||
Call Agreement | 47537753 | 2 days ago | IN | 0 MATIC | 0.02037003 | ||||
Call Agreement | 47537749 | 2 days ago | IN | 0 MATIC | 0.02102513 | ||||
Batch Call | 47536304 | 2 days ago | IN | 0 MATIC | 0.00064848 | ||||
Call Agreement | 47513512 | 2 days ago | IN | 0 MATIC | 0.00848192 | ||||
Batch Call | 47505481 | 3 days ago | IN | 0 MATIC | 0.00051398 | ||||
Call Agreement | 47491878 | 3 days ago | IN | 0 MATIC | 0.01400557 | ||||
Call Agreement | 47491872 | 3 days ago | IN | 0 MATIC | 0.01353787 |
Latest 6 internal transactions
Parent Txn Hash | Block | From | To | Value | ||
---|---|---|---|---|---|---|
36637763 | 294 days ago | Contract Creation | 0 MATIC | |||
35780958 | 315 days ago | Contract Creation | 0 MATIC | |||
35779399 | 315 days ago | Contract Creation | 0 MATIC | |||
9343695 | 1170 days ago | Contract Creation | 0 MATIC | |||
9343689 | 1170 days ago | Contract Creation | 0 MATIC | |||
9343685 | 1170 days ago | Contract Creation | 0 MATIC |
Loading...
Loading
Contract Name:
UUPSProxy
Compiler Version
v0.7.6+commit.7338295f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: AGPLv3 pragma solidity 0.7.6; import { UUPSUtils } from "./UUPSUtils.sol"; import { Proxy } from "@openzeppelin/contracts/proxy/Proxy.sol"; /** * @dev UUPS (Universal Upgradeable Proxy Standard) Proxy * * NOTE: * - Compliant with [Universal Upgradeable Proxy Standard](https://eips.ethereum.org/EIPS/eip-1822) * - Compiiant with [Standard Proxy Storage Slots](https://eips.ethereum.org/EIPS/eip-1967) * - Implements delegation of calls to other contracts, with proper forwarding of * return values and bubbling of failures. * - It defines a fallback function that delegates all calls to the implementation. */ contract UUPSProxy is Proxy { /** * @dev Proxy initialization function. * This should only be called once and it is permission-less. * @param initialAddress Initial logic contract code address to be used. */ function initializeProxy(address initialAddress) external { require(initialAddress != address(0), "UUPSProxy: zero address"); require(UUPSUtils.implementation() == address(0), "UUPSProxy: already initialized"); UUPSUtils.setImplementation(initialAddress); } /// @dev Proxy._implementation implementation function _implementation() internal virtual override view returns (address) { return UUPSUtils.implementation(); } }
// SPDX-License-Identifier: AGPLv3 pragma solidity 0.7.6; /** * @title UUPS (Universal Upgradeable Proxy Standard) Shared Library */ library UUPSUtils { /** * @dev Implementation slot constant. * Using https://eips.ethereum.org/EIPS/eip-1967 standard * Storage slot 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc * (obtained as bytes32(uint256(keccak256('eip1967.proxy.implementation')) - 1)). */ bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc; /// @dev Get implementation address. function implementation() internal view returns (address impl) { assembly { // solium-disable-line impl := sload(_IMPLEMENTATION_SLOT) } } /// @dev Set new implementation address. function setImplementation(address codeAddress) internal { assembly { // solium-disable-line sstore( _IMPLEMENTATION_SLOT, codeAddress ) } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.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 virtual { // 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 view virtual 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 virtual { _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 () external payable virtual { _fallback(); } /** * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data * is empty. */ receive () external payable virtual { _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 { } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "istanbul", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
[{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"initialAddress","type":"address"}],"name":"initializeProxy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405234801561001057600080fd5b50610204806100206000396000f3fe6080604052600436106100225760003560e01c80634a0687ef1461003957610031565b366100315761002f61006c565b005b61002f61006c565b34801561004557600080fd5b5061002f6004803603602081101561005c57600080fd5b50356001600160a01b0316610086565b610074610084565b61008461007f610152565b610161565b565b6001600160a01b0381166100e1576040805162461bcd60e51b815260206004820152601760248201527f5555505350726f78793a207a65726f2061646472657373000000000000000000604482015290519081900360640190fd5b60006100eb610185565b6001600160a01b031614610146576040805162461bcd60e51b815260206004820152601e60248201527f5555505350726f78793a20616c726561647920696e697469616c697a65640000604482015290519081900360640190fd5b61014f816101aa565b50565b600061015c610185565b905090565b3660008037600080366000845af43d6000803e808015610180573d6000f35b3d6000fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5556fea26469706673582212207f4d1aae539b5f520670399a5049006d749c4642873ece0ea4ae53a8f7a0f8a564736f6c63430007060033
Deployed Bytecode
0x6080604052600436106100225760003560e01c80634a0687ef1461003957610031565b366100315761002f61006c565b005b61002f61006c565b34801561004557600080fd5b5061002f6004803603602081101561005c57600080fd5b50356001600160a01b0316610086565b610074610084565b61008461007f610152565b610161565b565b6001600160a01b0381166100e1576040805162461bcd60e51b815260206004820152601760248201527f5555505350726f78793a207a65726f2061646472657373000000000000000000604482015290519081900360640190fd5b60006100eb610185565b6001600160a01b031614610146576040805162461bcd60e51b815260206004820152601e60248201527f5555505350726f78793a20616c726561647920696e697469616c697a65640000604482015290519081900360640190fd5b61014f816101aa565b50565b600061015c610185565b905090565b3660008037600080366000845af43d6000803e808015610180573d6000f35b3d6000fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5556fea26469706673582212207f4d1aae539b5f520670399a5049006d749c4642873ece0ea4ae53a8f7a0f8a564736f6c63430007060033
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.