POL Price: $0.556032 (-7.09%)
 

Overview

POL Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0.9 POL

POL Value

$0.50 (@ $0.56/POL)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer458065392023-08-02 4:41:22504 days ago1690951282IN
0xDe5a99Eb...0368099cE
1 POL0.0020176896.08041201

Latest 3 internal transactions

Parent Transaction Hash Block From To
458124322023-08-02 8:19:37504 days ago1690964377
0xDe5a99Eb...0368099cE
0.01661937 POL
458065932023-08-02 4:43:18504 days ago1690951398
0xDe5a99Eb...0368099cE
0.1 POL
458065932023-08-02 4:43:18504 days ago1690951398  Contract Creation0 POL
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x26E2230B...D3e25E685
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
SmartAccountProxy

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU LGPLv3 license
/**
 *Submitted for verification at polygonscan.com on 2023-08-11
*/

// SPDX-License-Identifier: LGPL-3.0-only
pragma solidity ^0.8.12;

/**
 * A wrapper factory contract to deploy SmartAccount as an Account-Abstraction wallet contract.
 */
interface ISmartAccountProxy {
    function masterCopy() external view returns (address);
}

/// @title SmartAccountProxy - Generic proxy contract allows to execute all transactions applying the code of a master contract.
contract SmartAccountProxy is ISmartAccountProxy {
    // singleton always needs to be first declared variable, to ensure that it is at the same location in the contracts to which calls are delegated.
    // To reduce deployment costs this variable is internal and needs to be retrieved via `getStorageAt`
    address internal singleton;

    /// @dev Constructor function sets address of singleton contract.
    /// @param _singleton Singleton address.
    function initialize(address _singleton, bytes memory _initdata) external {
        require(singleton == address(0), "Initialized already");
        require(_singleton != address(0), "Invalid singleton address provided");
        singleton = _singleton;

        (bool success,) = _singleton.delegatecall(_initdata);
        require(success, "init failed");
    }

    function masterCopy() external view returns (address) {
        return singleton;
    }

    /// @dev Fallback function forwards all transactions and returns all received return data.
    fallback() external payable {
        // solhint-disable-next-line no-inline-assembly
        assembly {
            let _singleton := and(sload(0), 0xffffffffffffffffffffffffffffffffffffffff)
            calldatacopy(0, 0, calldatasize())
            let success := delegatecall(gas(), _singleton, 0, calldatasize(), 0, 0)
            returndatacopy(0, 0, returndatasize())
            if eq(success, 0) { revert(0, returndatasize()) }
            return(0, returndatasize())
        }
    }
}

Contract Security Audit

Contract ABI

