Contract 0xb328c2c62e83d3a179646b5c7284a99182735241 1

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xf25797665eea6dcdf8fe1872dfe228d4097c03560e90cb917e0ec596000f964dTransfer Ownersh...87978972022-03-29 1:14:00255 days 3 hrs ago0x9f403140bc0574d7d36ea472b82daa1bbd4ef327 IN  0xb328c2c62e83d3a179646b5c7284a991827352410 ETH0.000217596191 ETH
0x70f80d6a998b6f25374bfda9cfc520343a90d930135022462eac8fbaf857bc350x60a0604079492292022-03-15 17:31:02268 days 11 hrs ago0x9f403140bc0574d7d36ea472b82daa1bbd4ef327 IN  Create: Treasury0 ETH0.003925379505 ETH
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x464b07ec4685cfd6728a7f0709e23eeb4a34b059b40f5487c4418ce839fb158f233681702022-09-07 12:26:1092 days 16 hrs ago 0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675 0xb328c2c62e83d3a179646b5c7284a991827352410 ETH
0x464b07ec4685cfd6728a7f0709e23eeb4a34b059b40f5487c4418ce839fb158f233681702022-09-07 12:26:1092 days 16 hrs ago 0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675 0xb328c2c62e83d3a179646b5c7284a991827352410 ETH
0x6a8499cc8673da94811bbdd7e7bbc172ace67139c9642173e97c288f6ec6bcdc233677422022-09-07 12:23:3792 days 16 hrs ago 0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675 0xb328c2c62e83d3a179646b5c7284a991827352410 ETH
0xe6061c5172fb166881ab20957b6d2ad0c0be529b4aad450ce07f4ee78486f7f1233669082022-09-07 12:18:5292 days 16 hrs ago 0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675 0xb328c2c62e83d3a179646b5c7284a991827352410 ETH
0x9acea40a28f3406043d3bee330ad764ea830e54b979e0154b392926e2bfef59b233668132022-09-07 12:18:2192 days 16 hrs ago 0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675 0xb328c2c62e83d3a179646b5c7284a991827352410 ETH
0x8ff5a8e64fda80f9b62ae32abb5002e958115447e48c0afa2dd373eb76555a06233649612022-09-07 12:05:4892 days 16 hrs ago 0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675 0xb328c2c62e83d3a179646b5c7284a991827352410 ETH
0xd0f77d2e1dc6c6f3d89f2139a10c30ef48fd1a1ba6fe457ff3ef2a7e827dc94b233643582022-09-07 12:01:4092 days 16 hrs ago 0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675 0xb328c2c62e83d3a179646b5c7284a991827352410 ETH
0xd62d8b51f9da06e6e2d64c9108603c7b7614b4fc7a9ec78225ca7ee5b44873db233643372022-09-07 12:01:3292 days 16 hrs ago 0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675 0xb328c2c62e83d3a179646b5c7284a991827352410 ETH
0xb381d6f3f7287551afc89aa8db818fb6aacc8c5388d4cad6929355c1ce60a401233643192022-09-07 12:01:2592 days 16 hrs ago 0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675 0xb328c2c62e83d3a179646b5c7284a991827352410 ETH
0x50a29259a731ad7dd02fffc508bc7e4e87e272a2b449966506608f254cbf861b233641542022-09-07 12:00:2692 days 16 hrs ago 0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675 0xb328c2c62e83d3a179646b5c7284a991827352410 ETH
0x80b44e2e1127f6aad167e62ea97825c5d768290aca45e04d79a2de8eae1c0291233641212022-09-07 12:00:1392 days 16 hrs ago 0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675 0xb328c2c62e83d3a179646b5c7284a991827352410 ETH
0xb692bec1c6c9a8a4cabe76f8de437fabe88a2b99aca024a5381600103d0c2283233632652022-09-07 11:55:4592 days 17 hrs ago 0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675 0xb328c2c62e83d3a179646b5c7284a991827352410 ETH
0xa3c92b871f8ddd09f8cd081a0a40dace4fa747936a907357fa00e3b58ab15378233620622022-09-07 11:49:2692 days 17 hrs ago 0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675 0xb328c2c62e83d3a179646b5c7284a991827352410 ETH
0xa6fe6a3dd1c317e89818ed577f843ebfe671308f21ad63893ade69d628e532d1233619132022-09-07 11:48:2692 days 17 hrs ago 0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675 0xb328c2c62e83d3a179646b5c7284a991827352410 ETH
0x74d5160936d16c404a802dbcdef191d49a26ed13bffdac23a400c30873af1be7233618942022-09-07 11:48:1992 days 17 hrs ago 0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675 0xb328c2c62e83d3a179646b5c7284a991827352410 ETH
0xe16a0a5095cd90e8b2fc72beadd1aeadea0dcec2dd6d21d9d4baf208d03a4f6f233608402022-09-07 11:41:5092 days 17 hrs ago 0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675 0xb328c2c62e83d3a179646b5c7284a991827352410 ETH
0xfcdb632f32bc965339f96488639e688745d31cb426356900fdb8252a4289b829233607332022-09-07 11:41:2092 days 17 hrs ago 0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675 0xb328c2c62e83d3a179646b5c7284a991827352410 ETH
0x5d9c15897d0c85f5a9925c7038a21a2a2a78ac7776aeac71e6e6e74a266e0788233604762022-09-07 11:39:4892 days 17 hrs ago 0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675 0xb328c2c62e83d3a179646b5c7284a991827352410 ETH
0x0f39b50019de8152bddeab2d4c8541ae5e27a3bba398dcaef941a2137ba2963f233604612022-09-07 11:39:4192 days 17 hrs ago 0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675 0xb328c2c62e83d3a179646b5c7284a991827352410 ETH
0x691d17f5d736c1a7fc1dda821e9da7d343ac1fd5b7e6590ceb7f1687d4a6266e233603682022-09-07 11:39:0692 days 17 hrs ago 0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675 0xb328c2c62e83d3a179646b5c7284a991827352410 ETH
0xeb5b004754fc6389f1f85119ed69a206e62a8d7f44b0bd4ea39d65ed4851142c233598592022-09-07 11:36:0692 days 17 hrs ago 0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675 0xb328c2c62e83d3a179646b5c7284a991827352410 ETH
0x8a9c704079cd38997334f222a4a33b5e6d62618e03415d00b06f454327409424233597202022-09-07 11:35:1592 days 17 hrs ago 0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675 0xb328c2c62e83d3a179646b5c7284a991827352410 ETH
0xb738b53d1038b83456c0d5b62e48f99fb8589a0704713a90cf2eccb71742ad8c233595942022-09-07 11:34:1892 days 17 hrs ago 0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675 0xb328c2c62e83d3a179646b5c7284a991827352410 ETH
0x6830f4c43dbd7c81979b4d21c2a422dfd7bca3ae65e1387260a956417acb24fb233593762022-09-07 11:32:2892 days 17 hrs ago 0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675 0xb328c2c62e83d3a179646b5c7284a991827352410 ETH
0x064aa2b606bbc246e77489bc1bd645000430d115983708a2d24f4dde8e3674dd233587352022-09-07 11:27:1692 days 17 hrs ago 0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675 0xb328c2c62e83d3a179646b5c7284a991827352410 ETH
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Treasury

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 30000 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 6 : Treasury.sol
// SPDX-License-Identifier: BUSL-1.1

