ETH Price: $2,984.68 (+4.31%)
Gas: 2 Gwei

Contract

0x9f555A3115C2Da9574c84C4Dfb1617193aA7AFE2
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Transfer Ownersh...132425762021-09-17 10:06:131022 days ago1631873173IN
0x9f555A31...93aA7AFE2
0 ETH0.0014630850.49296377
Deposit132359302021-09-16 9:21:041023 days ago1631784064IN
0x9f555A31...93aA7AFE2
0 ETH0.0036876247.00001
Deposit132270942021-09-15 0:29:081025 days ago1631665748IN
0x9f555A31...93aA7AFE2
0 ETH0.002955842.90987191
Deposit132245612021-09-14 15:06:271025 days ago1631631987IN
0x9f555A31...93aA7AFE2
0 ETH0.0047083260
Deposit132245412021-09-14 15:03:101025 days ago1631631790IN
0x9f555A31...93aA7AFE2
0 ETH0.0026747860.91656063
Release131722202021-09-06 12:41:271033 days ago1630932087IN
0x9f555A31...93aA7AFE2
0 ETH0.0078232784.25890254
Deposit131718322021-09-06 11:14:281033 days ago1630926868IN
0x9f555A31...93aA7AFE2
0 ETH0.0059254475.53345469
Release131707682021-09-06 7:08:561033 days ago1630912136IN
0x9f555A31...93aA7AFE2
0 ETH0.0066159671.25582788
Release131459112021-09-02 11:10:301037 days ago1630581030IN
0x9f555A31...93aA7AFE2
0 ETH0.0069359874.72186308
Update Authorise...131457732021-09-02 10:43:051037 days ago1630579385IN
0x9f555A31...93aA7AFE2
0 ETH0.0025397986.88116516
Deposit131392422021-09-01 10:33:451038 days ago1630492425IN
0x9f555A31...93aA7AFE2
0 ETH0.0059159675.41261056
Deposit131388762021-09-01 9:11:111038 days ago1630487471IN
0x9f555A31...93aA7AFE2
0 ETH0.0101038577.8729127
Add Supported Ch...131382712021-09-01 6:49:541038 days ago1630478994IN
0x9f555A31...93aA7AFE2
0 ETH0.0034131773.67089509
0x60a06040131376172021-09-01 4:19:411039 days ago1630469981IN
 Create: PrimaryBridge
0 ETH0.156149591.15472372

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PrimaryBridge

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : PrimaryBridge.sol
// SPDX-License-Identifier: MIT
pragma solidity =0.8.6;

import {IERC20} from '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import {SafeERC20} from '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol';
import './BaseBridge.sol';

contract PrimaryBridge is BaseBridge {
	using SafeERC20 for IERC20;

	uint256 public amountHeld;
	address internal immutable self;
	mapping(uint256 => uint256) usedDepositNonces;
	mapping(uint256 => mapping(uint256 => bool)) usedReleaseNonces;

	constructor(address token) {
		require(token != address(0), 'Invalid address');
		_token = token;
		_authorised = msg.sender;
		self = address(this);
	}

	function addSupportedChain(uint256 chainId) external onlyAuthorised() returns (bool) {
		require(usedDepositNonces[chainId] == 0, 'Network is already supported.');

		usedDepositNonces[chainId] = 1;

		return true;
	}

	function deposit(uint256 amount, uint256 chainId) external returns (bool) {
		require(amount > 0, 'Amount must be greater than 0');
		require(usedDepositNonces[chainId] > 0, 'Network is not supported.');

		uint256 currentNonce = usedDepositNonces[chainId];

		IERC20(_token).safeTransferFrom(msg.sender, self, amount);
		amountHeld += amount;
		_balances[chainId] += amount;
		usedDepositNonces[chainId] ++;
		emit DepositReceived(currentNonce, amount, chainId, block.timestamp, msg.sender);
		return true;
	}

	function release(
		uint256 nonce,
		uint256 amount,
		address to,
		uint256 chainId,
		bytes calldata payload
	) external onlyAuthorised() returns (bool) {
		require(amount > 0, 'Amount must be greater than 0');
		require(
			_balances[chainId] >= amount && amount <= amountHeld,
			'Amount must be greater than or equal to chain balance and amount must be less than or equal to Ethereum amountHeld'
		);

		require(usedReleaseNonces[chainId][nonce] == false, 'Nonce is already used.');
		usedReleaseNonces[chainId][nonce] = true;

		IERC20(_token).safeTransfer(to, amount);
		amountHeld -= amount;
		_balances[chainId] -= amount;
		emit Released(nonce, amount, chainId, block.timestamp, to, payload);
		return true;
	}

	event DepositReceived(
		uint256 nonce,
		uint256 amount,
		uint256 chainId,
		uint256 timestamp,
		address indexed from
	);
	event Released(
		uint256 nonce,
		uint256 amount,
		uint256 chainId,
		uint256 timestamp,
		address indexed to,
		bytes payload
	);
}

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

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 3 of 7 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @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'
        // solhint-disable-next-line max-line-length
        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
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 4 of 7 : BaseBridge.sol
// SPDX-License-Identifier: MIT
pragma solidity =0.8.6;

