FRAX Price: $0.86 (-14.95%)

Contract

0x40d88631554583C89313225dd06105De251Eebc7

Overview

FRAX Balance | FXTL Balance

0 FRAX | 9 FXTL

FRAX Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To

There are no matching entries

3 Internal Transactions and 2 Token Transfers found.

Latest 3 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
264689822025-10-06 11:04:35111 days ago1759748675
0x40d88631...e251Eebc7
0 FRAX
264095202025-10-05 2:02:31112 days ago1759629751
0x40d88631...e251Eebc7
0 FRAX
225280742025-07-07 5:40:59202 days ago1751866859
0x40d88631...e251Eebc7
0 FRAX

Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FraxtalSwapper_ETH2FRAX

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at fraxscan.com on 2025-07-07
*/

//SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.19;
interface IERC20 {
    function totalSupply() external view returns (uint256);
    function balanceOf(address account) external view returns (uint256);
    function transfer(address recipient, uint256 amount) external;
    function allowance(address owner, address spender) external view returns (uint256);
    function approve(address spender, uint256 amount) external;
    function transferFrom(address sender, address recipient, uint256 amount) external;
    function withdraw(uint256) external;
}
interface IPool{
    function exchange_received(uint256 i,uint256 j,uint256 dx,uint256 min_dy) external returns(uint256);
}
IERC20 constant WETH = IERC20(0xFC00000000000000000000000000000000000006);
IERC20 constant wFRAX = IERC20(0xFc00000000000000000000000000000000000002);
IPool constant Pool = IPool(0xa0D3911349e701A1F49C1Ba2dDA34b4ce9636569);
contract FraxtalSwapper_ETH2FRAX{
    constructor(){
        WETH.approve(address(Pool), type(uint256).max);
    }
    function swap(uint256 inAmount, uint256 outMinAmount) external returns (uint){
        WETH.transferFrom(msg.sender, address(Pool), inAmount);
        uint256 received = Pool.exchange_received(1,2,inAmount,outMinAmount);
        wFRAX.withdraw(received);
        payable(msg.sender).transfer(received);
        return received;
    }
    receive() payable external{}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"inAmount","type":"uint256"},{"internalType":"uint256","name":"outMinAmount","type":"uint256"}],"name":"swap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b5060405163095ea7b360e01b815273a0d3911349e701a1f49c1ba2dda34b4ce96365696004820152600019602482015273fc000000000000000000000000000000000000069063095ea7b390604401600060405180830381600087803b15801561007957600080fd5b505af115801561008d573d6000803e3d6000fd5b5050505061026a806100a06000396000f3fe6080604052600436106100225760003560e01c8063d96073cf1461002e57600080fd5b3661002957005b600080fd5b34801561003a57600080fd5b5061004e6100493660046101f9565b610060565b60405190815260200160405180910390f35b6040516323b872dd60e01b815233600482015273a0d3911349e701a1f49c1ba2dda34b4ce96365696024820152604481018390526000906006603f609a1b01906323b872dd90606401600060405180830381600087803b1580156100c357600080fd5b505af11580156100d7573d6000803e3d6000fd5b50506040516329b244bb60e01b8152600160048201526002602482015260448101869052606481018590526000925073a0d3911349e701a1f49c1ba2dda34b4ce963656991506329b244bb906084016020604051808303816000875af1158015610145573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610169919061021b565b604051632e1a7d4d60e01b8152600481018290529091506002603f609a1b0190632e1a7d4d90602401600060405180830381600087803b1580156101ac57600080fd5b505af11580156101c0573d6000803e3d6000fd5b505060405133925083156108fc02915083906000818181858888f193505050501580156101f1573d6000803e3d6000fd5b509392505050565b6000806040838503121561020c57600080fd5b50508035926020909101359150565b60006020828403121561022d57600080fd5b505191905056fea2646970667358221220d73aa1bc6e75248bf9f8d4e325f7899f12e26fbc5cc93a96c46066e8d28f1b8764736f6c63430008130033

Deployed Bytecode

0x6080604052600436106100225760003560e01c8063d96073cf1461002e57600080fd5b3661002957005b600080fd5b34801561003a57600080fd5b5061004e6100493660046101f9565b610060565b60405190815260200160405180910390f35b6040516323b872dd60e01b815233600482015273a0d3911349e701a1f49c1ba2dda34b4ce96365696024820152604481018390526000906006603f609a1b01906323b872dd90606401600060405180830381600087803b1580156100c357600080fd5b505af11580156100d7573d6000803e3d6000fd5b50506040516329b244bb60e01b8152600160048201526002602482015260448101869052606481018590526000925073a0d3911349e701a1f49c1ba2dda34b4ce963656991506329b244bb906084016020604051808303816000875af1158015610145573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610169919061021b565b604051632e1a7d4d60e01b8152600481018290529091506002603f609a1b0190632e1a7d4d90602401600060405180830381600087803b1580156101ac57600080fd5b505af11580156101c0573d6000803e3d6000fd5b505060405133925083156108fc02915083906000818181858888f193505050501580156101f1573d6000803e3d6000fd5b509392505050565b6000806040838503121561020c57600080fd5b50508035926020909101359150565b60006020828403121561022d57600080fd5b505191905056fea2646970667358221220d73aa1bc6e75248bf9f8d4e325f7899f12e26fbc5cc93a96c46066e8d28f1b8764736f6c63430008130033

Deployed Bytecode Sourcemap

928:499:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1051:339;;;;;;;;;;-1:-1:-1;1051:339:0;;;;;:::i;:::-;;:::i;:::-;;;413:25:1;;;401:2;386:18;1051:339:0;;;;;;;;1139:54;;-1:-1:-1;;;1139:54:0;;1157:10;1139:54;;;689:34:1;882:42:0;739:18:1;;;732:43;791:18;;;784:34;;;1123:4:0;;-1:-1:-1;;;;;731:42:0;1139:17;;624:18:1;;1139:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1223:49:0;;-1:-1:-1;;;1223:49:0;;1246:1;1223:49;;;1076:25:1;1248:1:0;1117:18:1;;;1110:34;1160:18;;;1153:34;;;1203:18;;;1196:34;;;1204:16:0;;-1:-1:-1;882:42:0;;-1:-1:-1;1223:22:0;;1048:19:1;;1223:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1283:24;;-1:-1:-1;;;1283:24:0;;;;;413:25:1;;;1204:68:0;;-1:-1:-1;;;;;;808:42:0;1283:14;;386:18:1;;1283:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1318:38:0;;1326:10;;-1:-1:-1;1318:38:0;;;;;-1:-1:-1;1347:8:0;;1318:38;;;;1347:8;1326:10;1318:38;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1374:8:0;1051:339;-1:-1:-1;;;1051:339:0:o;14:248:1:-;82:6;90;143:2;131:9;122:7;118:23;114:32;111:52;;;159:1;156;149:12;111:52;-1:-1:-1;;182:23:1;;;252:2;237:18;;;224:32;;-1:-1:-1;14:248:1:o;1241:184::-;1311:6;1364:2;1352:9;1343:7;1339:23;1335:32;1332:52;;;1380:1;1377;1370:12;1332:52;-1:-1:-1;1403:16:1;;1241:184;-1:-1:-1;1241:184:1:o

Swarm Source

ipfs://d73aa1bc6e75248bf9f8d4e325f7899f12e26fbc5cc93a96c46066e8d28f1b87

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

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.