Contract 0xD8d90d33498416A7152FB39Adf77103C8Bc27245 1

 
 
Txn Hash
Method
Block
From
To
Value
0xedcb4c2dfb85ce4a0bba42a7ac3a3ed633f65e3f0c739fceeae34bdd7ef6ca31Swap Back159290952022-11-09 1:08:4730 days 11 hrs ago0xbc31f1d71625096bad94d811ae4af7ecb7b7097f IN  0xd8d90d33498416a7152fb39adf77103c8bc272450 Ether0.0021665920.75640534
0x61ad6e7704ee66c6f911502c3915690c06a3a9053d6aa625f4015b29f8249938Swap159260002022-11-08 14:45:4730 days 21 hrs agoENS Name *калякамаляка.eth IN  0xd8d90d33498416a7152fb39adf77103c8bc272450.0005 Ether0.0027375636.15804497
0x10423699eda71090899962421d65b449d0cc69ed90fd4cc8c93d9d799c3b0668Swap159259292022-11-08 14:31:3530 days 22 hrs agoENS Name *калякамаляка.eth IN  0xd8d90d33498416a7152fb39adf77103c8bc272450.0005 Ether0.0016210321.40403747
0x971ab35d30962181a6debeeb3b996b57d6f23d5cc679c23b7aa9698138222aa9Swap159258772022-11-08 14:21:1130 days 22 hrs agoENS Name *калякамаляка.eth IN  0xd8d90d33498416a7152fb39adf77103c8bc272450.0005 Ether0.0013516417.84982154
0xd25d25512529e0c8afa40336dd2223cfca7e08e0e12756de04327659e3d35a7fWithdraw Tokens159254992022-11-08 13:05:3530 days 23 hrs ago0xa55cde11b2932954603ec754ba0385c650df36be IN  0xd8d90d33498416a7152fb39adf77103c8bc272450 Ether0.00054805 11.99949737
0x315f0b0cca0cf1554f8015363b6d4abb277cd5336ac7fd2b22d488007ed4b22dSwap159254282022-11-08 12:51:2330 days 23 hrs ago0x97ee4ed562c7ed22f4ff7dc3fc4a24b5f0b9627e IN  0xd8d90d33498416a7152fb39adf77103c8bc272450.0005 Ether0.00100271 13.24188666
0xe07d833382ba5a4d3e47c9408ffa68cdd57add2392d91d104c3a14a734f72a87Withdraw Tokens159253472022-11-08 12:35:1131 days 2 mins ago0xa55cde11b2932954603ec754ba0385c650df36be IN  0xd8d90d33498416a7152fb39adf77103c8bc272450 Ether0.00061343 13.43099502
0x3923c35a24b57fab64bf860f1deb4b9aef44e52c24ee0e765a6e1b599d67c64fSwap159151072022-11-07 2:17:4732 days 10 hrs ago0xf938ba6e4e474e85750ad2ab6ce113605a0fc1dc IN  0xd8d90d33498416a7152fb39adf77103c8bc272450.0005 Ether0.00090064 11.89400266
0x50bdb2259bcc87bc18878f73e70b861a1ca9430d8e43fb7cb461ec5ba5561335Swap159058502022-11-05 19:18:2333 days 17 hrs ago0xe09835429192c660a009881730476e3b643f8aed IN  0xd8d90d33498416a7152fb39adf77103c8bc272450.0005 Ether0.00092139 12.16798705
0x1f1809286346f8c4636be09cbf72048da64a3e52738625eec49b420888ec1882Swap Back158994002022-11-04 21:40:2334 days 14 hrs ago0xbc31f1d71625096bad94d811ae4af7ecb7b7097f IN  0xd8d90d33498416a7152fb39adf77103c8bc272450 Ether0.0019634118.80769177
0xa3def5f76b1f77eb208ec33f65e1f2e8f228e2fc60be8baf11c35f69a6404b4fSwap158992192022-11-04 21:03:5934 days 15 hrs ago0xcd39034d181b20fc27ef1d9dbb1297e05913b3e3 IN  0xd8d90d33498416a7152fb39adf77103c8bc272450.0005 Ether0.0016332 21.56818033
0xddeafb42ca7c2a39831a15a1cd32162a910a962870f9fa4104fd8686dc54c709Swap158914592022-11-03 19:04:5935 days 17 hrs ago0x2a3eaa6c146c37118646874d6342448a4e40387e IN  0xd8d90d33498416a7152fb39adf77103c8bc272450.0005 Ether0.00166059 21.93676603
0xe9d18a58e2fffe28188445b18b62cb16cf3dbfcbbfaf047ba3b95f0f6b5e7a00Swap158747442022-11-01 11:00:5938 days 1 hr ago0xa55cde11b2932954603ec754ba0385c650df36be IN  0xd8d90d33498416a7152fb39adf77103c8bc272450.0005 Ether0.00075119 9.92025034
0x92b4a641b1ed5747e59528dfd42d0ae0b68f8759c71fa8c714500a7ca38656b6Swap158712072022-10-31 23:05:2338 days 13 hrs ago0x0f4daa365a72c5b134d6e263f21b64de87f2392a IN  0xd8d90d33498416a7152fb39adf77103c8bc272450.0005 Ether0.00222446 29.38103842
0x02e65c3a20a50b68a0fddeda1a90f3d119c1367f811764b060cb7cd3aed85e01Swap158702432022-10-31 19:51:1138 days 16 hrs ago0x97ee4ed562c7ed22f4ff7dc3fc4a24b5f0b9627e IN  0xd8d90d33498416a7152fb39adf77103c8bc272450.0005 Ether0.00144269 19.0492195
0x124b1435cf1007a1e3fa3152dddff7bc302c34ed40869dc9d22d1da208c377b2Swap158618202022-10-30 15:37:3539 days 21 hrs ago0x865ce2ac305621e102c213fd3b9640a9b16e9a62 IN  0xd8d90d33498416a7152fb39adf77103c8bc272450.0005 Ether0.00084525 11.16244954
0x6c7fd698cf35df9ff7535e4134f21a24ba6488c04e7b029fe9c69a9da412eae6Swap158551672022-10-29 17:21:3540 days 19 hrs ago0x76fd98235785c37b363058eb7869bcf139473062 IN  0xd8d90d33498416a7152fb39adf77103c8bc272450.0005 Ether0.00177149 23.39441498
0x12717a81bdab50c9ab0d346aaedd1215bc0de61785b6e0147465252e78828487Swap Back158383472022-10-27 8:53:4743 days 3 hrs ago0xbc31f1d71625096bad94d811ae4af7ecb7b7097f IN  0xd8d90d33498416a7152fb39adf77103c8bc272450 Ether0.001446213.85329528
0x7478749fc55b0264c500331f1f3cf3643097b174fedff75a4c030e41798e3b0fSwap Back158350192022-10-26 21:45:1143 days 14 hrs ago0xbc31f1d71625096bad94d811ae4af7ecb7b7097f IN  0xd8d90d33498416a7152fb39adf77103c8bc272450 Ether0.0018787117.99433625
0x29053269779572e449bb08b67bc2d9055c2b13c744703b5c41f8c24f96a9df54Swap Back158349992022-10-26 21:41:1143 days 14 hrs ago0xbc31f1d71625096bad94d811ae4af7ecb7b7097f IN  0xd8d90d33498416a7152fb39adf77103c8bc272450 Ether0.002330622.32768341
0x11dbde966e80c840310b4a64c0e3dc5647924f00b9984efd43b05f19547205d7Swap Back158349992022-10-26 21:41:1143 days 14 hrs ago0xbc31f1d71625096bad94d811ae4af7ecb7b7097f IN  0xd8d90d33498416a7152fb39adf77103c8bc272450 Ether0.002330622.32768341
0xa8eaf0740c98ccf292ef59bf9a49e29d56bb4601eae9b217b46f1f758de15bbaSwap Back158349792022-10-26 21:37:1143 days 15 hrs ago0xbc31f1d71625096bad94d811ae4af7ecb7b7097f IN  0xd8d90d33498416a7152fb39adf77103c8bc272450 Ether0.002569224.61064729
0x8b607f177fd7b2393f0716d2d9247874a185b4e327453ebf37fa277d900dc11dSwap Back158349002022-10-26 21:21:1143 days 15 hrs ago0xbc31f1d71625096bad94d811ae4af7ecb7b7097f IN  0xd8d90d33498416a7152fb39adf77103c8bc272450 Ether0.0020471523.44803005
0xe9953d0ec74b44333e560ec7d76ebcac38599b3bedc18635276e1189e29222a0Swap Back158218382022-10-25 1:34:1145 days 11 hrs ago0xbc31f1d71625096bad94d811ae4af7ecb7b7097f IN  0xd8d90d33498416a7152fb39adf77103c8bc272450 Ether0.002542524.35769652
0x4c85897b12dc1bdd53cfb27a543eee2d2a7405e292dea409194c175f7232917cSwap156160942022-09-26 7:35:4774 days 5 hrs agoENS Name smecleu.eth IN  0xd8d90d33498416a7152fb39adf77103c8bc272450.0005 Ether0.00043357 5.72585378
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x61ad6e7704ee66c6f911502c3915690c06a3a9053d6aa625f4015b29f8249938159260002022-11-08 14:45:4730 days 21 hrs ago 0xd8d90d33498416a7152fb39adf77103c8bc272450xbc31f1d71625096bad94d811ae4af7ecb7b7097f0.0005 Ether
0x10423699eda71090899962421d65b449d0cc69ed90fd4cc8c93d9d799c3b0668159259292022-11-08 14:31:3530 days 22 hrs ago 0xd8d90d33498416a7152fb39adf77103c8bc272450xbc31f1d71625096bad94d811ae4af7ecb7b7097f0.0005 Ether
0x971ab35d30962181a6debeeb3b996b57d6f23d5cc679c23b7aa9698138222aa9159258772022-11-08 14:21:1130 days 22 hrs ago 0xd8d90d33498416a7152fb39adf77103c8bc272450xbc31f1d71625096bad94d811ae4af7ecb7b7097f0.0005 Ether
0x315f0b0cca0cf1554f8015363b6d4abb277cd5336ac7fd2b22d488007ed4b22d159254282022-11-08 12:51:2330 days 23 hrs ago 0xd8d90d33498416a7152fb39adf77103c8bc272450xbc31f1d71625096bad94d811ae4af7ecb7b7097f0.0005 Ether
0x3923c35a24b57fab64bf860f1deb4b9aef44e52c24ee0e765a6e1b599d67c64f159151072022-11-07 2:17:4732 days 10 hrs ago 0xd8d90d33498416a7152fb39adf77103c8bc272450xbc31f1d71625096bad94d811ae4af7ecb7b7097f0.0005 Ether
0x50bdb2259bcc87bc18878f73e70b861a1ca9430d8e43fb7cb461ec5ba5561335159058502022-11-05 19:18:2333 days 17 hrs ago 0xd8d90d33498416a7152fb39adf77103c8bc272450xbc31f1d71625096bad94d811ae4af7ecb7b7097f0.0005 Ether
0xa3def5f76b1f77eb208ec33f65e1f2e8f228e2fc60be8baf11c35f69a6404b4f158992192022-11-04 21:03:5934 days 15 hrs ago 0xd8d90d33498416a7152fb39adf77103c8bc272450xbc31f1d71625096bad94d811ae4af7ecb7b7097f0.0005 Ether
0xddeafb42ca7c2a39831a15a1cd32162a910a962870f9fa4104fd8686dc54c709158914592022-11-03 19:04:5935 days 17 hrs ago 0xd8d90d33498416a7152fb39adf77103c8bc272450xbc31f1d71625096bad94d811ae4af7ecb7b7097f0.0005 Ether
0xe9d18a58e2fffe28188445b18b62cb16cf3dbfcbbfaf047ba3b95f0f6b5e7a00158747442022-11-01 11:00:5938 days 1 hr ago 0xd8d90d33498416a7152fb39adf77103c8bc272450xbc31f1d71625096bad94d811ae4af7ecb7b7097f0.0005 Ether
0x92b4a641b1ed5747e59528dfd42d0ae0b68f8759c71fa8c714500a7ca38656b6158712072022-10-31 23:05:2338 days 13 hrs ago 0xd8d90d33498416a7152fb39adf77103c8bc272450xbc31f1d71625096bad94d811ae4af7ecb7b7097f0.0005 Ether
0x02e65c3a20a50b68a0fddeda1a90f3d119c1367f811764b060cb7cd3aed85e01158702432022-10-31 19:51:1138 days 16 hrs ago 0xd8d90d33498416a7152fb39adf77103c8bc272450xbc31f1d71625096bad94d811ae4af7ecb7b7097f0.0005 Ether
0x124b1435cf1007a1e3fa3152dddff7bc302c34ed40869dc9d22d1da208c377b2158618202022-10-30 15:37:3539 days 21 hrs ago 0xd8d90d33498416a7152fb39adf77103c8bc272450xbc31f1d71625096bad94d811ae4af7ecb7b7097f0.0005 Ether
0x6c7fd698cf35df9ff7535e4134f21a24ba6488c04e7b029fe9c69a9da412eae6158551672022-10-29 17:21:3540 days 19 hrs ago 0xd8d90d33498416a7152fb39adf77103c8bc272450xbc31f1d71625096bad94d811ae4af7ecb7b7097f0.0005 Ether
0x4c85897b12dc1bdd53cfb27a543eee2d2a7405e292dea409194c175f7232917c156160942022-09-26 7:35:4774 days 5 hrs ago 0xd8d90d33498416a7152fb39adf77103c8bc272450xbc31f1d71625096bad94d811ae4af7ecb7b7097f0.0005 Ether
0x82cdef2d2c172e61224bdc296ac4417d964f445875c4f0a060d1f5f47db85fc9156160892022-09-26 7:34:4774 days 5 hrs ago 0xd8d90d33498416a7152fb39adf77103c8bc272450xbc31f1d71625096bad94d811ae4af7ecb7b7097f0.0005 Ether
0x5896475bb0f340c2f28dc91cd4ac8a06e9076f1ad0d7990eebac0b79a5913d63155888792022-09-22 12:27:5978 days 9 mins ago 0xd8d90d33498416a7152fb39adf77103c8bc272450xbc31f1d71625096bad94d811ae4af7ecb7b7097f0.0005 Ether
0xf99f5a8b4bf08d08de36d1d5fae7376eb0791b3ef58760d68433c1d324cde87d155232932022-09-12 21:58:4087 days 14 hrs ago 0xd8d90d33498416a7152fb39adf77103c8bc272450xbc31f1d71625096bad94d811ae4af7ecb7b7097f0.0005 Ether
0x24541a2656ad332fa41971d43cf53005976e19c98483ca23bb83560676184144154773432022-09-05 10:32:5195 days 2 hrs ago 0xd8d90d33498416a7152fb39adf77103c8bc272450xbc31f1d71625096bad94d811ae4af7ecb7b7097f0.0005 Ether
0x14860e340979d848ec735014531a6f96521a8e979884ea37ec924d701e883aec153838842022-08-21 12:01:26110 days 36 mins ago 0xd8d90d33498416a7152fb39adf77103c8bc272450xbc31f1d71625096bad94d811ae4af7ecb7b7097f0.0005 Ether
0xa20a0d2f0790159cc6cdd7d09ac8f4dab88a1f9cc3eb9af1a3b37203d1002dff153836202022-08-21 11:03:22110 days 1 hr ago 0xd8d90d33498416a7152fb39adf77103c8bc272450xbc31f1d71625096bad94d811ae4af7ecb7b7097f0.0005 Ether
0x07ae79d73fec5523f9c409540edaa83d6f50fb30d9489392b24e50093287b5ec153835742022-08-21 10:51:40110 days 1 hr ago 0xd8d90d33498416a7152fb39adf77103c8bc272450xbc31f1d71625096bad94d811ae4af7ecb7b7097f0.0005 Ether
0x25fd8092de65e23c721883bdbf0f718768c1450f238d8d2adf2f4d6dca10bf2a153835312022-08-21 10:43:15110 days 1 hr ago 0xd8d90d33498416a7152fb39adf77103c8bc272450xbc31f1d71625096bad94d811ae4af7ecb7b7097f0.0005 Ether
0x250e2b2be1d61937b2d2e496fb4428efb89116c2a606426eb0c0e74ba3b0cf24153835012022-08-21 10:36:23110 days 2 hrs ago 0xd8d90d33498416a7152fb39adf77103c8bc272450xbc31f1d71625096bad94d811ae4af7ecb7b7097f0.0005 Ether
0xf2090655dfb8e0d2169a492b3d44f2b72f42166be173a2be4e411e15d343973f153834882022-08-21 10:34:14110 days 2 hrs ago 0xd8d90d33498416a7152fb39adf77103c8bc272450xbc31f1d71625096bad94d811ae4af7ecb7b7097f0.0005 Ether
0x249d9c123571ee4b06599833968f80b750328f2726d1e3eb821624d414c1f7a6153834872022-08-21 10:34:04110 days 2 hrs ago 0xd8d90d33498416a7152fb39adf77103c8bc272450xbc31f1d71625096bad94d811ae4af7ecb7b7097f0.0005 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BridgeEternaETH

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

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

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }
}

