Contract 0x841ce48f9446c8e281d3f1444cb859b4a6d0738c 7

Txn Hash Method
Block
From
To
Value [Txn Fee]
0xae2b1f78a315a20d1a7c43f01dea0d9cadc702f1576407de46bb7798bea379e0Confirm192013842021-10-16 0:11:157 mins ago0x16397e1150a24a4a02aefa3cfcc12c2e5222c728 IN  0x841ce48f9446c8e281d3f1444cb859b4a6d0738c0 FTM0.007210301337
0xd3dd6120e7914de479fcc5a2ccc886d3bd1614ebd0b5c5674dfaa668d7de0bf5Transfer Out192012342021-10-16 0:08:2710 mins ago0x16397e1150a24a4a02aefa3cfcc12c2e5222c728 IN  0x841ce48f9446c8e281d3f1444cb859b4a6d0738c0 FTM0.022789848121
0x0963e1a16791262c679f97b941aa0c9b2686a52e6bc704844800ea3e1106ddedConfirm192009082021-10-16 0:02:4816 mins ago0xc75a0ff40db54203d66bff76315ed25d66037ce1 IN  0x841ce48f9446c8e281d3f1444cb859b4a6d0738c0 FTM0.008128916928
0x1550d316ee5c6247c422cb797ca74795d15ece7d777a6c279931cd0a48c6a3e1Confirm192006292021-10-15 23:57:0422 mins ago0xf94188fbd7510a9c5ca0406ecd42eed24caf271d IN  0x841ce48f9446c8e281d3f1444cb859b4a6d0738c0 FTM0.080685623668
0x438cb04b50c6a7867a2d1c12c8ef8d0c00dc06a7b3e2e06335101fd06552fb7bTransfer In192005962021-10-15 23:55:4923 mins ago0xc75a0ff40db54203d66bff76315ed25d66037ce1 IN  0x841ce48f9446c8e281d3f1444cb859b4a6d0738c0 FTM0.02832049308
0xc007dee8c93e3a6adabf76d91185e1e225192c261a74807814d64b3b6323121cTransfer Out192003532021-10-15 23:51:1727 mins ago0xf94188fbd7510a9c5ca0406ecd42eed24caf271d IN  0x841ce48f9446c8e281d3f1444cb859b4a6d0738c0 FTM0.057589278454
0x1bb90365c55b2f106b8467afc78b61bff2202333cdcb432025774d2887c7b7d9Confirm192001312021-10-15 23:46:3532 mins ago0x29e3fbc71d6fcc7cfe35f6fc05c79fd76160c365 IN  0x841ce48f9446c8e281d3f1444cb859b4a6d0738c0 FTM0.007582393718
0x821edd363753a3ed5c13bb79e3f181cb1be544f4f7f1d2a6d1ed4ae68f8e9f2aTransfer Out191998952021-10-15 23:42:1536 mins ago0x29e3fbc71d6fcc7cfe35f6fc05c79fd76160c365 IN  0x841ce48f9446c8e281d3f1444cb859b4a6d0738c0 FTM0.022064745012
0xb44307efbf79da806c7180255805752b68385b816ce344ba9f4afc5e73c2f7daConfirm191993552021-10-15 23:33:4845 mins ago0xc16251b5401087902e0956a2968cb3e0e4a52760 IN  0x841ce48f9446c8e281d3f1444cb859b4a6d0738c0 FTM0.007923004502
0x4b0b4a94a85f686cc6ed3a53f79efc6d0ea365c0b356b9f64a04cf10d0b80895Confirm191992992021-10-15 23:33:0046 mins ago0xc16251b5401087902e0956a2968cb3e0e4a52760 IN  0x841ce48f9446c8e281d3f1444cb859b4a6d0738c0 FTM0.010196305142
0x5be490d3b728a3e2cf703123ce276b46c73b79fbdeeebd56a339183e92afc657Transfer In191992192021-10-15 23:31:3947 mins ago0xc16251b5401087902e0956a2968cb3e0e4a52760 IN  0x841ce48f9446c8e281d3f1444cb859b4a6d0738c0 FTM0.025762498515
0xa0eff7367fa83f91425311d30170b39733e0e98ff8a32c5bf4b8914cc471ed2eTransfer In191991012021-10-15 23:29:5049 mins ago0xc16251b5401087902e0956a2968cb3e0e4a52760 IN  0x841ce48f9446c8e281d3f1444cb859b4a6d0738c0 FTM0.0275250753
0xa3e85c0417bba370d060c184c1fad426bf020a8029c4973d280662121ce16ef7Confirm191990992021-10-15 23:29:4949 mins ago0xc16251b5401087902e0956a2968cb3e0e4a52760 IN  0x841ce48f9446c8e281d3f1444cb859b4a6d0738c0 FTM0.010776300243
0xc05e649ce344e77f76ac911b7ea6af5af812c27cad5ccf79dca1c33beb2d7fedTransfer In191990022021-10-15 23:28:1850 mins ago0xc16251b5401087902e0956a2968cb3e0e4a52760 IN  0x841ce48f9446c8e281d3f1444cb859b4a6d0738c0 FTM0.027698961063
0x75d924e8a1ca16ac0fddb136810a8feb87d365c1c7f968aab5fde0259b9ac4a0Confirm191988152021-10-15 23:25:2153 mins ago0x9ccc726f6dd5559ca474c0413a38f550de46f16b IN  0x841ce48f9446c8e281d3f1444cb859b4a6d0738c0 FTM0.008075256115
0xda7d85e0211f874129d56923ff364ae48e32a4c0f690afd0c58def8634039a9fConfirm191979962021-10-15 23:13:281 hr 5 mins ago0xad9639f05189c7a0a8c6197f2b6cc1e7f717de5c IN  0x841ce48f9446c8e281d3f1444cb859b4a6d0738c0 FTM0.00724254339
0x1b14d1ec18a06d876e3477cde48ba5cb8e4781fb133e2abd59ef3e3a9a380f4fTransfer Out191979492021-10-15 23:12:521 hr 6 mins ago0x9ccc726f6dd5559ca474c0413a38f550de46f16b IN  0x841ce48f9446c8e281d3f1444cb859b4a6d0738c0 FTM0.027508998789
0xa181ae7f91360225ab924f93361db947558e17423a4b6ad57e5bca528dda0e89Transfer In191976192021-10-15 23:07:481 hr 11 mins ago0xc75a0ff40db54203d66bff76315ed25d66037ce1 IN  0x841ce48f9446c8e281d3f1444cb859b4a6d0738c0 FTM0.033041929725
0xb761413cff745d1cbfe36bab2b7e12e18a9433188cc5c0670337d3c1ff7e3095Transfer Out191972172021-10-15 23:01:311 hr 17 mins ago0xad9639f05189c7a0a8c6197f2b6cc1e7f717de5c IN  0x841ce48f9446c8e281d3f1444cb859b4a6d0738c0 FTM0.058401315005
0xc10c2ffc0bd779d12c3de2c9fa5c4294acc5bcd422ab84adace487703fe8ad44Confirm191971532021-10-15 23:00:211 hr 18 mins ago0xc16251b5401087902e0956a2968cb3e0e4a52760 IN  0x841ce48f9446c8e281d3f1444cb859b4a6d0738c0 FTM0.0129944439
0x6529e7576b336f0505ab0f253cc8def2cdc517b6fcc82c800e9648991f478a81Transfer In191969672021-10-15 22:57:201 hr 21 mins ago0xc16251b5401087902e0956a2968cb3e0e4a52760 IN  0x841ce48f9446c8e281d3f1444cb859b4a6d0738c0 FTM0.033924497385
0xc6e111d682e4d2a1180e1e0f47ed149a3aa51b15812fcf18d0db3c88c7c2f2aaConfirm191968792021-10-15 22:55:511 hr 23 mins ago0xc75a0ff40db54203d66bff76315ed25d66037ce1 IN  0x841ce48f9446c8e281d3f1444cb859b4a6d0738c0 FTM0.011850577101
0xb8dd1f672b3d760a8ff801dbdb67a745151e2a7869392f282d7807b78512a71dConfirm191967442021-10-15 22:53:191 hr 25 mins ago0xc16251b5401087902e0956a2968cb3e0e4a52760 IN  0x841ce48f9446c8e281d3f1444cb859b4a6d0738c0 FTM0.014368075488
0xd21598cc34776f2f846db455fe6085bcd5082cd1f8e1863fb5ab6e29a5bf95f6Transfer In191966522021-10-15 22:51:491 hr 27 mins ago0xc75a0ff40db54203d66bff76315ed25d66037ce1 IN  0x841ce48f9446c8e281d3f1444cb859b4a6d0738c0 FTM0.041920562272
0x96bf7f5256e68bdef2a9d538e54f44ef99e2babd46c460a0b96f2973731aefeeConfirm191966222021-10-15 22:51:181 hr 27 mins ago0xc16251b5401087902e0956a2968cb3e0e4a52760 IN  0x841ce48f9446c8e281d3f1444cb859b4a6d0738c0 FTM0.016394124438
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0xff6fbeb1cd728fdc12ddf83c153b2362b752e4e925cbe3518032acce291e7d8a160557882021-09-01 9:45:3544 days 14 hrs ago 0x1b9dfc56e38b0f92448659c114e2347bd803911c  Contract Creation0 FTM
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CBridge

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 800 runs

