Contract 0x7f6776fffc8b83215679dbda8d91136b4d7053b2 3

Txn Hash Method
Block
From
To
Value [Txn Fee]
0xbc809b2f0fb03995f5cd0d1ed617f6dc9ddf7468a3b74dd05e8f836b1244992eSynthesize155220412022-01-02 21:45:3826 days 7 hrs ago0xbb5a1ba0ad389ad9cfd5ec553a4f9dff723a7bd9 IN  0x7f6776fffc8b83215679dbda8d91136b4d7053b20 BNB0.00169234
0x032557a37e6c860533a8b5224e132766092918bf3699b993f6951863df1ccd00Synthesize153996112021-12-29 15:41:3830 days 13 hrs ago0xcda03ff4796e3a24846bd5194a5512573cdab36b IN  0x7f6776fffc8b83215679dbda8d91136b4d7053b20 BNB0.00169222
0xce9d8dac34ba2e384b32c4960eb34eb06bc915cb95eb6707b294e75380a06b9dSynthesize153995262021-12-29 15:37:2330 days 13 hrs ago0x60755e5b9403e7a084e4e8e96a1bc0b91d26573c IN  0x7f6776fffc8b83215679dbda8d91136b4d7053b20 BNB0.0016921
0x83912b91ae3b69bb6be1a434686bf7c2ec594cf8675f6e0a6852ba2003d1818cSynthesize153992982021-12-29 15:25:5930 days 13 hrs ago0xdcb7bf063d73fa67c987f459d885b3df86061548 IN  0x7f6776fffc8b83215679dbda8d91136b4d7053b20 BNB0.00169234
0x52a0a034d6aec8094887899179c4b54af9cbbd89016599c6db36630918e72a5eSynthesize153992892021-12-29 15:25:3230 days 13 hrs ago0xe9fae04105d2f5252ceab4ef0acae5e7a13ee3cf IN  0x7f6776fffc8b83215679dbda8d91136b4d7053b20 BNB0.0016921
0x9899f3ff6a2fe0d9853df16d3793d2db7fb361135c53f124acc951fe82e4f761Synthesize153992832021-12-29 15:25:1430 days 13 hrs ago0x454e4e461293b30639c0b1e06c1fb83837d0a293 IN  0x7f6776fffc8b83215679dbda8d91136b4d7053b20 BNB0.0016921
0x9e06e0d36a1da0b81dd47010bd82d229254b239b96ee2a4e2c59bb81238f9c7fSynthesize153992772021-12-29 15:24:5630 days 13 hrs ago0xad91af407119a0266cb940aae1401ea649c0ea99 IN  0x7f6776fffc8b83215679dbda8d91136b4d7053b20 BNB0.0016921
0x4a2ba1cda701216d459d911ea02eb2c8539dc9dc9e28dc19d23a2b0f2785d674Synthesize153992262021-12-29 15:22:2330 days 13 hrs ago0x454e4e461293b30639c0b1e06c1fb83837d0a293 IN  0x7f6776fffc8b83215679dbda8d91136b4d7053b20 BNB0.00169222
0xeca1f6ff25296c7bd3889215e7ebb3db411cb94ba2160306a45ad212756aafc5Synthesize153991222021-12-29 15:17:1130 days 13 hrs ago0x11d5df7879dd1c18f38d930df921af65a6a2c846 IN  0x7f6776fffc8b83215679dbda8d91136b4d7053b20 BNB0.0016921
0x0de7702c6eceeb9b0cec37e7458715e64ca8a6c53f66e8d0a8cb341e6948c115Synthesize153990702021-12-29 15:14:3530 days 13 hrs ago0x5662ee2cb29aa09cb67bc5146a7bcfdcecdf164d IN  0x7f6776fffc8b83215679dbda8d91136b4d7053b20 BNB0.0016921
0x99e542bb5c11b50b02383a90fe72696234b86b811112cc5fd25607b40f3c55b4Synthesize153990282021-12-29 15:12:2930 days 13 hrs ago0x5662ee2cb29aa09cb67bc5146a7bcfdcecdf164d IN  0x7f6776fffc8b83215679dbda8d91136b4d7053b20 BNB0.00169222
0x2465f1a02e4b652c635354f09633924910a2d045c2e9f9ae45c8908a16595acaSynthesize153988322021-12-29 15:02:4130 days 13 hrs ago0x497439407c03dc7432d6407be08de0e213328c18 IN  0x7f6776fffc8b83215679dbda8d91136b4d7053b20 BNB0.0016921
0x05629a7318dbda228b80015d10aa3e7b3d9bbb8c47d8c3a7765717b9b1027886Synthesize153986732021-12-29 14:54:4430 days 13 hrs ago0xe050f981e774c2866c27278d14a2b4df1cec0ccd IN  0x7f6776fffc8b83215679dbda8d91136b4d7053b20 BNB0.00169222
0x6e44bcbc8cd1284ea1999e180678e9e7bc12cca0379522b086c6fac564609f56Synthesize153986052021-12-29 14:51:2030 days 13 hrs ago0xa9a5b183b85165a01d20ce35884a6de1dd8313d8 IN  0x7f6776fffc8b83215679dbda8d91136b4d7053b20 BNB0.0016921
0x6dff1bbe9ada08850bfeb2049d727ab7885e9e436376678813a5737abd8e9ea7Synthesize153985892021-12-29 14:50:3230 days 13 hrs ago0x497439407c03dc7432d6407be08de0e213328c18 IN  0x7f6776fffc8b83215679dbda8d91136b4d7053b20 BNB0.00169222
0x56ab079f5b47fb028aa1f36d981695a775ce1106fb4fd7eece68a506c9145fc5Synthesize153985662021-12-29 14:49:2330 days 13 hrs ago0x81ae766bdae35c2dcd33ad011307189d3f7cc9ed IN  0x7f6776fffc8b83215679dbda8d91136b4d7053b20 BNB0.0016921
0x722e882a89ecd22e6e3dd76c3a41b1f2f3b20785478c81eee41bbf5780253facSynthesize153984432021-12-29 14:43:1430 days 14 hrs ago0x1acd26f0910888fa5c5ef90468f3f10117a8c783 IN  0x7f6776fffc8b83215679dbda8d91136b4d7053b20 BNB0.00025177
0xedc462e1e93c31f4a696e1ae95ca40957e818e4d1a0f997cc42f586f1b0eff2bSynthesize153984412021-12-29 14:43:0830 days 14 hrs ago0xe572d9ce6dcc21c69a861572d2900f659c83bdb8 IN  0x7f6776fffc8b83215679dbda8d91136b4d7053b20 BNB0.00169222
0xa437dca2a89e45935a89379d5941786b3d6f66ae84ef1d2c7eb8685bd1e092a4Synthesize153984382021-12-29 14:42:5930 days 14 hrs ago0x44f17f237035e51f2309550600c46cef5cb35794 IN  0x7f6776fffc8b83215679dbda8d91136b4d7053b20 BNB0.0016921
0xfee3c224d255b421988b4d86c84d19e321ecad84c6e992367fcfcdc168d8b340Synthesize153983632021-12-29 14:39:1430 days 14 hrs ago0x332a879d43e6f647ca09c457c87a9c2d85172896 IN  0x7f6776fffc8b83215679dbda8d91136b4d7053b20 BNB0.0016921
0xc0bee4333f67950ee850e85f97542e94f799ac188a5c80757e96b3f04053eb1dSynthesize153983322021-12-29 14:37:4130 days 14 hrs ago0x81ae766bdae35c2dcd33ad011307189d3f7cc9ed IN  0x7f6776fffc8b83215679dbda8d91136b4d7053b20 BNB0.00169222
0xe19d432403274521e9a4a519d04e62d5714d0614ed6698432ec19e8743b92627Synthesize153983232021-12-29 14:37:1430 days 14 hrs ago0x332a879d43e6f647ca09c457c87a9c2d85172896 IN  0x7f6776fffc8b83215679dbda8d91136b4d7053b20 BNB0.00169222
0x6851275bfcfc6be806f52652132eea486f07fa65dfe50eb477fc15128f9030c3Synthesize153983072021-12-29 14:36:2630 days 14 hrs ago0xb39d5b3c3edf5e4a43897902d0eaac4cb123a162 IN  0x7f6776fffc8b83215679dbda8d91136b4d7053b20 BNB0.0016921
0xfa4e1f96b99d0a491fdb9ed5a5cdd0b831917221d7065cec34fa5475143fc8f7Synthesize153979482021-12-29 14:18:2930 days 14 hrs ago0xaefb65c73bcca9826f3fb5977ec8bc91f0f1f954 IN  0x7f6776fffc8b83215679dbda8d91136b4d7053b20 BNB0.00169222
0x2ce876deea2c288e3cc549d9d31b56db9df169c524b25dd85aa80b4ce1fb21b3Synthesize153979022021-12-29 14:16:1130 days 14 hrs ago0xf450c5a74795732e92c6605cbc97d653d0d895d7 IN  0x7f6776fffc8b83215679dbda8d91136b4d7053b20 BNB0.00169222
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xbc809b2f0fb03995f5cd0d1ed617f6dc9ddf7468a3b74dd05e8f836b1244992e155220412022-01-02 21:45:3826 days 7 hrs ago 0x7f6776fffc8b83215679dbda8d91136b4d7053b2 0x0ed15549797201b007a3a2811d6dd8d2d1eb9c6f0 BNB
0xbc809b2f0fb03995f5cd0d1ed617f6dc9ddf7468a3b74dd05e8f836b1244992e155220412022-01-02 21:45:3826 days 7 hrs ago 0x7f6776fffc8b83215679dbda8d91136b4d7053b2 0x98e8927207c6c221a5eb4a3575925717fa6303a80 BNB
0x032557a37e6c860533a8b5224e132766092918bf3699b993f6951863df1ccd00153996112021-12-29 15:41:3830 days 13 hrs ago 0x7f6776fffc8b83215679dbda8d91136b4d7053b2 0x0ed15549797201b007a3a2811d6dd8d2d1eb9c6f0 BNB
0x032557a37e6c860533a8b5224e132766092918bf3699b993f6951863df1ccd00153996112021-12-29 15:41:3830 days 13 hrs ago 0x7f6776fffc8b83215679dbda8d91136b4d7053b2 0x98e8927207c6c221a5eb4a3575925717fa6303a80 BNB
0xce9d8dac34ba2e384b32c4960eb34eb06bc915cb95eb6707b294e75380a06b9d153995262021-12-29 15:37:2330 days 13 hrs ago 0x7f6776fffc8b83215679dbda8d91136b4d7053b2 0x0ed15549797201b007a3a2811d6dd8d2d1eb9c6f0 BNB
0xce9d8dac34ba2e384b32c4960eb34eb06bc915cb95eb6707b294e75380a06b9d153995262021-12-29 15:37:2330 days 13 hrs ago 0x7f6776fffc8b83215679dbda8d91136b4d7053b2 0xc0924cc9113588c93b6990d15723d0c80acf0da60 BNB
0x7345d74ab08ecbded56d80aed5052d3698d15b1e7f039f35ba009d11246ac5c7153995242021-12-29 15:37:1730 days 13 hrs ago 0x7f6776fffc8b83215679dbda8d91136b4d7053b2 0x98e8927207c6c221a5eb4a3575925717fa6303a80 BNB
0x7345d74ab08ecbded56d80aed5052d3698d15b1e7f039f35ba009d11246ac5c7153995242021-12-29 15:37:1730 days 13 hrs ago 0x0ed15549797201b007a3a2811d6dd8d2d1eb9c6f 0x7f6776fffc8b83215679dbda8d91136b4d7053b20 BNB
0xd848c694612bdfd62870d05235738dd34cba1e1d818f6f0abcc45822b49ead5a153995152021-12-29 15:36:5030 days 13 hrs ago 0x0ed15549797201b007a3a2811d6dd8d2d1eb9c6f 0x7f6776fffc8b83215679dbda8d91136b4d7053b20 BNB
0xf3ef9b1903eea2594ae66a477d4d20e25e3c5e7517755f9dce237af709602c71153995152021-12-29 15:36:5030 days 13 hrs ago 0x7f6776fffc8b83215679dbda8d91136b4d7053b2 0x98e8927207c6c221a5eb4a3575925717fa6303a80 BNB
0xf3ef9b1903eea2594ae66a477d4d20e25e3c5e7517755f9dce237af709602c71153995152021-12-29 15:36:5030 days 13 hrs ago 0x0ed15549797201b007a3a2811d6dd8d2d1eb9c6f 0x7f6776fffc8b83215679dbda8d91136b4d7053b20 BNB
0xd0147ea4f7aff79193a10f97386b22d0561c90035d98341a332500f5a2daddf6153993852021-12-29 15:30:2030 days 13 hrs ago 0x7f6776fffc8b83215679dbda8d91136b4d7053b2 0x98e8927207c6c221a5eb4a3575925717fa6303a80 BNB
0xd0147ea4f7aff79193a10f97386b22d0561c90035d98341a332500f5a2daddf6153993852021-12-29 15:30:2030 days 13 hrs ago 0x0ed15549797201b007a3a2811d6dd8d2d1eb9c6f 0x7f6776fffc8b83215679dbda8d91136b4d7053b20 BNB
0x7e2cc0988912719fd8ed0e876f083acb70bb3e10d75afd1ef6139450611e49b8153993302021-12-29 15:27:3530 days 13 hrs ago 0x7f6776fffc8b83215679dbda8d91136b4d7053b2 0x98e8927207c6c221a5eb4a3575925717fa6303a80 BNB
0x7e2cc0988912719fd8ed0e876f083acb70bb3e10d75afd1ef6139450611e49b8153993302021-12-29 15:27:3530 days 13 hrs ago 0x0ed15549797201b007a3a2811d6dd8d2d1eb9c6f 0x7f6776fffc8b83215679dbda8d91136b4d7053b20 BNB
0x83912b91ae3b69bb6be1a434686bf7c2ec594cf8675f6e0a6852ba2003d1818c153992982021-12-29 15:25:5930 days 13 hrs ago 0x7f6776fffc8b83215679dbda8d91136b4d7053b2 0x0ed15549797201b007a3a2811d6dd8d2d1eb9c6f0 BNB
0x83912b91ae3b69bb6be1a434686bf7c2ec594cf8675f6e0a6852ba2003d1818c153992982021-12-29 15:25:5930 days 13 hrs ago 0x7f6776fffc8b83215679dbda8d91136b4d7053b2 0x98e8927207c6c221a5eb4a3575925717fa6303a80 BNB
0x52a0a034d6aec8094887899179c4b54af9cbbd89016599c6db36630918e72a5e153992892021-12-29 15:25:3230 days 13 hrs ago 0x7f6776fffc8b83215679dbda8d91136b4d7053b2 0x0ed15549797201b007a3a2811d6dd8d2d1eb9c6f0 BNB
0x52a0a034d6aec8094887899179c4b54af9cbbd89016599c6db36630918e72a5e153992892021-12-29 15:25:3230 days 13 hrs ago 0x7f6776fffc8b83215679dbda8d91136b4d7053b2 0xc0924cc9113588c93b6990d15723d0c80acf0da60 BNB
0x9899f3ff6a2fe0d9853df16d3793d2db7fb361135c53f124acc951fe82e4f761153992832021-12-29 15:25:1430 days 13 hrs ago 0x7f6776fffc8b83215679dbda8d91136b4d7053b2 0x0ed15549797201b007a3a2811d6dd8d2d1eb9c6f0 BNB
0x9899f3ff6a2fe0d9853df16d3793d2db7fb361135c53f124acc951fe82e4f761153992832021-12-29 15:25:1430 days 13 hrs ago 0x7f6776fffc8b83215679dbda8d91136b4d7053b2 0xc0924cc9113588c93b6990d15723d0c80acf0da60 BNB
0x9e06e0d36a1da0b81dd47010bd82d229254b239b96ee2a4e2c59bb81238f9c7f153992772021-12-29 15:24:5630 days 13 hrs ago 0x7f6776fffc8b83215679dbda8d91136b4d7053b2 0x0ed15549797201b007a3a2811d6dd8d2d1eb9c6f0 BNB
0x9e06e0d36a1da0b81dd47010bd82d229254b239b96ee2a4e2c59bb81238f9c7f153992772021-12-29 15:24:5630 days 13 hrs ago 0x7f6776fffc8b83215679dbda8d91136b4d7053b2 0xc0924cc9113588c93b6990d15723d0c80acf0da60 BNB
0x4a2ba1cda701216d459d911ea02eb2c8539dc9dc9e28dc19d23a2b0f2785d674153992262021-12-29 15:22:2330 days 13 hrs ago 0x7f6776fffc8b83215679dbda8d91136b4d7053b2 0x0ed15549797201b007a3a2811d6dd8d2d1eb9c6f0 BNB
0x4a2ba1cda701216d459d911ea02eb2c8539dc9dc9e28dc19d23a2b0f2785d674153992262021-12-29 15:22:2330 days 13 hrs ago 0x7f6776fffc8b83215679dbda8d91136b4d7053b2 0x98e8927207c6c221a5eb4a3575925717fa6303a80 BNB
[ Download CSV Export 
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0xBC60FfC09DaA8FBfE88d2e7F802595a56A742102

Contract Name:
Portal

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 7 : Portal.sol
// SPDX-License-Identifier: MIT
pragma solidity  ^0.8.0;

import "@openzeppelin/contracts-newone/access/Ownable.sol";
import '@openzeppelin/contracts-newone/utils/math/SafeMath.sol';
import '@uniswap/lib/contracts/libraries/TransferHelper.sol';
import "./IBridge.sol";
import "./RelayRecipient.sol";


contract Portal is RelayRecipient {
    using SafeMath for uint256;

    mapping(address => uint) public balanceOf;
    address public bridge;

    enum RequestState { Default, Sent, Reverted }
    enum UnsynthesizeState { Default, Unsynthesized, RevertRequest }

    struct TxState {
        address recipient;
        address chain2address;
        uint256 amount;
        address rtoken;
        RequestState state;
    }

    uint256 requestCount = 1;
    mapping (bytes32 => TxState) public requests;
    mapping (bytes32 => UnsynthesizeState) public unsynthesizeStates;

    event SynthesizeRequest(bytes32 indexed _id, address indexed _from, address indexed _to, uint _amount, address _token);
    event RevertBurnRequest(bytes32 indexed _id, address indexed _to);
    event BurnCompleted(bytes32 indexed _id, address indexed _to, uint _amount, address _token);
    event RevertSynthesizeCompleted(bytes32 indexed _id, address indexed _to, uint _amount, address _token);

    constructor(address _bridge, address _trustedForwarder) RelayRecipient(_trustedForwarder) {
        bridge = _bridge;
    }

    modifier onlyBridge {
        require(bridge == msg.sender);
        _;
    }

    // Token -> sToken on a second chain
    function synthesize(
        address _token,
        uint256 _amount,
        address _chain2address,
        address _receiveSide,
        address _oppositeBridge,
        uint _chainID
    ) external returns (bytes32 txID) {
        TransferHelper.safeTransferFrom(_token, _msgSender(), address(this), _amount);
        balanceOf[_token] = balanceOf[_token].add(_amount);

        txID = keccak256(abi.encodePacked(this, requestCount));

        bytes memory out  = abi.encodeWithSelector(bytes4(keccak256(bytes('mintSyntheticToken(bytes32,address,uint256,address)'))), txID, _token, _amount, _chain2address);
        // TODO add payment by token
        IBridge(bridge).transmitRequestV2(out,_receiveSide, _oppositeBridge, _chainID);
        TxState storage txState = requests[txID];
        txState.recipient    = _msgSender();
        txState.chain2address    = _chain2address;
        txState.rtoken     = _token;
        txState.amount     = _amount;
        txState.state = RequestState.Sent;

        requestCount +=1;

        emit SynthesizeRequest(txID, _msgSender(), _chain2address, _amount, _token);
    }

    // Token -> sToken on a second chain withPermit
    function synthesizeWithPermit(
        bytes calldata _approvalData,
        address _token,
        uint256 _amount,
        address _chain2address,
        address _receiveSide,
        address _oppositeBridge,
        uint _chainID
    )  external returns (bytes32 txID) {

        (bool _success1, ) = _token.call(_approvalData);
        require(_success1, "Approve call failed");

        TransferHelper.safeTransferFrom(_token, _msgSender(), address(this), _amount);
        balanceOf[_token] = balanceOf[_token].add(_amount);

        txID = keccak256(abi.encodePacked(this, requestCount));

        bytes memory out  = abi.encodeWithSelector(bytes4(keccak256(bytes('mintSyntheticToken(bytes32,address,uint256,address)'))), txID, _token, _amount, _chain2address);
        // TODO add payment by token
        IBridge(bridge).transmitRequestV2(out,_receiveSide, _oppositeBridge, _chainID);
        TxState storage txState = requests[txID];
        txState.recipient    = _msgSender();
        txState.chain2address    = _chain2address;
        txState.rtoken     = _token;
        txState.amount     = _amount;
        txState.state = RequestState.Sent;

        requestCount +=1;

        emit SynthesizeRequest(txID, _msgSender(), _chain2address, _amount, _token);
    }

    // can called only by bridge after initiation on a second chain
    function emergencyUnsynthesize(bytes32 _txID) external onlyBridge {
        TxState storage txState = requests[_txID];
        require(txState.state == RequestState.Sent , 'Portal:state not open or tx does not exist');

        txState.state = RequestState.Reverted; // close
        TransferHelper.safeTransfer(txState.rtoken, txState.recipient, txState.amount);

        emit RevertSynthesizeCompleted(_txID, txState.recipient, txState.amount, txState.rtoken);
    }

    // can called only by bridge after initiation on a second chain
    function unsynthesize(bytes32 _txID, address _token, uint256 _amount, address _to) external onlyBridge {
        require(unsynthesizeStates[_txID] == UnsynthesizeState.Default, "Portal: syntatic tokens emergencyUnburn");

        TransferHelper.safeTransfer(_token, _to, _amount);
        balanceOf[_token] = balanceOf[_token].sub(_amount);

        unsynthesizeStates[_txID] = UnsynthesizeState.Unsynthesized;

        emit BurnCompleted(_txID, _to, _amount, _token);
    }

    // Revert burnSyntheticToken() operation, can be called several times
    function emergencyUnburnRequest(bytes32 _txID, address _receiveSide, address _oppositeBridge, uint _chainId) external {
        require(unsynthesizeStates[_txID] != UnsynthesizeState.Unsynthesized, "Portal: Real tokens already transfered");
        unsynthesizeStates[_txID] = UnsynthesizeState.RevertRequest;

        bytes memory out  = abi.encodeWithSelector(bytes4(keccak256(bytes('emergencyUnburn(bytes32)'))),_txID);
        // TODO add payment by token
        IBridge(bridge).transmitRequestV2(out, _receiveSide, _oppositeBridge, _chainId);

        emit RevertBurnRequest(_txID, _msgSender());
    }

    // should be restricted in mainnets
    function changeBridge(address _bridge) external onlyOwner {
        bridge = _bridge;
    }

    function versionRecipient() public view returns (string memory) {
        return "2.0.1";
    }
}

File 2 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";
/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 3 of 7 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 4 of 7 : TransferHelper.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity >=0.6.0;

// helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false
library TransferHelper {
    function safeApprove(
        address token,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('approve(address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x095ea7b3, to, value));
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            'TransferHelper::safeApprove: approve failed'
        );
    }

    function safeTransfer(
        address token,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('transfer(address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value));
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            'TransferHelper::safeTransfer: transfer failed'
        );
    }

    function safeTransferFrom(
        address token,
        address from,
        address to,
        uint256 value
    ) internal {
        // bytes4(keccak256(bytes('transferFrom(address,address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value));
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            'TransferHelper::transferFrom: transferFrom failed'
        );
    }

    function safeTransferETH(address to, uint256 value) internal {
        (bool success, ) = to.call{value: value}(new bytes(0));
        require(success, 'TransferHelper::safeTransferETH: ETH transfer failed');
    }
}

