ETH Price: $3,105.37 (+0.99%)
Gas: 14 Gwei

Contract

0xfe5e5D361b2ad62c541bAb87C45a0B9B018389a2
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Send Message To ...186693282023-11-28 9:48:11139 days ago1701164891IN
Polygon (Matic): Fx Root
0 ETH0.0010894726.20439693
Send Message To ...169920132023-04-06 20:49:11374 days ago1680814151IN
Polygon (Matic): Fx Root
0 ETH0.0012206527.31326705
Send Message To ...169900132023-04-06 13:59:59375 days ago1680789599IN
Polygon (Matic): Fx Root
0 ETH0.0012962429.00450111
Send Message To ...169892732023-04-06 11:26:35375 days ago1680780395IN
Polygon (Matic): Fx Root
0 ETH0.0011705924.50685055
Send Message To ...169847692023-04-05 19:58:23375 days ago1680724703IN
Polygon (Matic): Fx Root
0 ETH0.0014794730.97348206
Send Message To ...169831022023-04-05 14:14:35376 days ago1680704075IN
Polygon (Matic): Fx Root
0 ETH0.0036353245.20146
Send Message To ...169830882023-04-05 14:11:47376 days ago1680703907IN
Polygon (Matic): Fx Root
0 ETH0.0033008741.04293927
Send Message To ...152066932022-07-24 17:43:47631 days ago1658684627IN
Polygon (Matic): Fx Root
0 ETH0.0006317913.73641366
Send Message To ...150246582022-06-25 16:58:33660 days ago1656176313IN
Polygon (Matic): Fx Root
0 ETH0.0015741534.2251891
Transfer144272162022-03-21 3:07:05756 days ago1647832025IN
Polygon (Matic): Fx Root
0 ETH0.0006645330.53108685
Transfer144272012022-03-21 3:03:09756 days ago1647831789IN
Polygon (Matic): Fx Root
0 ETH0.00068831.55696466
Transfer144271462022-03-21 2:50:34756 days ago1647831034IN
Polygon (Matic): Fx Root
0 ETH0.0007072232.69338961
Send Message To ...142764412022-02-25 16:51:00780 days ago1645807860IN
Polygon (Matic): Fx Root
0 ETH0.00472383103.27133807
Send Message To ...142762142022-02-25 15:56:24780 days ago1645804584IN
Polygon (Matic): Fx Root
0 ETH0.0025787756.37645818
Send Message To ...142754782022-02-25 13:19:12780 days ago1645795152IN
Polygon (Matic): Fx Root
0 ETH0.0027773560.71773381
Send Message To ...142744452022-02-25 9:29:29780 days ago1645781369IN
Polygon (Matic): Fx Root
0 ETH0.0020634945.11150498
Send Message To ...141564352022-02-07 3:03:32798 days ago1644203012IN
Polygon (Matic): Fx Root
0 ETH0.00464161100.91776887
Send Message To ...140747522022-01-25 12:28:26811 days ago1643113706IN
Polygon (Matic): Fx Root
0 ETH0.0029155162.72618768
Send Message To ...135773752021-11-08 18:33:19889 days ago1636396399IN
Polygon (Matic): Fx Root
0 ETH0.00806986167.55664289
Send Message To ...135571112021-11-05 14:23:05892 days ago1636122185IN
Polygon (Matic): Fx Root
0 ETH0.00595478143.18528825
Send Message To ...132164982021-09-13 9:19:28945 days ago1631524768IN
Polygon (Matic): Fx Root
0 ETH0.0022526953.51064163
Send Message To ...132163162021-09-13 8:40:17945 days ago1631522417IN
Polygon (Matic): Fx Root
0 ETH0.0026521763
Send Message To ...132133082021-09-12 21:16:55945 days ago1631481415IN
Polygon (Matic): Fx Root
0 ETH0.0028447867.5752272
Send Message To ...132126112021-09-12 18:38:03946 days ago1631471883IN
Polygon (Matic): Fx Root
0 ETH0.002750166.10822136
Send Message To ...132125362021-09-12 18:18:50946 days ago1631470730IN
Polygon (Matic): Fx Root
0 ETH0.0024811559.64322589
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FxRoot

Compiler Version
v0.7.3+commit.9bfce1f6

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2021-01-17
*/

// SPDX-License-Identifier: MIT
pragma solidity 0.7.3;


interface IStateSender {
    function syncState(address receiver, bytes calldata data) external;
}