library SafeMath {
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint256 c = a / b;

        return c;
    }
}

contract Ownable is Context {
    address private _owner;

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

    constructor() {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    function owner() public view returns (address) {
        return _owner;
    }

    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(
            newOwner != address(0),
            "Ownable: new owner is the zero address"
        );
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

abstract contract IERC20 {
    function decimals() external view virtual returns (uint8);

    function name() external view virtual returns (string memory);

    function symbol() external view virtual returns (string memory);
}

library TransferHelper {
    function safeApprove(
        address token,
        address to,
        uint256 value
    ) internal {
        (bool success, bytes memory data) = token.call(
            abi.encodeWithSelector(0x095ea7b3, to, value)
        );
        require(
            success && (data.length == 0 || abi.decode(data, (bool))),
            "TransferHelper: APPROVE_FAILED"
        );
    }

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

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

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

contract BridgeEternaETH is Context, Ownable {
    using SafeMath for uint256;

    mapping(uint256 => uint256) private _nonces;
    mapping(uint256 => mapping(uint256 => bool)) private nonceProcessed;
    mapping(uint256 => uint256) private _processedFees;
    mapping(address => bool) public _isExcludedFromFees;
    
    uint256 private _bridgeFee = 3;
    bool public _isBridgingPaused = false;


    address public eterna;
    address public system = address(0xbC31F1D71625096BaD94d811AE4AF7EcB7B7097F);
    address public governor = address(0xd070544810510865114Ad5A0b6a821A5BD2E7C49);
    address public bridgeFeesAddress = address(0xD378dBeD86689D0dBA19Ca2bab322B6f23765288);

    event SwapRequest(
        address indexed to,
        uint256 amount,
        uint256 nonce,
        uint256 toChainID
    );
    

    modifier onlySystem() {
        require(system == _msgSender(), "Ownable: caller is not the system");
        _;
    }
    
    modifier onlyGovernance() {
        require(governor == _msgSender(), "Ownable: caller is not the system");
        _;
    }

    modifier bridgingPaused() {
        require(!_isBridgingPaused, "the bridging is paused");
        _;
    }

    constructor() {
        _processedFees[56] = 0.0005 ether;
    }


    function updateEternaContract(address _eterna) external onlyOwner {
       eterna = _eterna;
   }
   
   function excludeFromFees(address account, bool exclude) external onlyGovernance {
       _isExcludedFromFees[account] = exclude;
   }

    function setBridgeFee(uint256 bridgeFee) external onlyGovernance returns (bool) {
        require(bridgeFee > 0, "Invalid Percentage");
        _bridgeFee = bridgeFee;
        return true;
    }
    
    function changeGovernor(address _governor) external onlyGovernance {
        governor = _governor;
    }
    

    function getBridgeFee() external view returns (uint256) {
        return _bridgeFee;
    }
    
    function setBridgeFeesAddress(address _bridgeFeesAddress) external onlyGovernance {
        bridgeFeesAddress = _bridgeFeesAddress;
    }

    function setSystem(address _system) external onlyOwner returns (bool) {
        system = _system;
        return true;
    }


    function setProcessedFess(uint256 chainID, uint256 processedFees)
        external
        onlyOwner
    {
        _processedFees[chainID] = processedFees;
    }
    
    function getProcessedFees(uint256 chainID) external view returns(uint256){
        return _processedFees[chainID];
    }

    function getBridgeStatus(uint256 nonce, uint256 fromChainID)
        external
        view
        returns (bool)
    {
        return nonceProcessed[fromChainID][nonce];
    }


    function updateBridgingStaus(bool paused) external onlyOwner {
        _isBridgingPaused = paused;
    }



    function swap(uint256 amount, uint256 toChainID)
        external
        payable
        bridgingPaused
    {
        require(
            msg.value >= _processedFees[toChainID],
            "Insufficient processed fees"
        );
        uint256 _nonce = _nonces[toChainID];
        _nonce = _nonce.add(1);
        _nonces[toChainID] = _nonce;
        TransferHelper.safeTransferFrom(
            eterna,
            _msgSender(),
            address(this),
            amount
        );
        payable(system).transfer(msg.value);
        emit SwapRequest(_msgSender(), amount, _nonce, toChainID);
    }

    function feeCalculation(uint256 amount) public view returns (uint256) {
        uint256 _amountAfterFee = (amount - (amount.mul(_bridgeFee) / 1000));
        return _amountAfterFee;
    }

    function swapBack(
        address to,
        uint256 amount,
        uint256 nonce,
        uint256 fromChainID
    ) external onlySystem {
        require(
            !nonceProcessed[fromChainID][nonce],
            "Swap is already proceeds"
        );
        nonceProcessed[fromChainID][nonce] = true;

        uint256 temp;
        if(_isExcludedFromFees[to]){
            temp = amount;
        } else {
            temp = feeCalculation(amount);
        }
        uint256 fees = amount.sub(temp);

       if(fees > 0) {
            TransferHelper.safeTransfer(eterna, bridgeFeesAddress, fees);
       }
       
        TransferHelper.safeTransfer(eterna, to, temp);
    }

    function withdrawTokens(address token, uint256 amount, address to) external onlyOwner {
        TransferHelper.safeTransfer(token, to, amount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nonce","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toChainID","type":"uint256"}],"name":"SwapRequest","type":"event"},{"inputs":[],"name":"_isBridgingPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bridgeFeesAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_governor","type":"address"}],"name":"changeGovernor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"eterna","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"exclude","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"feeCalculation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBridgeFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"fromChainID","type":"uint256"}],"name":"getBridgeStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"chainID","type":"uint256"}],"name":"getProcessedFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"governor","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"uint256","name":"bridgeFee","type":"uint256"}],"name":"setBridgeFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_bridgeFeesAddress","type":"address"}],"name":"setBridgeFeesAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"chainID","type":"uint256"},{"internalType":"uint256","name":"processedFees","type":"uint256"}],"name":"setProcessedFess","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_system","type":"address"}],"name":"setSystem","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"toChainID","type":"uint256"}],"name":"swap","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"fromChainID","type":"uint256"}],"name":"swapBack","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"system","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"paused","type":"bool"}],"name":"updateBridgingStaus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_eterna","type":"address"}],"name":"updateEternaContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260036005556006805460ff19169055600780546001600160a01b031990811673bc31f1d71625096bad94d811ae4af7ecb7b7097f1790915560088054821673d070544810510865114ad5a0b6a821a5bd2e7c491790556009805490911673d378dbed86689d0dba19ca2bab322b6f2376528817905534801561008557600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350603860005260036020526601c6bf526340007f22848320af6c4894685e387cf97d56ba798f5dabcd8f3a2db70374776f0f2f935561126f8061010a6000396000f3fe60806040526004361061014b5760003560e01c80639bc5c509116100b6578063d96073cf1161006f578063d96073cf146103c1578063da93f10f146103d4578063e0bf7fd1146103f4578063e204f25c14610424578063e4c0aaf414610444578063f2fde38b1461046457600080fd5b80639bc5c509146102fc578063c02466681461031c578063c2f355d51461033c578063cc4611941461035c578063cccabfcd1461037c578063d3c0f1c8146103a157600080fd5b806355837757116101085780635583775714610254578063715018a61461027457806385659de1146102895780638da5cb5b1461029e57806395bf75fd146102bc578063998cdf83146102dc57600080fd5b806309e9e949146101505780630c340a2414610185578063119b4909146101bd5780632c7d077e146101d75780632d2b3ed71461020557806336ecf57c14610232575b600080fd5b34801561015c57600080fd5b5061017061016b36600461108b565b610484565b60405190151581526020015b60405180910390f35b34801561019157600080fd5b506008546101a5906001600160a01b031681565b6040516001600160a01b03909116815260200161017c565b3480156101c957600080fd5b506006546101709060ff1681565b3480156101e357600080fd5b506101f76101f2366004611072565b6104a8565b60405190815260200161017c565b34801561021157600080fd5b506101f7610220366004611072565b60009081526003602052604090205490565b34801561023e57600080fd5b5061025261024d366004610f71565b6104de565b005b34801561026057600080fd5b5061017061026f366004610f71565b610533565b34801561028057600080fd5b50610252610582565b34801561029557600080fd5b506005546101f7565b3480156102aa57600080fd5b506000546001600160a01b03166101a5565b3480156102c857600080fd5b506007546101a5906001600160a01b031681565b3480156102e857600080fd5b506101706102f7366004611072565b6105f6565b34801561030857600080fd5b50610252610317366004610fc3565b610671565b34801561032857600080fd5b50610252610337366004610f8c565b6106ab565b34801561034857600080fd5b5061025261035736600461108b565b610700565b34801561036857600080fd5b506009546101a5906001600160a01b031681565b34801561038857600080fd5b506006546101a59061010090046001600160a01b031681565b3480156103ad57600080fd5b506102526103bc366004610fff565b61073c565b6102526103cf36600461108b565b61087d565b3480156103e057600080fd5b506102526103ef366004610f71565b6109f8565b34801561040057600080fd5b5061017061040f366004610f71565b60046020526000908152604090205460ff1681565b34801561043057600080fd5b5061025261043f366004611038565b610a4a565b34801561045057600080fd5b5061025261045f366004610f71565b610a87565b34801561047057600080fd5b5061025261047f366004610f71565b610ad3565b600081815260026020908152604080832085845290915290205460ff165b92915050565b6000806103e86104c360055485610bbd90919063ffffffff16565b6104cd919061118a565b6104d790846111cb565b9392505050565b6008546001600160a01b031633146105115760405162461bcd60e51b8152600401610508906110fc565b60405180910390fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b600080546001600160a01b0316331461055e5760405162461bcd60e51b81526004016105089061113d565b50600780546001600160a01b0319166001600160a01b03831617905560015b919050565b6000546001600160a01b031633146105ac5760405162461bcd60e51b81526004016105089061113d565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6008546000906001600160a01b031633146106235760405162461bcd60e51b8152600401610508906110fc565b600082116106685760405162461bcd60e51b8152602060048201526012602482015271496e76616c69642050657263656e7461676560701b6044820152606401610508565b50600555600190565b6000546001600160a01b0316331461069b5760405162461bcd60e51b81526004016105089061113d565b6106a6838284610c3c565b505050565b6008546001600160a01b031633146106d55760405162461bcd60e51b8152600401610508906110fc565b6001600160a01b03919091166000908152600460205260409020805460ff1916911515919091179055565b6000546001600160a01b0316331461072a5760405162461bcd60e51b81526004016105089061113d565b60009182526003602052604090912055565b6007546001600160a01b031633146107665760405162461bcd60e51b8152600401610508906110fc565b600081815260026020908152604080832085845290915290205460ff16156107d05760405162461bcd60e51b815260206004820152601860248201527f5377617020697320616c72656164792070726f636565647300000000000000006044820152606401610508565b60008181526002602090815260408083208584528252808320805460ff191660011790556001600160a01b0387168352600490915281205460ff1615610817575082610823565b610820846104a8565b90505b600061082f8583610d57565b9050801561085957600654600954610859916001600160a01b036101009091048116911683610c3c565b6006546108759061010090046001600160a01b03168784610c3c565b505050505050565b60065460ff16156108c95760405162461bcd60e51b81526020600482015260166024820152751d1a1948189c9a5919da5b99c81a5cc81c185d5cd95960521b6044820152606401610508565b6000818152600360205260409020543410156109275760405162461bcd60e51b815260206004820152601b60248201527f496e73756666696369656e742070726f636573736564206665657300000000006044820152606401610508565b60008181526001602081905260409091205490610945908290610d99565b60008381526001602052604090208190556006549091506109769061010090046001600160a01b0316333086610df8565b6007546040516001600160a01b03909116903480156108fc02916000818181858888f193505050501580156109af573d6000803e3d6000fd5b506040805184815260208101839052808201849052905133917f5304d76028f8ff5ac5ed555bed4c0f4412dd20070c103e125dbf0d5e27a914e8919081900360600190a2505050565b6000546001600160a01b03163314610a225760405162461bcd60e51b81526004016105089061113d565b600680546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6000546001600160a01b03163314610a745760405162461bcd60e51b81526004016105089061113d565b6006805460ff1916911515919091179055565b6008546001600160a01b03163314610ab15760405162461bcd60e51b8152600401610508906110fc565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610afd5760405162461bcd60e51b81526004016105089061113d565b6001600160a01b038116610b625760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610508565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600082610bcc575060006104a2565b6000610bd883856111ac565b905082610be5858361118a565b146104d75760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610508565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b1790529151600092839290871691610c9891906110ad565b6000604051808303816000865af19150503d8060008114610cd5576040519150601f19603f3d011682016040523d82523d6000602084013e610cda565b606091505b5091509150818015610d04575080511580610d04575080806020019051810190610d049190611055565b610d505760405162461bcd60e51b815260206004820152601f60248201527f5472616e7366657248656c7065723a205452414e534645525f4641494c4544006044820152606401610508565b5050505050565b60006104d783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610f20565b600080610da68385611172565b9050838110156104d75760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610508565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180516001600160e01b03166323b872dd60e01b1790529151600092839290881691610e5c91906110ad565b6000604051808303816000865af19150503d8060008114610e99576040519150601f19603f3d011682016040523d82523d6000602084013e610e9e565b606091505b5091509150818015610ec8575080511580610ec8575080806020019051810190610ec89190611055565b6108755760405162461bcd60e51b8152602060048201526024808201527f5472616e7366657248656c7065723a205452414e534645525f46524f4d5f46416044820152631253115160e21b6064820152608401610508565b60008184841115610f445760405162461bcd60e51b815260040161050891906110c9565b506000610f5184866111cb565b95945050505050565b80356001600160a01b038116811461057d57600080fd5b600060208284031215610f8357600080fd5b6104d782610f5a565b60008060408385031215610f9f57600080fd5b610fa883610f5a565b91506020830135610fb881611228565b809150509250929050565b600080600060608486031215610fd857600080fd5b610fe184610f5a565b925060208401359150610ff660408501610f5a565b90509250925092565b6000806000806080858703121561101557600080fd5b61101e85610f5a565b966020860135965060408601359560600135945092505050565b60006020828403121561104a57600080fd5b81356104d781611228565b60006020828403121561106757600080fd5b81516104d781611228565b60006020828403121561108457600080fd5b5035919050565b6000806040838503121561109e57600080fd5b50508035926020909101359150565b600082516110bf8184602087016111e2565b9190910192915050565b60208152600082518060208401526110e88160408501602087016111e2565b601f01601f19169190910160400192915050565b60208082526021908201527f4f776e61626c653a2063616c6c6572206973206e6f74207468652073797374656040820152606d60f81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561118557611185611212565b500190565b6000826111a757634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156111c6576111c6611212565b500290565b6000828210156111dd576111dd611212565b500390565b60005b838110156111fd5781810151838201526020016111e5565b8381111561120c576000848401525b50505050565b634e487b7160e01b600052601160045260246000fd5b801515811461123657600080fd5b5056fea2646970667358221220082f1829774f84c0f7323f587511cb59e74c40134cd76170d6eb18ab732f908864736f6c63430008070033

