ETH Price: $2,680.85 (+2.15%)

Contract

0xC735478EF7562ecc37662FC7c5e521eb835F9Dab
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Update Valset201938282024-06-29 0:41:11226 days ago1719621671IN
0xC735478E...b835F9Dab
0 ETH0.000066141.39536732
Send To Minter142870022022-02-27 7:59:341079 days ago1645948774IN
0xC735478E...b835F9Dab
0 ETH0.0008601119
Panic Halt137519612021-12-06 11:14:461162 days ago1638789286IN
0xC735478E...b835F9Dab
0 ETH0.0304751377
Toggle Deposits137208592021-12-01 11:43:251167 days ago1638359005IN
0xC735478E...b835F9Dab
0 ETH0.0023347888.07503765
Submit Batch137201022021-12-01 8:50:381167 days ago1638348638IN
0xC735478E...b835F9Dab
0 ETH0.01984507157.03201581
Send To Minter137195242021-12-01 6:27:161167 days ago1638340036IN
0xC735478E...b835F9Dab
0 ETH0.00621647140.52669398
Submit Batch137045622021-11-28 20:45:311169 days ago1638132331IN
0xC735478E...b835F9Dab
0 ETH0.02881035227.93002164
Send To Minter137045472021-11-28 20:42:261169 days ago1638132146IN
0xC735478E...b835F9Dab
0 ETH0.00662762193.79591211
Send To Minter137045462021-11-28 20:42:021169 days ago1638132122IN
0xC735478E...b835F9Dab
0 ETH0.0114382193.36972181
Send To Minter137041452021-11-28 19:12:571169 days ago1638126777IN
0xC735478E...b835F9Dab
0 ETH0.00794536143
Submit Batch137039962021-11-28 18:37:351170 days ago1638124655IN
0xC735478E...b835F9Dab
0 ETH0.01523615120.52778778
Send To Minter137013932021-11-28 8:42:121170 days ago1638088932IN
0xC735478E...b835F9Dab
0 ETH0.0043600480.23941144
Submit Batch136986952021-11-27 22:26:301170 days ago1638051990IN
0xC735478E...b835F9Dab
0 ETH0.01217292118.7
Send To Minter136986142021-11-27 22:03:171170 days ago1638050597IN
0xC735478E...b835F9Dab
0 ETH0.0062957113.28510773
Send To Minter136961932021-11-27 12:57:081171 days ago1638017828IN
0xC735478E...b835F9Dab
0 ETH0.0051314492.37522805
Send To Minter136900732021-11-26 13:41:181172 days ago1637934078IN
0xC735478E...b835F9Dab
0 ETH0.0039203679.40616179
Send To Minter136862192021-11-25 22:50:181172 days ago1637880618IN
0xC735478E...b835F9Dab
0 ETH0.00537743107.74911501
Submit Batch136859772021-11-25 21:55:331172 days ago1637877333IN
0xC735478E...b835F9Dab
0 ETH0.01134141103.01757345
Send To Minter136777092021-11-24 14:26:181174 days ago1637763978IN
0xC735478E...b835F9Dab
0 ETH0.00746887151.20704979
Send To Minter136714762021-11-23 14:52:571175 days ago1637679177IN
0xC735478E...b835F9Dab
0 ETH0.00964797177.03033278
Send To Minter136699612021-11-23 9:07:381175 days ago1637658458IN
0xC735478E...b835F9Dab
0 ETH0.00511467103.62186228
Send To Minter136663902021-11-22 19:39:441175 days ago1637609984IN
0xC735478E...b835F9Dab
0 ETH0.00739879133.13410589
Send To Minter136644002021-11-22 12:07:001176 days ago1637582820IN
0xC735478E...b835F9Dab
0 ETH0.01002781184
Send To Minter136642832021-11-22 11:37:391176 days ago1637581059IN
0xC735478E...b835F9Dab
0 ETH0.00299915103
Send To Minter136642782021-11-22 11:35:371176 days ago1637580937IN
0xC735478E...b835F9Dab
0 ETH0.00577689106
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Peggy

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 1 of 5: Peggy.sol
pragma solidity ^0.6.0;

import "./SafeMath.sol";
import "./IERC20.sol";
import "./SafeERC20.sol";