interface IFxStateSender {
    function sendMessageToChild(address _receiver, bytes calldata _data) external;
}

/** 
 * @title FxRoot root contract for fx-portal
 */
contract FxRoot is IFxStateSender {
    IStateSender public stateSender;
    address public fxChild;

    constructor(address _stateSender) {
        stateSender = IStateSender(_stateSender);
    }

    function setFxChild(address _fxChild) public {
        require(fxChild == address(0x0));
        fxChild = _fxChild;
    }

    function sendMessageToChild(address _receiver, bytes calldata _data) public override {
        bytes memory data = abi.encode(msg.sender, _receiver, _data);
        stateSender.syncState(fxChild, data);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_stateSender","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"fxChild","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"sendMessageToChild","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_fxChild","type":"address"}],"name":"setFxChild","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stateSender","outputs":[{"internalType":"contract IStateSender","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b5060405161050b38038061050b8339818101604052602081101561003357600080fd5b8101908080519060200190929190505050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050610477806100946000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063450d11f014610051578063b472047714610085578063b86cfdcf1461011e578063cb10f94c14610162575b600080fd5b610059610196565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61011c6004803603604081101561009b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001906401000000008111156100d857600080fd5b8201836020820111156100ea57600080fd5b8035906020019184600183028401116401000000008311171561010c57600080fd5b90919293919293905050506101bc565b005b6101606004803603602081101561013457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061037e565b005b61016a61041d565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606033848484604051602001808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff168152602001806020018281038252848482818152602001925080828437600081840152601f19601f82011690508083019250505095505050505050604051602081830303815290604052905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166316f19831600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b838110156103135780820151818401526020810190506102f8565b50505050905090810190601f1680156103405780820380516001836020036101000a031916815260200191505b509350505050600060405180830381600087803b15801561036057600080fd5b505af1158015610374573d6000803e3d6000fd5b5050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146103d957600080fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff168156fea264697066735822122022e999dd4b0b9100cd51f853ab4e8e76e6a6f337f841fc2abc8cae88c9eff2d764736f6c6343000703003300000000000000000000000028e4f3a7f651294b9564800b2d01f35189a5bfbe

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061004c5760003560e01c8063450d11f014610051578063b472047714610085578063b86cfdcf1461011e578063cb10f94c14610162575b600080fd5b610059610196565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61011c6004803603604081101561009b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001906401000000008111156100d857600080fd5b8201836020820111156100ea57600080fd5b8035906020019184600183028401116401000000008311171561010c57600080fd5b90919293919293905050506101bc565b005b6101606004803603602081101561013457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061037e565b005b61016a61041d565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606033848484604051602001808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff168152602001806020018281038252848482818152602001925080828437600081840152601f19601f82011690508083019250505095505050505050604051602081830303815290604052905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166316f19831600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200180602001828103825283818151815260200191508051906020019080838360005b838110156103135780820151818401526020810190506102f8565b50505050905090810190601f1680156103405780820380516001836020036101000a031916815260200191505b509350505050600060405180830381600087803b15801561036057600080fd5b505af1158015610374573d6000803e3d6000fd5b5050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146103d957600080fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff168156fea264697066735822122022e999dd4b0b9100cd51f853ab4e8e76e6a6f337f841fc2abc8cae88c9eff2d764736f6c63430007030033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000028e4f3a7f651294b9564800b2d01f35189a5bfbe

-----Decoded View---------------
Arg [0] : _stateSender (address): 0x28e4F3a7f651294B9564800b2D01f35189A5bFbE

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000028e4f3a7f651294b9564800b2d01f35189a5bfbe


Deployed Bytecode Sourcemap

339:558:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;418:22;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;683:211;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;550:125;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;380:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;418:22;;;;;;;;;;;;;:::o;683:211::-;779:17;810:10;822:9;833:5;;799:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;779:60;;850:11;;;;;;;;;;:21;;;872:7;;;;;;;;;;;881:4;850:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;683:211;;;;:::o;550:125::-;633:3;614:23;;:7;;;;;;;;;;;:23;;;606:32;;;;;;659:8;649:7;;:18;;;;;;;;;;;;;;;;;;550:125;:::o;380:31::-;;;;;;;;;;;;:::o

Swarm Source

ipfs://22e999dd4b0b9100cd51f853ab4e8e76e6a6f337f841fc2abc8cae88c9eff2d7

Block Transaction Difficulty 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  ]

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.