Deployed ByteCode Sourcemap

4202:4603:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6793:182;;;;;;;;;;-1:-1:-1;6793:182:0;;;;;:::i;:::-;;:::i;:::-;;;3677:14:1;;3670:22;3652:41;;3640:2;3625:18;6793:182:0;;;;;;;;4729:77;;;;;;;;;;-1:-1:-1;4729:77:0;;;;-1:-1:-1;;;;;4729:77:0;;;;;;-1:-1:-1;;;;;2809:32:1;;;2791:51;;2779:2;2764:18;4729:77:0;2645:203:1;4571:37:0;;;;;;;;;;-1:-1:-1;4571:37:0;;;;;;;;7739:190;;;;;;;;;;-1:-1:-1;7739:190:0;;;;;:::i;:::-;;:::i;:::-;;;8338:25:1;;;8326:2;8311:18;7739:190:0;8192:177:1;6663:122:0;;;;;;;;;;-1:-1:-1;6663:122:0;;;;;:::i;:::-;6728:7;6754:23;;;:14;:23;;;;;;;6663:122;6201:139;;;;;;;;;;-1:-1:-1;6201:139:0;;;;;:::i;:::-;;:::i;:::-;;6348:127;;;;;;;;;;-1:-1:-1;6348:127:0;;;;;:::i;:::-;;:::i;2046:148::-;;;;;;;;;;;;;:::i;6097:92::-;;;;;;;;;;-1:-1:-1;6171:10:0;;6097:92;;1832:79;;;;;;;;;;-1:-1:-1;1870:7:0;1897:6;-1:-1:-1;;;;;1897:6:0;1832:79;;4647:75;;;;;;;;;;-1:-1:-1;4647:75:0;;;;-1:-1:-1;;;;;4647:75:0;;;5767:198;;;;;;;;;;-1:-1:-1;5767:198:0;;;;;:::i;:::-;;:::i;8651:151::-;;;;;;;;;;-1:-1:-1;8651:151:0;;;;;:::i;:::-;;:::i;5624:135::-;;;;;;;;;;-1:-1:-1;5624:135:0;;;;;:::i;:::-;;:::i;6485:166::-;;;;;;;;;;-1:-1:-1;6485:166:0;;;;;:::i;:::-;;:::i;4813:86::-;;;;;;;;;;-1:-1:-1;4813:86:0;;;;-1:-1:-1;;;;;4813:86:0;;;4619:21;;;;;;;;;;-1:-1:-1;4619:21:0;;;;;;;-1:-1:-1;;;;;4619:21:0;;;7937:706;;;;;;;;;;-1:-1:-1;7937:706:0;;;;;:::i;:::-;;:::i;7103:628::-;;;;;;:::i;:::-;;:::i;5515:99::-;;;;;;;;;;-1:-1:-1;5515:99:0;;;;;:::i;:::-;;:::i;4470:51::-;;;;;;;;;;-1:-1:-1;4470:51:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;6985:106;;;;;;;;;;-1:-1:-1;6985:106:0;;;;;:::i;:::-;;:::i;5977:::-;;;;;;;;;;-1:-1:-1;5977:106:0;;;;;:::i;:::-;;:::i;2202:281::-;;;;;;;;;;-1:-1:-1;2202:281:0;;;;;:::i;:::-;;:::i;6793:182::-;6904:4;6933:27;;;:14;:27;;;;;;;;:34;;;;;;;;;;;6793:182;;;;;:::o;7739:190::-;7800:7;7820:23;7882:4;7857:22;7868:10;;7857:6;:10;;:22;;;;:::i;:::-;:29;;;;:::i;:::-;7847:40;;:6;:40;:::i;:::-;7820:68;7739:190;-1:-1:-1;;;7739:190:0:o;6201:139::-;5231:8;;-1:-1:-1;;;;;5231:8:0;175:10;5231:24;5223:70;;;;-1:-1:-1;;;5223:70:0;;;;;;;:::i;:::-;;;;;;;;;6294:17:::1;:38:::0;;-1:-1:-1;;;;;;6294:38:0::1;-1:-1:-1::0;;;;;6294:38:0;;;::::1;::::0;;;::::1;::::0;;6201:139::o;6348:127::-;6412:4;1959:6;;-1:-1:-1;;;;;1959:6:0;175:10;1959:22;1951:67;;;;-1:-1:-1;;;1951:67:0;;;;;;;:::i;:::-;-1:-1:-1;6429:6:0::1;:16:::0;;-1:-1:-1;;;;;;6429:16:0::1;-1:-1:-1::0;;;;;6429:16:0;::::1;;::::0;;-1:-1:-1;2029:1:0::1;6348:127:::0;;;:::o;2046:148::-;1959:6;;-1:-1:-1;;;;;1959:6:0;175:10;1959:22;1951:67;;;;-1:-1:-1;;;1951:67:0;;;;;;;:::i;:::-;2153:1:::1;2137:6:::0;;2116:40:::1;::::0;-1:-1:-1;;;;;2137:6:0;;::::1;::::0;2116:40:::1;::::0;2153:1;;2116:40:::1;2184:1;2167:19:::0;;-1:-1:-1;;;;;;2167:19:0::1;::::0;;2046:148::o;5767:198::-;5231:8;;5841:4;;-1:-1:-1;;;;;5231:8:0;175:10;5231:24;5223:70;;;;-1:-1:-1;;;5223:70:0;;;;;;;:::i;:::-;5878:1:::1;5866:9;:13;5858:44;;;::::0;-1:-1:-1;;;5858:44:0;;5061:2:1;5858:44:0::1;::::0;::::1;5043:21:1::0;5100:2;5080:18;;;5073:30;-1:-1:-1;;;5119:18:1;;;5112:48;5177:18;;5858:44:0::1;4859:342:1::0;5858:44:0::1;-1:-1:-1::0;5913:10:0::1;:22:::0;5953:4:::1;::::0;5767:198::o;8651:151::-;1959:6;;-1:-1:-1;;;;;1959:6:0;175:10;1959:22;1951:67;;;;-1:-1:-1;;;1951:67:0;;;;;;;:::i;:::-;8748:46:::1;8776:5;8783:2;8787:6;8748:27;:46::i;:::-;8651:151:::0;;;:::o;5624:135::-;5231:8;;-1:-1:-1;;;;;5231:8:0;175:10;5231:24;5223:70;;;;-1:-1:-1;;;5223:70:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;5714:28:0;;;::::1;;::::0;;;:19:::1;:28;::::0;;;;:38;;-1:-1:-1;;5714:38:0::1;::::0;::::1;;::::0;;;::::1;::::0;;5624:135::o;6485:166::-;1959:6;;-1:-1:-1;;;;;1959:6:0;175:10;1959:22;1951:67;;;;-1:-1:-1;;;1951:67:0;;;;;;;:::i;:::-;6604:23:::1;::::0;;;:14:::1;:23;::::0;;;;;:39;6485:166::o;7937:706::-;5094:6;;-1:-1:-1;;;;;5094:6:0;175:10;5094:22;5086:68;;;;-1:-1:-1;;;5086:68:0;;;;;;;:::i;:::-;8116:27:::1;::::0;;;:14:::1;:27;::::0;;;;;;;:34;;;;;;;;;::::1;;8115:35;8093:109;;;::::0;-1:-1:-1;;;8093:109:0;;7636:2:1;8093:109:0::1;::::0;::::1;7618:21:1::0;7675:2;7655:18;;;7648:30;7714:26;7694:18;;;7687:54;7758:18;;8093:109:0::1;7434:348:1::0;8093:109:0::1;8213:27;::::0;;;:14:::1;:27;::::0;;;;;;;:34;;;;;;;;:41;;-1:-1:-1;;8213:41:0::1;8250:4;8213:41;::::0;;-1:-1:-1;;;;;8293:23:0;::::1;::::0;;:19:::1;:23:::0;;;;;;8213:41:::1;8293:23;8290:129;;;-1:-1:-1::0;8339:6:0;8290:129:::1;;;8385:22;8400:6;8385:14;:22::i;:::-;8378:29;;8290:129;8429:12;8444:16;:6:::0;8455:4;8444:10:::1;:16::i;:::-;8429:31:::0;-1:-1:-1;8475:8:0;;8472:99:::1;;8528:6;::::0;8536:17:::1;::::0;8500:60:::1;::::0;-1:-1:-1;;;;;8528:6:0::1;::::0;;::::1;::::0;::::1;::::0;8536:17:::1;8555:4:::0;8500:27:::1;:60::i;:::-;8618:6;::::0;8590:45:::1;::::0;8618:6:::1;::::0;::::1;-1:-1:-1::0;;;;;8618:6:0::1;8626:2:::0;8630:4;8590:27:::1;:45::i;:::-;8082:561;;7937:706:::0;;;;:::o;7103:628::-;5367:17;;;;5366:18;5358:53;;;;-1:-1:-1;;;5358:53:0;;7285:2:1;5358:53:0;;;7267:21:1;7324:2;7304:18;;;7297:30;-1:-1:-1;;;7343:18:1;;;7336:52;7405:18;;5358:53:0;7083:346:1;5358:53:0;7262:25:::1;::::0;;;:14:::1;:25;::::0;;;;;7249:9:::1;:38;;7227:115;;;::::0;-1:-1:-1;;;7227:115:0;;6929:2:1;7227:115:0::1;::::0;::::1;6911:21:1::0;6968:2;6948:18;;;6941:30;7007:29;6987:18;;;6980:57;7054:18;;7227:115:0::1;6727:351:1::0;7227:115:0::1;7353:14;7370:18:::0;;;:7:::1;:18;::::0;;;;;;;;;7408:13:::1;::::0;7370:18;;7408:10:::1;:13::i;:::-;7432:18;::::0;;;:7:::1;:18;::::0;;;;:27;;;7516:6:::1;::::0;7432:27;;-1:-1:-1;7470:139:0::1;::::0;7516:6:::1;::::0;::::1;-1:-1:-1::0;;;;;7516:6:0::1;175:10:::0;7572:4:::1;7592:6;7470:31;:139::i;:::-;7628:6;::::0;7620:35:::1;::::0;-1:-1:-1;;;;;7628:6:0;;::::1;::::0;7645:9:::1;7620:35:::0;::::1;;;::::0;7628:6:::1;7620:35:::0;7628:6;7620:35;7645:9;7628:6;7620:35;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;7671:52:0::1;::::0;;8576:25:1;;;8632:2;8617:18;;8610:34;;;8660:18;;;8653:34;;;7671:52:0;;175:10;;7671:52:::1;::::0;;;;;8564:2:1;7671:52:0;;::::1;7216:515;7103:628:::0;;:::o;5515:99::-;1959:6;;-1:-1:-1;;;;;1959:6:0;175:10;1959:22;1951:67;;;;-1:-1:-1;;;1951:67:0;;;;;;;:::i;:::-;5591:6:::1;:16:::0;;-1:-1:-1;;;;;5591:16:0;;::::1;;;-1:-1:-1::0;;;;;;5591:16:0;;::::1;::::0;;;::::1;::::0;;5515:99::o;6985:106::-;1959:6;;-1:-1:-1;;;;;1959:6:0;175:10;1959:22;1951:67;;;;-1:-1:-1;;;1951:67:0;;;;;;;:::i;:::-;7057:17:::1;:26:::0;;-1:-1:-1;;7057:26:0::1;::::0;::::1;;::::0;;;::::1;::::0;;6985:106::o;5977:::-;5231:8;;-1:-1:-1;;;;;5231:8:0;175:10;5231:24;5223:70;;;;-1:-1:-1;;;5223:70:0;;;;;;;:::i;:::-;6055:8:::1;:20:::0;;-1:-1:-1;;;;;;6055:20:0::1;-1:-1:-1::0;;;;;6055:20:0;;;::::1;::::0;;;::::1;::::0;;5977:106::o;2202:281::-;1959:6;;-1:-1:-1;;;;;1959:6:0;175:10;1959:22;1951:67;;;;-1:-1:-1;;;1951:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2305:22:0;::::1;2283:110;;;::::0;-1:-1:-1;;;2283:110:0;;4654:2:1;2283:110:0::1;::::0;::::1;4636:21:1::0;4693:2;4673:18;;;4666:30;4732:34;4712:18;;;4705:62;-1:-1:-1;;;4783:18:1;;;4776:36;4829:19;;2283:110:0::1;4452:402:1::0;2283:110:0::1;2430:6;::::0;;2409:38:::1;::::0;-1:-1:-1;;;;;2409:38:0;;::::1;::::0;2430:6;::::1;::::0;2409:38:::1;::::0;::::1;2458:6;:17:::0;;-1:-1:-1;;;;;;2458:17:0::1;-1:-1:-1::0;;;;;2458:17:0;;;::::1;::::0;;;::::1;::::0;;2202:281::o;791:250::-;849:7;873:6;869:47;;-1:-1:-1;903:1:0;896:8;;869:47;928:9;940:5;944:1;940;:5;:::i;:::-;928:17;-1:-1:-1;973:1:0;964:5;968:1;928:17;964:5;:::i;:::-;:10;956:56;;;;-1:-1:-1;;;956:56:0;;6166:2:1;956:56:0;;;6148:21:1;6205:2;6185:18;;;6178:30;6244:34;6224:18;;;6217:62;-1:-1:-1;;;6295:18:1;;;6288:31;6336:19;;956:56:0;5964:397:1;3157:392:0;3336:45;;;-1:-1:-1;;;;;3425:32:1;;;3336:45:0;;;3407:51:1;3474:18;;;;3467:34;;;3336:45:0;;;;;;;;;;3380:18:1;;;;3336:45:0;;;;;;;-1:-1:-1;;;;;3336:45:0;-1:-1:-1;;;3336:45:0;;;3311:81;;-1:-1:-1;;;;3311:10:0;;;;:81;;3336:45;3311:81;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3275:117;;;;3425:7;:57;;;;-1:-1:-1;3437:11:0;;:16;;:44;;;3468:4;3457:24;;;;;;;;;;;;:::i;:::-;3403:138;;;;-1:-1:-1;;;3403:138:0;;4294:2:1;3403:138:0;;;4276:21:1;4333:2;4313:18;;;4306:30;4372:33;4352:18;;;4345:61;4423:18;;3403:138:0;4092:355:1;3403:138:0;3264:285;;3157:392;;;:::o;413:136::-;471:7;498:43;502:1;505;498:43;;;;;;;;;;;;;;;;;:3;:43::i;224:181::-;282:7;;314:5;318:1;314;:5;:::i;:::-;302:17;;343:1;338;:6;;330:46;;;;-1:-1:-1;;;330:46:0;;5408:2:1;330:46:0;;;5390:21:1;5447:2;5427:18;;;5420:30;5486:29;5466:18;;;5459:57;5533:18;;330:46:0;5206:351:1;3557:430:0;3763:51;;;-1:-1:-1;;;;;3111:15:1;;;3763:51:0;;;3093:34:1;3163:15;;;3143:18;;;3136:43;3195:18;;;;3188:34;;;3763:51:0;;;;;;;;;;3028:18:1;;;;3763:51:0;;;;;;;-1:-1:-1;;;;;3763:51:0;-1:-1:-1;;;3763:51:0;;;3738:87;;-1:-1:-1;;;;3738:10:0;;;;:87;;3763:51;3738:87;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3702:123;;;;3858:7;:57;;;;-1:-1:-1;3870:11:0;;:16;;:44;;;3901:4;3890:24;;;;;;;;;;;;:::i;:::-;3836:143;;;;-1:-1:-1;;;3836:143:0;;7989:2:1;3836:143:0;;;7971:21:1;8028:2;8008:18;;;8001:30;8067:34;8047:18;;;8040:62;-1:-1:-1;;;8118:18:1;;;8111:34;8162:19;;3836:143:0;7787:400:1;557:226:0;677:7;713:12;705:6;;;;697:29;;;;-1:-1:-1;;;697:29:0;;;;;;;;:::i;:::-;-1:-1:-1;737:9:0;749:5;753:1;749;:5;:::i;:::-;737:17;557:226;-1:-1:-1;;;;;557:226:0:o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;192:186;251:6;304:2;292:9;283:7;279:23;275:32;272:52;;;320:1;317;310:12;272:52;343:29;362:9;343:29;:::i;383:315::-;448:6;456;509:2;497:9;488:7;484:23;480:32;477:52;;;525:1;522;515:12;477:52;548:29;567:9;548:29;:::i;:::-;538:39;;627:2;616:9;612:18;599:32;640:28;662:5;640:28;:::i;:::-;687:5;677:15;;;383:315;;;;;:::o;703:328::-;780:6;788;796;849:2;837:9;828:7;824:23;820:32;817:52;;;865:1;862;855:12;817:52;888:29;907:9;888:29;:::i;:::-;878:39;;964:2;953:9;949:18;936:32;926:42;;987:38;1021:2;1010:9;1006:18;987:38;:::i;:::-;977:48;;703:328;;;;;:::o;1036:391::-;1122:6;1130;1138;1146;1199:3;1187:9;1178:7;1174:23;1170:33;1167:53;;;1216:1;1213;1206:12;1167:53;1239:29;1258:9;1239:29;:::i;:::-;1229:39;1315:2;1300:18;;1287:32;;-1:-1:-1;1366:2:1;1351:18;;1338:32;;1417:2;1402:18;1389:32;;-1:-1:-1;1036:391:1;-1:-1:-1;;;1036:391:1:o;1432:241::-;1488:6;1541:2;1529:9;1520:7;1516:23;1512:32;1509:52;;;1557:1;1554;1547:12;1509:52;1596:9;1583:23;1615:28;1637:5;1615:28;:::i;1678:245::-;1745:6;1798:2;1786:9;1777:7;1773:23;1769:32;1766:52;;;1814:1;1811;1804:12;1766:52;1846:9;1840:16;1865:28;1887:5;1865:28;:::i;1928:180::-;1987:6;2040:2;2028:9;2019:7;2015:23;2011:32;2008:52;;;2056:1;2053;2046:12;2008:52;-1:-1:-1;2079:23:1;;1928:180;-1:-1:-1;1928:180:1:o;2113:248::-;2181:6;2189;2242:2;2230:9;2221:7;2217:23;2213:32;2210:52;;;2258:1;2255;2248:12;2210:52;-1:-1:-1;;2281:23:1;;;2351:2;2336:18;;;2323:32;;-1:-1:-1;2113:248:1:o;2366:274::-;2495:3;2533:6;2527:13;2549:53;2595:6;2590:3;2583:4;2575:6;2571:17;2549:53;:::i;:::-;2618:16;;;;;2366:274;-1:-1:-1;;2366:274:1:o;3704:383::-;3853:2;3842:9;3835:21;3816:4;3885:6;3879:13;3928:6;3923:2;3912:9;3908:18;3901:34;3944:66;4003:6;3998:2;3987:9;3983:18;3978:2;3970:6;3966:15;3944:66;:::i;:::-;4071:2;4050:15;-1:-1:-1;;4046:29:1;4031:45;;;;4078:2;4027:54;;3704:383;-1:-1:-1;;3704:383:1:o;5562:397::-;5764:2;5746:21;;;5803:2;5783:18;;;5776:30;5842:34;5837:2;5822:18;;5815:62;-1:-1:-1;;;5908:2:1;5893:18;;5886:31;5949:3;5934:19;;5562:397::o;6366:356::-;6568:2;6550:21;;;6587:18;;;6580:30;6646:34;6641:2;6626:18;;6619:62;6713:2;6698:18;;6366:356::o;8698:128::-;8738:3;8769:1;8765:6;8762:1;8759:13;8756:39;;;8775:18;;:::i;:::-;-1:-1:-1;8811:9:1;;8698:128::o;8831:217::-;8871:1;8897;8887:132;;8941:10;8936:3;8932:20;8929:1;8922:31;8976:4;8973:1;8966:15;9004:4;9001:1;8994:15;8887:132;-1:-1:-1;9033:9:1;;8831:217::o;9053:168::-;9093:7;9159:1;9155;9151:6;9147:14;9144:1;9141:21;9136:1;9129:9;9122:17;9118:45;9115:71;;;9166:18;;:::i;:::-;-1:-1:-1;9206:9:1;;9053:168::o;9226:125::-;9266:4;9294:1;9291;9288:8;9285:34;;;9299:18;;:::i;:::-;-1:-1:-1;9336:9:1;;9226:125::o;9356:258::-;9428:1;9438:113;9452:6;9449:1;9446:13;9438:113;;;9528:11;;;9522:18;9509:11;;;9502:39;9474:2;9467:10;9438:113;;;9569:6;9566:1;9563:13;9560:48;;;9604:1;9595:6;9590:3;9586:16;9579:27;9560:48;;9356:258;;;:::o;9619:127::-;9680:10;9675:3;9671:20;9668:1;9661:31;9711:4;9708:1;9701:15;9735:4;9732:1;9725:15;9751:118;9837:5;9830:13;9823:21;9816:5;9813:32;9803:60;;9859:1;9856;9849:12;9803:60;9751:118;:::o

Swarm Source

ipfs://082f1829774f84c0f7323f587511cb59e74c40134cd76170d6eb18ab732f9088
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

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.