contract Peggy {
	using SafeMath for uint256;
	using SafeERC20 for IERC20;

	// These are updated often
	bytes32 public state_lastValsetCheckpoint;
	mapping(address => uint256) public state_lastBatchNonces;
	uint256 public state_lastValsetNonce = 0;
	uint256 public state_lastEventNonce = 0;

	// These are set once at initialization
	bytes32 public state_peggyId;
	uint256 public state_powerThreshold;

	bool public halted = false;
	bool public depositsStopped = false;
	address public guardian;

	event TransactionBatchExecutedEvent(
		uint256 indexed _batchNonce,
		address indexed _token,
		address indexed _sender,
		uint256 _eventNonce
	);
	event SendToHubEvent(
		address indexed _tokenContract,
		address indexed _sender,
		bytes32 indexed _destination,
		uint256 _amount,
		uint256 _eventNonce
	);
	event SendToMinterEvent(
		address indexed _tokenContract,
		address indexed _sender,
		bytes32 indexed _destination,
		uint256 _amount,
		uint256 _eventNonce
	);
	event ValsetUpdatedEvent(
		uint256 indexed _newValsetNonce,
		address[] _validators,
		uint256[] _powers
	);

	function lastBatchNonce(address _erc20Address) public view returns (uint256) {
		return state_lastBatchNonces[_erc20Address];
	}

	// Utility function to verify geth style signatures
	function verifySig(
		address _signer,
		bytes32 _theHash,
		uint8 _v,
		bytes32 _r,
		bytes32 _s
	) private pure returns (bool) {
		bytes32 messageDigest = keccak256(
			abi.encodePacked("\x19Ethereum Signed Message:\n32", _theHash)
		);
		return _signer == ecrecover(messageDigest, _v, _r, _s);
	}

	// Make a new checkpoint from the supplied validator set
	// A checkpoint is a hash of all relevant information about the valset. This is stored by the contract,
	// instead of storing the information directly. This saves on storage and gas.
	// The format of the checkpoint is:
	// h(peggyId, "checkpoint", valsetNonce, validators[], powers[])
	// Where h is the keccak256 hash function.
	// The validator powers must be decreasing or equal. This is important for checking the signatures on the
	// next valset, since it allows the caller to stop verifying signatures once a quorum of signatures have been verified.
	function makeCheckpoint(
		address[] memory _validators,
		uint256[] memory _powers,
		uint256 _valsetNonce,
		bytes32 _peggyId
	) private pure returns (bytes32) {
		// bytes32 encoding of the string "checkpoint"
		bytes32 methodName = 0x636865636b706f696e7400000000000000000000000000000000000000000000;

		bytes32 checkpoint = keccak256(
			abi.encode(_peggyId, methodName, _valsetNonce, _validators, _powers)
		);

		return checkpoint;
	}

	function checkValidatorSignatures(
		// The current validator set and their powers
		address[] memory _currentValidators,
		uint256[] memory _currentPowers,
		// The current validator's signatures
		uint8[] memory _v,
		bytes32[] memory _r,
		bytes32[] memory _s,
		// This is what we are checking they have signed
		bytes32 _theHash,
		uint256 _powerThreshold
	) private pure {
		uint256 cumulativePower = 0;

		for (uint256 i = 0; i < _currentValidators.length; i++) {
			// If v is set to 0, this signifies that it was not possible to get a signature from this validator and we skip evaluation
			// (In a valid signature, it is either 27 or 28)
			if (_v[i] != 0) {
				// Check that the current validator has signed off on the hash
				require(
					verifySig(_currentValidators[i], _theHash, _v[i], _r[i], _s[i]),
					"Validator signature does not match."
				);

				// Sum up cumulative power
				cumulativePower = cumulativePower + _currentPowers[i];

				// Break early to avoid wasting gas
				if (cumulativePower > _powerThreshold) {
					break;
				}
			}
		}

		// Check that there was enough power
		require(
			cumulativePower > _powerThreshold,
			"Submitted validator set signatures do not have enough power."
		);
		// Success
	}

	// This updates the valset by checking that the validators in the current valset have signed off on the
	// new valset. The signatures supplied are the signatures of the current valset over the checkpoint hash
	// generated from the new valset.
	// Anyone can call this function, but they must supply valid signatures of state_powerThreshold of the current valset over
	// the new valset.
	function updateValset(
		// The new version of the validator set
		address[] memory _newValidators,
		uint256[] memory _newPowers,
		uint256 _newValsetNonce,
		// The current validators that approve the change
		address[] memory _currentValidators,
		uint256[] memory _currentPowers,
		uint256 _currentValsetNonce,
		// These are arrays of the parts of the current validator's signatures
		uint8[] memory _v,
		bytes32[] memory _r,
		bytes32[] memory _s
	) public {
		// CHECKS

		require(!halted, "contract halted");

		// Check that the valset nonce is greater than the old one
		require(
			_newValsetNonce > _currentValsetNonce,
			"New valset nonce must be greater than the current nonce"
		);

		// Check that new validators and powers set is well-formed
		require(_newValidators.length == _newPowers.length, "Malformed new validator set");

		// Check that current validators, powers, and signatures (v,r,s) set is well-formed
		require(
			_currentValidators.length == _currentPowers.length &&
				_currentValidators.length == _v.length &&
				_currentValidators.length == _r.length &&
				_currentValidators.length == _s.length,
			"Malformed current validator set"
		);

		// Check that the supplied current validator set matches the saved checkpoint
		require(
			makeCheckpoint(
				_currentValidators,
				_currentPowers,
				_currentValsetNonce,
				state_peggyId
			) == state_lastValsetCheckpoint,
			"Supplied current validators and powers do not match checkpoint."
		);

		// Check that enough current validators have signed off on the new validator set
		bytes32 newCheckpoint = makeCheckpoint(
			_newValidators,
			_newPowers,
			_newValsetNonce,
			state_peggyId
		);

		checkValidatorSignatures(
			_currentValidators,
			_currentPowers,
			_v,
			_r,
			_s,
			newCheckpoint,
			state_powerThreshold
		);

		// ACTIONS

		// Stored to be used next time to validate that the valset
		// supplied by the caller is correct.
		state_lastValsetCheckpoint = newCheckpoint;

		// Store new nonce
		state_lastValsetNonce = _newValsetNonce;

		// LOGS

		emit ValsetUpdatedEvent(_newValsetNonce, _newValidators, _newPowers);
	}

	// submitBatch processes a batch of Hub -> Ethereum transactions by sending the tokens in the transactions
	// to the destination addresses. It is approved by the current Hub validator set.
	// Anyone can call this function, but they must supply valid signatures of state_powerThreshold of the current valset over
	// the batch.
	function submitBatch(
		// The validators that approve the batch
		address[] memory _currentValidators,
		uint256[] memory _currentPowers,
		uint256 _currentValsetNonce,
		// These are arrays of the parts of the validators signatures
		uint8[] memory _v,
		bytes32[] memory _r,
		bytes32[] memory _s,
		// The batch of transactions
		uint256[] memory _amounts,
		address[] memory _destinations,
		uint256 _batchNonce,
		address _tokenContract
	) public {
		// CHECKS scoped to reduce stack depth
		{
			require(!halted, "contract halted");

			// Check that the batch nonce is higher than the last nonce for this token
			require(
				state_lastBatchNonces[_tokenContract] < _batchNonce,
				"New batch nonce must be greater than the current nonce"
			);

			// Check that current validators, powers, and signatures (v,r,s) set is well-formed
			require(
				_currentValidators.length == _currentPowers.length &&
					_currentValidators.length == _v.length &&
					_currentValidators.length == _r.length &&
					_currentValidators.length == _s.length,
				"Malformed current validator set"
			);

			// Check that the supplied current validator set matches the saved checkpoint
			require(
				makeCheckpoint(
					_currentValidators,
					_currentPowers,
					_currentValsetNonce,
					state_peggyId
				) == state_lastValsetCheckpoint,
				"Supplied current validators and powers do not match checkpoint."
			);

			// Check that the transaction batch is well-formed
			require(
				_amounts.length == _destinations.length,
				"Malformed batch of transactions"
			);

			// Check that enough current validators have signed off on the transaction batch and valset
			checkValidatorSignatures(
				_currentValidators,
				_currentPowers,
				_v,
				_r,
				_s,
				// Get hash of the transaction batch and checkpoint
				keccak256(
					abi.encode(
						state_peggyId,
						// bytes32 encoding of "transactionBatch"
						0x7472616e73616374696f6e426174636800000000000000000000000000000000,
						_amounts,
						_destinations,
						_batchNonce,
						_tokenContract
					)
				),
				state_powerThreshold
			);

			// ACTIONS

			// Store batch nonce
			state_lastBatchNonces[_tokenContract] = _batchNonce;

			{
				// Send transaction amounts to destinations
				for (uint256 i = 0; i < _amounts.length; i++) {
					IERC20(_tokenContract).safeTransfer(_destinations[i], _amounts[i]);
				}
			}
		}

		// LOGS scoped to reduce stack depth
		{
			state_lastEventNonce = state_lastEventNonce.add(1);
			emit TransactionBatchExecutedEvent(_batchNonce, _tokenContract, msg.sender, state_lastEventNonce);
		}
	}

	function sendToHub(
		address _tokenContract,
		bytes32 _destination,
		uint256 _amount
	) public {
		require(!halted, "contract halted");
		require(!depositsStopped, "deposits stopped");

		IERC20(_tokenContract).safeTransferFrom(msg.sender, address(this), _amount);
		state_lastEventNonce = state_lastEventNonce.add(1);
		emit SendToHubEvent(
			_tokenContract,
			msg.sender,
			_destination,
			_amount,
			state_lastEventNonce
		);
	}

	function sendToMinter(
		address _tokenContract,
		bytes32 _destination,
		uint256 _amount
	) public {
		IERC20(_tokenContract).safeTransferFrom(msg.sender, address(this), _amount);
		state_lastEventNonce = state_lastEventNonce.add(1);
		emit SendToMinterEvent(
			_tokenContract,
			msg.sender,
			_destination,
			_amount,
			state_lastEventNonce
		);
	}

	function toggleHalt() public {
		require(msg.sender == guardian, "permission denied");

		halted = !halted;
	}

	function toggleDeposits() public {
		require(msg.sender == guardian, "permission denied");

		depositsStopped = !depositsStopped;
	}

	function changeGuardian(address _guardian) public {
		require(msg.sender == guardian, "permission denied");

		guardian = _guardian;
	}

	function panicHalt(address[] memory _tokenContracts, address _safeAddress) public {
		require(msg.sender == guardian, "permission denied");

		halted = true;
		depositsStopped = true;

		for (uint256 i = 0; i < _tokenContracts.length; i++) {
			IERC20 token = IERC20(_tokenContracts[i]);
			token.safeTransfer(_safeAddress, token.balanceOf(address(this)));
		}
	}

	constructor(
		// A unique identifier for this peggy instance to use in signatures
		bytes32 _peggyId,
		// How much voting power is needed to approve operations
		uint256 _powerThreshold,
		// The validator set
		address[] memory _validators,
		uint256[] memory _powers,
		address _guardian
	) public {
		// CHECKS

		// Check that validators, powers, and signatures (v,r,s) set is well-formed
		require(_validators.length == _powers.length, "Malformed current validator set");

		// Check cumulative power to ensure the contract has sufficient power to actually
		// pass a vote
		uint256 cumulativePower = 0;
		for (uint256 i = 0; i < _powers.length; i++) {
			cumulativePower = cumulativePower + _powers[i];
			if (cumulativePower > _powerThreshold) {
				break;
			}
		}
		require(
			cumulativePower > _powerThreshold,
			"Submitted validator set signatures do not have enough power."
		);

		bytes32 newCheckpoint = makeCheckpoint(_validators, _powers, 0, _peggyId);

		// ACTIONS

		state_peggyId = _peggyId;
		state_powerThreshold = _powerThreshold;
		state_lastValsetCheckpoint = newCheckpoint;

		guardian = _guardian;

		// LOGS

		emit ValsetUpdatedEvent(0, _validators, _powers);
	}
}

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

