FRAX Price: $0.90 (+10.87%)

Contract

0x98B2920D53612483F91F12Ed7754E51b4A77919e

Overview

FRAX Balance | FXTL Balance

0 FRAX | 57,330 FXTL

FRAX Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Age:30D
Reset Filter

Transaction Hash
Block
From
To

There are no matching entries

> 10 Internal Transactions and 7 Token Transfers found.

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
226396152025-07-09 19:39:01208 days ago1752089941
0x98B2920D...b4A77919e
 Contract Creation0 FRAX
226396002025-07-09 19:38:31208 days ago1752089911
0x98B2920D...b4A77919e
 Contract Creation0 FRAX
226395922025-07-09 19:38:15208 days ago1752089895
0x98B2920D...b4A77919e
 Contract Creation0 FRAX
226395852025-07-09 19:38:01208 days ago1752089881
0x98B2920D...b4A77919e
 Contract Creation0 FRAX
226395772025-07-09 19:37:45208 days ago1752089865
0x98B2920D...b4A77919e
 Contract Creation0 FRAX
226395702025-07-09 19:37:31208 days ago1752089851
0x98B2920D...b4A77919e
 Contract Creation0 FRAX
166850952025-02-21 23:35:01346 days ago1740180901
0x98B2920D...b4A77919e
 Contract Creation0 FRAX
166850792025-02-21 23:34:29346 days ago1740180869
0x98B2920D...b4A77919e
 Contract Creation0 FRAX
166850722025-02-21 23:34:15346 days ago1740180855
0x98B2920D...b4A77919e
 Contract Creation0 FRAX
166850612025-02-21 23:33:53346 days ago1740180833
0x98B2920D...b4A77919e
 Contract Creation0 FRAX
166850532025-02-21 23:33:37346 days ago1740180817
0x98B2920D...b4A77919e
 Contract Creation0 FRAX
166850452025-02-21 23:33:21346 days ago1740180801
0x98B2920D...b4A77919e
 Contract Creation0 FRAX
148650492025-01-10 20:26:49388 days ago1736540809
0x98B2920D...b4A77919e
 Contract Creation0 FRAX
148650342025-01-10 20:26:19388 days ago1736540779
0x98B2920D...b4A77919e
 Contract Creation0 FRAX
148650272025-01-10 20:26:05388 days ago1736540765
0x98B2920D...b4A77919e
 Contract Creation0 FRAX
148650202025-01-10 20:25:51388 days ago1736540751
0x98B2920D...b4A77919e
 Contract Creation0 FRAX
148650132025-01-10 20:25:37388 days ago1736540737
0x98B2920D...b4A77919e
 Contract Creation0 FRAX
148650062025-01-10 20:25:23388 days ago1736540723
0x98B2920D...b4A77919e
 Contract Creation0 FRAX
116350762024-10-28 2:01:03463 days ago1730080863
0x98B2920D...b4A77919e
 Contract Creation0 FRAX
104792502024-10-01 7:53:31489 days ago1727769211
0x98B2920D...b4A77919e
 Contract Creation0 FRAX
53323192024-06-04 4:29:09609 days ago1717475349
0x98B2920D...b4A77919e
 Contract Creation0 FRAX
23485452024-03-27 2:50:01678 days ago1711507801
0x98B2920D...b4A77919e
 Contract Creation0 FRAX
22637412024-03-25 3:43:13680 days ago1711338193
0x98B2920D...b4A77919e
 Contract Creation0 FRAX
22637262024-03-25 3:42:43680 days ago1711338163
0x98B2920D...b4A77919e
 Contract Creation0 FRAX
22637182024-03-25 3:42:27680 days ago1711338147
0x98B2920D...b4A77919e
 Contract Creation0 FRAX
View All Internal Transactions

Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ConstAddressDeployer

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at fraxscan.com on 2024-02-20
*/

// File contracts/ConstAddressDeployer.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