pragma solidity 0.7.6;

import "./interfaces/ILayerZeroTreasury.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "./interfaces/ILayerZeroUltraLightNodeV1.sol";

contract Treasury is ILayerZeroTreasury, Ownable {
    using SafeMath for uint;

    uint public nativeBP;
    uint public zroFee;
    bool public feeEnabled;
    bool public zroEnabled;

    ILayerZeroUltraLightNodeV1 public immutable uln;

    event NativeBP(uint bp);
    event ZroFee(uint zroFee);
    event FeeEnabled(bool feeEnabled);
    event ZroEnabled(bool zroEnabled);

    constructor(address _uln) {
        uln = ILayerZeroUltraLightNodeV1(_uln);
    }

    function getFees(bool payInZro, uint relayerFee, uint oracleFee) external view override returns (uint) {
        if (feeEnabled) {
            if (payInZro) {
                require(zroEnabled, "LayerZero: ZRO is not enabled");
                return zroFee;
            } else {
                return relayerFee.add(oracleFee).mul(nativeBP).div(10000);
            }
        }
        return 0;
    }

    function setFeeEnabled(bool _feeEnabled) external onlyOwner {
        feeEnabled = _feeEnabled;
        emit FeeEnabled(_feeEnabled);
    }

    function setZroEnabled(bool _zroEnabled) external onlyOwner {
        zroEnabled = _zroEnabled;
        emit ZroEnabled(_zroEnabled);
    }

    function setNativeBP(uint _nativeBP) external onlyOwner {
        nativeBP = _nativeBP;
        emit NativeBP(_nativeBP);
    }

    function setZroFee(uint _zroFee) external onlyOwner {
        zroFee = _zroFee;
        emit ZroFee(_zroFee);
    }

    //    uint8 public constant WITHDRAW_TYPE_TREASURY_PROTOCOL_FEES = 0;
    function withdrawZROFromULN(address _to, uint _amount) external onlyOwner {
        uln.withdrawZRO(_to, _amount);
    }

    //    uint8 public constant WITHDRAW_TYPE_TREASURY_PROTOCOL_FEES = 0;
    function withdrawNativeFromULN(address payable _to, uint _amount) external onlyOwner {
        uln.withdrawNative(0, address(0x0), _to, _amount);
    }
}

