Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
0x60806040 | 16033082 | 583 days ago | IN | Create: UpdatableSplitter | 0 ETH | 0.02984718 |
Loading...
Loading
Contract Name:
UpdatableSplitter
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; /* ████████████ ██ ██ ██ ██▓▓ ██ ████▓▓▓▓▓▓ ██ ██████▓▓▒▒▓▓▓▓▓▓▓▓ ████████▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒ ██ ████████▓▓▒▒▒▒▒▒▒▒▒▒ ██ ██▓▓▒▒▒▒▒▒▒▒ ██ ██▓▓▓▓▓▓▓▓ ██ ██ ██ ██ '||''|. || '|| ██ ██ || || ... .. .... ... .. ... || ... ... ... ... ... ██ ██ ||'''|. ||' '' '' .|| || || || ||' || .| '|. || || | ██ ██ || || || .|' || || || || || | || || ||| ||| ██████████ .||...|' .||. '|..'|' .||. .||. ||. '|...' '|..|' | | */ import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; /** * @title UpdatableSplitter * @dev This contract is similar to a common PaymentSplitter except it trades the ability * to pay each payee individually for the option to update its payees and their splits. */ contract UpdatableSplitter is Context, AccessControl { event PayeeAdded(address account, uint256 shares); event EtherFlushed(uint256 amount); event TokenFlushed(IERC20 indexed token, uint256 amount); event PaymentReceived(address from, uint256 amount); bytes32 public constant FLUSHWORTHY = keccak256("FLUSHWORTHY"); uint256 private _totalShares; address[] private _payees; mapping(address => uint256) private _shares; address[] private _commonTokens; /** * @dev Takes a list of payees and a corresponding list of shares. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no duplicates in `payees`. * * Additionally takes a list of ERC20 token addresses that can be flushed with `flushCommon`. */ constructor( address[] memory payees, uint256[] memory shares_, address[] memory tokenAddresses ) payable { _grantRole(DEFAULT_ADMIN_ROLE, _msgSender()); _grantRole(FLUSHWORTHY, _msgSender()); for (uint256 i = 0; i < payees.length; i++) { _grantRole(FLUSHWORTHY, payees[i]); } updateSplit(payees, shares_); _commonTokens = tokenAddresses; } receive() external payable virtual { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the address of an individual payee. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Getter for the assigned number of shares for a given payee. */ function shares(address payee_) public view returns (uint256) { return _shares[payee_]; } /** * @dev Function to add ERC20 token addresses to the list of common tokens. */ function addToken(address tokenAddress) public onlyRole(DEFAULT_ADMIN_ROLE) { require(tokenAddress != address(0), "UpdatableSplitter: address is the zero address"); _commonTokens.push(tokenAddress); } /** * @dev Updates the list of payees and their corresponding shares. Requires both lists to be same length. * * Flushes all holdings before updating. */ function updateSplit(address[] memory payees, uint256[] memory shares_) public onlyRole(DEFAULT_ADMIN_ROLE) { require(payees.length == shares_.length, "UpdatableSplitter: payees and shares length mismatch"); require(payees.length > 0, "UpdatableSplitter: no payees"); flushCommon(); _clear(); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev Flushes all Ether held by contract, split according to the shares. */ function flush() public onlyRole(FLUSHWORTHY) { (uint256 unit, uint256 balance) = _unitAndBalance(); if (unit == 0 || balance == 0) return; for (uint256 i = 0; i < _payees.length; i++) { address payee_ = payee(i); uint256 split = shares(payee_) * unit; Address.sendValue(payable(payee_), split); } emit EtherFlushed(balance); } /** * @dev Flushes total balance of given ERC20 token, split according to the shares. */ function flushToken(IERC20 token) public onlyRole(FLUSHWORTHY) { (uint256 unit, uint256 balance) = _unitAndBalance(token); if (unit == 0 || balance == 0) return; for (uint256 i = 0; i < _payees.length; i++) { address payee_ = payee(i); uint256 split = shares(payee_) * unit; SafeERC20.safeTransfer(token, payee_, split); } emit TokenFlushed(token, balance); } /** * @dev Flushes all Ether + all registered common tokens, split according to the shares. */ function flushCommon() public onlyRole(FLUSHWORTHY) { flush(); for (uint256 i = 0; i < _commonTokens.length; i++) { flushToken(IERC20(_commonTokens[i])); } } function _clear() private { for (uint256 i = 0; i < _payees.length; i++) { _shares[payee(i)] = 0; } delete _payees; _totalShares = 0; } function _addPayee(address account, uint256 shares_) private { require(account != address(0), "UpdatableSplitter: account is the zero address"); require(shares_ > 0, "UpdatableSplitter: shares are 0"); require(shares(account) == 0, "UpdatableSplitter: account already has shares"); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } function _unitAndBalance() private view returns (uint256, uint256 balance) { balance = uint256(address(this).balance); if (_totalShares == 0 || balance == 0) return (0, 0); return (balance / _totalShares, balance); } function _unitAndBalance(IERC20 token) private view returns (uint256, uint256 balance) { balance = token.balanceOf(address(this)); if (_totalShares == 0 || balance == 0) return (0, 0); return (balance / _totalShares, balance); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol) pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * May emit a {RoleGranted} event. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/draft-IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [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 functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason 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 { // 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; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address[]","name":"payees","type":"address[]"},{"internalType":"uint256[]","name":"shares_","type":"uint256[]"},{"internalType":"address[]","name":"tokenAddresses","type":"address[]"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EtherFlushed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokenFlushed","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FLUSHWORTHY","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"addToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flush","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flushCommon","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"flushToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"payee_","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"payees","type":"address[]"},{"internalType":"uint256[]","name":"shares_","type":"uint256[]"}],"name":"updateSplit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405260405162004bb938038062004bb983398181016040528101906200002991906200166f565b6200004d6000801b620000416200013560201b60201c565b6200013d60201b60201c565b6200008e7ffeb783bf2f4d93ef3f713b635b3c9d586db0bf6672aa38ec550b29cbcafa519b620000826200013560201b60201c565b6200013d60201b60201c565b60005b83518110156200010057620000ea7ffeb783bf2f4d93ef3f713b635b3c9d586db0bf6672aa38ec550b29cbcafa519b858381518110620000d657620000d562001728565b5b60200260200101516200013d60201b60201c565b8080620000f79062001786565b91505062000091565b506200011383836200022e60201b60201c565b80600490805190602001906200012b9291906200129f565b505050506200225a565b600033905090565b6200014f82826200036660201b60201c565b6200022a57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620001cf6200013560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000801b6200024381620003d060201b60201c565b81518351146200028a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000281906200185a565b60405180910390fd5b6000835111620002d1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002c890620018cc565b60405180910390fd5b620002e1620003f460201b60201c565b620002f1620004b360201b60201c565b60005b835181101562000360576200034a84828151811062000318576200031762001728565b5b602002602001015184838151811062000336576200033562001728565b5b60200260200101516200054a60201b60201c565b8080620003579062001786565b915050620002f4565b50505050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b620003f181620003e56200013560201b60201c565b6200075460201b60201c565b50565b7ffeb783bf2f4d93ef3f713b635b3c9d586db0bf6672aa38ec550b29cbcafa519b6200042681620003d060201b60201c565b620004366200081860201b60201c565b60005b600480549050811015620004af57620004996004828154811062000462576200046162001728565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166200093660201b60201c565b8080620004a69062001786565b91505062000439565b5050565b60005b6002805490508110156200052f57600060036000620004db8462000a6e60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080620005269062001786565b915050620004b6565b50600260006200054091906200132e565b6000600181905550565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620005bc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005b39062001964565b60405180910390fd5b6000811162000602576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005f990620019d6565b60405180910390fd5b6000620006158362000ab960201b60201c565b1462000658576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200064f9062001a6e565b60405180910390fd5b6002829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550806001546200070f919062001a90565b6001819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac82826040516200074892919062001aed565b60405180910390a15050565b6200076682826200036660201b60201c565b6200081457620007998173ffffffffffffffffffffffffffffffffffffffff16601462000b0260201b62000b201760201c565b620007b48360001c602062000b0260201b62000b201760201c565b604051602001620007c792919062001c33565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200080b919062001cb6565b60405180910390fd5b5050565b7ffeb783bf2f4d93ef3f713b635b3c9d586db0bf6672aa38ec550b29cbcafa519b6200084a81620003d060201b60201c565b6000806200085d62000d5d60201b60201c565b915091506000821480620008715750600081145b156200087f57505062000933565b60005b600280549050811015620008f6576000620008a38262000a6e60201b60201c565b9050600084620008b98362000ab960201b60201c565b620008c5919062001cda565b9050620008de828262000d9f60201b62000d5c1760201c565b50508080620008ed9062001786565b91505062000882565b507fce566829d5045934d049cf8f411008d87c23a7df552c21b6d3e9d68b07d6278d8160405162000928919062001d25565b60405180910390a150505b50565b7ffeb783bf2f4d93ef3f713b635b3c9d586db0bf6672aa38ec550b29cbcafa519b6200096881620003d060201b60201c565b6000806200097c8462000e9d60201b60201c565b915091506000821480620009905750600081145b156200099e57505062000a6a565b60005b60028054905081101562000a16576000620009c28262000a6e60201b60201c565b9050600084620009d88362000ab960201b60201c565b620009e4919062001cda565b9050620009fe87838362000f5e60201b62000e501760201c565b5050808062000a0d9062001786565b915050620009a1565b508373ffffffffffffffffffffffffffffffffffffffff167f75d34d39d28e6c8fd84f5539c817dea378701028c77ceade58bb8789b3e81bde8260405162000a5f919062001d25565b60405180910390a250505b5050565b60006002828154811062000a875762000a8662001728565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60606000600283600262000b17919062001cda565b62000b23919062001a90565b67ffffffffffffffff81111562000b3f5762000b3e6200139a565b5b6040519080825280601f01601f19166020018201604052801562000b725781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811062000bad5762000bac62001728565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811062000c145762000c1362001728565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600262000c56919062001cda565b62000c62919062001a90565b90505b600181111562000d0c577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811062000ca85762000ca762001728565b5b1a60f81b82828151811062000cc25762000cc162001728565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508062000d049062001d42565b905062000c65565b506000841462000d53576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000d4a9062001dc0565b60405180910390fd5b8091505092915050565b6000804790506000600154148062000d755750600081145b1562000d88576000809150915062000d9b565b6001548162000d98919062001e11565b91505b9091565b8047101562000de5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000ddc9062001e99565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405162000e0d9062001ef0565b60006040518083038185875af1925050503d806000811462000e4c576040519150601f19603f3d011682016040523d82523d6000602084013e62000e51565b606091505b505090508062000e98576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000e8f9062001f7d565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040162000edb919062001f9f565b602060405180830381865afa15801562000ef9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f1f919062001fbc565b90506000600154148062000f335750600081145b1562000f46576000809150915062000f59565b6001548162000f56919062001e11565b91505b915091565b62000fe98363a9059cbb60e01b848460405160240162000f8092919062001aed565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505062000fee60201b60201c565b505050565b600062001057826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16620010c260201b62000ed6179092919060201c565b9050600081511115620010bd57808060200190518101906200107a91906200202b565b620010bc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620010b390620020d3565b60405180910390fd5b5b505050565b6060620010d98484600085620010e260201b60201c565b90509392505050565b6060824710156200112a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001121906200216b565b60405180910390fd5b6200113b856200121060201b60201c565b6200117d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200117490620021dd565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051620011a8919062002241565b60006040518083038185875af1925050503d8060008114620011e7576040519150601f19603f3d011682016040523d82523d6000602084013e620011ec565b606091505b5091509150620012048282866200123360201b60201c565b92505050949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60608315620012455782905062001298565b600083511115620012595782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200128f919062001cb6565b60405180910390fd5b9392505050565b8280548282559060005260206000209081019282156200131b579160200282015b828111156200131a5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190620012c0565b5b5090506200132a919062001351565b5090565b50805460008255906000526020600020908101906200134e919062001351565b50565b5b808211156200136c57600081600090555060010162001352565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620013d48262001389565b810181811067ffffffffffffffff82111715620013f657620013f56200139a565b5b80604052505050565b60006200140b62001370565b9050620014198282620013c9565b919050565b600067ffffffffffffffff8211156200143c576200143b6200139a565b5b602082029050602081019050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200147f8262001452565b9050919050565b620014918162001472565b81146200149d57600080fd5b50565b600081519050620014b18162001486565b92915050565b6000620014ce620014c8846200141e565b620013ff565b90508083825260208201905060208402830185811115620014f457620014f36200144d565b5b835b818110156200152157806200150c8882620014a0565b845260208401935050602081019050620014f6565b5050509392505050565b600082601f83011262001543576200154262001384565b5b815162001555848260208601620014b7565b91505092915050565b600067ffffffffffffffff8211156200157c576200157b6200139a565b5b602082029050602081019050919050565b6000819050919050565b620015a2816200158d565b8114620015ae57600080fd5b50565b600081519050620015c28162001597565b92915050565b6000620015df620015d9846200155e565b620013ff565b905080838252602082019050602084028301858111156200160557620016046200144d565b5b835b818110156200163257806200161d8882620015b1565b84526020840193505060208101905062001607565b5050509392505050565b600082601f83011262001654576200165362001384565b5b815162001666848260208601620015c8565b91505092915050565b6000806000606084860312156200168b576200168a6200137a565b5b600084015167ffffffffffffffff811115620016ac57620016ab6200137f565b5b620016ba868287016200152b565b935050602084015167ffffffffffffffff811115620016de57620016dd6200137f565b5b620016ec868287016200163c565b925050604084015167ffffffffffffffff81111562001710576200170f6200137f565b5b6200171e868287016200152b565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062001793826200158d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203620017c857620017c762001757565b5b600182019050919050565b600082825260208201905092915050565b7f557064617461626c6553706c69747465723a2070617965657320616e6420736860008201527f61726573206c656e677468206d69736d61746368000000000000000000000000602082015250565b600062001842603483620017d3565b91506200184f82620017e4565b604082019050919050565b60006020820190508181036000830152620018758162001833565b9050919050565b7f557064617461626c6553706c69747465723a206e6f2070617965657300000000600082015250565b6000620018b4601c83620017d3565b9150620018c1826200187c565b602082019050919050565b60006020820190508181036000830152620018e781620018a5565b9050919050565b7f557064617461626c6553706c69747465723a206163636f756e7420697320746860008201527f65207a65726f2061646472657373000000000000000000000000000000000000602082015250565b60006200194c602e83620017d3565b91506200195982620018ee565b604082019050919050565b600060208201905081810360008301526200197f816200193d565b9050919050565b7f557064617461626c6553706c69747465723a2073686172657320617265203000600082015250565b6000620019be601f83620017d3565b9150620019cb8262001986565b602082019050919050565b60006020820190508181036000830152620019f181620019af565b9050919050565b7f557064617461626c6553706c69747465723a206163636f756e7420616c72656160008201527f6479206861732073686172657300000000000000000000000000000000000000602082015250565b600062001a56602d83620017d3565b915062001a6382620019f8565b604082019050919050565b6000602082019050818103600083015262001a898162001a47565b9050919050565b600062001a9d826200158d565b915062001aaa836200158d565b925082820190508082111562001ac55762001ac462001757565b5b92915050565b62001ad68162001472565b82525050565b62001ae7816200158d565b82525050565b600060408201905062001b04600083018562001acb565b62001b13602083018462001adc565b9392505050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b600062001b5d60178362001b1a565b915062001b6a8262001b25565b601782019050919050565b600081519050919050565b60005b8381101562001ba057808201518184015260208101905062001b83565b60008484015250505050565b600062001bb98262001b75565b62001bc5818562001b1a565b935062001bd781856020860162001b80565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b600062001c1b60118362001b1a565b915062001c288262001be3565b601182019050919050565b600062001c408262001b4e565b915062001c4e828562001bac565b915062001c5b8262001c0c565b915062001c69828462001bac565b91508190509392505050565b600062001c828262001b75565b62001c8e8185620017d3565b935062001ca081856020860162001b80565b62001cab8162001389565b840191505092915050565b6000602082019050818103600083015262001cd2818462001c75565b905092915050565b600062001ce7826200158d565b915062001cf4836200158d565b925082820262001d04816200158d565b9150828204841483151762001d1e5762001d1d62001757565b5b5092915050565b600060208201905062001d3c600083018462001adc565b92915050565b600062001d4f826200158d565b91506000820362001d655762001d6462001757565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b600062001da8602083620017d3565b915062001db58262001d70565b602082019050919050565b6000602082019050818103600083015262001ddb8162001d99565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600062001e1e826200158d565b915062001e2b836200158d565b92508262001e3e5762001e3d62001de2565b5b828204905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b600062001e81601d83620017d3565b915062001e8e8262001e49565b602082019050919050565b6000602082019050818103600083015262001eb48162001e72565b9050919050565b600081905092915050565b50565b600062001ed860008362001ebb565b915062001ee58262001ec6565b600082019050919050565b600062001efd8262001ec9565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b600062001f65603a83620017d3565b915062001f728262001f07565b604082019050919050565b6000602082019050818103600083015262001f988162001f56565b9050919050565b600060208201905062001fb6600083018462001acb565b92915050565b60006020828403121562001fd55762001fd46200137a565b5b600062001fe584828501620015b1565b91505092915050565b60008115159050919050565b620020058162001fee565b81146200201157600080fd5b50565b600081519050620020258162001ffa565b92915050565b6000602082840312156200204457620020436200137a565b5b6000620020548482850162002014565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000620020bb602a83620017d3565b9150620020c8826200205d565b604082019050919050565b60006020820190508181036000830152620020ee81620020ac565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b600062002153602683620017d3565b91506200216082620020f5565b604082019050919050565b60006020820190508181036000830152620021868162002144565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000620021c5601d83620017d3565b9150620021d2826200218d565b602082019050919050565b60006020820190508181036000830152620021f881620021b6565b9050919050565b600081519050919050565b60006200221782620021ff565b62002223818562001ebb565b93506200223581856020860162001b80565b80840191505092915050565b60006200224f82846200220a565b915081905092915050565b61294f806200226a6000396000f3fe6080604052600436106100f75760003560e01c80637150a10a1161008a578063a217fddf11610059578063a217fddf1461035f578063ce7c2ac21461038a578063d48bfca7146103c7578063d547741f146103f05761013e565b80637150a10a146102935780638b83209b146102bc57806391d14854146102f95780639cee789f146103365761013e565b806336568abe116100c657806336568abe146101fd5780633a98ef391461022657806361bba472146102515780636b9f96ea1461027c5761013e565b806301ffc9a714610143578063248a9ca31461018057806328d7753e146101bd5780632f2ff15d146101d45761013e565b3661013e577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770610125610419565b34604051610134929190611839565b60405180910390a1005b600080fd5b34801561014f57600080fd5b5061016a600480360381019061016591906118ce565b610421565b6040516101779190611916565b60405180910390f35b34801561018c57600080fd5b506101a760048036038101906101a29190611967565b61049b565b6040516101b491906119a3565b60405180910390f35b3480156101c957600080fd5b506101d26104ba565b005b3480156101e057600080fd5b506101fb60048036038101906101f691906119ea565b61055a565b005b34801561020957600080fd5b50610224600480360381019061021f91906119ea565b61057b565b005b34801561023257600080fd5b5061023b6105fe565b6040516102489190611a2a565b60405180910390f35b34801561025d57600080fd5b50610266610608565b60405161027391906119a3565b60405180910390f35b34801561028857600080fd5b5061029161062c565b005b34801561029f57600080fd5b506102ba60048036038101906102b59190611c8d565b610712565b005b3480156102c857600080fd5b506102e360048036038101906102de9190611d05565b61081a565b6040516102f09190611d32565b60405180910390f35b34801561030557600080fd5b50610320600480360381019061031b91906119ea565b610862565b60405161032d9190611916565b60405180910390f35b34801561034257600080fd5b5061035d60048036038101906103589190611d8b565b6108cc565b005b34801561036b57600080fd5b506103746109cc565b60405161038191906119a3565b60405180910390f35b34801561039657600080fd5b506103b160048036038101906103ac9190611db8565b6109d3565b6040516103be9190611a2a565b60405180910390f35b3480156103d357600080fd5b506103ee60048036038101906103e99190611db8565b610a1c565b005b3480156103fc57600080fd5b50610417600480360381019061041291906119ea565b610aff565b005b600033905090565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610494575061049382610eee565b5b9050919050565b6000806000838152602001908152602001600020600101549050919050565b7ffeb783bf2f4d93ef3f713b635b3c9d586db0bf6672aa38ec550b29cbcafa519b6104e481610f58565b6104ec61062c565b60005b600480549050811015610556576105436004828154811061051357610512611de5565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166108cc565b808061054e90611e43565b9150506104ef565b5050565b6105638261049b565b61056c81610f58565b6105768383610f6c565b505050565b610583610419565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146105f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105e790611f0e565b60405180910390fd5b6105fa828261104c565b5050565b6000600154905090565b7ffeb783bf2f4d93ef3f713b635b3c9d586db0bf6672aa38ec550b29cbcafa519b81565b7ffeb783bf2f4d93ef3f713b635b3c9d586db0bf6672aa38ec550b29cbcafa519b61065681610f58565b60008061066161112d565b9150915060008214806106745750600081145b1561068057505061070f565b60005b6002805490508110156106d457600061069b8261081a565b90506000846106a9836109d3565b6106b39190611f2e565b90506106bf8282610d5c565b505080806106cc90611e43565b915050610683565b507fce566829d5045934d049cf8f411008d87c23a7df552c21b6d3e9d68b07d6278d816040516107049190611a2a565b60405180910390a150505b50565b6000801b61071f81610f58565b8151835114610763576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075a90611fe2565b60405180910390fd5b60008351116107a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079e9061204e565b60405180910390fd5b6107af6104ba565b6107b761116a565b60005b8351811015610814576108018482815181106107d9576107d8611de5565b5b60200260200101518483815181106107f4576107f3611de5565b5b60200260200101516111f3565b808061080c90611e43565b9150506107ba565b50505050565b6000600282815481106108305761082f611de5565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7ffeb783bf2f4d93ef3f713b635b3c9d586db0bf6672aa38ec550b29cbcafa519b6108f681610f58565b600080610902846113e8565b9150915060008214806109155750600081145b156109215750506109c8565b60005b60028054905081101561097657600061093c8261081a565b905060008461094a836109d3565b6109549190611f2e565b9050610961878383610e50565b5050808061096e90611e43565b915050610924565b508373ffffffffffffffffffffffffffffffffffffffff167f75d34d39d28e6c8fd84f5539c817dea378701028c77ceade58bb8789b3e81bde826040516109bd9190611a2a565b60405180910390a250505b5050565b6000801b81565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000801b610a2981610f58565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8f906120e0565b60405180910390fd5b6004829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b610b088261049b565b610b1181610f58565b610b1b838361104c565b505050565b606060006002836002610b339190611f2e565b610b3d9190612100565b67ffffffffffffffff811115610b5657610b55611a5b565b5b6040519080825280601f01601f191660200182016040528015610b885781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110610bc057610bbf611de5565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110610c2457610c23611de5565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002610c649190611f2e565b610c6e9190612100565b90505b6001811115610d0e577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110610cb057610caf611de5565b5b1a60f81b828281518110610cc757610cc6611de5565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080610d0790612134565b9050610c71565b5060008414610d52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d49906121a9565b60405180910390fd5b8091505092915050565b80471015610d9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9690612215565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051610dc590612266565b60006040518083038185875af1925050503d8060008114610e02576040519150601f19603f3d011682016040523d82523d6000602084013e610e07565b606091505b5050905080610e4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e42906122ed565b60405180910390fd5b505050565b610ed18363a9059cbb60e01b8484604051602401610e6f929190611839565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061149f565b505050565b6060610ee58484600085611566565b90509392505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b610f6981610f64610419565b61167a565b50565b610f768282610862565b61104857600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610fed610419565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6110568282610862565b1561112957600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506110ce610419565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600080479050600060015414806111445750600081145b156111555760008091509150611166565b60015481611163919061233c565b91505b9091565b60005b6002805490508110156111da576000600360006111898461081a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806111d290611e43565b91505061116d565b50600260006111e991906117a1565b6000600181905550565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611262576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611259906123df565b60405180910390fd5b600081116112a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129c9061244b565b60405180910390fd5b60006112b0836109d3565b146112f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e7906124dd565b60405180910390fd5b6002829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550806001546113a59190612100565b6001819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac82826040516113dc929190611839565b60405180910390a15050565b6000808273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016114249190611d32565b602060405180830381865afa158015611441573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114659190612512565b9050600060015414806114785750600081145b15611489576000809150915061149a565b60015481611497919061233c565b91505b915091565b6000611501826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610ed69092919063ffffffff16565b90506000815111156115615780806020019051810190611521919061256b565b611560576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115579061260a565b60405180910390fd5b5b505050565b6060824710156115ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a29061269c565b60405180910390fd5b6115b485611717565b6115f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ea90612708565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161161c919061278e565b60006040518083038185875af1925050503d8060008114611659576040519150601f19603f3d011682016040523d82523d6000602084013e61165e565b606091505b509150915061166e82828661173a565b92505050949350505050565b6116848282610862565b611713576116a98173ffffffffffffffffffffffffffffffffffffffff166014610b20565b6116b78360001c6020610b20565b6040516020016116c8929190612884565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170a91906128f7565b60405180910390fd5b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060831561174a5782905061179a565b60008351111561175d5782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179191906128f7565b60405180910390fd5b9392505050565b50805460008255906000526020600020908101906117bf91906117c2565b50565b5b808211156117db5760008160009055506001016117c3565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061180a826117df565b9050919050565b61181a816117ff565b82525050565b6000819050919050565b61183381611820565b82525050565b600060408201905061184e6000830185611811565b61185b602083018461182a565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6118ab81611876565b81146118b657600080fd5b50565b6000813590506118c8816118a2565b92915050565b6000602082840312156118e4576118e361186c565b5b60006118f2848285016118b9565b91505092915050565b60008115159050919050565b611910816118fb565b82525050565b600060208201905061192b6000830184611907565b92915050565b6000819050919050565b61194481611931565b811461194f57600080fd5b50565b6000813590506119618161193b565b92915050565b60006020828403121561197d5761197c61186c565b5b600061198b84828501611952565b91505092915050565b61199d81611931565b82525050565b60006020820190506119b86000830184611994565b92915050565b6119c7816117ff565b81146119d257600080fd5b50565b6000813590506119e4816119be565b92915050565b60008060408385031215611a0157611a0061186c565b5b6000611a0f85828601611952565b9250506020611a20858286016119d5565b9150509250929050565b6000602082019050611a3f600083018461182a565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611a9382611a4a565b810181811067ffffffffffffffff82111715611ab257611ab1611a5b565b5b80604052505050565b6000611ac5611862565b9050611ad18282611a8a565b919050565b600067ffffffffffffffff821115611af157611af0611a5b565b5b602082029050602081019050919050565b600080fd5b6000611b1a611b1584611ad6565b611abb565b90508083825260208201905060208402830185811115611b3d57611b3c611b02565b5b835b81811015611b665780611b5288826119d5565b845260208401935050602081019050611b3f565b5050509392505050565b600082601f830112611b8557611b84611a45565b5b8135611b95848260208601611b07565b91505092915050565b600067ffffffffffffffff821115611bb957611bb8611a5b565b5b602082029050602081019050919050565b611bd381611820565b8114611bde57600080fd5b50565b600081359050611bf081611bca565b92915050565b6000611c09611c0484611b9e565b611abb565b90508083825260208201905060208402830185811115611c2c57611c2b611b02565b5b835b81811015611c555780611c418882611be1565b845260208401935050602081019050611c2e565b5050509392505050565b600082601f830112611c7457611c73611a45565b5b8135611c84848260208601611bf6565b91505092915050565b60008060408385031215611ca457611ca361186c565b5b600083013567ffffffffffffffff811115611cc257611cc1611871565b5b611cce85828601611b70565b925050602083013567ffffffffffffffff811115611cef57611cee611871565b5b611cfb85828601611c5f565b9150509250929050565b600060208284031215611d1b57611d1a61186c565b5b6000611d2984828501611be1565b91505092915050565b6000602082019050611d476000830184611811565b92915050565b6000611d58826117ff565b9050919050565b611d6881611d4d565b8114611d7357600080fd5b50565b600081359050611d8581611d5f565b92915050565b600060208284031215611da157611da061186c565b5b6000611daf84828501611d76565b91505092915050565b600060208284031215611dce57611dcd61186c565b5b6000611ddc848285016119d5565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611e4e82611820565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611e8057611e7f611e14565b5b600182019050919050565b600082825260208201905092915050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000611ef8602f83611e8b565b9150611f0382611e9c565b604082019050919050565b60006020820190508181036000830152611f2781611eeb565b9050919050565b6000611f3982611820565b9150611f4483611820565b9250828202611f5281611820565b91508282048414831517611f6957611f68611e14565b5b5092915050565b7f557064617461626c6553706c69747465723a2070617965657320616e6420736860008201527f61726573206c656e677468206d69736d61746368000000000000000000000000602082015250565b6000611fcc603483611e8b565b9150611fd782611f70565b604082019050919050565b60006020820190508181036000830152611ffb81611fbf565b9050919050565b7f557064617461626c6553706c69747465723a206e6f2070617965657300000000600082015250565b6000612038601c83611e8b565b915061204382612002565b602082019050919050565b600060208201905081810360008301526120678161202b565b9050919050565b7f557064617461626c6553706c69747465723a206164647265737320697320746860008201527f65207a65726f2061646472657373000000000000000000000000000000000000602082015250565b60006120ca602e83611e8b565b91506120d58261206e565b604082019050919050565b600060208201905081810360008301526120f9816120bd565b9050919050565b600061210b82611820565b915061211683611820565b925082820190508082111561212e5761212d611e14565b5b92915050565b600061213f82611820565b91506000820361215257612151611e14565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000612193602083611e8b565b915061219e8261215d565b602082019050919050565b600060208201905081810360008301526121c281612186565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006121ff601d83611e8b565b915061220a826121c9565b602082019050919050565b6000602082019050818103600083015261222e816121f2565b9050919050565b600081905092915050565b50565b6000612250600083612235565b915061225b82612240565b600082019050919050565b600061227182612243565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006122d7603a83611e8b565b91506122e28261227b565b604082019050919050565b60006020820190508181036000830152612306816122ca565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061234782611820565b915061235283611820565b9250826123625761236161230d565b5b828204905092915050565b7f557064617461626c6553706c69747465723a206163636f756e7420697320746860008201527f65207a65726f2061646472657373000000000000000000000000000000000000602082015250565b60006123c9602e83611e8b565b91506123d48261236d565b604082019050919050565b600060208201905081810360008301526123f8816123bc565b9050919050565b7f557064617461626c6553706c69747465723a2073686172657320617265203000600082015250565b6000612435601f83611e8b565b9150612440826123ff565b602082019050919050565b6000602082019050818103600083015261246481612428565b9050919050565b7f557064617461626c6553706c69747465723a206163636f756e7420616c72656160008201527f6479206861732073686172657300000000000000000000000000000000000000602082015250565b60006124c7602d83611e8b565b91506124d28261246b565b604082019050919050565b600060208201905081810360008301526124f6816124ba565b9050919050565b60008151905061250c81611bca565b92915050565b6000602082840312156125285761252761186c565b5b6000612536848285016124fd565b91505092915050565b612548816118fb565b811461255357600080fd5b50565b6000815190506125658161253f565b92915050565b6000602082840312156125815761258061186c565b5b600061258f84828501612556565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b60006125f4602a83611e8b565b91506125ff82612598565b604082019050919050565b60006020820190508181036000830152612623816125e7565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000612686602683611e8b565b91506126918261262a565b604082019050919050565b600060208201905081810360008301526126b581612679565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b60006126f2601d83611e8b565b91506126fd826126bc565b602082019050919050565b60006020820190508181036000830152612721816126e5565b9050919050565b600081519050919050565b60005b83811015612751578082015181840152602081019050612736565b60008484015250505050565b600061276882612728565b6127728185612235565b9350612782818560208601612733565b80840191505092915050565b600061279a828461275d565b915081905092915050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006127e66017836127a5565b91506127f1826127b0565b601782019050919050565b600081519050919050565b6000612812826127fc565b61281c81856127a5565b935061282c818560208601612733565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b600061286e6011836127a5565b915061287982612838565b601182019050919050565b600061288f826127d9565b915061289b8285612807565b91506128a682612861565b91506128b28284612807565b91508190509392505050565b60006128c9826127fc565b6128d38185611e8b565b93506128e3818560208601612733565b6128ec81611a4a565b840191505092915050565b6000602082019050818103600083015261291181846128be565b90509291505056fea264697066735822122051c2b8a66038b95385f5698dc5906af240c6bdd371ffbc547df542152f839c4664736f6c63430008110033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000030000000000000000000000007402f738b4449c126ddebfba7e436bda7445e259000000000000000000000000f9cd7c1b2542a036087f09db534fa4171952a1300000000000000000000000002345ae998e04e444684b731d337be4ec2384d9a000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Deployed Bytecode
0x6080604052600436106100f75760003560e01c80637150a10a1161008a578063a217fddf11610059578063a217fddf1461035f578063ce7c2ac21461038a578063d48bfca7146103c7578063d547741f146103f05761013e565b80637150a10a146102935780638b83209b146102bc57806391d14854146102f95780639cee789f146103365761013e565b806336568abe116100c657806336568abe146101fd5780633a98ef391461022657806361bba472146102515780636b9f96ea1461027c5761013e565b806301ffc9a714610143578063248a9ca31461018057806328d7753e146101bd5780632f2ff15d146101d45761013e565b3661013e577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770610125610419565b34604051610134929190611839565b60405180910390a1005b600080fd5b34801561014f57600080fd5b5061016a600480360381019061016591906118ce565b610421565b6040516101779190611916565b60405180910390f35b34801561018c57600080fd5b506101a760048036038101906101a29190611967565b61049b565b6040516101b491906119a3565b60405180910390f35b3480156101c957600080fd5b506101d26104ba565b005b3480156101e057600080fd5b506101fb60048036038101906101f691906119ea565b61055a565b005b34801561020957600080fd5b50610224600480360381019061021f91906119ea565b61057b565b005b34801561023257600080fd5b5061023b6105fe565b6040516102489190611a2a565b60405180910390f35b34801561025d57600080fd5b50610266610608565b60405161027391906119a3565b60405180910390f35b34801561028857600080fd5b5061029161062c565b005b34801561029f57600080fd5b506102ba60048036038101906102b59190611c8d565b610712565b005b3480156102c857600080fd5b506102e360048036038101906102de9190611d05565b61081a565b6040516102f09190611d32565b60405180910390f35b34801561030557600080fd5b50610320600480360381019061031b91906119ea565b610862565b60405161032d9190611916565b60405180910390f35b34801561034257600080fd5b5061035d60048036038101906103589190611d8b565b6108cc565b005b34801561036b57600080fd5b506103746109cc565b60405161038191906119a3565b60405180910390f35b34801561039657600080fd5b506103b160048036038101906103ac9190611db8565b6109d3565b6040516103be9190611a2a565b60405180910390f35b3480156103d357600080fd5b506103ee60048036038101906103e99190611db8565b610a1c565b005b3480156103fc57600080fd5b50610417600480360381019061041291906119ea565b610aff565b005b600033905090565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610494575061049382610eee565b5b9050919050565b6000806000838152602001908152602001600020600101549050919050565b7ffeb783bf2f4d93ef3f713b635b3c9d586db0bf6672aa38ec550b29cbcafa519b6104e481610f58565b6104ec61062c565b60005b600480549050811015610556576105436004828154811061051357610512611de5565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166108cc565b808061054e90611e43565b9150506104ef565b5050565b6105638261049b565b61056c81610f58565b6105768383610f6c565b505050565b610583610419565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146105f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105e790611f0e565b60405180910390fd5b6105fa828261104c565b5050565b6000600154905090565b7ffeb783bf2f4d93ef3f713b635b3c9d586db0bf6672aa38ec550b29cbcafa519b81565b7ffeb783bf2f4d93ef3f713b635b3c9d586db0bf6672aa38ec550b29cbcafa519b61065681610f58565b60008061066161112d565b9150915060008214806106745750600081145b1561068057505061070f565b60005b6002805490508110156106d457600061069b8261081a565b90506000846106a9836109d3565b6106b39190611f2e565b90506106bf8282610d5c565b505080806106cc90611e43565b915050610683565b507fce566829d5045934d049cf8f411008d87c23a7df552c21b6d3e9d68b07d6278d816040516107049190611a2a565b60405180910390a150505b50565b6000801b61071f81610f58565b8151835114610763576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075a90611fe2565b60405180910390fd5b60008351116107a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079e9061204e565b60405180910390fd5b6107af6104ba565b6107b761116a565b60005b8351811015610814576108018482815181106107d9576107d8611de5565b5b60200260200101518483815181106107f4576107f3611de5565b5b60200260200101516111f3565b808061080c90611e43565b9150506107ba565b50505050565b6000600282815481106108305761082f611de5565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7ffeb783bf2f4d93ef3f713b635b3c9d586db0bf6672aa38ec550b29cbcafa519b6108f681610f58565b600080610902846113e8565b9150915060008214806109155750600081145b156109215750506109c8565b60005b60028054905081101561097657600061093c8261081a565b905060008461094a836109d3565b6109549190611f2e565b9050610961878383610e50565b5050808061096e90611e43565b915050610924565b508373ffffffffffffffffffffffffffffffffffffffff167f75d34d39d28e6c8fd84f5539c817dea378701028c77ceade58bb8789b3e81bde826040516109bd9190611a2a565b60405180910390a250505b5050565b6000801b81565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000801b610a2981610f58565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8f906120e0565b60405180910390fd5b6004829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b610b088261049b565b610b1181610f58565b610b1b838361104c565b505050565b606060006002836002610b339190611f2e565b610b3d9190612100565b67ffffffffffffffff811115610b5657610b55611a5b565b5b6040519080825280601f01601f191660200182016040528015610b885781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110610bc057610bbf611de5565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110610c2457610c23611de5565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002610c649190611f2e565b610c6e9190612100565b90505b6001811115610d0e577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110610cb057610caf611de5565b5b1a60f81b828281518110610cc757610cc6611de5565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080610d0790612134565b9050610c71565b5060008414610d52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d49906121a9565b60405180910390fd5b8091505092915050565b80471015610d9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9690612215565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051610dc590612266565b60006040518083038185875af1925050503d8060008114610e02576040519150601f19603f3d011682016040523d82523d6000602084013e610e07565b606091505b5050905080610e4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e42906122ed565b60405180910390fd5b505050565b610ed18363a9059cbb60e01b8484604051602401610e6f929190611839565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061149f565b505050565b6060610ee58484600085611566565b90509392505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b610f6981610f64610419565b61167a565b50565b610f768282610862565b61104857600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610fed610419565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6110568282610862565b1561112957600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506110ce610419565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600080479050600060015414806111445750600081145b156111555760008091509150611166565b60015481611163919061233c565b91505b9091565b60005b6002805490508110156111da576000600360006111898461081a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806111d290611e43565b91505061116d565b50600260006111e991906117a1565b6000600181905550565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611262576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611259906123df565b60405180910390fd5b600081116112a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129c9061244b565b60405180910390fd5b60006112b0836109d3565b146112f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e7906124dd565b60405180910390fd5b6002829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550806001546113a59190612100565b6001819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac82826040516113dc929190611839565b60405180910390a15050565b6000808273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016114249190611d32565b602060405180830381865afa158015611441573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114659190612512565b9050600060015414806114785750600081145b15611489576000809150915061149a565b60015481611497919061233c565b91505b915091565b6000611501826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610ed69092919063ffffffff16565b90506000815111156115615780806020019051810190611521919061256b565b611560576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115579061260a565b60405180910390fd5b5b505050565b6060824710156115ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a29061269c565b60405180910390fd5b6115b485611717565b6115f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ea90612708565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161161c919061278e565b60006040518083038185875af1925050503d8060008114611659576040519150601f19603f3d011682016040523d82523d6000602084013e61165e565b606091505b509150915061166e82828661173a565b92505050949350505050565b6116848282610862565b611713576116a98173ffffffffffffffffffffffffffffffffffffffff166014610b20565b6116b78360001c6020610b20565b6040516020016116c8929190612884565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170a91906128f7565b60405180910390fd5b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060831561174a5782905061179a565b60008351111561175d5782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179191906128f7565b60405180910390fd5b9392505050565b50805460008255906000526020600020908101906117bf91906117c2565b50565b5b808211156117db5760008160009055506001016117c3565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061180a826117df565b9050919050565b61181a816117ff565b82525050565b6000819050919050565b61183381611820565b82525050565b600060408201905061184e6000830185611811565b61185b602083018461182a565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6118ab81611876565b81146118b657600080fd5b50565b6000813590506118c8816118a2565b92915050565b6000602082840312156118e4576118e361186c565b5b60006118f2848285016118b9565b91505092915050565b60008115159050919050565b611910816118fb565b82525050565b600060208201905061192b6000830184611907565b92915050565b6000819050919050565b61194481611931565b811461194f57600080fd5b50565b6000813590506119618161193b565b92915050565b60006020828403121561197d5761197c61186c565b5b600061198b84828501611952565b91505092915050565b61199d81611931565b82525050565b60006020820190506119b86000830184611994565b92915050565b6119c7816117ff565b81146119d257600080fd5b50565b6000813590506119e4816119be565b92915050565b60008060408385031215611a0157611a0061186c565b5b6000611a0f85828601611952565b9250506020611a20858286016119d5565b9150509250929050565b6000602082019050611a3f600083018461182a565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611a9382611a4a565b810181811067ffffffffffffffff82111715611ab257611ab1611a5b565b5b80604052505050565b6000611ac5611862565b9050611ad18282611a8a565b919050565b600067ffffffffffffffff821115611af157611af0611a5b565b5b602082029050602081019050919050565b600080fd5b6000611b1a611b1584611ad6565b611abb565b90508083825260208201905060208402830185811115611b3d57611b3c611b02565b5b835b81811015611b665780611b5288826119d5565b845260208401935050602081019050611b3f565b5050509392505050565b600082601f830112611b8557611b84611a45565b5b8135611b95848260208601611b07565b91505092915050565b600067ffffffffffffffff821115611bb957611bb8611a5b565b5b602082029050602081019050919050565b611bd381611820565b8114611bde57600080fd5b50565b600081359050611bf081611bca565b92915050565b6000611c09611c0484611b9e565b611abb565b90508083825260208201905060208402830185811115611c2c57611c2b611b02565b5b835b81811015611c555780611c418882611be1565b845260208401935050602081019050611c2e565b5050509392505050565b600082601f830112611c7457611c73611a45565b5b8135611c84848260208601611bf6565b91505092915050565b60008060408385031215611ca457611ca361186c565b5b600083013567ffffffffffffffff811115611cc257611cc1611871565b5b611cce85828601611b70565b925050602083013567ffffffffffffffff811115611cef57611cee611871565b5b611cfb85828601611c5f565b9150509250929050565b600060208284031215611d1b57611d1a61186c565b5b6000611d2984828501611be1565b91505092915050565b6000602082019050611d476000830184611811565b92915050565b6000611d58826117ff565b9050919050565b611d6881611d4d565b8114611d7357600080fd5b50565b600081359050611d8581611d5f565b92915050565b600060208284031215611da157611da061186c565b5b6000611daf84828501611d76565b91505092915050565b600060208284031215611dce57611dcd61186c565b5b6000611ddc848285016119d5565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611e4e82611820565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611e8057611e7f611e14565b5b600182019050919050565b600082825260208201905092915050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000611ef8602f83611e8b565b9150611f0382611e9c565b604082019050919050565b60006020820190508181036000830152611f2781611eeb565b9050919050565b6000611f3982611820565b9150611f4483611820565b9250828202611f5281611820565b91508282048414831517611f6957611f68611e14565b5b5092915050565b7f557064617461626c6553706c69747465723a2070617965657320616e6420736860008201527f61726573206c656e677468206d69736d61746368000000000000000000000000602082015250565b6000611fcc603483611e8b565b9150611fd782611f70565b604082019050919050565b60006020820190508181036000830152611ffb81611fbf565b9050919050565b7f557064617461626c6553706c69747465723a206e6f2070617965657300000000600082015250565b6000612038601c83611e8b565b915061204382612002565b602082019050919050565b600060208201905081810360008301526120678161202b565b9050919050565b7f557064617461626c6553706c69747465723a206164647265737320697320746860008201527f65207a65726f2061646472657373000000000000000000000000000000000000602082015250565b60006120ca602e83611e8b565b91506120d58261206e565b604082019050919050565b600060208201905081810360008301526120f9816120bd565b9050919050565b600061210b82611820565b915061211683611820565b925082820190508082111561212e5761212d611e14565b5b92915050565b600061213f82611820565b91506000820361215257612151611e14565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000612193602083611e8b565b915061219e8261215d565b602082019050919050565b600060208201905081810360008301526121c281612186565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006121ff601d83611e8b565b915061220a826121c9565b602082019050919050565b6000602082019050818103600083015261222e816121f2565b9050919050565b600081905092915050565b50565b6000612250600083612235565b915061225b82612240565b600082019050919050565b600061227182612243565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006122d7603a83611e8b565b91506122e28261227b565b604082019050919050565b60006020820190508181036000830152612306816122ca565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061234782611820565b915061235283611820565b9250826123625761236161230d565b5b828204905092915050565b7f557064617461626c6553706c69747465723a206163636f756e7420697320746860008201527f65207a65726f2061646472657373000000000000000000000000000000000000602082015250565b60006123c9602e83611e8b565b91506123d48261236d565b604082019050919050565b600060208201905081810360008301526123f8816123bc565b9050919050565b7f557064617461626c6553706c69747465723a2073686172657320617265203000600082015250565b6000612435601f83611e8b565b9150612440826123ff565b602082019050919050565b6000602082019050818103600083015261246481612428565b9050919050565b7f557064617461626c6553706c69747465723a206163636f756e7420616c72656160008201527f6479206861732073686172657300000000000000000000000000000000000000602082015250565b60006124c7602d83611e8b565b91506124d28261246b565b604082019050919050565b600060208201905081810360008301526124f6816124ba565b9050919050565b60008151905061250c81611bca565b92915050565b6000602082840312156125285761252761186c565b5b6000612536848285016124fd565b91505092915050565b612548816118fb565b811461255357600080fd5b50565b6000815190506125658161253f565b92915050565b6000602082840312156125815761258061186c565b5b600061258f84828501612556565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b60006125f4602a83611e8b565b91506125ff82612598565b604082019050919050565b60006020820190508181036000830152612623816125e7565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000612686602683611e8b565b91506126918261262a565b604082019050919050565b600060208201905081810360008301526126b581612679565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b60006126f2601d83611e8b565b91506126fd826126bc565b602082019050919050565b60006020820190508181036000830152612721816126e5565b9050919050565b600081519050919050565b60005b83811015612751578082015181840152602081019050612736565b60008484015250505050565b600061276882612728565b6127728185612235565b9350612782818560208601612733565b80840191505092915050565b600061279a828461275d565b915081905092915050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006127e66017836127a5565b91506127f1826127b0565b601782019050919050565b600081519050919050565b6000612812826127fc565b61281c81856127a5565b935061282c818560208601612733565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b600061286e6011836127a5565b915061287982612838565b601182019050919050565b600061288f826127d9565b915061289b8285612807565b91506128a682612861565b91506128b28284612807565b91508190509392505050565b60006128c9826127fc565b6128d38185611e8b565b93506128e3818560208601612733565b6128ec81611a4a565b840191505092915050565b6000602082019050818103600083015261291181846128be565b90509291505056fea264697066735822122051c2b8a66038b95385f5698dc5906af240c6bdd371ffbc547df542152f839c4664736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000030000000000000000000000007402f738b4449c126ddebfba7e436bda7445e259000000000000000000000000f9cd7c1b2542a036087f09db534fa4171952a1300000000000000000000000002345ae998e04e444684b731d337be4ec2384d9a000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
-----Decoded View---------------
Arg [0] : payees (address[]): 0x7402F738B4449c126dDebfBa7e436bda7445E259,0xF9Cd7c1b2542a036087f09db534Fa4171952A130,0x2345AE998e04e444684b731D337bE4eC2384d9a0
Arg [1] : shares_ (uint256[]): 1,1,2
Arg [2] : tokenAddresses (address[]): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [4] : 0000000000000000000000007402f738b4449c126ddebfba7e436bda7445e259
Arg [5] : 000000000000000000000000f9cd7c1b2542a036087f09db534fa4171952a130
Arg [6] : 0000000000000000000000002345ae998e04e444684b731d337be4ec2384d9a0
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [12] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.