Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x9Bb87b77...CBAfD555B The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
IdentityProxy
Compiler Version
v0.6.9+commit.3e3065ac
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2020-12-01
*/
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.6.9;
interface IImplementationAuthority {
function getImplementation() external view returns(address);
}
contract IdentityProxy {
address public implementationAuthority;
constructor(address _implementationAuthority, address initialManagementKey) public {
implementationAuthority = _implementationAuthority;
address logic = IImplementationAuthority(implementationAuthority).getImplementation();
// solhint-disable-next-line avoid-low-level-calls
(bool success,) = logic.delegatecall(abi.encodeWithSignature("initialize(address)", initialManagementKey));
require(success, "Initialization failed.");
}
fallback() external payable {
address logic = IImplementationAuthority(implementationAuthority).getImplementation();
assembly { // solium-disable-line
calldatacopy(0x0, 0x0, calldatasize())
let success := delegatecall(sub(gas(), 10000), logic, 0x0, calldatasize(), 0, 0)
let retSz := returndatasize()
returndatacopy(0, 0, retSz)
switch success
case 0 {
revert(0, retSz)
}
default {
return(0, retSz)
}
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_implementationAuthority","type":"address"},{"internalType":"address","name":"initialManagementKey","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"implementationAuthority","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]Contract Creation Code
0x608060405234801561001057600080fd5b506040516104cf3803806104cf8339818101604052604081101561003357600080fd5b810190808051906020019092919080519060200190929190505050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aaf10f426040518163ffffffff1660e01b815260040160206040518083038186803b1580156100f757600080fd5b505afa15801561010b573d6000803e3d6000fd5b505050506040513d602081101561012157600080fd5b8101908080519060200190929190505050905060008173ffffffffffffffffffffffffffffffffffffffff1683604051602401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019150506040516020818303038152906040527fc4d66de8000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518082805190602001908083835b6020831061023a5780518252602082019150602081019050602083039250610217565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d806000811461029a576040519150601f19603f3d011682016040523d82523d6000602084013e61029f565b606091505b5050905080610316576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f496e697469616c697a6174696f6e206661696c65642e0000000000000000000081525060200191505060405180910390fd5b505050506101a6806103296000396000f3fe6080604052600436106100225760003560e01c80632307f882146100f457610023565b5b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aaf10f426040518163ffffffff1660e01b815260040160206040518083038186803b15801561008c57600080fd5b505afa1580156100a0573d6000803e3d6000fd5b505050506040513d60208110156100b657600080fd5b810190808051906020019092919050505090503660008037600080366000846127105a03f43d806000803e81600081146100ef57816000f35b816000fd5b34801561010057600080fd5b5061010961014b565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff168156fea264697066735822122077cccacb95eded9d68c2fc04e7503923c9b4c045dd135a5f4495115b80237ce164736f6c63430006090033000000000000000000000000b4b1767ef6f1ce65deeba3f0aefa67e6cfd406390000000000000000000000004eb9ae5b26bb412e9d042bf145717317b7ee3060
Deployed Bytecode
0x6080604052600436106100225760003560e01c80632307f882146100f457610023565b5b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663aaf10f426040518163ffffffff1660e01b815260040160206040518083038186803b15801561008c57600080fd5b505afa1580156100a0573d6000803e3d6000fd5b505050506040513d60208110156100b657600080fd5b810190808051906020019092919050505090503660008037600080366000846127105a03f43d806000803e81600081146100ef57816000f35b816000fd5b34801561010057600080fd5b5061010961014b565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff168156fea264697066735822122077cccacb95eded9d68c2fc04e7503923c9b4c045dd135a5f4495115b80237ce164736f6c63430006090033
Deployed Bytecode Sourcemap
177:1139:0:-:0;;;;;;;;;;;;;;;;;;;;;783:13;824:23;;;;;;;;;;;799:67;;;:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;783:85;;947:14;942:3;937;924:38;1050:1;1047;1031:14;1026:3;1019:5;1011;1004;1000:17;987:65;1075:16;1122:5;1119:1;1116;1101:27;1145:7;1171:1;1166:57;;;;1274:5;1271:1;1264:16;1166:57;1202:5;1199:1;1192:16;207:38;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o
Swarm Source
ipfs://77cccacb95eded9d68c2fc04e7503923c9b4c045dd135a5f4495115b80237ce1
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
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.