pragma solidity >=0.6.2 <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 3 of 5: IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "./SafeMath.sol";
import "./Address.sol";

/**
 * @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 4 of 5: SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "./SafeMath.sol";
import "./Address.sol";
import "./IERC20.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 SafeMath for uint256;
    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).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _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 5 of 5: SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.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;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"bytes32","name":"_peggyId","type":"bytes32"},{"internalType":"uint256","name":"_powerThreshold","type":"uint256"},{"internalType":"address[]","name":"_validators","type":"address[]"},{"internalType":"uint256[]","name":"_powers","type":"uint256[]"},{"internalType":"address","name":"_guardian","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_tokenContract","type":"address"},{"indexed":true,"internalType":"address","name":"_sender","type":"address"},{"indexed":true,"internalType":"bytes32","name":"_destination","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_eventNonce","type":"uint256"}],"name":"SendToHubEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_tokenContract","type":"address"},{"indexed":true,"internalType":"address","name":"_sender","type":"address"},{"indexed":true,"internalType":"bytes32","name":"_destination","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_eventNonce","type":"uint256"}],"name":"SendToMinterEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_batchNonce","type":"uint256"},{"indexed":true,"internalType":"address","name":"_token","type":"address"},{"indexed":true,"internalType":"address","name":"_sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"_eventNonce","type":"uint256"}],"name":"TransactionBatchExecutedEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_newValsetNonce","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"_validators","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"_powers","type":"uint256[]"}],"name":"ValsetUpdatedEvent","type":"event"},{"inputs":[{"internalType":"address","name":"_guardian","type":"address"}],"name":"changeGuardian","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositsStopped","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"guardian","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"halted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_erc20Address","type":"address"}],"name":"lastBatchNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_tokenContracts","type":"address[]"},{"internalType":"address","name":"_safeAddress","type":"address"}],"name":"panicHalt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenContract","type":"address"},{"internalType":"bytes32","name":"_destination","type":"bytes32"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"sendToHub","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenContract","type":"address"},{"internalType":"bytes32","name":"_destination","type":"bytes32"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"sendToMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"state_lastBatchNonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"state_lastEventNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"state_lastValsetCheckpoint","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"state_lastValsetNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"state_peggyId","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"state_powerThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_currentValidators","type":"address[]"},{"internalType":"uint256[]","name":"_currentPowers","type":"uint256[]"},{"internalType":"uint256","name":"_currentValsetNonce","type":"uint256"},{"internalType":"uint8[]","name":"_v","type":"uint8[]"},{"internalType":"bytes32[]","name":"_r","type":"bytes32[]"},{"internalType":"bytes32[]","name":"_s","type":"bytes32[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"},{"internalType":"address[]","name":"_destinations","type":"address[]"},{"internalType":"uint256","name":"_batchNonce","type":"uint256"},{"internalType":"address","name":"_tokenContract","type":"address"}],"name":"submitBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleDeposits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleHalt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_newValidators","type":"address[]"},{"internalType":"uint256[]","name":"_newPowers","type":"uint256[]"},{"internalType":"uint256","name":"_newValsetNonce","type":"uint256"},{"internalType":"address[]","name":"_currentValidators","type":"address[]"},{"internalType":"uint256[]","name":"_currentPowers","type":"uint256[]"},{"internalType":"uint256","name":"_currentValsetNonce","type":"uint256"},{"internalType":"uint8[]","name":"_v","type":"uint8[]"},{"internalType":"bytes32[]","name":"_r","type":"bytes32[]"},{"internalType":"bytes32[]","name":"_s","type":"bytes32[]"}],"name":"updateValset","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600060028190556003556006805461ffff191690553480156200002657600080fd5b506040516200228038038062002280833981810160405260a08110156200004c57600080fd5b815160208301516040808501805191519395929483019291846401000000008211156200007857600080fd5b9083019060208201858111156200008e57600080fd5b8251866020820283011164010000000082111715620000ac57600080fd5b82525081516020918201928201910280838360005b83811015620000db578181015183820152602001620000c1565b50505050905001604052602001805160405193929190846401000000008211156200010557600080fd5b9083019060208201858111156200011b57600080fd5b82518660208202830111640100000000821117156200013957600080fd5b82525081516020918201928201910280838360005b83811015620001685781810151838201526020016200014e565b5050505091909101604052506020015183518551919350149050620001d4576040805162461bcd60e51b815260206004820152601f60248201527f4d616c666f726d65642063757272656e742076616c696461746f722073657400604482015290519081900360640190fd5b6000805b83518110156200021357838181518110620001ef57fe5b602002602001015182019150858211156200020a5762000213565b600101620001d8565b50848111620002545760405162461bcd60e51b815260040180806020018281038252603c81526020018062002244603c913960400191505060405180910390fd5b6000620002648585838a62000367565b6004889055600587905560008181556006805462010000600160b01b031916620100006001600160a01b0388160217905560408051818152885191810191909152875192935090917fc6d025c076bafcdd040f00632d5e280b3a5188963f110f8c70c4f810184b30f39188918891908190602080830191606084019180880191028083838c5b8381101562000304578181015183820152602001620002ea565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015620003455781810151838201526020016200032b565b5050505090500194505050505060405180910390a25050505050505062000455565b6000806918da1958dadc1bda5b9d60b21b60001b905060008382868989604051602001808681526020018581526020018481526020018060200180602001838103835285818151815260200191508051906020019060200280838360005b83811015620003df578181015183820152602001620003c5565b50505050905001838103825284818151815260200191508051906020019060200280838360005b838110156200042057818101518382015260200162000406565b505050509050019750505050505050506040516020818303038152906040528051906020012090508092505050949350505050565b611ddf80620004656000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c80639f06ddf8116100a2578063df97174b11610071578063df97174b1461068d578063e08bf6ea146106b3578063e3cb9f62146106e5578063e5a2b5d214610aa3578063f2b5330714610aab57610116565b80639f06ddf81461066d578063b56561fe14610675578063b9b8af0b1461067d578063d907813c1461068557610116565b8063452a9320116100e9578063452a9320146102435780635429ddcc1461026757806369dd39081461029957806373b20547146102a15780638f32a31b146102a957610116565b8063011b21741461011b5780631762d25a146101535780631a172ea6146102015780632fcb4f041461021d575b600080fd5b6101416004803603602081101561013157600080fd5b50356001600160a01b0316610ab3565b60408051918252519081900360200190f35b6101ff6004803603604081101561016957600080fd5b810190602081018135600160201b81111561018357600080fd5b82018360208201111561019557600080fd5b803590602001918460208302840111600160201b831117156101b657600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550505090356001600160a01b03169150610ace9050565b005b610209610bff565b604080519115158252519081900360200190f35b6101ff6004803603602081101561023357600080fd5b50356001600160a01b0316610c0d565b61024b610c90565b604080516001600160a01b039092168252519081900360200190f35b6101ff6004803603606081101561027d57600080fd5b506001600160a01b038135169060208101359060400135610ca5565b610141610d1c565b610141610d22565b6101ff60048036036101408110156102c057600080fd5b810190602081018135600160201b8111156102da57600080fd5b8201836020820111156102ec57600080fd5b803590602001918460208302840111600160201b8311171561030d57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561035c57600080fd5b82018360208201111561036e57600080fd5b803590602001918460208302840111600160201b8311171561038f57600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092958435959094909350604081019250602001359050600160201b8111156103e657600080fd5b8201836020820111156103f857600080fd5b803590602001918460208302840111600160201b8311171561041957600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561046857600080fd5b82018360208201111561047a57600080fd5b803590602001918460208302840111600160201b8311171561049b57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156104ea57600080fd5b8201836020820111156104fc57600080fd5b803590602001918460208302840111600160201b8311171561051d57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561056c57600080fd5b82018360208201111561057e57600080fd5b803590602001918460208302840111600160201b8311171561059f57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156105ee57600080fd5b82018360208201111561060057600080fd5b803590602001918460208302840111600160201b8311171561062157600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955050823593505050602001356001600160a01b0316610d28565b6101ff6110b4565b610141611121565b610209611127565b6101ff611130565b610141600480360360208110156106a357600080fd5b50356001600160a01b03166111a6565b6101ff600480360360608110156106c957600080fd5b506001600160a01b0381351690602081013590604001356111b8565b6101ff60048036036101208110156106fc57600080fd5b810190602081018135600160201b81111561071657600080fd5b82018360208201111561072857600080fd5b803590602001918460208302840111600160201b8311171561074957600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561079857600080fd5b8201836020820111156107aa57600080fd5b803590602001918460208302840111600160201b831117156107cb57600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092958435959094909350604081019250602001359050600160201b81111561082257600080fd5b82018360208201111561083457600080fd5b803590602001918460208302840111600160201b8311171561085557600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156108a457600080fd5b8201836020820111156108b657600080fd5b803590602001918460208302840111600160201b831117156108d757600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092958435959094909350604081019250602001359050600160201b81111561092e57600080fd5b82018360208201111561094057600080fd5b803590602001918460208302840111600160201b8311171561096157600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156109b057600080fd5b8201836020820111156109c257600080fd5b803590602001918460208302840111600160201b831117156109e357600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b811115610a3257600080fd5b820183602082011115610a4457600080fd5b803590602001918460208302840111600160201b83111715610a6557600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506112c9945050505050565b61014161156a565b610141611570565b6001600160a01b031660009081526001602052604090205490565b6006546201000090046001600160a01b03163314610b27576040805162461bcd60e51b81526020600482015260116024820152701c195c9b5a5cdcda5bdb8819195b9a5959607a1b604482015290519081900360640190fd5b6006805461ff001960ff199091166001171661010017905560005b8251811015610bfa576000838281518110610b5957fe5b60200260200101519050610bf183826001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610bb457600080fd5b505afa158015610bc8573d6000803e3d6000fd5b505050506040513d6020811015610bde57600080fd5b50516001600160a01b0384169190611576565b50600101610b42565b505050565b600654610100900460ff1681565b6006546201000090046001600160a01b03163314610c66576040805162461bcd60e51b81526020600482015260116024820152701c195c9b5a5cdcda5bdb8819195b9a5959607a1b604482015290519081900360640190fd5b600680546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b6006546201000090046001600160a01b031681565b610cba6001600160a01b0384163330846115c8565b600354610cc8906001611628565b60038190556040805183815260208101929092528051849233926001600160a01b038816927fdfe6da02caa4d216f74297b7a3ac766bfdef0fe61309a848f8feda49c0806d2a9281900390910190a4505050565b60045481565b60035481565b60065460ff1615610d72576040805162461bcd60e51b815260206004820152600f60248201526e18dbdb9d1c9858dd081a185b1d1959608a1b604482015290519081900360640190fd5b6001600160a01b0381166000908152600160205260409020548211610dc85760405162461bcd60e51b8152600401808060200182810382526036815260200180611c8e6036913960400191505060405180910390fd5b88518a51148015610dda575086518a51145b8015610de7575085518a51145b8015610df4575084518a51145b610e45576040805162461bcd60e51b815260206004820152601f60248201527f4d616c666f726d65642063757272656e742076616c696461746f722073657400604482015290519081900360640190fd5b600054610e568b8b8b600454611689565b14610e925760405162461bcd60e51b815260040180806020018281038252603f815260200180611c4f603f913960400191505060405180910390fd5b8251845114610ee8576040805162461bcd60e51b815260206004820152601f60248201527f4d616c666f726d6564206261746368206f66207472616e73616374696f6e7300604482015290519081900360640190fd5b610fe18a8a8989896004546f0e8e4c2dce6c2c6e8d2dedc84c2e8c6d60831b8b8b8b8b604051602001808781526020018681526020018060200180602001858152602001846001600160a01b03168152602001838103835287818151815260200191508051906020019060200280838360005b83811015610f73578181015183820152602001610f5b565b50505050905001838103825286818151815260200191508051906020019060200280838360005b83811015610fb2578181015183820152602001610f9a565b505050509050019850505050505050505060405160208183030381529060405280519060200120600554611773565b6001600160a01b03811660009081526001602052604081208390555b84518110156110525761104a84828151811061101557fe5b602002602001015186838151811061102957fe5b6020026020010151846001600160a01b03166115769092919063ffffffff16565b600101610ffd565b50600354611061906001611628565b6003819055604080519182525133916001600160a01b0384169185917f39e7a6d1d0bed258d48d61a3f17fe1250f6360d4bb71d8d8401f1e9020a84937919081900360200190a450505050505050505050565b6006546201000090046001600160a01b0316331461110d576040805162461bcd60e51b81526020600482015260116024820152701c195c9b5a5cdcda5bdb8819195b9a5959607a1b604482015290519081900360640190fd5b6006805460ff19811660ff90911615179055565b60025481565b60065460ff1681565b6006546201000090046001600160a01b03163314611189576040805162461bcd60e51b81526020600482015260116024820152701c195c9b5a5cdcda5bdb8819195b9a5959607a1b604482015290519081900360640190fd5b6006805461ff001981166101009182900460ff1615909102179055565b60016020526000908152604090205481565b60065460ff1615611202576040805162461bcd60e51b815260206004820152600f60248201526e18dbdb9d1c9858dd081a185b1d1959608a1b604482015290519081900360640190fd5b600654610100900460ff1615611252576040805162461bcd60e51b815260206004820152601060248201526f19195c1bdcda5d1cc81cdd1bdc1c195960821b604482015290519081900360640190fd5b6112676001600160a01b0384163330846115c8565b600354611275906001611628565b60038190556040805183815260208101929092528051849233926001600160a01b038816927f8a90c92ae4d3ad99d0e0af0871264ba019979b4532daba15508810d224e8bbf69281900390910190a4505050565b60065460ff1615611313576040805162461bcd60e51b815260206004820152600f60248201526e18dbdb9d1c9858dd081a185b1d1959608a1b604482015290519081900360640190fd5b8387116113515760405162461bcd60e51b8152600401808060200182810382526037815260200180611d496037913960400191505060405180910390fd5b87518951146113a7576040805162461bcd60e51b815260206004820152601b60248201527f4d616c666f726d6564206e65772076616c696461746f72207365740000000000604482015290519081900360640190fd5b845186511480156113b9575082518651145b80156113c6575081518651145b80156113d3575080518651145b611424576040805162461bcd60e51b815260206004820152601f60248201527f4d616c666f726d65642063757272656e742076616c696461746f722073657400604482015290519081900360640190fd5b600054611435878787600454611689565b146114715760405162461bcd60e51b815260040180806020018281038252603f815260200180611c4f603f913960400191505060405180910390fd5b60006114818a8a8a600454611689565b9050611494878786868686600554611773565b8060008190555087600281905550877fc6d025c076bafcdd040f00632d5e280b3a5188963f110f8c70c4f810184b30f38b8b604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561150a5781810151838201526020016114f2565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015611549578181015183820152602001611531565b5050505090500194505050505060405180910390a250505050505050505050565b60055481565b60005481565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610bfa9084906118a8565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526116229085906118a8565b50505050565b600082820183811015611682576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000806918da1958dadc1bda5b9d60b21b60001b905060008382868989604051602001808681526020018581526020018481526020018060200180602001838103835285818151815260200191508051906020019060200280838360005b838110156116ff5781810151838201526020016116e7565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561173e578181015183820152602001611726565b505050509050019750505050505050506040516020818303038152906040528051906020012090508092505050949350505050565b6000805b885181101561185f5786818151811061178c57fe5b602002602001015160ff16600014611857576117f78982815181106117ad57fe5b6020026020010151858984815181106117c257fe5b60200260200101518985815181106117d657fe5b60200260200101518986815181106117ea57fe5b6020026020010151611959565b6118325760405162461bcd60e51b8152600401808060200182810382526023815260200180611cc46023913960400191505060405180910390fd5b87818151811061183e57fe5b602002602001015182019150828211156118575761185f565b600101611777565b5081811161189e5760405162461bcd60e51b815260040180806020018281038252603c815260200180611d0d603c913960400191505060405180910390fd5b5050505050505050565b60606118fd826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611a319092919063ffffffff16565b805190915015610bfa5780806020019051602081101561191c57600080fd5b5051610bfa5760405162461bcd60e51b815260040180806020018281038252602a815260200180611d80602a913960400191505060405180910390fd5b6000808560405160200180807f19457468657265756d205369676e6564204d6573736167653a0a333200000000815250601c0182815260200191505060405160208183030381529060405280519060200120905060018186868660405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015611a07573d6000803e3d6000fd5b505050602060405103516001600160a01b0316876001600160a01b03161491505095945050505050565b6060611a408484600085611a48565b949350505050565b606082471015611a895760405162461bcd60e51b8152600401808060200182810382526026815260200180611ce76026913960400191505060405180910390fd5b611a9285611ba4565b611ae3576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611b225780518252601f199092019160209182019101611b03565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611b84576040519150601f19603f3d011682016040523d82523d6000602084013e611b89565b606091505b5091509150611b99828286611baa565b979650505050505050565b3b151590565b60608315611bb9575081611682565b825115611bc95782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611c13578181015183820152602001611bfb565b50505050905090810190601f168015611c405780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe537570706c6965642063757272656e742076616c696461746f727320616e6420706f7765727320646f206e6f74206d6174636820636865636b706f696e742e4e6577206261746368206e6f6e6365206d7573742062652067726561746572207468616e207468652063757272656e74206e6f6e636556616c696461746f72207369676e617475726520646f6573206e6f74206d617463682e416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5375626d69747465642076616c696461746f7220736574207369676e61747572657320646f206e6f74206861766520656e6f75676820706f7765722e4e65772076616c736574206e6f6e6365206d7573742062652067726561746572207468616e207468652063757272656e74206e6f6e63655361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212200614f7554c6795b7e2139662a075cf61276ccccfed8888b94bd358adc51aa37464736f6c634300060c00335375626d69747465642076616c696461746f7220736574207369676e61747572657320646f206e6f74206861766520656e6f75676820706f7765722e6d696e7465722d6875622d31000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000aaaaaaaa00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000070ad4814d105bfacc2426deb15b89626e9af53dd00000000000000000000000000000000000000000000000000000000000000010000000000000000000000006d5fd7b9385da6734e596d1e75e55dec945f53f2000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000ffffffff

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101165760003560e01c80639f06ddf8116100a2578063df97174b11610071578063df97174b1461068d578063e08bf6ea146106b3578063e3cb9f62146106e5578063e5a2b5d214610aa3578063f2b5330714610aab57610116565b80639f06ddf81461066d578063b56561fe14610675578063b9b8af0b1461067d578063d907813c1461068557610116565b8063452a9320116100e9578063452a9320146102435780635429ddcc1461026757806369dd39081461029957806373b20547146102a15780638f32a31b146102a957610116565b8063011b21741461011b5780631762d25a146101535780631a172ea6146102015780632fcb4f041461021d575b600080fd5b6101416004803603602081101561013157600080fd5b50356001600160a01b0316610ab3565b60408051918252519081900360200190f35b6101ff6004803603604081101561016957600080fd5b810190602081018135600160201b81111561018357600080fd5b82018360208201111561019557600080fd5b803590602001918460208302840111600160201b831117156101b657600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550505090356001600160a01b03169150610ace9050565b005b610209610bff565b604080519115158252519081900360200190f35b6101ff6004803603602081101561023357600080fd5b50356001600160a01b0316610c0d565b61024b610c90565b604080516001600160a01b039092168252519081900360200190f35b6101ff6004803603606081101561027d57600080fd5b506001600160a01b038135169060208101359060400135610ca5565b610141610d1c565b610141610d22565b6101ff60048036036101408110156102c057600080fd5b810190602081018135600160201b8111156102da57600080fd5b8201836020820111156102ec57600080fd5b803590602001918460208302840111600160201b8311171561030d57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561035c57600080fd5b82018360208201111561036e57600080fd5b803590602001918460208302840111600160201b8311171561038f57600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092958435959094909350604081019250602001359050600160201b8111156103e657600080fd5b8201836020820111156103f857600080fd5b803590602001918460208302840111600160201b8311171561041957600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561046857600080fd5b82018360208201111561047a57600080fd5b803590602001918460208302840111600160201b8311171561049b57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156104ea57600080fd5b8201836020820111156104fc57600080fd5b803590602001918460208302840111600160201b8311171561051d57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561056c57600080fd5b82018360208201111561057e57600080fd5b803590602001918460208302840111600160201b8311171561059f57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156105ee57600080fd5b82018360208201111561060057600080fd5b803590602001918460208302840111600160201b8311171561062157600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955050823593505050602001356001600160a01b0316610d28565b6101ff6110b4565b610141611121565b610209611127565b6101ff611130565b610141600480360360208110156106a357600080fd5b50356001600160a01b03166111a6565b6101ff600480360360608110156106c957600080fd5b506001600160a01b0381351690602081013590604001356111b8565b6101ff60048036036101208110156106fc57600080fd5b810190602081018135600160201b81111561071657600080fd5b82018360208201111561072857600080fd5b803590602001918460208302840111600160201b8311171561074957600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561079857600080fd5b8201836020820111156107aa57600080fd5b803590602001918460208302840111600160201b831117156107cb57600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092958435959094909350604081019250602001359050600160201b81111561082257600080fd5b82018360208201111561083457600080fd5b803590602001918460208302840111600160201b8311171561085557600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156108a457600080fd5b8201836020820111156108b657600080fd5b803590602001918460208302840111600160201b831117156108d757600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092958435959094909350604081019250602001359050600160201b81111561092e57600080fd5b82018360208201111561094057600080fd5b803590602001918460208302840111600160201b8311171561096157600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156109b057600080fd5b8201836020820111156109c257600080fd5b803590602001918460208302840111600160201b831117156109e357600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b811115610a3257600080fd5b820183602082011115610a4457600080fd5b803590602001918460208302840111600160201b83111715610a6557600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506112c9945050505050565b61014161156a565b610141611570565b6001600160a01b031660009081526001602052604090205490565b6006546201000090046001600160a01b03163314610b27576040805162461bcd60e51b81526020600482015260116024820152701c195c9b5a5cdcda5bdb8819195b9a5959607a1b604482015290519081900360640190fd5b6006805461ff001960ff199091166001171661010017905560005b8251811015610bfa576000838281518110610b5957fe5b60200260200101519050610bf183826001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610bb457600080fd5b505afa158015610bc8573d6000803e3d6000fd5b505050506040513d6020811015610bde57600080fd5b50516001600160a01b0384169190611576565b50600101610b42565b505050565b600654610100900460ff1681565b6006546201000090046001600160a01b03163314610c66576040805162461bcd60e51b81526020600482015260116024820152701c195c9b5a5cdcda5bdb8819195b9a5959607a1b604482015290519081900360640190fd5b600680546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b6006546201000090046001600160a01b031681565b610cba6001600160a01b0384163330846115c8565b600354610cc8906001611628565b60038190556040805183815260208101929092528051849233926001600160a01b038816927fdfe6da02caa4d216f74297b7a3ac766bfdef0fe61309a848f8feda49c0806d2a9281900390910190a4505050565b60045481565b60035481565b60065460ff1615610d72576040805162461bcd60e51b815260206004820152600f60248201526e18dbdb9d1c9858dd081a185b1d1959608a1b604482015290519081900360640190fd5b6001600160a01b0381166000908152600160205260409020548211610dc85760405162461bcd60e51b8152600401808060200182810382526036815260200180611c8e6036913960400191505060405180910390fd5b88518a51148015610dda575086518a51145b8015610de7575085518a51145b8015610df4575084518a51145b610e45576040805162461bcd60e51b815260206004820152601f60248201527f4d616c666f726d65642063757272656e742076616c696461746f722073657400604482015290519081900360640190fd5b600054610e568b8b8b600454611689565b14610e925760405162461bcd60e51b815260040180806020018281038252603f815260200180611c4f603f913960400191505060405180910390fd5b8251845114610ee8576040805162461bcd60e51b815260206004820152601f60248201527f4d616c666f726d6564206261746368206f66207472616e73616374696f6e7300604482015290519081900360640190fd5b610fe18a8a8989896004546f0e8e4c2dce6c2c6e8d2dedc84c2e8c6d60831b8b8b8b8b604051602001808781526020018681526020018060200180602001858152602001846001600160a01b03168152602001838103835287818151815260200191508051906020019060200280838360005b83811015610f73578181015183820152602001610f5b565b50505050905001838103825286818151815260200191508051906020019060200280838360005b83811015610fb2578181015183820152602001610f9a565b505050509050019850505050505050505060405160208183030381529060405280519060200120600554611773565b6001600160a01b03811660009081526001602052604081208390555b84518110156110525761104a84828151811061101557fe5b602002602001015186838151811061102957fe5b6020026020010151846001600160a01b03166115769092919063ffffffff16565b600101610ffd565b50600354611061906001611628565b6003819055604080519182525133916001600160a01b0384169185917f39e7a6d1d0bed258d48d61a3f17fe1250f6360d4bb71d8d8401f1e9020a84937919081900360200190a450505050505050505050565b6006546201000090046001600160a01b0316331461110d576040805162461bcd60e51b81526020600482015260116024820152701c195c9b5a5cdcda5bdb8819195b9a5959607a1b604482015290519081900360640190fd5b6006805460ff19811660ff90911615179055565b60025481565b60065460ff1681565b6006546201000090046001600160a01b03163314611189576040805162461bcd60e51b81526020600482015260116024820152701c195c9b5a5cdcda5bdb8819195b9a5959607a1b604482015290519081900360640190fd5b6006805461ff001981166101009182900460ff1615909102179055565b60016020526000908152604090205481565b60065460ff1615611202576040805162461bcd60e51b815260206004820152600f60248201526e18dbdb9d1c9858dd081a185b1d1959608a1b604482015290519081900360640190fd5b600654610100900460ff1615611252576040805162461bcd60e51b815260206004820152601060248201526f19195c1bdcda5d1cc81cdd1bdc1c195960821b604482015290519081900360640190fd5b6112676001600160a01b0384163330846115c8565b600354611275906001611628565b60038190556040805183815260208101929092528051849233926001600160a01b038816927f8a90c92ae4d3ad99d0e0af0871264ba019979b4532daba15508810d224e8bbf69281900390910190a4505050565b60065460ff1615611313576040805162461bcd60e51b815260206004820152600f60248201526e18dbdb9d1c9858dd081a185b1d1959608a1b604482015290519081900360640190fd5b8387116113515760405162461bcd60e51b8152600401808060200182810382526037815260200180611d496037913960400191505060405180910390fd5b87518951146113a7576040805162461bcd60e51b815260206004820152601b60248201527f4d616c666f726d6564206e65772076616c696461746f72207365740000000000604482015290519081900360640190fd5b845186511480156113b9575082518651145b80156113c6575081518651145b80156113d3575080518651145b611424576040805162461bcd60e51b815260206004820152601f60248201527f4d616c666f726d65642063757272656e742076616c696461746f722073657400604482015290519081900360640190fd5b600054611435878787600454611689565b146114715760405162461bcd60e51b815260040180806020018281038252603f815260200180611c4f603f913960400191505060405180910390fd5b60006114818a8a8a600454611689565b9050611494878786868686600554611773565b8060008190555087600281905550877fc6d025c076bafcdd040f00632d5e280b3a5188963f110f8c70c4f810184b30f38b8b604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561150a5781810151838201526020016114f2565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015611549578181015183820152602001611531565b5050505090500194505050505060405180910390a250505050505050505050565b60055481565b60005481565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610bfa9084906118a8565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526116229085906118a8565b50505050565b600082820183811015611682576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6000806918da1958dadc1bda5b9d60b21b60001b905060008382868989604051602001808681526020018581526020018481526020018060200180602001838103835285818151815260200191508051906020019060200280838360005b838110156116ff5781810151838201526020016116e7565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561173e578181015183820152602001611726565b505050509050019750505050505050506040516020818303038152906040528051906020012090508092505050949350505050565b6000805b885181101561185f5786818151811061178c57fe5b602002602001015160ff16600014611857576117f78982815181106117ad57fe5b6020026020010151858984815181106117c257fe5b60200260200101518985815181106117d657fe5b60200260200101518986815181106117ea57fe5b6020026020010151611959565b6118325760405162461bcd60e51b8152600401808060200182810382526023815260200180611cc46023913960400191505060405180910390fd5b87818151811061183e57fe5b602002602001015182019150828211156118575761185f565b600101611777565b5081811161189e5760405162461bcd60e51b815260040180806020018281038252603c815260200180611d0d603c913960400191505060405180910390fd5b5050505050505050565b60606118fd826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611a319092919063ffffffff16565b805190915015610bfa5780806020019051602081101561191c57600080fd5b5051610bfa5760405162461bcd60e51b815260040180806020018281038252602a815260200180611d80602a913960400191505060405180910390fd5b6000808560405160200180807f19457468657265756d205369676e6564204d6573736167653a0a333200000000815250601c0182815260200191505060405160208183030381529060405280519060200120905060018186868660405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015611a07573d6000803e3d6000fd5b505050602060405103516001600160a01b0316876001600160a01b03161491505095945050505050565b6060611a408484600085611a48565b949350505050565b606082471015611a895760405162461bcd60e51b8152600401808060200182810382526026815260200180611ce76026913960400191505060405180910390fd5b611a9285611ba4565b611ae3576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611b225780518252601f199092019160209182019101611b03565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611b84576040519150601f19603f3d011682016040523d82523d6000602084013e611b89565b606091505b5091509150611b99828286611baa565b979650505050505050565b3b151590565b60608315611bb9575081611682565b825115611bc95782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611c13578181015183820152602001611bfb565b50505050905090810190601f168015611c405780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe537570706c6965642063757272656e742076616c696461746f727320616e6420706f7765727320646f206e6f74206d6174636820636865636b706f696e742e4e6577206261746368206e6f6e6365206d7573742062652067726561746572207468616e207468652063757272656e74206e6f6e636556616c696461746f72207369676e617475726520646f6573206e6f74206d617463682e416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5375626d69747465642076616c696461746f7220736574207369676e61747572657320646f206e6f74206861766520656e6f75676820706f7765722e4e65772076616c736574206e6f6e6365206d7573742062652067726561746572207468616e207468652063757272656e74206e6f6e63655361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212200614f7554c6795b7e2139662a075cf61276ccccfed8888b94bd358adc51aa37464736f6c634300060c0033

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

6d696e7465722d6875622d31000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000aaaaaaaa00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000070ad4814d105bfacc2426deb15b89626e9af53dd00000000000000000000000000000000000000000000000000000000000000010000000000000000000000006d5fd7b9385da6734e596d1e75e55dec945f53f2000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000ffffffff

-----Decoded View---------------
Arg [0] : _peggyId (bytes32): 0x6d696e7465722d6875622d310000000000000000000000000000000000000000
Arg [1] : _powerThreshold (uint256): 2863311530
Arg [2] : _validators (address[]): 0x6d5fD7b9385da6734E596D1E75E55dec945f53f2
Arg [3] : _powers (uint256[]): 4294967295
Arg [4] : _guardian (address): 0x70aD4814d105BfacC2426DeB15b89626e9AF53dd

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 6d696e7465722d6875622d310000000000000000000000000000000000000000
Arg [1] : 00000000000000000000000000000000000000000000000000000000aaaaaaaa
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [4] : 00000000000000000000000070ad4814d105bfacc2426deb15b89626e9af53dd
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [6] : 0000000000000000000000006d5fd7b9385da6734e596d1e75e55dec945f53f2
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [8] : 00000000000000000000000000000000000000000000000000000000ffffffff


Deployed Bytecode Sourcemap

100:12115:2:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1184:128;;;;;;;;;;;;;;;;-1:-1:-1;1184:128:2;-1:-1:-1;;;;;1184:128:2;;:::i;:::-;;;;;;;;;;;;;;;;10651:363;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;10651:363:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;10651:363:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10651:363:2;;-1:-1:-1;;;10651:363:2;;-1:-1:-1;;;;;10651:363:2;;-1:-1:-1;10651:363:2;;-1:-1:-1;10651:363:2:i;:::-;;534:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;10513:135;;;;;;;;;;;;;;;;-1:-1:-1;10513:135:2;-1:-1:-1;;;;;10513:135:2;;:::i;572:23::-;;;:::i;:::-;;;;-1:-1:-1;;;;;572:23:2;;;;;;;;;;;;;;9906:356;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;9906:356:2;;;;;;;;;;;;;:::i;435:28::-;;;:::i;351:39::-;;;:::i;6848:2613::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;6848:2613:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;6848:2613:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6848:2613:2;;;;;;;;-1:-1:-1;6848:2613:2;;-1:-1:-1;;;;;6848:2613:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;6848:2613:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6848:2613:2;;;;;;;;;-1:-1:-1;6848:2613:2;;;;-1:-1:-1;6848:2613:2;;;;-1:-1:-1;;;;6848:2613:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;6848:2613:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6848:2613:2;;;;;;;;-1:-1:-1;6848:2613:2;;-1:-1:-1;;;;;6848:2613:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;6848:2613:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6848:2613:2;;;;;;;;-1:-1:-1;6848:2613:2;;-1:-1:-1;;;;;6848:2613:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;6848:2613:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6848:2613:2;;;;;;;;-1:-1:-1;6848:2613:2;;-1:-1:-1;;;;;6848:2613:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;6848:2613:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6848:2613:2;;;;;;;;-1:-1:-1;6848:2613:2;;-1:-1:-1;;;;;6848:2613:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;6848:2613:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6848:2613:2;;-1:-1:-1;;6848:2613:2;;;-1:-1:-1;;;6848:2613:2;;;-1:-1:-1;;;;;6848:2613:2;;:::i;10265:110::-;;;:::i;308:40::-;;;:::i;505:26::-;;;:::i;10378:132::-;;;:::i;249:56::-;;;;;;;;;;;;;;;;-1:-1:-1;249:56:2;-1:-1:-1;;;;;249:56:2;;:::i;9464:439::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;9464:439:2;;;;;;;;;;;;;:::i;4373:2142::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4373:2142:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4373:2142:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4373:2142:2;;;;;;;;-1:-1:-1;4373:2142:2;;-1:-1:-1;;;;;4373:2142:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4373:2142:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4373:2142:2;;;;;;;;;-1:-1:-1;4373:2142:2;;;;-1:-1:-1;4373:2142:2;;;;-1:-1:-1;;;;4373:2142:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4373:2142:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4373:2142:2;;;;;;;;-1:-1:-1;4373:2142:2;;-1:-1:-1;;;;;4373:2142:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4373:2142:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4373:2142:2;;;;;;;;;-1:-1:-1;4373:2142:2;;;;-1:-1:-1;4373:2142:2;;;;-1:-1:-1;;;;4373:2142:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4373:2142:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4373:2142:2;;;;;;;;-1:-1:-1;4373:2142:2;;-1:-1:-1;;;;;4373:2142:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4373:2142:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4373:2142:2;;;;;;;;-1:-1:-1;4373:2142:2;;-1:-1:-1;;;;;4373:2142:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4373:2142:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4373:2142:2;;-1:-1:-1;4373:2142:2;;-1:-1:-1;;;;;4373:2142:2:i;466:35::-;;;:::i;205:41::-;;;:::i;1184:128::-;-1:-1:-1;;;;;1272:36:2;1252:7;1272:36;;;:21;:36;;;;;;;1184:128::o;10651:363::-;10759:8;;;;;-1:-1:-1;;;;;10759:8:2;10745:10;:22;10737:52;;;;;-1:-1:-1;;;10737:52:2;;;;;;;;;;;;-1:-1:-1;;;10737:52:2;;;;;;;;;;;;;;;10794:6;:13;;-1:-1:-1;;;;10794:13:2;;;10803:4;10794:13;10811:22;10794:13;10811:22;;;10794:6;10838:173;10862:15;:22;10858:1;:26;10838:173;;;10896:12;10918:15;10934:1;10918:18;;;;;;;;;;;;;;10896:41;;10942:64;10961:12;10975:5;-1:-1:-1;;;;;10975:15:2;;10999:4;10975:30;;;;;;;;;;;;;-1:-1:-1;;;;;10975:30:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10975:30:2;-1:-1:-1;;;;;10942:18:2;;;:64;:18;:64::i;:::-;-1:-1:-1;10886:3:2;;10838:173;;;;10651:363;;:::o;534:35::-;;;;;;;;;:::o;10513:135::-;10589:8;;;;;-1:-1:-1;;;;;10589:8:2;10575:10;:22;10567:52;;;;;-1:-1:-1;;;10567:52:2;;;;;;;;;;;;-1:-1:-1;;;10567:52:2;;;;;;;;;;;;;;;10624:8;:20;;-1:-1:-1;;;;;10624:20:2;;;;;-1:-1:-1;;;;;;10624:20:2;;;;;;;;;10513:135::o;572:23::-;;;;;;-1:-1:-1;;;;;572:23:2;;:::o;9906:356::-;10011:75;-1:-1:-1;;;;;10011:39:2;;10051:10;10071:4;10078:7;10011:39;:75::i;:::-;10113:20;;:27;;10138:1;10113:24;:27::i;:::-;10090:20;:50;;;10149:109;;;;;;;;;;;;;;;10205:12;;10190:10;;-1:-1:-1;;;;;10149:109:2;;;;;;;;;;;;;9906:356;;;:::o;435:28::-;;;;:::o;351:39::-;;;;:::o;6848:2613::-;7360:6;;;;7359:7;7351:35;;;;;-1:-1:-1;;;7351:35:2;;;;;;;;;;;;-1:-1:-1;;;7351:35:2;;;;;;;;;;;;;;;-1:-1:-1;;;;;7483:37:2;;;;;;:21;:37;;;;;;:51;-1:-1:-1;7470:131:2;;;;-1:-1:-1;;;7470:131:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7736:14;:21;7707:18;:25;:50;:97;;;;;7795:2;:9;7766:18;:25;:38;7707:97;:144;;;;;7842:2;:9;7813:18;:25;:38;7707:144;:191;;;;;7889:2;:9;7860:18;:25;:38;7707:191;7694:248;;;;;-1:-1:-1;;;7694:248:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;8158:26;;8042:112;8063:18;8088:14;8109:19;8135:13;;8042:14;:112::i;:::-;:142;8029:231;;;;-1:-1:-1;;;8029:231:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8352:13;:20;8333:8;:15;:39;8320:96;;;;;-1:-1:-1;;;8320:96:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;8517:445;8547:18;8571:14;8591:2;8599;8607;8705:13;;-1:-1:-1;;;8848:8:2;8864:13;8885:11;8904:14;8687:238;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8687:238:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8671:260;;;;;;8937:20;;8517:24;:445::i;:::-;-1:-1:-1;;;;;9007:37:2;;;;;;:21;:37;;;;;:51;;;9118:126;9142:8;:15;9138:1;:19;9118:126;;;9171:66;9207:13;9221:1;9207:16;;;;;;;;;;;;;;9225:8;9234:1;9225:11;;;;;;;;;;;;;;9178:14;-1:-1:-1;;;;;9171:35:2;;;:66;;;;;:::i;:::-;9159:3;;9118:126;;;-1:-1:-1;9324:20:2;;:27;;9349:1;9324:24;:27::i;:::-;9301:20;:50;;;9361:92;;;;;;;9420:10;;-1:-1:-1;;;;;9361:92:2;;;9391:11;;9361:92;;;;;;;;;;6848:2613;;;;;;;;;;:::o;10265:110::-;10320:8;;;;;-1:-1:-1;;;;;10320:8:2;10306:10;:22;10298:52;;;;;-1:-1:-1;;;10298:52:2;;;;;;;;;;;;-1:-1:-1;;;10298:52:2;;;;;;;;;;;;;;;10365:6;;;-1:-1:-1;;10355:16:2;;10365:6;;;;10364:7;10355:16;;;10265:110::o;308:40::-;;;;:::o;505:26::-;;;;;;:::o;10378:132::-;10437:8;;;;;-1:-1:-1;;;;;10437:8:2;10423:10;:22;10415:52;;;;;-1:-1:-1;;;10415:52:2;;;;;;;;;;;;-1:-1:-1;;;10415:52:2;;;;;;;;;;;;;;;10491:15;;;-1:-1:-1;;10472:34:2;;10491:15;;;;;;;10490:16;10472:34;;;;;;10378:132::o;249:56::-;;;;;;;;;;;;;:::o;9464:439::-;9575:6;;;;9574:7;9566:35;;;;;-1:-1:-1;;;9566:35:2;;;;;;;;;;;;-1:-1:-1;;;9566:35:2;;;;;;;;;;;;;;;9614:15;;;;;;;9613:16;9605:45;;;;;-1:-1:-1;;;9605:45:2;;;;;;;;;;;;-1:-1:-1;;;9605:45:2;;;;;;;;;;;;;;;9655:75;-1:-1:-1;;;;;9655:39:2;;9695:10;9715:4;9722:7;9655:39;:75::i;:::-;9757:20;;:27;;9782:1;9757:24;:27::i;:::-;9734:20;:50;;;9793:106;;;;;;;;;;;;;;;9846:12;;9831:10;;-1:-1:-1;;;;;9793:106:2;;;;;;;;;;;;;9464:439;;;:::o;4373:2142::-;4863:6;;;;4862:7;4854:35;;;;;-1:-1:-1;;;4854:35:2;;;;;;;;;;;;-1:-1:-1;;;4854:35:2;;;;;;;;;;;;;;;4985:19;4967:15;:37;4955:115;;;;-1:-1:-1;;;4955:115:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5169:10;:17;5144:14;:21;:42;5136:82;;;;;-1:-1:-1;;;5136:82:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;5350:14;:21;5321:18;:25;:50;:96;;;;;5408:2;:9;5379:18;:25;:38;5321:96;:142;;;;;5454:2;:9;5425:18;:25;:38;5321:142;:188;;;;;5500:2;:9;5471:18;:25;:38;5321:188;5309:242;;;;;-1:-1:-1;;;5309:242:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;5759:26;;5648:107;5668:18;5692:14;5712:19;5737:13;;5648:14;:107::i;:::-;:137;5636:223;;;;-1:-1:-1;;;5636:223:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5947:21;5971:90;5990:14;6009:10;6024:15;6044:13;;5971:14;:90::i;:::-;5947:114;;6066:134;6095:18;6118:14;6137:2;6144;6151;6158:13;6176:20;;6066:24;:134::i;:::-;6349:13;6320:26;:42;;;;6412:15;6388:21;:39;;;;6467:15;6448:63;6484:14;6500:10;6448:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4373:2142;;;;;;;;;;:::o;466:35::-;;;;:::o;205:41::-;;;;:::o;685:175:3:-;794:58;;;-1:-1:-1;;;;;794:58:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;794:58:3;-1:-1:-1;;;794:58:3;;;767:86;;787:5;;767:19;:86::i;866:203::-;993:68;;;-1:-1:-1;;;;;993:68:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;993:68:3;-1:-1:-1;;;993:68:3;;;966:96;;986:5;;966:19;:96::i;:::-;866:203;;;;:::o;2690:175:4:-;2748:7;2779:5;;;2802:6;;;;2794:46;;;;;-1:-1:-1;;;2794:46:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;2857:1;2690:175;-1:-1:-1;;;2690:175:4:o;2288:440:2:-;2441:7;2503:18;-1:-1:-1;;;2503:87:2;;;;2595:18;2641:8;2651:10;2663:12;2677:11;2690:7;2630:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2616:86;;;;;;2595:107;;2714:10;2707:17;;;;2288:440;;;;;;:::o;2731:1249::-;3112:23;3149:9;3144:660;3168:18;:25;3164:1;:29;3144:660;;;3387:2;3390:1;3387:5;;;;;;;;;;;;;;:10;;3396:1;3387:10;3383:417;;3486:63;3496:18;3515:1;3496:21;;;;;;;;;;;;;;3519:8;3529:2;3532:1;3529:5;;;;;;;;;;;;;;3536:2;3539:1;3536:5;;;;;;;;;;;;;;3543:2;3546:1;3543:5;;;;;;;;;;;;;;3486:9;:63::i;:::-;3472:127;;;;-1:-1:-1;;;3472:127:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3673:14;3688:1;3673:17;;;;;;;;;;;;;;3655:15;:35;3637:53;;3759:15;3741;:33;3737:58;;;3783:5;;3737:58;3195:3;;3144:660;;;;3877:15;3859;:33;3847:116;;;;-1:-1:-1;;;3847:116:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2731:1249;;;;;;;;:::o;2948:751:3:-;3367:23;3393:69;3421:4;3393:69;;;;;;;;;;;;;;;;;3401:5;-1:-1:-1;;;;;3393:27:3;;;:69;;;;;:::i;:::-;3476:17;;3367:95;;-1:-1:-1;3476:21:3;3472:221;;3616:10;3605:30;;;;;;;;;;;;;;;-1:-1:-1;3605:30:3;3597:85;;;;-1:-1:-1;;;3597:85:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1368:299:2;1491:4;1501:21;1592:8;1539:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1525:80;;;;;;1501:104;;1627:36;1637:13;1652:2;1656;1660;1627:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1616:47:2;:7;-1:-1:-1;;;;;1616:47:2;;1609:54;;;1368:299;;;;;;;:::o;3581:193:0:-;3684:12;3715:52;3737:6;3745:4;3751:1;3754:12;3715:21;:52::i;:::-;3708:59;3581:193;-1:-1:-1;;;;3581:193:0:o;4608:523::-;4735:12;4792:5;4767:21;:30;;4759:81;;;;-1:-1:-1;;;4759:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4858:18;4869:6;4858:10;:18::i;:::-;4850:60;;;;;-1:-1:-1;;;4850:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4981:12;4995:23;5022:6;-1:-1:-1;;;;;5022:11:0;5042:5;5050:4;5022:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5022:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4980:75;;;;5072:52;5090:7;5099:10;5111:12;5072:17;:52::i;:::-;5065:59;4608:523;-1:-1:-1;;;;;;;4608:523:0:o;726:413::-;1086:20;1124:8;;;726:413::o;7091:725::-;7206:12;7234:7;7230:580;;;-1:-1:-1;7264:10:0;7257:17;;7230:580;7375:17;;:21;7371:429;;7633:10;7627:17;7693:15;7680:10;7676:2;7672:19;7665:44;7582:145;7772:12;7765:20;;-1:-1:-1;;;7765:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://0614f7554c6795b7e2139662a075cf61276ccccfed8888b94bd358adc51aa374

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.