[{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"_singleton","type":"address"},{"internalType":"bytes","name":"_initdata","type":"bytes"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"masterCopy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

Deployed Bytecode

0x6080604052600436106100295760003560e01c8063a619486e14610055578063d1f5789414610081575b600080546001600160a01b03163682803781823684845af490503d82833e80610050573d82fd5b503d81f35b34801561006157600080fd5b50600054604080516001600160a01b039092168252519081900360200190f35b34801561008d57600080fd5b506100a161009c36600461021d565b6100a3565b005b6000546001600160a01b0316156100f75760405162461bcd60e51b8152602060048201526013602482015272496e697469616c697a656420616c726561647960681b60448201526064015b60405180910390fd5b6001600160a01b0382166101585760405162461bcd60e51b815260206004820152602260248201527f496e76616c69642073696e676c65746f6e20616464726573732070726f766964604482015261195960f21b60648201526084016100ee565b600080546001600160a01b0319166001600160a01b03841690811782556040516101839084906102ed565b600060405180830381855af49150503d80600081146101be576040519150601f19603f3d011682016040523d82523d6000602084013e6101c3565b606091505b50509050806102025760405162461bcd60e51b815260206004820152600b60248201526a1a5b9a5d0819985a5b195960aa1b60448201526064016100ee565b505050565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561023057600080fd5b82356001600160a01b038116811461024757600080fd5b9150602083013567ffffffffffffffff8082111561026457600080fd5b818501915085601f83011261027857600080fd5b81358181111561028a5761028a610207565b604051601f8201601f19908116603f011681019083821181831017156102b2576102b2610207565b816040528281528860208487010111156102cb57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b8181101561030e57602081860181015185830152016102f4565b50600092019182525091905056fea26469706673582212204562a53397a5ec95ae3a45e3c739fc82314f87e701a71907f89ebfd3656322ef64736f6c63430008110033

Deployed Bytecode Sourcemap

405:1540:0:-:0;;;;;;;;;;;;;;;;;;;;;;;1588:1;1582:8;;-1:-1:-1;;;;;1578:57:0;1668:14;1588:1;;1649:34;1588:1;;1668:14;1588:1;1732:10;1725:5;1712:56;1697:71;;1803:16;1588:1;;1782:38;1840:7;1834:49;;1864:16;1588:1;1854:27;1834:49;;1907:16;1588:1;1897:27;1247:89;;;;;;;;;;-1:-1:-1;1292:7:0;1319:9;1247:89;;;-1:-1:-1;;;;;1319:9:0;;;160:51:1;;1247:89:0;;;;;148:2:1;1247:89:0;;;870:369;;;;;;;;;;-1:-1:-1;870:369:0;;;;;:::i;:::-;;:::i;:::-;;;983:1;962:9;-1:-1:-1;;;;;962:9:0;:23;954:55;;;;-1:-1:-1;;;954:55:0;;1656:2:1;954:55:0;;;1638:21:1;1695:2;1675:18;;;1668:30;-1:-1:-1;;;1714:18:1;;;1707:49;1773:18;;954:55:0;;;;;;;;;-1:-1:-1;;;;;1028:24:0;;1020:71;;;;-1:-1:-1;;;1020:71:0;;2004:2:1;1020:71:0;;;1986:21:1;2043:2;2023:18;;;2016:30;2082:34;2062:18;;;2055:62;-1:-1:-1;;;2133:18:1;;;2126:32;2175:19;;1020:71:0;1802:398:1;1020:71:0;1102:9;:22;;-1:-1:-1;;;;;;1102:22:0;-1:-1:-1;;;;;1102:22:0;;;;;;;1155:34;;;;1179:9;;1155:34;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1137:52;;;1208:7;1200:31;;;;-1:-1:-1;;;1200:31:0;;2824:2:1;1200:31:0;;;2806:21:1;2863:2;2843:18;;;2836:30;-1:-1:-1;;;2882:18:1;;;2875:41;2933:18;;1200:31:0;2622:335:1;1200:31:0;943:296;870:369;;:::o;222:127:1:-;283:10;278:3;274:20;271:1;264:31;314:4;311:1;304:15;338:4;335:1;328:15;354:1095;431:6;439;492:2;480:9;471:7;467:23;463:32;460:52;;;508:1;505;498:12;460:52;534:23;;-1:-1:-1;;;;;586:31:1;;576:42;;566:70;;632:1;629;622:12;566:70;655:5;-1:-1:-1;711:2:1;696:18;;683:32;734:18;764:14;;;761:34;;;791:1;788;781:12;761:34;829:6;818:9;814:22;804:32;;874:7;867:4;863:2;859:13;855:27;845:55;;896:1;893;886:12;845:55;932:2;919:16;954:2;950;947:10;944:36;;;960:18;;:::i;:::-;1035:2;1029:9;1003:2;1089:13;;-1:-1:-1;;1085:22:1;;;1109:2;1081:31;1077:40;1065:53;;;1133:18;;;1153:22;;;1130:46;1127:72;;;1179:18;;:::i;:::-;1219:10;1215:2;1208:22;1254:2;1246:6;1239:18;1294:7;1289:2;1284;1280;1276:11;1272:20;1269:33;1266:53;;;1315:1;1312;1305:12;1266:53;1371:2;1366;1362;1358:11;1353:2;1345:6;1341:15;1328:46;1416:1;1411:2;1406;1398:6;1394:15;1390:24;1383:35;1437:6;1427:16;;;;;;;354:1095;;;;;:::o;2205:412::-;2334:3;2372:6;2366:13;2397:1;2407:129;2421:6;2418:1;2415:13;2407:129;;;2519:4;2503:14;;;2499:25;;2493:32;2480:11;;;2473:53;2436:12;2407:129;;;-1:-1:-1;2591:1:1;2555:16;;2580:13;;;-1:-1:-1;2555:16:1;2205:412;-1:-1:-1;2205:412:1:o

Swarm Source

ipfs://4562a53397a5ec95ae3a45e3c739fc82314f87e701a71907f89ebfd3656322ef

Block Transaction 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
[ 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.