Other Settings:
default evmVersion, GNU GPLv3 license
/**
 *Submitted for verification at FtmScan.com on 2021-09-02
*/

// Sources flattened with hardhat v2.4.3 https://hardhat.org

// File @openzeppelin/contracts/token/ERC20/[email protected]

// SPDX-License-Identifier: GPL-3.0-only

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

// File @openzeppelin/contracts/utils/[email protected]

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File @openzeppelin/contracts/token/ERC20/utils/[email protected]

pragma solidity ^0.8.0;

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}


// File contracts/CBridge.sol

pragma solidity >=0.8.0 <0.9.0;

contract CBridge {
    using SafeERC20 for IERC20;

    enum TransferStatus {
        Null,
        Pending,
        Confirmed,
        Refunded
    }
    struct Transfer {
        address sender;
        address receiver;
        address token;
        uint256 amount;
        bytes32 hashlock; // hash of the preimage
        uint64 timelock; // UNIX timestamp seconds - locked UNTIL this time
        TransferStatus status;
    }

    mapping(bytes32 => Transfer) public transfers;

    event LogNewTransferOut(
        bytes32 transferId,
        address sender,
        address receiver,
        address token,
        uint256 amount,
        bytes32 hashlock, // hash of the preimage
        uint64 timelock, // UNIX timestamp seconds - locked UNTIL this time
        uint64 dstChainId,
        address dstAddress
    );
    event LogNewTransferIn(
        bytes32 transferId,
        address sender,
        address receiver,
        address token,
        uint256 amount,
        bytes32 hashlock, // hash of the preimage
        uint64 timelock, // UNIX timestamp seconds - locked UNTIL this time
        uint64 srcChainId,
        bytes32 srcTransferId // outbound transferId at src chain
    );
    event LogTransferConfirmed(bytes32 transferId, bytes32 preimage);
    event LogTransferRefunded(bytes32 transferId);

    /**
     * @dev transfer sets up a new outbound transfer with hash time lock.
     */
    function transferOut(
        address _bridge,
        address _token,
        uint256 _amount,
        bytes32 _hashlock,
        uint64 _timelock,
        uint64 _dstChainId,
        address _dstAddress
    ) external {
        bytes32 transferId = _transfer(_bridge, _token, _amount, _hashlock, _timelock);
        emit LogNewTransferOut(
            transferId,
            msg.sender,
            _bridge,
            _token,
            _amount,
            _hashlock,
            _timelock,
            _dstChainId,
            _dstAddress
        );
    }

    /**
     * @dev transfer sets up a new inbound transfer with hash time lock.
     */
    function transferIn(
        address _dstAddress,
        address _token,
        uint256 _amount,
        bytes32 _hashlock,
        uint64 _timelock,
        uint64 _srcChainId,
        bytes32 _srcTransferId
    ) external {
        bytes32 transferId = _transfer(_dstAddress, _token, _amount, _hashlock, _timelock);
        emit LogNewTransferIn(
            transferId,
            msg.sender,
            _dstAddress,
            _token,
            _amount,
            _hashlock,
            _timelock,
            _srcChainId,
            _srcTransferId
        );
    }

    /**
     * @dev confirm a transfer.
     *
     * @param _transferId Id of pending transfer.
     * @param _preimage key for the hashlock
     */
    function confirm(bytes32 _transferId, bytes32 _preimage) external {
        Transfer memory t = transfers[_transferId];

        require(t.status == TransferStatus.Pending, "not pending transfer");
        require(t.hashlock == keccak256(abi.encodePacked(_preimage)), "incorrect preimage");

        transfers[_transferId].status = TransferStatus.Confirmed;

        IERC20(t.token).safeTransfer(t.receiver, t.amount);
        emit LogTransferConfirmed(_transferId, _preimage);
    }

    /**
     * @dev refund a transfer after timeout.
     *
     * @param _transferId Id of pending transfer.
     */
    function refund(bytes32 _transferId) external {
        Transfer memory t = transfers[_transferId];

        require(t.status == TransferStatus.Pending, "not pending transfer");
        require(t.timelock <= block.timestamp, "timelock not yet passed");

        transfers[_transferId].status = TransferStatus.Refunded;

        IERC20(t.token).safeTransfer(t.sender, t.amount);
        emit LogTransferRefunded(_transferId);
    }

    /**
     * @dev transfer sets up a new transfer with hash time lock.
     */
    function _transfer(
        address _receiver,
        address _token,
        uint256 _amount,
        bytes32 _hashlock,
        uint64 _timelock
    ) private returns (bytes32 transferId) {
        require(_amount > 0, "invalid amount");
        require(_timelock > block.timestamp, "invalid timelock");

        transferId = keccak256(abi.encodePacked(msg.sender, _receiver, _hashlock, block.chainid));
        require(transfers[transferId].status == TransferStatus.Null, "transfer exists");

        IERC20(_token).safeTransferFrom(msg.sender, address(this), _amount);

        transfers[transferId] = Transfer(
            msg.sender,
            _receiver,
            _token,
            _amount,
            _hashlock,
            _timelock,
            TransferStatus.Pending
        );
        return transferId;
    }
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"transferId","type":"bytes32"},{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"hashlock","type":"bytes32"},{"indexed":false,"internalType":"uint64","name":"timelock","type":"uint64"},{"indexed":false,"internalType":"uint64","name":"srcChainId","type":"uint64"},{"indexed":false,"internalType":"bytes32","name":"srcTransferId","type":"bytes32"}],"name":"LogNewTransferIn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"transferId","type":"bytes32"},{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"hashlock","type":"bytes32"},{"indexed":false,"internalType":"uint64","name":"timelock","type":"uint64"},{"indexed":false,"internalType":"uint64","name":"dstChainId","type":"uint64"},{"indexed":false,"internalType":"address","name":"dstAddress","type":"address"}],"name":"LogNewTransferOut","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"transferId","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"preimage","type":"bytes32"}],"name":"LogTransferConfirmed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"transferId","type":"bytes32"}],"name":"LogTransferRefunded","type":"event"},{"inputs":[{"internalType":"bytes32","name":"_transferId","type":"bytes32"},{"internalType":"bytes32","name":"_preimage","type":"bytes32"}],"name":"confirm","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_transferId","type":"bytes32"}],"name":"refund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_dstAddress","type":"address"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes32","name":"_hashlock","type":"bytes32"},{"internalType":"uint64","name":"_timelock","type":"uint64"},{"internalType":"uint64","name":"_srcChainId","type":"uint64"},{"internalType":"bytes32","name":"_srcTransferId","type":"bytes32"}],"name":"transferIn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_bridge","type":"address"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes32","name":"_hashlock","type":"bytes32"},{"internalType":"uint64","name":"_timelock","type":"uint64"},{"internalType":"uint64","name":"_dstChainId","type":"uint64"},{"internalType":"address","name":"_dstAddress","type":"address"}],"name":"transferOut","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"transfers","outputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32","name":"hashlock","type":"bytes32"},{"internalType":"uint64","name":"timelock","type":"uint64"},{"internalType":"enum CBridge.TransferStatus","name":"status","type":"uint8"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b50610fa8806100206000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c806357f784ba1161005057806357f784ba146101045780637249fbb614610117578063f63eba251461012a57600080fd5b80633c64f04b1461006c57806346b40027146100ef575b600080fd5b6100d361007a366004610e50565b6000602081905290815260409020805460018201546002830154600384015460048501546005909501546001600160a01b03948516959385169490921692909167ffffffffffffffff811690600160401b900460ff1687565b6040516100e69796959493929190610ea5565b60405180910390f35b6101026100fd366004610d49565b61013d565b005b610102610112366004610e68565b6101de565b610102610125366004610e50565b610417565b610102610138366004610dc0565b61062d565b600061014c88888888886106bf565b604080518281523360208201526001600160a01b03808c1692820192909252818a1660608201526080810189905260a0810188905267ffffffffffffffff80881660c0830152861660e08201529084166101008201529091507f2991ed59ec037d5602bdc81fb1f3fec360f9e68fd3c1a4efb49fb3f66a88e02190610120015b60405180910390a15050505050505050565b600082815260208181526040808320815160e08101835281546001600160a01b0390811682526001830154811694820194909452600282015490931691830191909152600380820154606084015260048201546080840152600582015467ffffffffffffffff811660a085015260c0840191600160401b90910460ff169081111561027957634e487b7160e01b600052602160045260246000fd5b600381111561029857634e487b7160e01b600052602160045260246000fd5b905250905060018160c0015160038111156102c357634e487b7160e01b600052602160045260246000fd5b146103155760405162461bcd60e51b815260206004820152601460248201527f6e6f742070656e64696e67207472616e7366657200000000000000000000000060448201526064015b60405180910390fd5b604080516020810184905201604051602081830303815290604052805190602001208160800151146103895760405162461bcd60e51b815260206004820152601260248201527f696e636f727265637420707265696d6167650000000000000000000000000000604482015260640161030c565b60008381526020818152604091829020600501805468ff00000000000000001916680200000000000000001790558201516060830151918301516103d9926001600160a01b0390911691906109cc565b60408051848152602081018490527fb7ae890c7a4721f7ed769dabfeee74f0e0f5bcdaad9cab432ccea4d9fa435b50910160405180910390a1505050565b600081815260208181526040808320815160e08101835281546001600160a01b0390811682526001830154811694820194909452600282015490931691830191909152600380820154606084015260048201546080840152600582015467ffffffffffffffff811660a085015260c0840191600160401b90910460ff16908111156104b257634e487b7160e01b600052602160045260246000fd5b60038111156104d157634e487b7160e01b600052602160045260246000fd5b905250905060018160c0015160038111156104fc57634e487b7160e01b600052602160045260246000fd5b146105495760405162461bcd60e51b815260206004820152601460248201527f6e6f742070656e64696e67207472616e73666572000000000000000000000000604482015260640161030c565b428160a0015167ffffffffffffffff1611156105a75760405162461bcd60e51b815260206004820152601760248201527f74696d656c6f636b206e6f742079657420706173736564000000000000000000604482015260640161030c565b60008281526020819052604090819020600501805468ff000000000000000019166803000000000000000017905581516060830151918301516105f6926001600160a01b0390911691906109cc565b6040518281527f70a8f332cabb778f79acc5b97cbb4543970a2f1a34bd0773e4b3012931f752dc9060200160405180910390a15050565b600061063c88888888886106bf565b604080518281523360208201526001600160a01b03808c169282019290925290891660608201526080810188905260a0810187905267ffffffffffffffff80871660c0830152851660e082015261010081018490529091507f252a438c8e02dde6c26723283b3c95b1bf2550b882734770523f1d6767636f9c90610120016101cc565b60008084116107105760405162461bcd60e51b815260206004820152600e60248201527f696e76616c696420616d6f756e74000000000000000000000000000000000000604482015260640161030c565b428267ffffffffffffffff16116107695760405162461bcd60e51b815260206004820152601060248201527f696e76616c69642074696d656c6f636b00000000000000000000000000000000604482015260640161030c565b6040516bffffffffffffffffffffffff1933606090811b8216602084015288901b1660348201526048810184905246606882015260880160408051601f198184030181529190528051602090910120905060008082815260208190526040902060050154600160401b900460ff1660038111156107f657634e487b7160e01b600052602160045260246000fd5b146108435760405162461bcd60e51b815260206004820152600f60248201527f7472616e73666572206578697374730000000000000000000000000000000000604482015260640161030c565b6108586001600160a01b038616333087610a61565b6040518060e00160405280336001600160a01b03168152602001876001600160a01b03168152602001866001600160a01b031681526020018581526020018481526020018367ffffffffffffffff168152602001600160038111156108cd57634e487b7160e01b600052602160045260246000fd5b905260008281526020818152604091829020835181546001600160a01b039182167fffffffffffffffffffffffff000000000000000000000000000000000000000091821617835592850151600183018054918316918516919091179055928401516002820180549190941692169190911790915560608201516003808301919091556080830151600483015560a083015160058301805467ffffffffffffffff90921667ffffffffffffffff1983168117825560c086015193919268ffffffffffffffffff19161790600160401b9084908111156109bc57634e487b7160e01b600052602160045260246000fd5b0217905550505095945050505050565b6040516001600160a01b038316602482015260448101829052610a5c90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152610a9f565b505050565b6040516001600160a01b0380851660248301528316604482015260648101829052610a999085906323b872dd60e01b906084016109f8565b50505050565b6000610af4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610b849092919063ffffffff16565b805190915015610a5c5780806020019051810190610b129190610e30565b610a5c5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f74207375636365656400000000000000000000000000000000000000000000606482015260840161030c565b6060610b938484600085610b9d565b90505b9392505050565b606082471015610c155760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c0000000000000000000000000000000000000000000000000000606482015260840161030c565b843b610c635760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161030c565b600080866001600160a01b03168587604051610c7f9190610e89565b60006040518083038185875af1925050503d8060008114610cbc576040519150601f19603f3d011682016040523d82523d6000602084013e610cc1565b606091505b5091509150610cd1828286610cdc565b979650505050505050565b60608315610ceb575081610b96565b825115610cfb5782518084602001fd5b8160405162461bcd60e51b815260040161030c9190610f13565b80356001600160a01b0381168114610d2c57600080fd5b919050565b803567ffffffffffffffff81168114610d2c57600080fd5b600080600080600080600060e0888a031215610d63578283fd5b610d6c88610d15565b9650610d7a60208901610d15565b95506040880135945060608801359350610d9660808901610d31565b9250610da460a08901610d31565b9150610db260c08901610d15565b905092959891949750929550565b600080600080600080600060e0888a031215610dda578283fd5b610de388610d15565b9650610df160208901610d15565b95506040880135945060608801359350610e0d60808901610d31565b9250610e1b60a08901610d31565b915060c0880135905092959891949750929550565b600060208284031215610e41578081fd5b81518015158114610b96578182fd5b600060208284031215610e61578081fd5b5035919050565b60008060408385031215610e7a578182fd5b50508035926020909101359150565b60008251610e9b818460208701610f46565b9190910192915050565b6001600160a01b038881168252878116602083015286166040820152606081018590526080810184905267ffffffffffffffff831660a082015260e0810160048310610f0157634e487b7160e01b600052602160045260246000fd5b8260c083015298975050505050505050565b6020815260008251806020840152610f32816040850160208701610f46565b601f01601f19169190910160400192915050565b60005b83811015610f61578181015183820152602001610f49565b83811115610a99575050600091015256fea26469706673582212207c6bb8d3b950938b88f282f8299fc9ee4e41a473f1d700f3771212c28d6cb5f164736f6c63430008040033