File 2 of 6 : ILayerZeroTreasury.sol
// SPDX-License-Identifier: BUSL-1.1

pragma solidity >=0.5.0;

interface ILayerZeroTreasury {
    function getFees(bool payInZro, uint relayerFee, uint oracleFee) external view returns (uint);
}

File 3 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

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

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

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

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

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

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

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

File 4 of 6 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

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

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

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

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

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

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

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

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

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

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

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

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

File 5 of 6 : ILayerZeroUltraLightNodeV1.sol
// SPDX-License-Identifier: BUSL-1.1

pragma solidity >=0.7.0;

interface ILayerZeroUltraLightNodeV1 {
    // a Relayer can execute the validateTransactionProof()
    function validateTransactionProof(uint16 _srcChainId, address _dstAddress, uint _gasLimit, bytes32 _lookupHash, bytes calldata _transactionProof) external;

    // an Oracle delivers the block data using updateHash()
    function updateHash(uint16 _remoteChainId, bytes32 _lookupHash, uint _confirmations, bytes32 _data) external;

    // can only withdraw the receivable of the msg.sender
    function withdrawNative(uint8 _type, address _owner, address payable _to, uint _amount) external;

    function withdrawZRO(address _to, uint _amount) external;

    // view functions
    function oracleQuotedAmount(address _oracle) external view returns (uint);

    function relayerQuotedAmount(address _relayer) external view returns (uint);
}

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