import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";

abstract contract BaseBridge is Ownable {
    address internal _token;
    address internal _authorised;
    mapping (uint256 => uint256) internal _balances;

    function balanceOf(uint256 chainId) external view returns (uint256) {
        return _balances[chainId];
    }

    function bridgeToken() external view returns(address) {
        return address(_token);
    }

    function updateAuthorised(address who) public onlyOwner() {
        require(who != address(0), "Invalid account");
        _authorised = who;        
    }

    modifier onlyAuthorised() {
        require(msg.sender == _authorised, "Caller cannot excute this function");
        _;
    }
}

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

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;
        // solhint-disable-next-line no-inline-assembly
        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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"token","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"nonce","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"chainId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"}],"name":"DepositReceived","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":"uint256","name":"nonce","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"chainId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"bytes","name":"payload","type":"bytes"}],"name":"Released","type":"event"},{"inputs":[{"internalType":"uint256","name":"chainId","type":"uint256"}],"name":"addSupportedChain","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"amountHeld","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"chainId","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bridgeToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"chainId","type":"uint256"}],"name":"deposit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"bytes","name":"payload","type":"bytes"}],"name":"release","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"}],"name":"updateAuthorised","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040523480156200001157600080fd5b506040516200201838038062002018833981810160405281019062000037919062000239565b6000620000496200021a60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156200015a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001519062000292565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555033600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250505062000341565b600033905090565b600081519050620002338162000327565b92915050565b600060208284031215620002525762000251620002f9565b5b6000620002628482850162000222565b91505092915050565b60006200027a600f83620002b4565b91506200028782620002fe565b602082019050919050565b60006020820190508181036000830152620002ad816200026b565b9050919050565b600082825260208201905092915050565b6000620002d282620002d9565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600080fd5b7f496e76616c696420616464726573730000000000000000000000000000000000600082015250565b6200033281620002c5565b81146200033e57600080fd5b50565b60805160601c611cb862000360600039600061095b0152611cb86000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80639cc7f708116100665780639cc7f70814610135578063b03a283914610165578063e2bbb15814610195578063f2fde38b146101c5578063f4734b0c146101e15761009e565b80631114ca6a146100a35780631329006a146100bf578063715018a6146100dd57806387188a00146100e75780638da5cb5b14610117575b600080fd5b6100bd60048036038101906100b8919061107a565b6101ff565b005b6100c761032f565b6040516100d49190611692565b60405180910390f35b6100e5610335565b005b61010160048036038101906100fc91906110d4565b61046f565b60405161010e91906114d5565b60405180910390f35b61011f610579565b60405161012c919061145a565b60405180910390f35b61014f600480360381019061014a91906110d4565b6105a2565b60405161015c9190611692565b60405180910390f35b61017f600480360381019061017a9190611141565b6105bf565b60405161018c91906114d5565b60405180910390f35b6101af60048036038101906101aa9190611101565b6108a3565b6040516101bc91906114d5565b60405180910390f35b6101df60048036038101906101da919061107a565b610a8e565b005b6101e9610c37565b6040516101f6919061145a565b60405180910390f35b610207610c61565b73ffffffffffffffffffffffffffffffffffffffff16610225610579565b73ffffffffffffffffffffffffffffffffffffffff161461027b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027290611632565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156102eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102e290611612565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60045481565b61033d610c61565b73ffffffffffffffffffffffffffffffffffffffff1661035b610579565b73ffffffffffffffffffffffffffffffffffffffff16146103b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103a890611632565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610501576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104f8906115f2565b60405180910390fd5b6000600560008481526020019081526020016000205414610557576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161054e906115d2565b60405180910390fd5b6001600560008481526020019081526020016000208190555060019050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600060036000838152602001908152602001600020549050919050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610651576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610648906115f2565b60405180910390fd5b60008611610694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068b90611552565b60405180910390fd5b856003600086815260200190815260200160002054101580156106b957506004548611155b6106f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ef90611592565b60405180910390fd5b6000151560066000868152602001908152602001600020600089815260200190815260200160002060009054906101000a900460ff16151514610770576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076790611512565b60405180910390fd5b600160066000868152602001908152602001600020600089815260200190815260200160002060006101000a81548160ff0219169083151502179055506107fa8587600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610c699092919063ffffffff16565b856004600082825461080c91906117e7565b925050819055508560036000868152602001908152602001600020600082825461083691906117e7565b925050819055508473ffffffffffffffffffffffffffffffffffffffff167f89e27ce9d144f467e6fc308808bb02501909aec43f8a0794903086ecc5e4189988888742888860405161088d969594939291906116f2565b60405180910390a2600190509695505050505050565b60008083116108e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108de90611552565b60405180910390fd5b600060056000848152602001908152602001600020541161093d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610934906115b2565b60405180910390fd5b6000600560008481526020019081526020016000205490506109c4337f000000000000000000000000000000000000000000000000000000000000000086600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610cef909392919063ffffffff16565b83600460008282546109d69190611791565b9250508190555083600360008581526020019081526020016000206000828254610a009190611791565b92505081905550600560008481526020019081526020016000206000815480929190610a2b906118a5565b91905055503373ffffffffffffffffffffffffffffffffffffffff167e05048d6741dbe991c97bffe25c03f18bdefb65e970173b404bff90a6ee584282868642604051610a7b94939291906116ad565b60405180910390a2600191505092915050565b610a96610c61565b73ffffffffffffffffffffffffffffffffffffffff16610ab4610579565b73ffffffffffffffffffffffffffffffffffffffff1614610b0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0190611632565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610b7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7190611532565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600033905090565b610cea8363a9059cbb60e01b8484604051602401610c889291906114ac565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610d78565b505050565b610d72846323b872dd60e01b858585604051602401610d1093929190611475565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610d78565b50505050565b6000610dda826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610e3f9092919063ffffffff16565b9050600081511115610e3a5780806020019051810190610dfa91906110a7565b610e39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3090611672565b60405180910390fd5b5b505050565b6060610e4e8484600085610e57565b90509392505050565b606082471015610e9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9390611572565b60405180910390fd5b610ea585610f6b565b610ee4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edb90611652565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051610f0d9190611443565b60006040518083038185875af1925050503d8060008114610f4a576040519150601f19603f3d011682016040523d82523d6000602084013e610f4f565b606091505b5091509150610f5f828286610f7e565b92505050949350505050565b600080823b905060008111915050919050565b60608315610f8e57829050610fde565b600083511115610fa15782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd591906114f0565b60405180910390fd5b9392505050565b600081359050610ff481611c3d565b92915050565b60008151905061100981611c54565b92915050565b60008083601f84011261102557611024611922565b5b8235905067ffffffffffffffff8111156110425761104161191d565b5b60208301915083600182028301111561105e5761105d611927565b5b9250929050565b60008135905061107481611c6b565b92915050565b6000602082840312156110905761108f611931565b5b600061109e84828501610fe5565b91505092915050565b6000602082840312156110bd576110bc611931565b5b60006110cb84828501610ffa565b91505092915050565b6000602082840312156110ea576110e9611931565b5b60006110f884828501611065565b91505092915050565b6000806040838503121561111857611117611931565b5b600061112685828601611065565b925050602061113785828601611065565b9150509250929050565b60008060008060008060a0878903121561115e5761115d611931565b5b600061116c89828a01611065565b965050602061117d89828a01611065565b955050604061118e89828a01610fe5565b945050606061119f89828a01611065565b935050608087013567ffffffffffffffff8111156111c0576111bf61192c565b5b6111cc89828a0161100f565b92509250509295509295509295565b6111e48161181b565b82525050565b6111f38161182d565b82525050565b60006112058385611764565b9350611212838584611863565b61121b83611936565b840190509392505050565b60006112318261174e565b61123b8185611775565b935061124b818560208601611872565b80840191505092915050565b600061126282611759565b61126c8185611780565b935061127c818560208601611872565b61128581611936565b840191505092915050565b600061129d601683611780565b91506112a882611947565b602082019050919050565b60006112c0602683611780565b91506112cb82611970565b604082019050919050565b60006112e3601d83611780565b91506112ee826119bf565b602082019050919050565b6000611306602683611780565b9150611311826119e8565b604082019050919050565b6000611329607283611780565b915061133482611a37565b608082019050919050565b600061134c601983611780565b915061135782611ad2565b602082019050919050565b600061136f601d83611780565b915061137a82611afb565b602082019050919050565b6000611392602283611780565b915061139d82611b24565b604082019050919050565b60006113b5600f83611780565b91506113c082611b73565b602082019050919050565b60006113d8602083611780565b91506113e382611b9c565b602082019050919050565b60006113fb601d83611780565b915061140682611bc5565b602082019050919050565b600061141e602a83611780565b915061142982611bee565b604082019050919050565b61143d81611859565b82525050565b600061144f8284611226565b915081905092915050565b600060208201905061146f60008301846111db565b92915050565b600060608201905061148a60008301866111db565b61149760208301856111db565b6114a46040830184611434565b949350505050565b60006040820190506114c160008301856111db565b6114ce6020830184611434565b9392505050565b60006020820190506114ea60008301846111ea565b92915050565b6000602082019050818103600083015261150a8184611257565b905092915050565b6000602082019050818103600083015261152b81611290565b9050919050565b6000602082019050818103600083015261154b816112b3565b9050919050565b6000602082019050818103600083015261156b816112d6565b9050919050565b6000602082019050818103600083015261158b816112f9565b9050919050565b600060208201905081810360008301526115ab8161131c565b9050919050565b600060208201905081810360008301526115cb8161133f565b9050919050565b600060208201905081810360008301526115eb81611362565b9050919050565b6000602082019050818103600083015261160b81611385565b9050919050565b6000602082019050818103600083015261162b816113a8565b9050919050565b6000602082019050818103600083015261164b816113cb565b9050919050565b6000602082019050818103600083015261166b816113ee565b9050919050565b6000602082019050818103600083015261168b81611411565b9050919050565b60006020820190506116a76000830184611434565b92915050565b60006080820190506116c26000830187611434565b6116cf6020830186611434565b6116dc6040830185611434565b6116e96060830184611434565b95945050505050565b600060a0820190506117076000830189611434565b6117146020830188611434565b6117216040830187611434565b61172e6060830186611434565b81810360808301526117418184866111f9565b9050979650505050505050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600061179c82611859565b91506117a783611859565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156117dc576117db6118ee565b5b828201905092915050565b60006117f282611859565b91506117fd83611859565b9250828210156118105761180f6118ee565b5b828203905092915050565b600061182682611839565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015611890578082015181840152602081019050611875565b8381111561189f576000848401525b50505050565b60006118b082611859565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156118e3576118e26118ee565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e6f6e636520697320616c726561647920757365642e00000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f416d6f756e74206d7573742062652067726561746572207468616e2030000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f416d6f756e74206d7573742062652067726561746572207468616e206f72206560008201527f7175616c20746f20636861696e2062616c616e636520616e6420616d6f756e7460208201527f206d757374206265206c657373207468616e206f7220657175616c20746f204560408201527f7468657265756d20616d6f756e7448656c640000000000000000000000000000606082015250565b7f4e6574776f726b206973206e6f7420737570706f727465642e00000000000000600082015250565b7f4e6574776f726b20697320616c726561647920737570706f727465642e000000600082015250565b7f43616c6c65722063616e6e6f742065786375746520746869732066756e63746960008201527f6f6e000000000000000000000000000000000000000000000000000000000000602082015250565b7f496e76616c6964206163636f756e740000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b611c468161181b565b8114611c5157600080fd5b50565b611c5d8161182d565b8114611c6857600080fd5b50565b611c7481611859565b8114611c7f57600080fd5b5056fea2646970667358221220225511e1e4629b69d5f37e05d6d8af64b668ca35b616a55fdef82404a3fd9e7464736f6c6343000806003300000000000000000000000000000100f2a2bd000715001920eb70d229700085

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061009e5760003560e01c80639cc7f708116100665780639cc7f70814610135578063b03a283914610165578063e2bbb15814610195578063f2fde38b146101c5578063f4734b0c146101e15761009e565b80631114ca6a146100a35780631329006a146100bf578063715018a6146100dd57806387188a00146100e75780638da5cb5b14610117575b600080fd5b6100bd60048036038101906100b8919061107a565b6101ff565b005b6100c761032f565b6040516100d49190611692565b60405180910390f35b6100e5610335565b005b61010160048036038101906100fc91906110d4565b61046f565b60405161010e91906114d5565b60405180910390f35b61011f610579565b60405161012c919061145a565b60405180910390f35b61014f600480360381019061014a91906110d4565b6105a2565b60405161015c9190611692565b60405180910390f35b61017f600480360381019061017a9190611141565b6105bf565b60405161018c91906114d5565b60405180910390f35b6101af60048036038101906101aa9190611101565b6108a3565b6040516101bc91906114d5565b60405180910390f35b6101df60048036038101906101da919061107a565b610a8e565b005b6101e9610c37565b6040516101f6919061145a565b60405180910390f35b610207610c61565b73ffffffffffffffffffffffffffffffffffffffff16610225610579565b73ffffffffffffffffffffffffffffffffffffffff161461027b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027290611632565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156102eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102e290611612565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60045481565b61033d610c61565b73ffffffffffffffffffffffffffffffffffffffff1661035b610579565b73ffffffffffffffffffffffffffffffffffffffff16146103b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103a890611632565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610501576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104f8906115f2565b60405180910390fd5b6000600560008481526020019081526020016000205414610557576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161054e906115d2565b60405180910390fd5b6001600560008481526020019081526020016000208190555060019050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600060036000838152602001908152602001600020549050919050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610651576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610648906115f2565b60405180910390fd5b60008611610694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161068b90611552565b60405180910390fd5b856003600086815260200190815260200160002054101580156106b957506004548611155b6106f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ef90611592565b60405180910390fd5b6000151560066000868152602001908152602001600020600089815260200190815260200160002060009054906101000a900460ff16151514610770576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076790611512565b60405180910390fd5b600160066000868152602001908152602001600020600089815260200190815260200160002060006101000a81548160ff0219169083151502179055506107fa8587600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610c699092919063ffffffff16565b856004600082825461080c91906117e7565b925050819055508560036000868152602001908152602001600020600082825461083691906117e7565b925050819055508473ffffffffffffffffffffffffffffffffffffffff167f89e27ce9d144f467e6fc308808bb02501909aec43f8a0794903086ecc5e4189988888742888860405161088d969594939291906116f2565b60405180910390a2600190509695505050505050565b60008083116108e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108de90611552565b60405180910390fd5b600060056000848152602001908152602001600020541161093d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610934906115b2565b60405180910390fd5b6000600560008481526020019081526020016000205490506109c4337f0000000000000000000000009f555a3115c2da9574c84c4dfb1617193aa7afe286600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610cef909392919063ffffffff16565b83600460008282546109d69190611791565b9250508190555083600360008581526020019081526020016000206000828254610a009190611791565b92505081905550600560008481526020019081526020016000206000815480929190610a2b906118a5565b91905055503373ffffffffffffffffffffffffffffffffffffffff167e05048d6741dbe991c97bffe25c03f18bdefb65e970173b404bff90a6ee584282868642604051610a7b94939291906116ad565b60405180910390a2600191505092915050565b610a96610c61565b73ffffffffffffffffffffffffffffffffffffffff16610ab4610579565b73ffffffffffffffffffffffffffffffffffffffff1614610b0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0190611632565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610b7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7190611532565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600033905090565b610cea8363a9059cbb60e01b8484604051602401610c889291906114ac565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610d78565b505050565b610d72846323b872dd60e01b858585604051602401610d1093929190611475565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610d78565b50505050565b6000610dda826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610e3f9092919063ffffffff16565b9050600081511115610e3a5780806020019051810190610dfa91906110a7565b610e39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3090611672565b60405180910390fd5b5b505050565b6060610e4e8484600085610e57565b90509392505050565b606082471015610e9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9390611572565b60405180910390fd5b610ea585610f6b565b610ee4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edb90611652565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051610f0d9190611443565b60006040518083038185875af1925050503d8060008114610f4a576040519150601f19603f3d011682016040523d82523d6000602084013e610f4f565b606091505b5091509150610f5f828286610f7e565b92505050949350505050565b600080823b905060008111915050919050565b60608315610f8e57829050610fde565b600083511115610fa15782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd591906114f0565b60405180910390fd5b9392505050565b600081359050610ff481611c3d565b92915050565b60008151905061100981611c54565b92915050565b60008083601f84011261102557611024611922565b5b8235905067ffffffffffffffff8111156110425761104161191d565b5b60208301915083600182028301111561105e5761105d611927565b5b9250929050565b60008135905061107481611c6b565b92915050565b6000602082840312156110905761108f611931565b5b600061109e84828501610fe5565b91505092915050565b6000602082840312156110bd576110bc611931565b5b60006110cb84828501610ffa565b91505092915050565b6000602082840312156110ea576110e9611931565b5b60006110f884828501611065565b91505092915050565b6000806040838503121561111857611117611931565b5b600061112685828601611065565b925050602061113785828601611065565b9150509250929050565b60008060008060008060a0878903121561115e5761115d611931565b5b600061116c89828a01611065565b965050602061117d89828a01611065565b955050604061118e89828a01610fe5565b945050606061119f89828a01611065565b935050608087013567ffffffffffffffff8111156111c0576111bf61192c565b5b6111cc89828a0161100f565b92509250509295509295509295565b6111e48161181b565b82525050565b6111f38161182d565b82525050565b60006112058385611764565b9350611212838584611863565b61121b83611936565b840190509392505050565b60006112318261174e565b61123b8185611775565b935061124b818560208601611872565b80840191505092915050565b600061126282611759565b61126c8185611780565b935061127c818560208601611872565b61128581611936565b840191505092915050565b600061129d601683611780565b91506112a882611947565b602082019050919050565b60006112c0602683611780565b91506112cb82611970565b604082019050919050565b60006112e3601d83611780565b91506112ee826119bf565b602082019050919050565b6000611306602683611780565b9150611311826119e8565b604082019050919050565b6000611329607283611780565b915061133482611a37565b608082019050919050565b600061134c601983611780565b915061135782611ad2565b602082019050919050565b600061136f601d83611780565b915061137a82611afb565b602082019050919050565b6000611392602283611780565b915061139d82611b24565b604082019050919050565b60006113b5600f83611780565b91506113c082611b73565b602082019050919050565b60006113d8602083611780565b91506113e382611b9c565b602082019050919050565b60006113fb601d83611780565b915061140682611bc5565b602082019050919050565b600061141e602a83611780565b915061142982611bee565b604082019050919050565b61143d81611859565b82525050565b600061144f8284611226565b915081905092915050565b600060208201905061146f60008301846111db565b92915050565b600060608201905061148a60008301866111db565b61149760208301856111db565b6114a46040830184611434565b949350505050565b60006040820190506114c160008301856111db565b6114ce6020830184611434565b9392505050565b60006020820190506114ea60008301846111ea565b92915050565b6000602082019050818103600083015261150a8184611257565b905092915050565b6000602082019050818103600083015261152b81611290565b9050919050565b6000602082019050818103600083015261154b816112b3565b9050919050565b6000602082019050818103600083015261156b816112d6565b9050919050565b6000602082019050818103600083015261158b816112f9565b9050919050565b600060208201905081810360008301526115ab8161131c565b9050919050565b600060208201905081810360008301526115cb8161133f565b9050919050565b600060208201905081810360008301526115eb81611362565b9050919050565b6000602082019050818103600083015261160b81611385565b9050919050565b6000602082019050818103600083015261162b816113a8565b9050919050565b6000602082019050818103600083015261164b816113cb565b9050919050565b6000602082019050818103600083015261166b816113ee565b9050919050565b6000602082019050818103600083015261168b81611411565b9050919050565b60006020820190506116a76000830184611434565b92915050565b60006080820190506116c26000830187611434565b6116cf6020830186611434565b6116dc6040830185611434565b6116e96060830184611434565b95945050505050565b600060a0820190506117076000830189611434565b6117146020830188611434565b6117216040830187611434565b61172e6060830186611434565b81810360808301526117418184866111f9565b9050979650505050505050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600061179c82611859565b91506117a783611859565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156117dc576117db6118ee565b5b828201905092915050565b60006117f282611859565b91506117fd83611859565b9250828210156118105761180f6118ee565b5b828203905092915050565b600061182682611839565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015611890578082015181840152602081019050611875565b8381111561189f576000848401525b50505050565b60006118b082611859565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156118e3576118e26118ee565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e6f6e636520697320616c726561647920757365642e00000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f416d6f756e74206d7573742062652067726561746572207468616e2030000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f416d6f756e74206d7573742062652067726561746572207468616e206f72206560008201527f7175616c20746f20636861696e2062616c616e636520616e6420616d6f756e7460208201527f206d757374206265206c657373207468616e206f7220657175616c20746f204560408201527f7468657265756d20616d6f756e7448656c640000000000000000000000000000606082015250565b7f4e6574776f726b206973206e6f7420737570706f727465642e00000000000000600082015250565b7f4e6574776f726b20697320616c726561647920737570706f727465642e000000600082015250565b7f43616c6c65722063616e6e6f742065786375746520746869732066756e63746960008201527f6f6e000000000000000000000000000000000000000000000000000000000000602082015250565b7f496e76616c6964206163636f756e740000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b611c468161181b565b8114611c5157600080fd5b50565b611c5d8161182d565b8114611c6857600080fd5b50565b611c7481611859565b8114611c7f57600080fd5b5056fea2646970667358221220225511e1e4629b69d5f37e05d6d8af64b668ca35b616a55fdef82404a3fd9e7464736f6c63430008060033

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

00000000000000000000000000000100f2a2bd000715001920eb70d229700085

-----Decoded View---------------
Arg [0] : token (address): 0x00000100F2A2bd000715001920eB70D229700085

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000100f2a2bd000715001920eb70d229700085


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.