Deployed ByteCode Sourcemap

14822:4932:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15279:45;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15279:45:0;;;;;;;;;;;;;;;;;;-1:-1:-1;;;15279:45:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;16293:584;;;;;;:::i;:::-;;:::i;:::-;;17741:493;;;;;;:::i;:::-;;:::i;18365:440::-;;;;;;:::i;:::-;;:::i;16977:600::-;;;;;;:::i;:::-;;:::i;16293:584::-;16532:18;16553:57;16563:7;16572:6;16580:7;16589:9;16600;16553;:57::i;:::-;16626:243;;;5492:25:1;;;16683:10:0;5609:2:1;5594:18;;5587:43;-1:-1:-1;;;;;5666:15:1;;;5646:18;;;5639:43;;;;5718:15;;;5713:2;5698:18;;5691:43;5765:3;5750:19;;5743:35;;;5809:3;5794:19;;5787:35;;;5841:18;5896:15;;;5890:3;5875:19;;5868:44;5949:15;;5943:3;5928:19;;5921:44;6002:15;;;5996:3;5981:19;;5974:44;16532:78:0;;-1:-1:-1;16626:243:0;;5479:3:1;5464:19;16626:243:0;;;;;;;;16293:584;;;;;;;;:::o;17741:493::-;17818:17;17838:22;;;;;;;;;;;17818:42;;;;;;;;;-1:-1:-1;;;;;17818:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;17818:42:0;;;;;;;;;;;-1:-1:-1;;;17818:42:0;;;;;;;;;;;;;;;-1:-1:-1;;;17818:42:0;;;;;;;;;;;-1:-1:-1;17818:42:0;-1:-1:-1;17893:22:0;17881:1;:8;;;:34;;;;;;-1:-1:-1;;;17881:34:0;;;;;;;;;;17873:67;;;;-1:-1:-1;;;17873:67:0;;9560:2:1;17873:67:0;;;9542:21:1;9599:2;9579:18;;;9572:30;9638:22;9618:18;;;9611:50;9678:18;;17873:67:0;;;;;;;;;17983:27;;;;;;3009:19:1;;;3044:12;17983:27:0;;;;;;;;;;;;17973:38;;;;;;17959:1;:10;;;:52;17951:83;;;;-1:-1:-1;;;17951:83:0;;8110:2:1;17951:83:0;;;8092:21:1;8149:2;8129:18;;;8122:30;8188:20;8168:18;;;8161:48;8226:18;;17951:83:0;8082:168:1;17951:83:0;18047:9;:22;;;;;;;;;;;;:29;;:56;;-1:-1:-1;;18047:56:0;;;;;18145:10;;;18157:8;;;;18123:7;;;;18116:50;;-1:-1:-1;;;;;18116:28:0;;;;18145:10;18116:28;:50::i;:::-;18182:44;;;7098:25:1;;;7154:2;7139:18;;7132:34;;;18182:44:0;;7071:18:1;18182:44:0;;;;;;;17741:493;;;:::o;18365:440::-;18422:17;18442:22;;;;;;;;;;;18422:42;;;;;;;;;-1:-1:-1;;;;;18422:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;18422:42:0;;;;;;;;;;;-1:-1:-1;;;18422:42:0;;;;;;;;;;;;;;;-1:-1:-1;;;18422:42:0;;;;;;;;;;;-1:-1:-1;18422:42:0;-1:-1:-1;18497:22:0;18485:1;:8;;;:34;;;;;;-1:-1:-1;;;18485:34:0;;;;;;;;;;18477:67;;;;-1:-1:-1;;;18477:67:0;;9560:2:1;18477:67:0;;;9542:21:1;9599:2;9579:18;;;9572:30;9638:22;9618:18;;;9611:50;9678:18;;18477:67:0;9532:170:1;18477:67:0;18577:15;18563:1;:10;;;:29;;;;18555:65;;;;-1:-1:-1;;;18555:65:0;;9208:2:1;18555:65:0;;;9190:21:1;9247:2;9227:18;;;9220:30;9286:25;9266:18;;;9259:53;9329:18;;18555:65:0;9180:173:1;18555:65:0;18633:9;:22;;;;;;;;;;;;:29;;:55;;-1:-1:-1;;18633:55:0;;;;;18730:8;;18740;;;;18708:7;;;;18701:48;;-1:-1:-1;;;;;18701:28:0;;;;18730:8;18701:28;:48::i;:::-;18765:32;;5089:25:1;;;18765:32:0;;5077:2:1;5062:18;18765:32:0;;;;;;;18365:440;;:::o;16977:600::-;17222:18;17243:61;17253:11;17266:6;17274:7;17283:9;17294;17243;:61::i;:::-;17320:249;;;6396:25:1;;;17376:10:0;6513:2:1;6498:18;;6491:43;-1:-1:-1;;;;;6570:15:1;;;6550:18;;;6543:43;;;;6622:15;;;6617:2;6602:18;;6595:43;6669:3;6654:19;;6647:35;;;6713:3;6698:19;;6691:35;;;6745:18;6800:15;;;6794:3;6779:19;;6772:44;6853:15;;6847:3;6832:19;;6825:44;6900:3;6885:19;;6878:35;;;17222:82:0;;-1:-1:-1;17320:249:0;;6383:3:1;6368:19;17320:249:0;6350:569:1;18897:854:0;19074:18;19123:1;19113:7;:11;19105:38;;;;-1:-1:-1;;;19105:38:0;;7767:2:1;19105:38:0;;;7749:21:1;7806:2;7786:18;;;7779:30;7845:16;7825:18;;;7818:44;7879:18;;19105:38:0;7739:164:1;19105:38:0;19174:15;19162:9;:27;;;19154:56;;;;-1:-1:-1;;;19154:56:0;;10678:2:1;19154:56:0;;;10660:21:1;10717:2;10697:18;;;10690:30;10756:18;10736;;;10729:46;10792:18;;19154:56:0;10650:166:1;19154:56:0;19246:65;;-1:-1:-1;;19263:10:0;2694:2:1;2690:15;;;2686:24;;19246:65:0;;;2674:37:1;2745:15;;;2741:24;2727:12;;;2720:46;2782:12;;;2775:28;;;19297:13:0;2819:12:1;;;2812:28;2856:13;;19246:65:0;;;-1:-1:-1;;19246:65:0;;;;;;;;;19236:76;;19246:65;19236:76;;;;;-1:-1:-1;19363:19:0;19331:9;:21;;;;;;;;;;:28;;;-1:-1:-1;;;19331:28:0;;;;:51;;;;;;-1:-1:-1;;;19331:51:0;;;;;;;;;;19323:79;;;;-1:-1:-1;;;19323:79:0;;8864:2:1;19323:79:0;;;8846:21:1;8903:2;8883:18;;;8876:30;8942:17;8922:18;;;8915:45;8977:18;;19323:79:0;8836:165:1;19323:79:0;19415:67;-1:-1:-1;;;;;19415:31:0;;19447:10;19467:4;19474:7;19415:31;:67::i;:::-;19519:196;;;;;;;;19542:10;-1:-1:-1;;;;;19519:196:0;;;;;19567:9;-1:-1:-1;;;;;19519:196:0;;;;;19591:6;-1:-1:-1;;;;;19519:196:0;;;;;19612:7;19519:196;;;;19634:9;19519:196;;;;19658:9;19519:196;;;;;;19682:22;19519:196;;;;;;-1:-1:-1;;;19519:196:0;;;;;;;;;;;19495:9;:21;;;;;;;;;;;;:220;;;;-1:-1:-1;;;;;19495:220:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;19495:220:0;;;;;;;;;;;;;-1:-1:-1;;19495:220:0;;;-1:-1:-1;;;19495:220:0;;;;;;;;-1:-1:-1;;;19495:220:0;;;;;;;;;;;;;-1:-1:-1;;;18897:854:0;;;;;;;:::o;11456:211::-;11600:58;;-1:-1:-1;;;;;4833:55:1;;11600:58:0;;;4815:74:1;4905:18;;;4898:34;;;11573:86:0;;11593:5;;-1:-1:-1;;;11623:23:0;4788:18:1;;11600:58:0;;;;-1:-1:-1;;11600:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;11573:19;:86::i;:::-;11456:211;;;:::o;11675:248::-;11846:68;;-1:-1:-1;;;;;4519:15:1;;;11846:68:0;;;4501:34:1;4571:15;;4551:18;;;4544:43;4603:18;;;4596:34;;;11819:96:0;;11839:5;;-1:-1:-1;;;11869:27:0;4413:18:1;;11846:68:0;4395:241:1;11819:96:0;11675:248;;;;:::o;14029:716::-;14453:23;14479:69;14507:4;14479:69;;;;;;;;;;;;;;;;;14487:5;-1:-1:-1;;;;;14479:27:0;;;:69;;;;;:::i;:::-;14563:17;;14453:95;;-1:-1:-1;14563:21:0;14559:179;;14660:10;14649:30;;;;;;;;;;;;:::i;:::-;14641:85;;;;-1:-1:-1;;;14641:85:0;;10267:2:1;14641:85:0;;;10249:21:1;10306:2;10286:18;;;10279:30;10345:34;10325:18;;;10318:62;10416:12;10396:18;;;10389:40;10446:19;;14641:85:0;10239:232:1;6521:229:0;6658:12;6690:52;6712:6;6720:4;6726:1;6729:12;6690:21;:52::i;:::-;6683:59;;6521:229;;;;;;:::o;7641:511::-;7811:12;7869:5;7844:21;:30;;7836:81;;;;-1:-1:-1;;;7836:81:0;;8457:2:1;7836:81:0;;;8439:21:1;8496:2;8476:18;;;8469:30;8535:34;8515:18;;;8508:62;8606:8;8586:18;;;8579:36;8632:19;;7836:81:0;8429:228:1;7836:81:0;4038:20;;7928:60;;;;-1:-1:-1;;;7928:60:0;;9909:2:1;7928:60:0;;;9891:21:1;9948:2;9928:18;;;9921:30;9987:31;9967:18;;;9960:59;10036:18;;7928:60:0;9881:179:1;7928:60:0;8002:12;8016:23;8043:6;-1:-1:-1;;;;;8043:11:0;8062:5;8069:4;8043:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8001:73;;;;8092:52;8110:7;8119:10;8131:12;8092:17;:52::i;:::-;8085:59;7641:511;-1:-1:-1;;;;;;;7641:511:0:o;10110:712::-;10260:12;10289:7;10285:530;;;-1:-1:-1;10320:10:0;10313:17;;10285:530;10434:17;;:21;10430:374;;10632:10;10626:17;10693:15;10680:10;10676:2;10672:19;10665:44;10580:148;10775:12;10768:20;;-1:-1:-1;;;10768:20:0;;;;;;;;:::i;14:196:1:-;82:20;;-1:-1:-1;;;;;131:54:1;;121:65;;111:2;;200:1;197;190:12;111:2;63:147;;;:::o;215:171::-;282:20;;342:18;331:30;;321:41;;311:2;;376:1;373;366:12;391:628;502:6;510;518;526;534;542;550;603:3;591:9;582:7;578:23;574:33;571:2;;;625:6;617;610:22;571:2;653:29;672:9;653:29;:::i;:::-;643:39;;701:38;735:2;724:9;720:18;701:38;:::i;:::-;691:48;;786:2;775:9;771:18;758:32;748:42;;837:2;826:9;822:18;809:32;799:42;;860:38;893:3;882:9;878:19;860:38;:::i;:::-;850:48;;917:38;950:3;939:9;935:19;917:38;:::i;:::-;907:48;;974:39;1008:3;997:9;993:19;974:39;:::i;:::-;964:49;;561:458;;;;;;;;;;:::o;1024:622::-;1135:6;1143;1151;1159;1167;1175;1183;1236:3;1224:9;1215:7;1211:23;1207:33;1204:2;;;1258:6;1250;1243:22;1204:2;1286:29;1305:9;1286:29;:::i;:::-;1276:39;;1334:38;1368:2;1357:9;1353:18;1334:38;:::i;:::-;1324:48;;1419:2;1408:9;1404:18;1391:32;1381:42;;1470:2;1459:9;1455:18;1442:32;1432:42;;1493:38;1526:3;1515:9;1511:19;1493:38;:::i;:::-;1483:48;;1550:38;1583:3;1572:9;1568:19;1550:38;:::i;:::-;1540:48;;1635:3;1624:9;1620:19;1607:33;1597:43;;1194:452;;;;;;;;;;:::o;1651:297::-;1718:6;1771:2;1759:9;1750:7;1746:23;1742:32;1739:2;;;1792:6;1784;1777:22;1739:2;1829:9;1823:16;1882:5;1875:13;1868:21;1861:5;1858:32;1848:2;;1909:6;1901;1894:22;1953:190;2012:6;2065:2;2053:9;2044:7;2040:23;2036:32;2033:2;;;2086:6;2078;2071:22;2033:2;-1:-1:-1;2114:23:1;;2023:120;-1:-1:-1;2023:120:1:o;2148:258::-;2216:6;2224;2277:2;2265:9;2256:7;2252:23;2248:32;2245:2;;;2298:6;2290;2283:22;2245:2;-1:-1:-1;;2326:23:1;;;2396:2;2381:18;;;2368:32;;-1:-1:-1;2235:171:1:o;3067:274::-;3196:3;3234:6;3228:13;3250:53;3296:6;3291:3;3284:4;3276:6;3272:17;3250:53;:::i;:::-;3319:16;;;;;3204:137;-1:-1:-1;;3204:137:1:o;3346:887::-;-1:-1:-1;;;;;3754:15:1;;;3736:34;;3806:15;;;3801:2;3786:18;;3779:43;3858:15;;3853:2;3838:18;;3831:43;3905:2;3890:18;;3883:34;;;3948:3;3933:19;;3926:35;;;4010:18;3998:31;;3992:3;3977:19;;3970:60;3662:3;3647:19;;4060:1;4049:13;;4039:2;;4105:10;4100:3;4096:20;4093:1;4086:31;4140:4;4137:1;4130:15;4168:4;4165:1;4158:15;4039:2;4220:6;4214:3;4203:9;4199:19;4192:35;3629:604;;;;;;;;;;:::o;7177:383::-;7326:2;7315:9;7308:21;7289:4;7358:6;7352:13;7401:6;7396:2;7385:9;7381:18;7374:34;7417:66;7476:6;7471:2;7460:9;7456:18;7451:2;7443:6;7439:15;7417:66;:::i;:::-;7544:2;7523:15;-1:-1:-1;;7519:29:1;7504:45;;;;7551:2;7500:54;;7298:262;-1:-1:-1;;7298:262:1:o;10821:258::-;10893:1;10903:113;10917:6;10914:1;10911:13;10903:113;;;10993:11;;;10987:18;10974:11;;;10967:39;10939:2;10932:10;10903:113;;;11034:6;11031:1;11028:13;11025:2;;;-1:-1:-1;;11069:1:1;11051:16;;11044:27;10874:205::o

Swarm Source

ipfs://7c6bb8d3b950938b88f282f8299fc9ee4e41a473f1d700f3771212c28d6cb5f1
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Validator ID :
0 FTM

Amount Staked
0

Amount Delegated
0

Staking Total
0

Staking Start Epoch
0

Staking Start Time
0

Proof of Importance
0

Origination Score
0

Validation Score
0

Active
0

Online
0

Downtime
0 s
Address Amount claimed Rewards Created On Epoch Created On
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.