pragma solidity >=0.6.0 <0.8.0;

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

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

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 30000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_uln","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"feeEnabled","type":"bool"}],"name":"FeeEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"bp","type":"uint256"}],"name":"NativeBP","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"zroEnabled","type":"bool"}],"name":"ZroEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"zroFee","type":"uint256"}],"name":"ZroFee","type":"event"},{"inputs":[],"name":"feeEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"payInZro","type":"bool"},{"internalType":"uint256","name":"relayerFee","type":"uint256"},{"internalType":"uint256","name":"oracleFee","type":"uint256"}],"name":"getFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nativeBP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"bool","name":"_feeEnabled","type":"bool"}],"name":"setFeeEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nativeBP","type":"uint256"}],"name":"setNativeBP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_zroEnabled","type":"bool"}],"name":"setZroEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_zroFee","type":"uint256"}],"name":"setZroFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uln","outputs":[{"internalType":"contract ILayerZeroUltraLightNodeV1","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawNativeFromULN","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawZROFromULN","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"zroEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"zroFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60a060405234801561001057600080fd5b50604051610ffa380380610ffa8339818101604052602081101561003357600080fd5b5051600061003f61009e565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060601b6001600160601b0319166080526100a2565b3390565b60805160601c610f316100c9600039806104df528061061352806108d95250610f316000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80638da5cb5b11610097578063baead4cc11610066578063baead4cc14610254578063d684b25314610271578063d935d12314610290578063f2fde38b14610298576100f5565b80638da5cb5b1461022057806396a141a014610228578063a771ebc714610230578063af406aa51461024c576100f5565b80636c473aff116100d35780636c473aff14610191578063715018a6146101c25780637ba20ccf146101ca5780638c616397146101e7576100f5565b80630db474fa146100fa5780633c5ac8f71461011b5780635cbbbd7514610154575b600080fd5b6101196004803603602081101561011057600080fd5b503515156102cb565b005b6101196004803603604081101561013157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356103d8565b61017f6004803603606081101561016a57600080fd5b50803515159060208101359060400135610541565b60408051918252519081900360200190f35b610199610611565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b610119610635565b610119600480360360208110156101e057600080fd5b503561074c565b610119600480360360408110156101fd57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561082f565b610199610968565b61017f610984565b61023861098a565b604080519115158252519081900360200190f35b61017f610993565b6101196004803603602081101561026a57600080fd5b5035610999565b6101196004803603602081101561028757600080fd5b50351515610a7c565b610238610b90565b610119600480360360208110156102ae57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610b9e565b6102d3610d3f565b73ffffffffffffffffffffffffffffffffffffffff166102f1610968565b73ffffffffffffffffffffffffffffffffffffffff161461037357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600380548215157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00909116811790915560408051918252517fe97fa32ceb811a18d1b14115b17ae0034db328b2e2ca987d9922cbf47b03fad69181900360200190a150565b6103e0610d3f565b73ffffffffffffffffffffffffffffffffffffffff166103fe610968565b73ffffffffffffffffffffffffffffffffffffffff161461048057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b604080517f22c107760000000000000000000000000000000000000000000000000000000081526000600482018190526024820181905273ffffffffffffffffffffffffffffffffffffffff85811660448401526064830185905292517f0000000000000000000000000000000000000000000000000000000000000000909316926322c1077692608480820193929182900301818387803b15801561052557600080fd5b505af1158015610539573d6000803e3d6000fd5b505050505050565b60035460009060ff16156106065783156105d457600354610100900460ff166105cb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4c617965725a65726f3a205a524f206973206e6f7420656e61626c6564000000604482015290519081900360640190fd5b5060025461060a565b6105ff6127106105f96001546105f38688610d4390919063ffffffff16565b90610dc0565b90610e33565b905061060a565b5060005b9392505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b61063d610d3f565b73ffffffffffffffffffffffffffffffffffffffff1661065b610968565b73ffffffffffffffffffffffffffffffffffffffff16146106dd57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b610754610d3f565b73ffffffffffffffffffffffffffffffffffffffff16610772610968565b73ffffffffffffffffffffffffffffffffffffffff16146107f457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60028190556040805182815290517f804d99c2291bc4a6be11ff016f65cfc644f8d488ef55a5318d0217a1fdc4e9fd9181900360200190a150565b610837610d3f565b73ffffffffffffffffffffffffffffffffffffffff16610855610968565b73ffffffffffffffffffffffffffffffffffffffff16146108d757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16638525b71183836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561052557600080fd5b60005473ffffffffffffffffffffffffffffffffffffffff1690565b60015481565b60035460ff1681565b60025481565b6109a1610d3f565b73ffffffffffffffffffffffffffffffffffffffff166109bf610968565b73ffffffffffffffffffffffffffffffffffffffff1614610a4157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60018190556040805182815290517ff2a316ed322d32481373e7ed416bc6c1ec2afcfa3bf2f1df9eb4300e1a9620e39181900360200190a150565b610a84610d3f565b73ffffffffffffffffffffffffffffffffffffffff16610aa2610968565b73ffffffffffffffffffffffffffffffffffffffff1614610b2457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6003805482151561010081027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff9092169190911790915560408051918252517f279d3ec34d7b325d10d4b9d6c63464877a6fe6ac3997f7508bdb3b9d2d5050b39181900360200190a150565b600354610100900460ff1681565b610ba6610d3f565b73ffffffffffffffffffffffffffffffffffffffff16610bc4610968565b73ffffffffffffffffffffffffffffffffffffffff1614610c4657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116610cb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180610eb56026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b3390565b600082820183811015610db757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b600082610dcf57506000610dba565b82820282848281610ddc57fe5b0414610db7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180610edb6021913960400191505060405180910390fd5b6000808211610ea357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381610eac57fe5b04939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a2646970667358221220aa67ab93c882355efccbce31477b6f48ac5937dda84c6277e5b85c4ebd677afa64736f6c6343000706003300000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675

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

00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675

-----Decoded View---------------
Arg [0] : _uln (address): 0x66a71dcef29a0ffbdbe3c6a460a3b5bc225cd675

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.