File 5 of 7 : IBridge.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IBridge {
     function transmitRequestV2(bytes memory owner, address receiveSide, address oppositeBridge, uint chainID) external returns (bytes32);
}

File 6 of 7 : RelayRecipient.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts-newone/access/Ownable.sol";
import "@openzeppelin/contracts-newone/utils/Context.sol";

abstract contract RelayRecipient is Context, Ownable {
    address private _trustedForwarder;

    constructor(address trustedForwarder) {
        _trustedForwarder = trustedForwarder;
    }

    function isTrustedForwarder(address forwarder) public view virtual returns(bool) {
        return forwarder == _trustedForwarder;
    }

    function _msgSender() internal view virtual override returns (address sender) {
        if (isTrustedForwarder(msg.sender)) {
            // The assembly code is more direct than the Solidity version using `abi.decode`.
            assembly { sender := shr(96, calldataload(sub(calldatasize(), 20))) }
        } else {
            return super._msgSender();
        }
    }

    function _msgData() internal view virtual override returns (bytes calldata) {
        if (isTrustedForwarder(msg.sender)) {
            return msg.data[:msg.data.length-20];
        } else {
            return super._msgData();
        }
    }
}

File 7 of 7 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_bridge","type":"address"},{"internalType":"address","name":"_trustedForwarder","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"_id","type":"bytes32"},{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"_token","type":"address"}],"name":"BurnCompleted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"_id","type":"bytes32"},{"indexed":true,"internalType":"address","name":"_to","type":"address"}],"name":"RevertBurnRequest","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"_id","type":"bytes32"},{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"_token","type":"address"}],"name":"RevertSynthesizeCompleted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"_id","type":"bytes32"},{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"_token","type":"address"}],"name":"SynthesizeRequest","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bridge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_bridge","type":"address"}],"name":"changeBridge","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_txID","type":"bytes32"},{"internalType":"address","name":"_receiveSide","type":"address"},{"internalType":"address","name":"_oppositeBridge","type":"address"},{"internalType":"uint256","name":"_chainId","type":"uint256"}],"name":"emergencyUnburnRequest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_txID","type":"bytes32"}],"name":"emergencyUnsynthesize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"forwarder","type":"address"}],"name":"isTrustedForwarder","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"requests","outputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"address","name":"chain2address","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"rtoken","type":"address"},{"internalType":"enum Portal.RequestState","name":"state","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_chain2address","type":"address"},{"internalType":"address","name":"_receiveSide","type":"address"},{"internalType":"address","name":"_oppositeBridge","type":"address"},{"internalType":"uint256","name":"_chainID","type":"uint256"}],"name":"synthesize","outputs":[{"internalType":"bytes32","name":"txID","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"_approvalData","type":"bytes"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_chain2address","type":"address"},{"internalType":"address","name":"_receiveSide","type":"address"},{"internalType":"address","name":"_oppositeBridge","type":"address"},{"internalType":"uint256","name":"_chainID","type":"uint256"}],"name":"synthesizeWithPermit","outputs":[{"internalType":"bytes32","name":"txID","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_txID","type":"bytes32"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"unsynthesize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"unsynthesizeStates","outputs":[{"internalType":"enum Portal.UnsynthesizeState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"versionRecipient","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

608060405260016004553480156200001657600080fd5b506040516200188b3803806200188b833981016040819052620000399162000138565b80600062000046620000c7565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b039283166001600160a01b0319918216179091556003805494909216931692909217909155506200016f565b6000620000d43362000105565b15620000ea575060131936013560601c62000102565b620000ff6200011c60201b62000dda1760201c565b90505b90565b6001546001600160a01b038281169116145b919050565b3390565b80516001600160a01b03811681146200011757600080fd5b600080604083850312156200014b578182fd5b620001568362000120565b9150620001666020840162000120565b90509250929050565b61170c806200017f6000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80638da5cb5b11610097578063e78cea9211610066578063e78cea92146101fa578063f2fde38b14610202578063fab9289414610215578063fc89586914610235576100f5565b80638da5cb5b1461019b5780639a1962fb146101b05780639d866985146101c3578063a6037a29146101e7576100f5565b80635bb8809f116100d35780635bb8809f1461014d57806370a082311461016d578063715018a6146101805780637ac3a7ad14610188576100f5565b806308774410146100fa578063486ff0cd1461010f578063572b6c051461012d575b600080fd5b61010d61010836600461101f565b610248565b005b6101176102b2565b60405161012491906113c6565b60405180910390f35b61014061013b36600461101f565b6102d2565b6040516101249190611342565b61016061015b366004611039565b6102e9565b604051610124919061134d565b61016061017b36600461101f565b610547565b61010d610559565b61010d6101963660046110ee565b6105e2565b6101a36107b4565b60405161012491906112b1565b6101606101be366004611176565b6107c3565b6101d66101d13660046110be565b610aa2565b6040516101249594939291906112e9565b61010d6101f5366004611131565b610ae2565b6101a3610bf7565b61010d61021036600461101f565b610c06565b6102286102233660046110be565b610cc6565b60405161012491906113b3565b61010d6102433660046110be565b610cdb565b610250610dde565b6001600160a01b03166102616107b4565b6001600160a01b0316146102905760405162461bcd60e51b815260040161028790611574565b60405180910390fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b604080518082019091526005815264322e302e3160d81b60208201525b90565b6001546001600160a01b038281169116145b919050565b60006102fe876102f7610dde565b3089610e0c565b6001600160a01b0387166000908152600260205260409020546103219087610efc565b6001600160a01b038816600090815260026020908152604091829020929092556004549051610353923092910161128f565b60405160208183030381529060405280519060200120905060006040518060600160405280603381526020016116a46033913980519060200120828989896040516024016103a49493929190611356565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909416939093179092526003549151633675e4e160e11b81529092506001600160a01b0390911690636cebc9c29061040e90849089908990899060040161137d565b602060405180830381600087803b15801561042857600080fd5b505af115801561043c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046091906110d6565b506000828152600560205260409020610477610dde565b81546001600160a01b03199081166001600160a01b039283161783556001808401805483168b8516179055600384018054909216928c1692909217808255600284018b905560ff60a01b1916600160a01b8302179055506001600460008282546104e1919061160d565b90915550506001600160a01b0387166104f8610dde565b6001600160a01b0316847f79856ea8bc3d8f5d0a803c32f56f54884a196b09482b11134b6f2a6f6276a0b98b8d6040516105339291906115f6565b60405180910390a450509695505050505050565b60026020526000908152604090205481565b610561610dde565b6001600160a01b03166105726107b4565b6001600160a01b0316146105985760405162461bcd60e51b815260040161028790611574565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600160008581526006602052604090205460ff16600281111561061557634e487b7160e01b600052602160045260246000fd5b14156106335760405162461bcd60e51b81526004016102879061152e565b6000848152600660209081526040808320805460ff1916600217905580518082018252601881527f656d657267656e6379556e6275726e2862797465733332290000000000000000920191909152517fbb5f3cca435aa59954658d4e0c1ff1f986367b549a3ab8cecc5aca486851239c906106b290879060240161134d565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909416939093179092526003549151633675e4e160e11b81529092506001600160a01b0390911690636cebc9c29061071c90849088908890889060040161137d565b602060405180830381600087803b15801561073657600080fd5b505af115801561074a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076e91906110d6565b50610777610dde565b6001600160a01b0316857f40590cc12db0488520ce425059f83f8caed91bdf98de5ff829dc57c63843161b60405160405180910390a35050505050565b6000546001600160a01b031690565b600080876001600160a01b03168a8a6040516107e0929190611263565b6000604051808303816000865af19150503d806000811461081d576040519150601f19603f3d011682016040523d82523d6000602084013e610822565b606091505b50509050806108435760405162461bcd60e51b815260040161028790611470565b6108568861084f610dde565b308a610e0c565b6001600160a01b0388166000908152600260205260409020546108799088610efc565b6001600160a01b0389166000908152600260209081526040918290209290925560045490516108ab923092910161128f565b60405160208183030381529060405280519060200120915060006040518060600160405280603381526020016116a46033913980519060200120838a8a8a6040516024016108fc9493929190611356565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909416939093179092526003549151633675e4e160e11b81529092506001600160a01b0390911690636cebc9c2906109669084908a908a908a9060040161137d565b602060405180830381600087803b15801561098057600080fd5b505af1158015610994573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b891906110d6565b5060008381526005602052604090206109cf610dde565b81546001600160a01b03199081166001600160a01b039283161783556001808401805483168c8516179055600384018054909216928d1692909217808255600284018c905560ff60a01b1916600160a01b830217905550600160046000828254610a39919061160d565b90915550506001600160a01b038816610a50610dde565b6001600160a01b0316857f79856ea8bc3d8f5d0a803c32f56f54884a196b09482b11134b6f2a6f6276a0b98c8e604051610a8b9291906115f6565b60405180910390a450505098975050505050505050565b60056020526000908152604090208054600182015460028301546003909301546001600160a01b039283169391831692811690600160a01b900460ff1685565b6003546001600160a01b03163314610af957600080fd5b60008481526006602052604081205460ff166002811115610b2a57634e487b7160e01b600052602160045260246000fd5b14610b475760405162461bcd60e51b81526004016102879061149d565b610b52838284610f0f565b6001600160a01b038316600090815260026020526040902054610b759083610ffc565b6001600160a01b038416600090815260026020908152604080832093909355868252600690522080546001919060ff191682800217905550806001600160a01b0316847f7d38b66fe45f4596a8e0f6d416747ea22ad1ef15891e9d7c8f848a044be974e08486604051610be99291906115f6565b60405180910390a350505050565b6003546001600160a01b031681565b610c0e610dde565b6001600160a01b0316610c1f6107b4565b6001600160a01b031614610c455760405162461bcd60e51b815260040161028790611574565b6001600160a01b038116610c6b5760405162461bcd60e51b8152600401610287906113d9565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60066020526000908152604090205460ff1681565b6003546001600160a01b03163314610cf257600080fd5b600081815260056020526040902060016003820154600160a01b900460ff166002811115610d3057634e487b7160e01b600052602160045260246000fd5b14610d4d5760405162461bcd60e51b8152600401610287906114e4565b60038101805460ff60a01b1916600160a11b179081905581546002830154610d82926001600160a01b03908116921690610f0f565b8054600282015460038301546040516001600160a01b039384169386937f944f1d3ef1c50472b370611627295b06b64eca841d2de116bb7634a08a097ca993610dce93919216906115f6565b60405180910390a35050565b3390565b6000610de9336102d2565b15610dfd575060131936013560601c6102cf565b610e05610dda565b90506102cf565b600080856001600160a01b03166323b872dd868686604051602401610e33939291906112c5565b6040516020818303038152906040529060e01b6020820180516001600160e01b038381831617835250505050604051610e6c9190611273565b6000604051808303816000865af19150503d8060008114610ea9576040519150601f19603f3d011682016040523d82523d6000602084013e610eae565b606091505b5091509150818015610ed8575080511580610ed8575080806020019051810190610ed8919061109e565b610ef45760405162461bcd60e51b81526004016102879061141f565b505050505050565b6000610f08828461160d565b9392505050565b600080846001600160a01b031663a9059cbb8585604051602401610f34929190611329565b6040516020818303038152906040529060e01b6020820180516001600160e01b038381831617835250505050604051610f6d9190611273565b6000604051808303816000865af19150503d8060008114610faa576040519150601f19603f3d011682016040523d82523d6000602084013e610faf565b606091505b5091509150818015610fd9575080511580610fd9575080806020019051810190610fd9919061109e565b610ff55760405162461bcd60e51b8152600401610287906115a9565b5050505050565b6000610f088284611625565b80356001600160a01b03811681146102e457600080fd5b600060208284031215611030578081fd5b610f0882611008565b60008060008060008060c08789031215611051578182fd5b61105a87611008565b95506020870135945061106f60408801611008565b935061107d60608801611008565b925061108b60808801611008565b915060a087013590509295509295509295565b6000602082840312156110af578081fd5b81518015158114610f08578182fd5b6000602082840312156110cf578081fd5b5035919050565b6000602082840312156110e7578081fd5b5051919050565b60008060008060808587031215611103578384fd5b8435935061111360208601611008565b925061112160408601611008565b9396929550929360600135925050565b60008060008060808587031215611146578384fd5b8435935061115660208601611008565b92506040850135915061116b60608601611008565b905092959194509250565b60008060008060008060008060e0898b031215611191578182fd5b883567ffffffffffffffff808211156111a8578384fd5b818b0191508b601f8301126111bb578384fd5b8135818111156111c9578485fd5b8c60208285010111156111da578485fd5b60209283019a5098506111f0918b019050611008565b95506040890135945061120560608a01611008565b935061121360808a01611008565b925061122160a08a01611008565b915060c089013590509295985092959890939650565b6000815180845261124f81602086016020860161163c565b601f01601f19169290920160200192915050565b6000828483379101908152919050565b6000825161128581846020870161163c565b9190910192915050565b60609290921b6bffffffffffffffffffffffff19168252601482015260340190565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b0386811682528581166020830152604082018590528316606082015260a0810161131983611682565b8260808301529695505050505050565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b90815260200190565b9384526001600160a01b039283166020850152604084019190915216606082015260800190565b6000608082526113906080830187611237565b6001600160a01b0395861660208401529390941660408201526060015292915050565b602081016113c083611682565b91905290565b600060208252610f086020830184611237565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526031908201527f5472616e7366657248656c7065723a3a7472616e7366657246726f6d3a207472604082015270185b9cd9995c919c9bdb4819985a5b1959607a1b606082015260800190565b602080825260139082015272105c1c1c9bdd994818d85b1b0819985a5b1959606a1b604082015260600190565b60208082526027908201527f506f7274616c3a2073796e746174696320746f6b656e7320656d657267656e636040820152663caab7313ab93760c91b606082015260800190565b6020808252602a908201527f506f7274616c3a7374617465206e6f74206f70656e206f7220747820646f6573604082015269081b9bdd08195e1a5cdd60b21b606082015260800190565b60208082526026908201527f506f7274616c3a205265616c20746f6b656e7320616c7265616479207472616e6040820152651cd9995c995960d21b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602d908201527f5472616e7366657248656c7065723a3a736166655472616e736665723a20747260408201526c185b9cd9995c8819985a5b1959609a1b606082015260800190565b9182526001600160a01b0316602082015260400190565b600082198211156116205761162061166c565b500190565b6000828210156116375761163761166c565b500390565b60005b8381101561165757818101518382015260200161163f565b83811115611666576000848401525b50505050565b634e487b7160e01b600052601160045260246000fd5b600381106116a057634e487b7160e01b600052602160045260246000fd5b5056fe6d696e7453796e746865746963546f6b656e28627974657333322c616464726573732c75696e743235362c6164647265737329a26469706673582212201a66bff5150a5f6fef2ddd4d0c5ffbddec2e77b5bd29c1db42a996bdd0a6dae264736f6c63430008000033000000000000000000000000b6eb27120e75b6c49305e8f3e2e8f91c6701466a000000000000000000000000eb230bf62267e94e657b5cbe74bdcea78eb3a5ab

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading