Source Code
Overview
ETH Balance
0 ETH
More Info
ContractCreator
Multichain Info
N/A
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x60806040 | 2387878 | 685 days ago | IN | 0 ETH | 0.00475382 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
Bridge
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.9; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; contract Bridge is OwnableUpgradeable { IERC20 public bridgeToken; /// @notice This mapping stores the nextNonce of an sidechain account mapping (address => uint256) nextNonce; /// @notice This variable store the total validators in the sidechain uint8 public totalValidators; /// @notice This mapping tells us if an sidechain account is a validator or not mapping(address => bool) public validators; /// @notice Tracks which validator has signed the transaction mapping (address => mapping(uint => mapping(address => bool))) validatorSigned; event Deposited ( address user, uint256 amount, address account ); event TransactionProcessed ( address account, uint nonce, TransactionType txnType, uint amount ); enum TransactionType { ADD_VALIDATOR, REMOVE_VALIDATOR, WITHDRAW } function initialize(IERC20 _bridgeToken, address validator) public initializer { bridgeToken = _bridgeToken; totalValidators = 1; validators[validator] = true; __Ownable_init(); } function deposit( uint256 amount, address account ) external { bridgeToken.transferFrom(msg.sender, address(this), amount); emit Deposited(msg.sender, amount, account); } function getMessageHash( address account, uint nonce, TransactionType txnType, uint amount ) public view returns (bytes32) { return keccak256(abi.encodePacked(account, nonce, txnType, amount, getChainID())); } function getEthSignedMessageHash(bytes32 _messageHash) public pure returns (bytes32) { return keccak256( abi.encodePacked("\x19Ethereum Signed Message:\n32", _messageHash) ); } function splitSignature(bytes memory sig) public pure returns ( bytes32 r, bytes32 s, uint8 v ) { require(sig.length == 65, "invalid signature length"); assembly { r := mload(add(sig, 32)) s := mload(add(sig, 64)) v := byte(0, mload(add(sig, 96))) } } function recoverSigner(bytes32 _ethSignedMessageHash, bytes memory _signature) public pure returns (address) { (bytes32 r, bytes32 s, uint8 v) = splitSignature(_signature); return ecrecover(_ethSignedMessageHash, v, r, s); } function processTransaction( address account, uint nonce, TransactionType txnType, uint amount, bytes[] memory signatures ) external { require(signatures.length >= (totalValidators / 2) + 1, "more than half of validators need to sign"); require(nonce == nextNonce[account], "invalid nonce"); uint totalSigned; for(uint i = 0; i < signatures.length; i++) { bytes32 messageHash = getMessageHash(account, nonce, txnType, amount); bytes32 ethSignedMessageHash = getEthSignedMessageHash(messageHash); address signer = recoverSigner(ethSignedMessageHash, signatures[i]); if (validatorSigned[account][nonce][signer] == false && validators[signer] == true) { totalSigned++; validatorSigned[account][nonce][signer] = true; } } require(totalSigned >= (totalValidators / 2) + 1, "insufficient validators signed"); nextNonce[account]++; if (txnType == TransactionType.ADD_VALIDATOR) { totalValidators++; validators[account] = true; } else if (txnType == TransactionType.REMOVE_VALIDATOR) { totalValidators--; validators[account] = false; } else if (txnType == TransactionType.WITHDRAW) { bridgeToken.transfer(account, amount); } emit TransactionProcessed(account, nonce, txnType, amount); } function getChainID() internal view returns (uint256) { uint256 id; assembly { id := chainid() } return id; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/ContextUpgradeable.sol"; import "../proxy/utils/Initializable.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 OwnableUpgradeable is Initializable, ContextUpgradeable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ function __Ownable_init() internal onlyInitializing { __Ownable_init_unchained(); } function __Ownable_init_unchained() internal onlyInitializing { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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 { _transferOwnership(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"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[49] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (proxy/utils/Initializable.sol) pragma solidity ^0.8.2; import "../../utils/AddressUpgradeable.sol"; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in * case an upgrade adds a module that needs to be initialized. * * For example: * * [.hljs-theme-light.nopadding] * ``` * contract MyToken is ERC20Upgradeable { * function initialize() initializer public { * __ERC20_init("MyToken", "MTK"); * } * } * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable { * function initializeV2() reinitializer(2) public { * __ERC20Permit_init("MyToken"); * } * } * ``` * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. * * [CAUTION] * ==== * Avoid leaving a contract uninitialized. * * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed: * * [.hljs-theme-light.nopadding] * ``` * /// @custom:oz-upgrades-unsafe-allow constructor * constructor() { * _disableInitializers(); * } * ``` * ==== */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. * @custom:oz-retyped-from bool */ uint8 private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Triggered when the contract has been initialized or reinitialized. */ event Initialized(uint8 version); /** * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope, * `onlyInitializing` functions can be used to initialize parent contracts. * * Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a * constructor. * * Emits an {Initialized} event. */ modifier initializer() { bool isTopLevelCall = !_initializing; require( (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1), "Initializable: contract is already initialized" ); _initialized = 1; if (isTopLevelCall) { _initializing = true; } _; if (isTopLevelCall) { _initializing = false; emit Initialized(1); } } /** * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be * used to initialize parent contracts. * * A reinitializer may be used after the original initialization step. This is essential to configure modules that * are added through upgrades and that require initialization. * * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer` * cannot be nested. If one is invoked in the context of another, execution will revert. * * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in * a contract, executing them in the right order is up to the developer or operator. * * WARNING: setting the version to 255 will prevent any future reinitialization. * * Emits an {Initialized} event. */ modifier reinitializer(uint8 version) { require(!_initializing && _initialized < version, "Initializable: contract is already initialized"); _initialized = version; _initializing = true; _; _initializing = false; emit Initialized(version); } /** * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the * {initializer} and {reinitializer} modifiers, directly or indirectly. */ modifier onlyInitializing() { require(_initializing, "Initializable: contract is not initializing"); _; } /** * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call. * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized * to any version. It is recommended to use this to lock implementation contracts that are designed to be called * through proxies. * * Emits an {Initialized} event the first time it is successfully executed. */ function _disableInitializers() internal virtual { require(!_initializing, "Initializable: contract is initializing"); if (_initialized < type(uint8).max) { _initialized = type(uint8).max; emit Initialized(type(uint8).max); } } /** * @dev Internal function that returns the initialized version. Returns `_initialized` */ function _getInitializedVersion() internal view returns (uint8) { return _initialized; } /** * @dev Internal function that returns the initialized version. Returns `_initializing` */ function _isInitializing() internal view returns (bool) { return _initializing; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; import "../proxy/utils/Initializable.sol"; /** * @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 ContextUpgradeable is Initializable { function __Context_init() internal onlyInitializing { } function __Context_init_unchained() internal onlyInitializing { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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); /** * @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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount ) external returns (bool); }
{ "evmVersion": "london", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": false, "runs": 200 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Deposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","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":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"nonce","type":"uint256"},{"indexed":false,"internalType":"enum Bridge.TransactionType","name":"txnType","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TransactionProcessed","type":"event"},{"inputs":[],"name":"bridgeToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"account","type":"address"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_messageHash","type":"bytes32"}],"name":"getEthSignedMessageHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"enum Bridge.TransactionType","name":"txnType","type":"uint8"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getMessageHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_bridgeToken","type":"address"},{"internalType":"address","name":"validator","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"enum Bridge.TransactionType","name":"txnType","type":"uint8"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes[]","name":"signatures","type":"bytes[]"}],"name":"processTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_ethSignedMessageHash","type":"bytes32"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"recoverSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"sig","type":"bytes"}],"name":"splitSignature","outputs":[{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalValidators","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"validators","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50612190806100206000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063a7bb58031161008c578063f2fde38b11610066578063f2fde38b14610200578063f4734b0c1461021c578063fa52c7d81461023a578063fa5408011461026a576100cf565b8063a7bb580314610194578063abf8cfd6146101c6578063c81b356b146101e2576100cf565b8063225cab95146100d4578063485cc955146101045780636e553f6514610120578063715018a61461013c5780638da5cb5b1461014657806397aba7f914610164575b600080fd5b6100ee60048036038101906100e99190611143565b61029a565b6040516100fb91906111c3565b60405180910390f35b61011e6004803603810190610119919061121c565b6102dc565b005b61013a6004803603810190610135919061125c565b6104d1565b005b6101446105b3565b005b61014e6105c7565b60405161015b91906112ab565b60405180910390f35b61017e60048036038101906101799190611438565b6105f1565b60405161018b91906112ab565b60405180910390f35b6101ae60048036038101906101a99190611494565b610660565b6040516101bd939291906114f9565b60405180910390f35b6101e060048036038101906101db9190611616565b6106c8565b005b6101ea610d34565b6040516101f791906116ad565b60405180910390f35b61021a600480360381019061021591906116c8565b610d47565b005b610224610dca565b6040516102319190611754565b60405180910390f35b610254600480360381019061024f91906116c8565b610df0565b604051610261919061178a565b60405180910390f35b610284600480360381019061027f91906117a5565b610e10565b60405161029191906111c3565b60405180910390f35b6000848484846102a8610e40565b6040516020016102bc9594939291906118d9565b604051602081830303815290604052805190602001209050949350505050565b60008060019054906101000a900460ff1615905080801561030d5750600160008054906101000a900460ff1660ff16105b8061033a575061031c30610e4d565b1580156103395750600160008054906101000a900460ff1660ff16145b5b610379576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610370906119bb565b60405180910390fd5b60016000806101000a81548160ff021916908360ff16021790555080156103b6576001600060016101000a81548160ff0219169083151502179055505b82606560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001606760006101000a81548160ff021916908360ff1602179055506001606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610473610e70565b80156104cc5760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249860016040516104c39190611a16565b60405180910390a15b505050565b606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b815260040161053093929190611a40565b6020604051808303816000875af115801561054f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105739190611aa3565b507fb4e1304f97b5093610f51b33ddab6622388422e2dac138b0d32f93dcfbd39edf3383836040516105a793929190611ad0565b60405180910390a15050565b6105bb610ec9565b6105c56000610f47565b565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060008061060085610660565b925092509250600186828585604051600081526020016040526040516106299493929190611b07565b6020604051602081039080840390855afa15801561064b573d6000803e3d6000fd5b50505060206040510351935050505092915050565b600080600060418451146106a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106a090611b98565b60405180910390fd5b6020840151925060408401519150606084015160001a90509193909250565b60016002606760009054906101000a900460ff166106e69190611c16565b6106f09190611c47565b60ff1681511015610736576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072d90611cee565b60405180910390fd5b606660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484146107b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ae90611d5a565b60405180910390fd5b600080600090505b82518110156109db5760006107d68888888861029a565b905060006107e382610e10565b9050600061080b828786815181106107fe576107fd611d7a565b5b60200260200101516105f1565b905060001515606960008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008b815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514801561090b575060011515606860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b156109c557848061091b90611da9565b9550506001606960008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008b815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b50505080806109d390611da9565b9150506107bf565b5060016002606760009054906101000a900460ff166109fa9190611c16565b610a049190611c47565b60ff16811015610a49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4090611e3d565b60405180910390fd5b606660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610a9990611da9565b919050555060006002811115610ab257610ab161183b565b5b846002811115610ac557610ac461183b565b5b03610b5f576067600081819054906101000a900460ff1680929190610ae990611e5d565b91906101000a81548160ff021916908360ff160217905550506001606860008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610cef565b60016002811115610b7357610b7261183b565b5b846002811115610b8657610b8561183b565b5b03610c20576067600081819054906101000a900460ff1680929190610baa90611e86565b91906101000a81548160ff021916908360ff160217905550506000606860008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610cee565b600280811115610c3357610c3261183b565b5b846002811115610c4657610c4561183b565b5b03610ced57606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb87856040518363ffffffff1660e01b8152600401610ca8929190611eaf565b6020604051808303816000875af1158015610cc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ceb9190611aa3565b505b5b5b7f4552d150390a3f9719b57b97499667cf7fe2639cd298473b2a5ac471c565e03486868686604051610d249493929190611ee7565b60405180910390a1505050505050565b606760009054906101000a900460ff1681565b610d4f610ec9565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610dbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db590611f9e565b60405180910390fd5b610dc781610f47565b50565b606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60686020528060005260406000206000915054906101000a900460ff1681565b600081604051602001610e239190612036565b604051602081830303815290604052805190602001209050919050565b6000804690508091505090565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600060019054906101000a900460ff16610ebf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb6906120ce565b60405180910390fd5b610ec761100d565b565b610ed161106e565b73ffffffffffffffffffffffffffffffffffffffff16610eef6105c7565b73ffffffffffffffffffffffffffffffffffffffff1614610f45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3c9061213a565b60405180910390fd5b565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600060019054906101000a900460ff1661105c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611053906120ce565b60405180910390fd5b61106c61106761106e565b610f47565b565b600033905090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006110b58261108a565b9050919050565b6110c5816110aa565b81146110d057600080fd5b50565b6000813590506110e2816110bc565b92915050565b6000819050919050565b6110fb816110e8565b811461110657600080fd5b50565b600081359050611118816110f2565b92915050565b6003811061112b57600080fd5b50565b60008135905061113d8161111e565b92915050565b6000806000806080858703121561115d5761115c611080565b5b600061116b878288016110d3565b945050602061117c87828801611109565b935050604061118d8782880161112e565b925050606061119e87828801611109565b91505092959194509250565b6000819050919050565b6111bd816111aa565b82525050565b60006020820190506111d860008301846111b4565b92915050565b60006111e9826110aa565b9050919050565b6111f9816111de565b811461120457600080fd5b50565b600081359050611216816111f0565b92915050565b6000806040838503121561123357611232611080565b5b600061124185828601611207565b9250506020611252858286016110d3565b9150509250929050565b6000806040838503121561127357611272611080565b5b600061128185828601611109565b9250506020611292858286016110d3565b9150509250929050565b6112a5816110aa565b82525050565b60006020820190506112c0600083018461129c565b92915050565b6112cf816111aa565b81146112da57600080fd5b50565b6000813590506112ec816112c6565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611345826112fc565b810181811067ffffffffffffffff821117156113645761136361130d565b5b80604052505050565b6000611377611076565b9050611383828261133c565b919050565b600067ffffffffffffffff8211156113a3576113a261130d565b5b6113ac826112fc565b9050602081019050919050565b82818337600083830152505050565b60006113db6113d684611388565b61136d565b9050828152602081018484840111156113f7576113f66112f7565b5b6114028482856113b9565b509392505050565b600082601f83011261141f5761141e6112f2565b5b813561142f8482602086016113c8565b91505092915050565b6000806040838503121561144f5761144e611080565b5b600061145d858286016112dd565b925050602083013567ffffffffffffffff81111561147e5761147d611085565b5b61148a8582860161140a565b9150509250929050565b6000602082840312156114aa576114a9611080565b5b600082013567ffffffffffffffff8111156114c8576114c7611085565b5b6114d48482850161140a565b91505092915050565b600060ff82169050919050565b6114f3816114dd565b82525050565b600060608201905061150e60008301866111b4565b61151b60208301856111b4565b61152860408301846114ea565b949350505050565b600067ffffffffffffffff82111561154b5761154a61130d565b5b602082029050602081019050919050565b600080fd5b600061157461156f84611530565b61136d565b905080838252602082019050602084028301858111156115975761159661155c565b5b835b818110156115de57803567ffffffffffffffff8111156115bc576115bb6112f2565b5b8086016115c9898261140a565b85526020850194505050602081019050611599565b5050509392505050565b600082601f8301126115fd576115fc6112f2565b5b813561160d848260208601611561565b91505092915050565b600080600080600060a0868803121561163257611631611080565b5b6000611640888289016110d3565b955050602061165188828901611109565b94505060406116628882890161112e565b935050606061167388828901611109565b925050608086013567ffffffffffffffff81111561169457611693611085565b5b6116a0888289016115e8565b9150509295509295909350565b60006020820190506116c260008301846114ea565b92915050565b6000602082840312156116de576116dd611080565b5b60006116ec848285016110d3565b91505092915050565b6000819050919050565b600061171a6117156117108461108a565b6116f5565b61108a565b9050919050565b600061172c826116ff565b9050919050565b600061173e82611721565b9050919050565b61174e81611733565b82525050565b60006020820190506117696000830184611745565b92915050565b60008115159050919050565b6117848161176f565b82525050565b600060208201905061179f600083018461177b565b92915050565b6000602082840312156117bb576117ba611080565b5b60006117c9848285016112dd565b91505092915050565b60008160601b9050919050565b60006117ea826117d2565b9050919050565b60006117fc826117df565b9050919050565b61181461180f826110aa565b6117f1565b82525050565b6000819050919050565b611835611830826110e8565b61181a565b82525050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6003811061187b5761187a61183b565b5b50565b600081905061188c8261186a565b919050565b600061189c8261187e565b9050919050565b60008160f81b9050919050565b60006118bb826118a3565b9050919050565b6118d36118ce82611891565b6118b0565b82525050565b60006118e58288611803565b6014820191506118f58287611824565b60208201915061190582866118c2565b6001820191506119158285611824565b6020820191506119258284611824565b6020820191508190509695505050505050565b600082825260208201905092915050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b60006119a5602e83611938565b91506119b082611949565b604082019050919050565b600060208201905081810360008301526119d481611998565b9050919050565b6000819050919050565b6000611a006119fb6119f6846119db565b6116f5565b6114dd565b9050919050565b611a10816119e5565b82525050565b6000602082019050611a2b6000830184611a07565b92915050565b611a3a816110e8565b82525050565b6000606082019050611a55600083018661129c565b611a62602083018561129c565b611a6f6040830184611a31565b949350505050565b611a808161176f565b8114611a8b57600080fd5b50565b600081519050611a9d81611a77565b92915050565b600060208284031215611ab957611ab8611080565b5b6000611ac784828501611a8e565b91505092915050565b6000606082019050611ae5600083018661129c565b611af26020830185611a31565b611aff604083018461129c565b949350505050565b6000608082019050611b1c60008301876111b4565b611b2960208301866114ea565b611b3660408301856111b4565b611b4360608301846111b4565b95945050505050565b7f696e76616c6964207369676e6174757265206c656e6774680000000000000000600082015250565b6000611b82601883611938565b9150611b8d82611b4c565b602082019050919050565b60006020820190508181036000830152611bb181611b75565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611c21826114dd565b9150611c2c836114dd565b925082611c3c57611c3b611bb8565b5b828204905092915050565b6000611c52826114dd565b9150611c5d836114dd565b9250828201905060ff811115611c7657611c75611be7565b5b92915050565b7f6d6f7265207468616e2068616c66206f662076616c696461746f7273206e656560008201527f6420746f207369676e0000000000000000000000000000000000000000000000602082015250565b6000611cd8602983611938565b9150611ce382611c7c565b604082019050919050565b60006020820190508181036000830152611d0781611ccb565b9050919050565b7f696e76616c6964206e6f6e636500000000000000000000000000000000000000600082015250565b6000611d44600d83611938565b9150611d4f82611d0e565b602082019050919050565b60006020820190508181036000830152611d7381611d37565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000611db4826110e8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611de657611de5611be7565b5b600182019050919050565b7f696e73756666696369656e742076616c696461746f7273207369676e65640000600082015250565b6000611e27601e83611938565b9150611e3282611df1565b602082019050919050565b60006020820190508181036000830152611e5681611e1a565b9050919050565b6000611e68826114dd565b915060ff8203611e7b57611e7a611be7565b5b600182019050919050565b6000611e91826114dd565b915060008203611ea457611ea3611be7565b5b600182039050919050565b6000604082019050611ec4600083018561129c565b611ed16020830184611a31565b9392505050565b611ee181611891565b82525050565b6000608082019050611efc600083018761129c565b611f096020830186611a31565b611f166040830185611ed8565b611f236060830184611a31565b95945050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611f88602683611938565b9150611f9382611f2c565b604082019050919050565b60006020820190508181036000830152611fb781611f7b565b9050919050565b600081905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000611fff601c83611fbe565b915061200a82611fc9565b601c82019050919050565b6000819050919050565b61203061202b826111aa565b612015565b82525050565b600061204182611ff2565b915061204d828461201f565b60208201915081905092915050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b60006120b8602b83611938565b91506120c38261205c565b604082019050919050565b600060208201905081810360008301526120e7816120ab565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612124602083611938565b915061212f826120ee565b602082019050919050565b6000602082019050818103600083015261215381612117565b905091905056fea264697066735822122010f5d36bd649062d331da06cdf87f0ac680db9ea0951f86c0bbd01fdfa1acee664736f6c63430008110033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063a7bb58031161008c578063f2fde38b11610066578063f2fde38b14610200578063f4734b0c1461021c578063fa52c7d81461023a578063fa5408011461026a576100cf565b8063a7bb580314610194578063abf8cfd6146101c6578063c81b356b146101e2576100cf565b8063225cab95146100d4578063485cc955146101045780636e553f6514610120578063715018a61461013c5780638da5cb5b1461014657806397aba7f914610164575b600080fd5b6100ee60048036038101906100e99190611143565b61029a565b6040516100fb91906111c3565b60405180910390f35b61011e6004803603810190610119919061121c565b6102dc565b005b61013a6004803603810190610135919061125c565b6104d1565b005b6101446105b3565b005b61014e6105c7565b60405161015b91906112ab565b60405180910390f35b61017e60048036038101906101799190611438565b6105f1565b60405161018b91906112ab565b60405180910390f35b6101ae60048036038101906101a99190611494565b610660565b6040516101bd939291906114f9565b60405180910390f35b6101e060048036038101906101db9190611616565b6106c8565b005b6101ea610d34565b6040516101f791906116ad565b60405180910390f35b61021a600480360381019061021591906116c8565b610d47565b005b610224610dca565b6040516102319190611754565b60405180910390f35b610254600480360381019061024f91906116c8565b610df0565b604051610261919061178a565b60405180910390f35b610284600480360381019061027f91906117a5565b610e10565b60405161029191906111c3565b60405180910390f35b6000848484846102a8610e40565b6040516020016102bc9594939291906118d9565b604051602081830303815290604052805190602001209050949350505050565b60008060019054906101000a900460ff1615905080801561030d5750600160008054906101000a900460ff1660ff16105b8061033a575061031c30610e4d565b1580156103395750600160008054906101000a900460ff1660ff16145b5b610379576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610370906119bb565b60405180910390fd5b60016000806101000a81548160ff021916908360ff16021790555080156103b6576001600060016101000a81548160ff0219169083151502179055505b82606560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001606760006101000a81548160ff021916908360ff1602179055506001606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610473610e70565b80156104cc5760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249860016040516104c39190611a16565b60405180910390a15b505050565b606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b815260040161053093929190611a40565b6020604051808303816000875af115801561054f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105739190611aa3565b507fb4e1304f97b5093610f51b33ddab6622388422e2dac138b0d32f93dcfbd39edf3383836040516105a793929190611ad0565b60405180910390a15050565b6105bb610ec9565b6105c56000610f47565b565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060008061060085610660565b925092509250600186828585604051600081526020016040526040516106299493929190611b07565b6020604051602081039080840390855afa15801561064b573d6000803e3d6000fd5b50505060206040510351935050505092915050565b600080600060418451146106a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106a090611b98565b60405180910390fd5b6020840151925060408401519150606084015160001a90509193909250565b60016002606760009054906101000a900460ff166106e69190611c16565b6106f09190611c47565b60ff1681511015610736576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072d90611cee565b60405180910390fd5b606660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484146107b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ae90611d5a565b60405180910390fd5b600080600090505b82518110156109db5760006107d68888888861029a565b905060006107e382610e10565b9050600061080b828786815181106107fe576107fd611d7a565b5b60200260200101516105f1565b905060001515606960008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008b815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514801561090b575060011515606860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b156109c557848061091b90611da9565b9550506001606960008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008b815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b50505080806109d390611da9565b9150506107bf565b5060016002606760009054906101000a900460ff166109fa9190611c16565b610a049190611c47565b60ff16811015610a49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4090611e3d565b60405180910390fd5b606660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610a9990611da9565b919050555060006002811115610ab257610ab161183b565b5b846002811115610ac557610ac461183b565b5b03610b5f576067600081819054906101000a900460ff1680929190610ae990611e5d565b91906101000a81548160ff021916908360ff160217905550506001606860008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610cef565b60016002811115610b7357610b7261183b565b5b846002811115610b8657610b8561183b565b5b03610c20576067600081819054906101000a900460ff1680929190610baa90611e86565b91906101000a81548160ff021916908360ff160217905550506000606860008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610cee565b600280811115610c3357610c3261183b565b5b846002811115610c4657610c4561183b565b5b03610ced57606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb87856040518363ffffffff1660e01b8152600401610ca8929190611eaf565b6020604051808303816000875af1158015610cc7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ceb9190611aa3565b505b5b5b7f4552d150390a3f9719b57b97499667cf7fe2639cd298473b2a5ac471c565e03486868686604051610d249493929190611ee7565b60405180910390a1505050505050565b606760009054906101000a900460ff1681565b610d4f610ec9565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610dbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db590611f9e565b60405180910390fd5b610dc781610f47565b50565b606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60686020528060005260406000206000915054906101000a900460ff1681565b600081604051602001610e239190612036565b604051602081830303815290604052805190602001209050919050565b6000804690508091505090565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600060019054906101000a900460ff16610ebf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb6906120ce565b60405180910390fd5b610ec761100d565b565b610ed161106e565b73ffffffffffffffffffffffffffffffffffffffff16610eef6105c7565b73ffffffffffffffffffffffffffffffffffffffff1614610f45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3c9061213a565b60405180910390fd5b565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600060019054906101000a900460ff1661105c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611053906120ce565b60405180910390fd5b61106c61106761106e565b610f47565b565b600033905090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006110b58261108a565b9050919050565b6110c5816110aa565b81146110d057600080fd5b50565b6000813590506110e2816110bc565b92915050565b6000819050919050565b6110fb816110e8565b811461110657600080fd5b50565b600081359050611118816110f2565b92915050565b6003811061112b57600080fd5b50565b60008135905061113d8161111e565b92915050565b6000806000806080858703121561115d5761115c611080565b5b600061116b878288016110d3565b945050602061117c87828801611109565b935050604061118d8782880161112e565b925050606061119e87828801611109565b91505092959194509250565b6000819050919050565b6111bd816111aa565b82525050565b60006020820190506111d860008301846111b4565b92915050565b60006111e9826110aa565b9050919050565b6111f9816111de565b811461120457600080fd5b50565b600081359050611216816111f0565b92915050565b6000806040838503121561123357611232611080565b5b600061124185828601611207565b9250506020611252858286016110d3565b9150509250929050565b6000806040838503121561127357611272611080565b5b600061128185828601611109565b9250506020611292858286016110d3565b9150509250929050565b6112a5816110aa565b82525050565b60006020820190506112c0600083018461129c565b92915050565b6112cf816111aa565b81146112da57600080fd5b50565b6000813590506112ec816112c6565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611345826112fc565b810181811067ffffffffffffffff821117156113645761136361130d565b5b80604052505050565b6000611377611076565b9050611383828261133c565b919050565b600067ffffffffffffffff8211156113a3576113a261130d565b5b6113ac826112fc565b9050602081019050919050565b82818337600083830152505050565b60006113db6113d684611388565b61136d565b9050828152602081018484840111156113f7576113f66112f7565b5b6114028482856113b9565b509392505050565b600082601f83011261141f5761141e6112f2565b5b813561142f8482602086016113c8565b91505092915050565b6000806040838503121561144f5761144e611080565b5b600061145d858286016112dd565b925050602083013567ffffffffffffffff81111561147e5761147d611085565b5b61148a8582860161140a565b9150509250929050565b6000602082840312156114aa576114a9611080565b5b600082013567ffffffffffffffff8111156114c8576114c7611085565b5b6114d48482850161140a565b91505092915050565b600060ff82169050919050565b6114f3816114dd565b82525050565b600060608201905061150e60008301866111b4565b61151b60208301856111b4565b61152860408301846114ea565b949350505050565b600067ffffffffffffffff82111561154b5761154a61130d565b5b602082029050602081019050919050565b600080fd5b600061157461156f84611530565b61136d565b905080838252602082019050602084028301858111156115975761159661155c565b5b835b818110156115de57803567ffffffffffffffff8111156115bc576115bb6112f2565b5b8086016115c9898261140a565b85526020850194505050602081019050611599565b5050509392505050565b600082601f8301126115fd576115fc6112f2565b5b813561160d848260208601611561565b91505092915050565b600080600080600060a0868803121561163257611631611080565b5b6000611640888289016110d3565b955050602061165188828901611109565b94505060406116628882890161112e565b935050606061167388828901611109565b925050608086013567ffffffffffffffff81111561169457611693611085565b5b6116a0888289016115e8565b9150509295509295909350565b60006020820190506116c260008301846114ea565b92915050565b6000602082840312156116de576116dd611080565b5b60006116ec848285016110d3565b91505092915050565b6000819050919050565b600061171a6117156117108461108a565b6116f5565b61108a565b9050919050565b600061172c826116ff565b9050919050565b600061173e82611721565b9050919050565b61174e81611733565b82525050565b60006020820190506117696000830184611745565b92915050565b60008115159050919050565b6117848161176f565b82525050565b600060208201905061179f600083018461177b565b92915050565b6000602082840312156117bb576117ba611080565b5b60006117c9848285016112dd565b91505092915050565b60008160601b9050919050565b60006117ea826117d2565b9050919050565b60006117fc826117df565b9050919050565b61181461180f826110aa565b6117f1565b82525050565b6000819050919050565b611835611830826110e8565b61181a565b82525050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6003811061187b5761187a61183b565b5b50565b600081905061188c8261186a565b919050565b600061189c8261187e565b9050919050565b60008160f81b9050919050565b60006118bb826118a3565b9050919050565b6118d36118ce82611891565b6118b0565b82525050565b60006118e58288611803565b6014820191506118f58287611824565b60208201915061190582866118c2565b6001820191506119158285611824565b6020820191506119258284611824565b6020820191508190509695505050505050565b600082825260208201905092915050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b60006119a5602e83611938565b91506119b082611949565b604082019050919050565b600060208201905081810360008301526119d481611998565b9050919050565b6000819050919050565b6000611a006119fb6119f6846119db565b6116f5565b6114dd565b9050919050565b611a10816119e5565b82525050565b6000602082019050611a2b6000830184611a07565b92915050565b611a3a816110e8565b82525050565b6000606082019050611a55600083018661129c565b611a62602083018561129c565b611a6f6040830184611a31565b949350505050565b611a808161176f565b8114611a8b57600080fd5b50565b600081519050611a9d81611a77565b92915050565b600060208284031215611ab957611ab8611080565b5b6000611ac784828501611a8e565b91505092915050565b6000606082019050611ae5600083018661129c565b611af26020830185611a31565b611aff604083018461129c565b949350505050565b6000608082019050611b1c60008301876111b4565b611b2960208301866114ea565b611b3660408301856111b4565b611b4360608301846111b4565b95945050505050565b7f696e76616c6964207369676e6174757265206c656e6774680000000000000000600082015250565b6000611b82601883611938565b9150611b8d82611b4c565b602082019050919050565b60006020820190508181036000830152611bb181611b75565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611c21826114dd565b9150611c2c836114dd565b925082611c3c57611c3b611bb8565b5b828204905092915050565b6000611c52826114dd565b9150611c5d836114dd565b9250828201905060ff811115611c7657611c75611be7565b5b92915050565b7f6d6f7265207468616e2068616c66206f662076616c696461746f7273206e656560008201527f6420746f207369676e0000000000000000000000000000000000000000000000602082015250565b6000611cd8602983611938565b9150611ce382611c7c565b604082019050919050565b60006020820190508181036000830152611d0781611ccb565b9050919050565b7f696e76616c6964206e6f6e636500000000000000000000000000000000000000600082015250565b6000611d44600d83611938565b9150611d4f82611d0e565b602082019050919050565b60006020820190508181036000830152611d7381611d37565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000611db4826110e8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611de657611de5611be7565b5b600182019050919050565b7f696e73756666696369656e742076616c696461746f7273207369676e65640000600082015250565b6000611e27601e83611938565b9150611e3282611df1565b602082019050919050565b60006020820190508181036000830152611e5681611e1a565b9050919050565b6000611e68826114dd565b915060ff8203611e7b57611e7a611be7565b5b600182019050919050565b6000611e91826114dd565b915060008203611ea457611ea3611be7565b5b600182039050919050565b6000604082019050611ec4600083018561129c565b611ed16020830184611a31565b9392505050565b611ee181611891565b82525050565b6000608082019050611efc600083018761129c565b611f096020830186611a31565b611f166040830185611ed8565b611f236060830184611a31565b95945050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611f88602683611938565b9150611f9382611f2c565b604082019050919050565b60006020820190508181036000830152611fb781611f7b565b9050919050565b600081905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000611fff601c83611fbe565b915061200a82611fc9565b601c82019050919050565b6000819050919050565b61203061202b826111aa565b612015565b82525050565b600061204182611ff2565b915061204d828461201f565b60208201915081905092915050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b60006120b8602b83611938565b91506120c38261205c565b604082019050919050565b600060208201905081810360008301526120e7816120ab565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612124602083611938565b915061212f826120ee565b602082019050919050565b6000602082019050818103600083015261215381612117565b905091905056fea264697066735822122010f5d36bd649062d331da06cdf87f0ac680db9ea0951f86c0bbd01fdfa1acee664736f6c63430008110033
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.