contract ConstAddressDeployer {
    error EmptyBytecode();
    error FailedDeploy();
    error FailedInit();

    event Deployed(bytes32 indexed bytecodeHash, bytes32 indexed salt, address indexed deployedAddress);

    /**
     * @dev Deploys a contract using `CREATE2`. The address where the contract
     * will be deployed can be known in advance via {deployedAddress}.
     *
     * The bytecode for a contract can be obtained from Solidity with
     * `type(contractName).creationCode`.
     *
     * Requirements:
     *
     * - `bytecode` must not be empty.
     * - `salt` must have not been used for `bytecode` already by the same `msg.sender`.
     */
    function deploy(bytes memory bytecode, bytes32 salt) external returns (address deployedAddress_) {
        deployedAddress_ = _deploy(bytecode, keccak256(abi.encode(msg.sender, salt)));
    }

    /**
     * @dev Deploys a contract using `CREATE2` and initialize it. The address where the contract
     * will be deployed can be known in advance via {deployedAddress}.
     *
     * The bytecode for a contract can be obtained from Solidity with
     * `type(contractName).creationCode`.
     *
     * Requirements:
     *
     * - `bytecode` must not be empty.
     * - `salt` must have not been used for `bytecode` already by the same `msg.sender`.
     * - `init` is used to initialize the deployed contract
     *    as an option to not have the constructor args affect the address derived by `CREATE2`.
     */
    function deployAndInit(
        bytes memory bytecode,
        bytes32 salt,
        bytes calldata init
    ) external returns (address deployedAddress_) {
        deployedAddress_ = _deploy(bytecode, keccak256(abi.encode(msg.sender, salt)));

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, ) = deployedAddress_.call(init);
        if (!success) revert FailedInit();
    }

    /**
     * @dev Returns the address where a contract will be stored if deployed via {deploy} or {deployAndInit} by `sender`.
     * Any change in the `bytecode`, `sender`, or `salt` will result in a new destination address.
     */
    function deployedAddress(
        bytes calldata bytecode,
        address sender,
        bytes32 salt
    ) external view returns (address deployedAddress_) {
        bytes32 newSalt = keccak256(abi.encode(sender, salt));
        deployedAddress_ = address(
            uint160(
                uint256(
                    keccak256(
                        abi.encodePacked(
                            hex'ff',
                            address(this),
                            newSalt,
                            keccak256(bytecode) // init code hash
                        )
                    )
                )
            )
        );
    }

    function _deploy(bytes memory bytecode, bytes32 salt) internal returns (address deployedAddress_) {
        if (bytecode.length == 0) revert EmptyBytecode();

        // solhint-disable-next-line no-inline-assembly
        assembly {
            deployedAddress_ := create2(0, add(bytecode, 32), mload(bytecode), salt)
        }

        if (deployedAddress_ == address(0)) revert FailedDeploy();

        emit Deployed(keccak256(bytecode), salt, deployedAddress_);
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"name":"EmptyBytecode","type":"error"},{"inputs":[],"name":"FailedDeploy","type":"error"},{"inputs":[],"name":"FailedInit","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"bytecodeHash","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"salt","type":"bytes32"},{"indexed":true,"internalType":"address","name":"deployedAddress","type":"address"}],"name":"Deployed","type":"event"},{"inputs":[{"internalType":"bytes","name":"bytecode","type":"bytes"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"deploy","outputs":[{"internalType":"address","name":"deployedAddress_","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"bytecode","type":"bytes"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"bytes","name":"init","type":"bytes"}],"name":"deployAndInit","outputs":[{"internalType":"address","name":"deployedAddress_","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"bytecode","type":"bytes"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"}],"name":"deployedAddress","outputs":[{"internalType":"address","name":"deployedAddress_","type":"address"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b506105a4806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80634af63f0214610046578063c2b1041c14610075578063cf4d643214610088575b600080fd5b6100596100543660046103f7565b61009b565b6040516001600160a01b03909116815260200160405180910390f35b610059610083366004610485565b6100da565b6100596100963660046104ee565b6101a9565b604080513360208201529081018290526000906100d39084906060015b6040516020818303038152906040528051906020012061026e565b9392505050565b604080516001600160a01b038416602082015290810182905260009081906060016040516020818303038152906040528051906020012090503081878760405161012592919061055e565b6040519081900381206101879392916020017fff00000000000000000000000000000000000000000000000000000000000000815260609390931b6bffffffffffffffffffffffff191660018401526015830191909152603582015260550190565b60408051601f1981840301815291905280516020909101209695505050505050565b604080513360208201529081018490526000906101ca9086906060016100b8565b90506000816001600160a01b031684846040516101e892919061055e565b6000604051808303816000865af19150503d8060008114610225576040519150601f19603f3d011682016040523d82523d6000602084013e61022a565b606091505b5050905080610265576040517f4f77232300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50949350505050565b60008251600014156102ac576040517f21744a5900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818351602085016000f590506001600160a01b0381166102f8576040517f4102e83a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b825160208401206040516001600160a01b0383169184917f27b8e3132afa95254770e1c1d214eafde52bc47d1b6e1f5dfcbb380c3ca3f53290600090a492915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f83011261037b57600080fd5b813567ffffffffffffffff808211156103965761039661033b565b604051601f8301601f19908116603f011681019082821181831017156103be576103be61033b565b816040528381528660208588010111156103d757600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561040a57600080fd5b823567ffffffffffffffff81111561042157600080fd5b61042d8582860161036a565b95602094909401359450505050565b60008083601f84011261044e57600080fd5b50813567ffffffffffffffff81111561046657600080fd5b60208301915083602082850101111561047e57600080fd5b9250929050565b6000806000806060858703121561049b57600080fd5b843567ffffffffffffffff8111156104b257600080fd5b6104be8782880161043c565b90955093505060208501356001600160a01b03811681146104de57600080fd5b9396929550929360400135925050565b6000806000806060858703121561050457600080fd5b843567ffffffffffffffff8082111561051c57600080fd5b6105288883890161036a565b955060208701359450604087013591508082111561054557600080fd5b506105528782880161043c565b95989497509550505050565b818382376000910190815291905056fea26469706673582212206a8d0537e27fe239a39d5ad8e5334db0447d0a1d7d49a7e82479baaa1319b39664736f6c63430008090033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100415760003560e01c80634af63f0214610046578063c2b1041c14610075578063cf4d643214610088575b600080fd5b6100596100543660046103f7565b61009b565b6040516001600160a01b03909116815260200160405180910390f35b610059610083366004610485565b6100da565b6100596100963660046104ee565b6101a9565b604080513360208201529081018290526000906100d39084906060015b6040516020818303038152906040528051906020012061026e565b9392505050565b604080516001600160a01b038416602082015290810182905260009081906060016040516020818303038152906040528051906020012090503081878760405161012592919061055e565b6040519081900381206101879392916020017fff00000000000000000000000000000000000000000000000000000000000000815260609390931b6bffffffffffffffffffffffff191660018401526015830191909152603582015260550190565b60408051601f1981840301815291905280516020909101209695505050505050565b604080513360208201529081018490526000906101ca9086906060016100b8565b90506000816001600160a01b031684846040516101e892919061055e565b6000604051808303816000865af19150503d8060008114610225576040519150601f19603f3d011682016040523d82523d6000602084013e61022a565b606091505b5050905080610265576040517f4f77232300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50949350505050565b60008251600014156102ac576040517f21744a5900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818351602085016000f590506001600160a01b0381166102f8576040517f4102e83a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b825160208401206040516001600160a01b0383169184917f27b8e3132afa95254770e1c1d214eafde52bc47d1b6e1f5dfcbb380c3ca3f53290600090a492915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f83011261037b57600080fd5b813567ffffffffffffffff808211156103965761039661033b565b604051601f8301601f19908116603f011681019082821181831017156103be576103be61033b565b816040528381528660208588010111156103d757600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561040a57600080fd5b823567ffffffffffffffff81111561042157600080fd5b61042d8582860161036a565b95602094909401359450505050565b60008083601f84011261044e57600080fd5b50813567ffffffffffffffff81111561046657600080fd5b60208301915083602082850101111561047e57600080fd5b9250929050565b6000806000806060858703121561049b57600080fd5b843567ffffffffffffffff8111156104b257600080fd5b6104be8782880161043c565b90955093505060208501356001600160a01b03811681146104de57600080fd5b9396929550929360400135925050565b6000806000806060858703121561050457600080fd5b843567ffffffffffffffff8082111561051c57600080fd5b6105288883890161036a565b955060208701359450604087013591508082111561054557600080fd5b506105528782880161043c565b95989497509550505050565b818382376000910190815291905056fea26469706673582212206a8d0537e27fe239a39d5ad8e5334db0447d0a1d7d49a7e82479baaa1319b39664736f6c63430008090033

Deployed Bytecode Sourcemap

108:3362:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;795:193;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1483:55:1;;;1465:74;;1453:2;1438:18;795:193:0;;;;;;;2299:678;;;;;;:::i;:::-;;:::i;1633:418::-;;;;;;:::i;:::-;;:::i;795:193::-;950:28;;;961:10;950:28;;;3456:74:1;3546:18;;;3539:34;;;866:24:0;;922:58;;930:8;;3429:18:1;;950:28:0;;;;;;;;;;;;;940:39;;;;;;922:7;:58::i;:::-;903:77;795:193;-1:-1:-1;;;795:193:0:o;2299:678::-;2501:24;;;-1:-1:-1;;;;;3474:55:1;;2501:24:0;;;3456:74:1;3546:18;;;3539:34;;;2436:24:0;;;;3429:18:1;;2501:24:0;;;;;;;;;;;;2491:35;;;;;;2473:53;;2763:4;2799:7;2847:8;;2837:19;;;;;;;:::i;:::-;;;;;;;;;2670:231;;;;;;4158:66:1;4146:79;;4262:2;4258:15;;;;-1:-1:-1;;4254:53:1;4250:1;4241:11;;4234:74;4333:2;4324:12;;4317:28;;;;4370:2;4361:12;;4354:28;4407:2;4398:12;;3860:556;2670:231:0;;;;-1:-1:-1;;2670:231:0;;;;;;;;;2634:290;;2670:231;2634:290;;;;;2299:678;-1:-1:-1;;;;;;2299:678:0:o;1633:418::-;1850:28;;;1861:10;1850:28;;;3456:74:1;3546:18;;;3539:34;;;1766:24:0;;1822:58;;1830:8;;3429:18:1;;1850:28:0;3282:297:1;1822:58:0;1803:77;;1954:12;1972:16;-1:-1:-1;;;;;1972:21:0;1994:4;;1972:27;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1953:46;;;2015:7;2010:33;;2031:12;;;;;;;;;;;;;;2010:33;1792:259;1633:418;;;;;;:::o;2985:482::-;3057:24;3098:8;:15;3117:1;3098:20;3094:48;;;3127:15;;;;;;;;;;;;;;3094:48;3303:4;3292:8;3286:15;3281:2;3271:8;3267:17;3264:1;3256:52;3236:72;-1:-1:-1;;;;;;3335:30:0;;3331:57;;3374:14;;;;;;;;;;;;;;3331:57;3415:19;;;;;;3406:53;;-1:-1:-1;;;;;3406:53:0;;;3436:4;;3406:53;;;;;2985:482;;;;:::o;14:184:1:-;66:77;63:1;56:88;163:4;160:1;153:15;187:4;184:1;177:15;203:718;245:5;298:3;291:4;283:6;279:17;275:27;265:55;;316:1;313;306:12;265:55;352:6;339:20;378:18;415:2;411;408:10;405:36;;;421:18;;:::i;:::-;496:2;490:9;464:2;550:13;;-1:-1:-1;;546:22:1;;;570:2;542:31;538:40;526:53;;;594:18;;;614:22;;;591:46;588:72;;;640:18;;:::i;:::-;680:10;676:2;669:22;715:2;707:6;700:18;761:3;754:4;749:2;741:6;737:15;733:26;730:35;727:55;;;778:1;775;768:12;727:55;842:2;835:4;827:6;823:17;816:4;808:6;804:17;791:54;889:1;882:4;877:2;869:6;865:15;861:26;854:37;909:6;900:15;;;;;;203:718;;;;:::o;926:388::-;1003:6;1011;1064:2;1052:9;1043:7;1039:23;1035:32;1032:52;;;1080:1;1077;1070:12;1032:52;1120:9;1107:23;1153:18;1145:6;1142:30;1139:50;;;1185:1;1182;1175:12;1139:50;1208:49;1249:7;1240:6;1229:9;1225:22;1208:49;:::i;:::-;1198:59;1304:2;1289:18;;;;1276:32;;-1:-1:-1;;;;926:388:1:o;1550:347::-;1601:8;1611:6;1665:3;1658:4;1650:6;1646:17;1642:27;1632:55;;1683:1;1680;1673:12;1632:55;-1:-1:-1;1706:20:1;;1749:18;1738:30;;1735:50;;;1781:1;1778;1771:12;1735:50;1818:4;1810:6;1806:17;1794:29;;1870:3;1863:4;1854:6;1846;1842:19;1838:30;1835:39;1832:59;;;1887:1;1884;1877:12;1832:59;1550:347;;;;;:::o;1902:674::-;1990:6;1998;2006;2014;2067:2;2055:9;2046:7;2042:23;2038:32;2035:52;;;2083:1;2080;2073:12;2035:52;2123:9;2110:23;2156:18;2148:6;2145:30;2142:50;;;2188:1;2185;2178:12;2142:50;2227:58;2277:7;2268:6;2257:9;2253:22;2227:58;:::i;:::-;2304:8;;-1:-1:-1;2201:84:1;-1:-1:-1;;2389:2:1;2374:18;;2361:32;-1:-1:-1;;;;;2422:54:1;;2412:65;;2402:93;;2491:1;2488;2481:12;2402:93;1902:674;;;;-1:-1:-1;2514:5:1;;2566:2;2551:18;2538:32;;-1:-1:-1;;1902:674:1:o;2581:696::-;2678:6;2686;2694;2702;2755:2;2743:9;2734:7;2730:23;2726:32;2723:52;;;2771:1;2768;2761:12;2723:52;2811:9;2798:23;2840:18;2881:2;2873:6;2870:14;2867:34;;;2897:1;2894;2887:12;2867:34;2920:49;2961:7;2952:6;2941:9;2937:22;2920:49;:::i;:::-;2910:59;;3016:2;3005:9;3001:18;2988:32;2978:42;;3073:2;3062:9;3058:18;3045:32;3029:48;;3102:2;3092:8;3089:16;3086:36;;;3118:1;3115;3108:12;3086:36;;3157:60;3209:7;3198:8;3187:9;3183:24;3157:60;:::i;:::-;2581:696;;;;-1:-1:-1;3236:8:1;-1:-1:-1;;;;2581:696:1:o;3584:271::-;3767:6;3759;3754:3;3741:33;3723:3;3793:16;;3818:13;;;3793:16;3584:271;-1:-1:-1;3584:271:1:o

Swarm Source

ipfs://6a8d0537e27fe239a39d5ad8e5334db0447d0a1d7d49a7e82479baaa1319b396

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.