Source Code (Proxy)
More Info
Private Name Tags
ContractCreator
TokenTracker
Multichain Info
Latest 25 from a total of 384 transactions
| Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Approve | 53989064 | 14 hrs ago | IN | 0 CELO | 0.00133148 | ||||
| Approve | 53922189 | 32 hrs ago | IN | 0 CELO | 0.00133148 | ||||
| Approve | 53920509 | 33 hrs ago | IN | 0 CELO | 0.00133179 | ||||
| Approve | 53920481 | 33 hrs ago | IN | 0 CELO | 0.00133148 | ||||
| Approve | 53007152 | 11 days ago | IN | 0 CELO | 0.00128692 | ||||
| Approve | 53007119 | 11 days ago | IN | 0 CELO | 0.00128152 | ||||
| Approve | 52058992 | 22 days ago | IN | 0 CELO | 0.0007834 | ||||
| Approve | 51560115 | 28 days ago | IN | 0 CELO | 0.0007834 | ||||
| Approve | 51556760 | 28 days ago | IN | 0 CELO | 0.0008534 | ||||
| Approve | 51556331 | 28 days ago | IN | 0 CELO | 0.0007834 | ||||
| Approve | 51556070 | 28 days ago | IN | 0 CELO | 0.0007834 | ||||
| Approve | 51555991 | 28 days ago | IN | 0 CELO | 0.0007834 | ||||
| Approve | 51554672 | 28 days ago | IN | 0 CELO | 0.00128092 | ||||
| Approve | 51489545 | 29 days ago | IN | 0 CELO | 0.00078535 | ||||
| Approve | 51489440 | 29 days ago | IN | 0 CELO | 0.00078618 | ||||
| Approve | 51488689 | 29 days ago | IN | 0 CELO | 0.0007834 | ||||
| Approve | 51486260 | 29 days ago | IN | 0 CELO | 0.0008534 | ||||
| Approve | 51486222 | 29 days ago | IN | 0 CELO | 0.0008537 | ||||
| Approve | 51485258 | 29 days ago | IN | 0 CELO | 0.0007834 | ||||
| Approve | 51484782 | 29 days ago | IN | 0 CELO | 0.0007834 | ||||
| Approve | 51484583 | 29 days ago | IN | 0 CELO | 0.0007834 | ||||
| Approve | 51483983 | 29 days ago | IN | 0 CELO | 0.0007834 | ||||
| Approve | 51483656 | 29 days ago | IN | 0 CELO | 0.00085384 | ||||
| Approve | 51483451 | 29 days ago | IN | 0 CELO | 0.0007834 | ||||
| Approve | 51073358 | 34 days ago | IN | 0 CELO | 0.0007834 |
Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 17173787 | 1069 days ago | Contract Creation | 0 CELO |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
UUPSProxy
Compiler Version
v0.8.16+commit.07a7930e
Contract Source Code (Solidity)
/**
*Submitted for verification at celoscan.io on 2023-01-13
*/
// Sources flattened with hardhat v2.12.4 https://hardhat.org
// File contracts/upgradability/UUPSUtils.sol
/**
* @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
)
}
}
}
// File @openzeppelin/contracts/proxy/[email protected]
/**
* @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 internal call site, it will return directly to the external caller.
*/
function _delegate(address implementation) internal virtual {
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 overridden 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 internal 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 overridden should call `super._beforeFallback()`.
*/
function _beforeFallback() internal virtual {}
}
// File contracts/upgradability/UUPSProxy.sol
// SPDX-License-Identifier: AGPLv3
pragma solidity 0.8.16;
/**
* @title 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();
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"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
608060405234801561001057600080fd5b5061022a806100206000396000f3fe6080604052600436106100225760003560e01c80634a0687ef1461003957610031565b366100315761002f610059565b005b61002f610059565b34801561004557600080fd5b5061002f6100543660046101c4565b61006b565b610069610064610171565b6101a0565b565b6001600160a01b0381166100c65760405162461bcd60e51b815260206004820152601760248201527f5555505350726f78793a207a65726f206164647265737300000000000000000060448201526064015b60405180910390fd5b60006100f07f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b6001600160a01b0316146101465760405162461bcd60e51b815260206004820152601e60248201527f5555505350726f78793a20616c726561647920696e697469616c697a6564000060448201526064016100bd565b61016e817f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b50565b600061019b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b905090565b3660008037600080366000845af43d6000803e8080156101bf573d6000f35b3d6000fd5b6000602082840312156101d657600080fd5b81356001600160a01b03811681146101ed57600080fd5b939250505056fea26469706673582212209b58aa53d1a30f60f937a8ec6ab95e94f3b48e2e1cae54384ae904ce731e1a4e64736f6c63430008100033
Deployed Bytecode
0x6080604052600436106100225760003560e01c80634a0687ef1461003957610031565b366100315761002f610059565b005b61002f610059565b34801561004557600080fd5b5061002f6100543660046101c4565b61006b565b610069610064610171565b6101a0565b565b6001600160a01b0381166100c65760405162461bcd60e51b815260206004820152601760248201527f5555505350726f78793a207a65726f206164647265737300000000000000000060448201526064015b60405180910390fd5b60006100f07f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b6001600160a01b0316146101465760405162461bcd60e51b815260206004820152601e60248201527f5555505350726f78793a20616c726561647920696e697469616c697a6564000060448201526064016100bd565b61016e817f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b50565b600061019b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b905090565b3660008037600080366000845af43d6000803e8080156101bf573d6000f35b3d6000fd5b6000602082840312156101d657600080fd5b81356001600160a01b03811681146101ed57600080fd5b939250505056fea26469706673582212209b58aa53d1a30f60f937a8ec6ab95e94f3b48e2e1cae54384ae904ce731e1a4e64736f6c63430008100033
Deployed Bytecode Sourcemap
5038:735:0:-:0;;;;;;;;;;;;;;;;;;;;;;;4067:11;:9;:11::i;:::-;5038:735;;3836:11;:9;:11::i;5287:289::-;;;;;;;;;;-1:-1:-1;5287:289:0;;;;;:::i;:::-;;:::i;3473:113::-;3550:28;3560:17;:15;:17::i;:::-;3550:9;:28::i;:::-;3473:113::o;5287:289::-;-1:-1:-1;;;;;5364:28:0;;5356:64;;;;-1:-1:-1;;;5356:64:0;;507:2:1;5356:64:0;;;489:21:1;546:2;526:18;;;519:30;585:25;565:18;;;558:53;628:18;;5356:64:0;;;;;;;;;5477:1;5439:26;823:20;817:27;;688:174;5439:26;-1:-1:-1;;;;;5439:40:0;;5431:83;;;;-1:-1:-1;;;5431:83:0;;859:2:1;5431:83:0;;;841:21:1;898:2;878:18;;;871:30;937:32;917:18;;;910:60;987:18;;5431:83:0;657:354:1;5431:83:0;5525:43;5553:14;1069:20;1044:90;916:236;5525:43;5287:289;:::o;5635:133::-;5702:7;5734:26;823:20;817:27;;688:174;5734:26;5727:33;;5635:133;:::o;2063:918::-;2406:14;2403:1;2400;2387:34;2624:1;2621;2605:14;2602:1;2586:14;2579:5;2566:60;2703:16;2700:1;2697;2682:38;2743:6;2812:68;;;;2931:16;2928:1;2921:27;2812:68;2848:16;2845:1;2838:27;14:286:1;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;168:23;;-1:-1:-1;;;;;220:31:1;;210:42;;200:70;;266:1;263;256:12;200:70;289:5;14:286;-1:-1:-1;;;14:286:1:o
Swarm Source
ipfs://9b58aa53d1a30f60f937a8ec6ab95e94f3b48e2e1cae54384ae904ce731e1a4e
Loading...
Loading
Loading...
Loading
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.