More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 2,693 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Multi Handler Sw... | 10489608 | 1640 days ago | IN | 0 ETH | 0.00133089 | ||||
Multi Handler Sw... | 10470505 | 1643 days ago | IN | 0 ETH | 0.00229356 | ||||
Multi Handler Sw... | 10467796 | 1644 days ago | IN | 0 ETH | 0.00100825 | ||||
Multi Handler Sw... | 10467020 | 1644 days ago | IN | 0 ETH | 0.00100825 | ||||
Multi Handler Sw... | 10466682 | 1644 days ago | IN | 0 ETH | 0.00169755 | ||||
Multi Handler Sw... | 10466678 | 1644 days ago | IN | 0 ETH | 0.00411085 | ||||
Multi Handler Sw... | 10466659 | 1644 days ago | IN | 0 ETH | 0.00411085 | ||||
Multi Handler Sw... | 10466637 | 1644 days ago | IN | 0 ETH | 0.00411145 | ||||
Multi Handler Sw... | 10466634 | 1644 days ago | IN | 0 ETH | 0.00411085 | ||||
Multi Handler Sw... | 10466625 | 1644 days ago | IN | 0 ETH | 0.00411085 | ||||
Multi Handler Sw... | 10466623 | 1644 days ago | IN | 0 ETH | 0.00476928 | ||||
Multi Handler Sw... | 10466621 | 1644 days ago | IN | 0 ETH | 0.00493374 | ||||
Multi Handler Sw... | 10466619 | 1644 days ago | IN | 0 ETH | 0.00493338 | ||||
Multi Handler Sw... | 10466617 | 1644 days ago | IN | 0 ETH | 0.00493374 | ||||
Multi Handler Sw... | 10466616 | 1644 days ago | IN | 0 ETH | 0.00493374 | ||||
Multi Handler Sw... | 10466614 | 1644 days ago | IN | 0 ETH | 0.00493374 | ||||
Multi Handler Sw... | 10466613 | 1644 days ago | IN | 0 ETH | 0.00493302 | ||||
Multi Handler Sw... | 10466612 | 1644 days ago | IN | 0 ETH | 0.00493374 | ||||
Multi Handler Sw... | 10466610 | 1644 days ago | IN | 0 ETH | 0.00493338 | ||||
Multi Handler Sw... | 10466607 | 1644 days ago | IN | 0 ETH | 0.00493302 | ||||
Multi Handler Sw... | 10466605 | 1644 days ago | IN | 0 ETH | 0.00493338 | ||||
Multi Handler Sw... | 10466604 | 1644 days ago | IN | 0 ETH | 0.00493374 | ||||
Multi Handler Sw... | 10466599 | 1644 days ago | IN | 0 ETH | 0.00493266 | ||||
Multi Handler Sw... | 10466595 | 1644 days ago | IN | 0 ETH | 0.00493374 | ||||
Multi Handler Sw... | 10466594 | 1644 days ago | IN | 0 ETH | 0.00493374 |
Latest 25 internal transactions (View All)
Advanced mode:
Loading...
Loading
Contract Name:
PaymentMaster
Compiler Version
v0.5.16+commit.9c3226ce
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-07-08 */ // File: @openzeppelin/contracts/GSN/Context.sol pragma solidity ^0.5.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ contract Context { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which should be used via inheritance. constructor () internal { } // solhint-disable-previous-line no-empty-blocks function _msgSender() internal view returns (address payable) { return msg.sender; } function _msgData() internal view returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/ownership/Ownable.sol pragma solidity ^0.5.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(isOwner(), "Ownable: caller is not the owner"); _; } /** * @dev Returns true if the caller is the current owner. */ function isOwner() public view returns (bool) { return _msgSender() == _owner; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public onlyOwner { _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). */ function _transferOwnership(address newOwner) internal { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity ^0.5.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see {ERC20Detailed}. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity ^0.5.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. * * _Available since v2.4.0._ */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity ^0.5.5; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @dev Converts an `address` into `address payable`. Note that this is * simply a type cast: the actual underlying value is not changed. * * _Available since v2.4.0._ */ function toPayable(address account) internal pure returns (address payable) { return address(uint160(account)); } /** * @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]. * * _Available since v2.4.0._ */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-call-value (bool success, ) = recipient.call.value(amount)(""); require(success, "Address: unable to send value, recipient may have reverted"); } } // File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol pragma solidity ^0.5.0; /** * @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 ERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. // A Solidity high level call has three parts: // 1. The target address is checked to verify it contains contract code // 2. The call itself is made, and success asserted // 3. The return value is decoded, which in turn checks the size of the returned data. // solhint-disable-next-line max-line-length require(address(token).isContract(), "SafeERC20: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = address(token).call(data); require(success, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: contracts/PaymentHandler.sol pragma solidity ^0.5.0; /** * The payment handler is responsible for receiving payments. * If the payment is in ETH, it auto forwards to its parent master's owner. * If the payment is in ERC20, it holds the tokens until it is asked to sweep. * It can only sweep ERC20s to the parent master's owner. */ contract PaymentHandler { using SafeERC20 for IERC20; // Keep track of the parent master contract - cannot be changed once set PaymentMaster public master; /** * General constructor called by the master */ constructor(PaymentMaster _master) public { master = _master; } /** * Helper function to return the parent master's address */ function getMasterAddress() public view returns (address) { return address(master); } /** * Default payable function - forwards to the owner and triggers event */ function() external payable { // Get the parent master's owner address - explicity convert to payable address payable ownerAddress = address(uint160(master.owner())); // Forward the funds to the owner ownerAddress.transfer(msg.value); // Trigger the event notification in the parent master master.firePaymentReceivedEvent(address(this), msg.sender, msg.value); } /** * Sweep any tokens to the owner of the master */ function sweepTokens(IERC20 token) public { // Get the owner address address ownerAddress = master.owner(); // Get the current balance uint balance = token.balanceOf(address(this)); // Transfer to the owner token.safeTransfer(ownerAddress, balance); } } // File: contracts/PaymentMaster.sol pragma solidity ^0.5.0; /** * The PaymentMaster sits above the payment handler contracts. * It deploys and keeps track of all the handlers. * It can trigger events by child handlers when they receive ETH. * It allows ERC20 tokens to be swept in bulk to the owner account. */ contract PaymentMaster is Ownable { using SafeERC20 for IERC20; // A list of handler addresses for retrieval address[] public handlerList; // A mapping of handler addresses for lookups mapping(address => bool) public handlerMap; // Events triggered for listeners event HandlerCreated(address indexed _addr); event EthPaymentReceived(address indexed _to, address indexed _from, uint256 _amount); /** * Anyone can call the function to deploy a new payment handler. * The new contract will be created, added to the list, and an event fired. */ function deployNewHandler() public { // Deploy the new contract PaymentHandler createdHandler = new PaymentHandler(this); // Add it to the list and the mapping handlerList.push(address(createdHandler)); handlerMap[address(createdHandler)] = true; // Emit event to let watchers know that a new handler was created emit HandlerCreated(address(createdHandler)); } /** * This is a convenience method to allow watchers to get the entire list */ function getHandlerList() public view returns (address[] memory) { // Return the entire list return handlerList; } /** * Allows caller to determine how long the handler list is for convenience */ function getHandlerListLength() public view returns (uint) { return handlerList.length; } /** * This function is called by handlers when they receive ETH payments. */ function firePaymentReceivedEvent(address to, address from, uint256 amount) public { // Verify the call is coming from a handler require(handlerMap[msg.sender], "Only payment handlers are allowed to trigger payment events."); // Emit the event emit EthPaymentReceived(to, from, amount); } /** * Allows a caller to sweep multiple handlers in one transaction */ function multiHandlerSweep(address[] memory handlers, IERC20 tokenContract) public { for (uint i = 0; i < handlers.length; i++) { // Whitelist calls to only handlers require(handlerMap[handlers[i]], "Only payment handlers are valid sweep targets."); // Trigger sweep PaymentHandler(address(uint160(handlers[i]))).sweepTokens(tokenContract); } } /** * Safety function to allow sweep of ERC20s if accidentally sent to this contract */ function sweepTokens(IERC20 token) public { // Get the current balance uint balance = token.balanceOf(address(this)); // Transfer to the owner token.safeTransfer(this.owner(), balance); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"EthPaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_addr","type":"address"}],"name":"HandlerCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"constant":false,"inputs":[],"name":"deployNewHandler","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"firePaymentReceivedEvent","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getHandlerList","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getHandlerListLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"handlerList","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"handlerMap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address[]","name":"handlers","type":"address[]"},{"internalType":"contract IERC20","name":"tokenContract","type":"address"}],"name":"multiHandlerSweep","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"sweepTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260006100146100b760201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506100bf565b600033905090565b611bea806100ce6000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c8063a453b36a11610071578063a453b36a14610281578063a7f06819146102ef578063abb82dc11461035d578063adbbea01146103bc578063f2fde38b146103c6578063f5f6d3af1461040a576100b4565b80630767abb8146100b957806323e776d3146101915780634592e804146101af578063715018a61461020b5780638da5cb5b146102155780638f32d59b1461025f575b600080fd5b61018f600480360360408110156100cf57600080fd5b81019080803590602001906401000000008111156100ec57600080fd5b8201836020820111156100fe57600080fd5b8035906020019184602083028401116401000000008311171561012057600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061044e565b005b6101996105ce565b6040518082815260200191505060405180910390f35b6101f1600480360360208110156101c557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506105db565b604051808215151515815260200191505060405180910390f35b6102136105fb565b005b61021d610734565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61026761075d565b604051808215151515815260200191505060405180910390f35b6102ad6004803603602081101561029757600080fd5b81019080803590602001909291905050506107bb565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61035b6004803603606081101561030557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506107f7565b005b610365610903565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156103a857808201518184015260208101905061038d565b505050509050019250505060405180910390f35b6103c4610991565b005b610408600480360360208110156103dc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610af9565b005b61044c6004803603602081101561042057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b7f565b005b60008090505b82518110156105c9576002600084838151811061046d57fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610512576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180611b5e602e913960400191505060405180910390fd5b82818151811061051e57fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1663f5f6d3af836040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b1580156105a457600080fd5b505af11580156105b8573d6000803e3d6000fd5b505050508080600101915050610454565b505050565b6000600180549050905090565b60026020528060005260406000206000915054906101000a900460ff1681565b61060361075d565b610675576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661079f610cea565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b600181815481106107c857fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610899576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603c815260200180611afc603c913960400191505060405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f70b67bbcbad3ba1d594851292e63d6c097ecab60959bc60ee58beb4a1c22c9ad836040518082815260200191505060405180910390a3505050565b6060600180548060200260200160405190810160405280929190818152602001828054801561098757602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001906001019080831161093d575b5050505050905090565b6000306040516109a09061119d565b808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050604051809103906000f0801580156109f2573d6000803e3d6000fd5b50905060018190806001815401808255809150509060018203906000526020600020016000909192909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506001600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167fef16b2ba030a7be9f6d0b1961285ee1b06631fc3a5bc49b1c9c3ed6a6018a22060405160405180910390a250565b610b0161075d565b610b73576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610b7c81610cf2565b50565b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610bfe57600080fd5b505afa158015610c12573d6000803e3d6000fd5b505050506040513d6020811015610c2857600080fd5b81019080805190602001909291905050509050610ce63073ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610c8457600080fd5b505afa158015610c98573d6000803e3d6000fd5b505050506040513d6020811015610cae57600080fd5b8101908080519060200190929190505050828473ffffffffffffffffffffffffffffffffffffffff16610e369092919063ffffffff16565b5050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180611b386026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610f02838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb905060e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610f07565b505050565b610f268273ffffffffffffffffffffffffffffffffffffffff16611152565b610f98576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b60208310610fe75780518252602082019150602081019050602083039250610fc4565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611049576040519150601f19603f3d011682016040523d82523d6000602084013e61104e565b606091505b5091509150816110c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b60008151111561114c578080602001905160208110156110e557600080fd5b810190808051906020019092919050505061114b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180611b8c602a913960400191505060405180910390fd5b5b50505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f915080821415801561119457506000801b8214155b92505050919050565b610951806111ab8339019056fe608060405234801561001057600080fd5b506040516109513803806109518339818101604052602081101561003357600080fd5b8101908080519060200190929190505050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506108bd806100946000396000f3fe6080604052600436106100345760003560e01c80630d25a14114610218578063ee97f7f31461026f578063f5f6d3af146102c6575b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561009d57600080fd5b505afa1580156100b1573d6000803e3d6000fd5b505050506040513d60208110156100c757600080fd5b810190808051906020019092919050505090508073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015610120573d6000803e3d6000fd5b506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a7f068193033346040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b1580156101fd57600080fd5b505af1158015610211573d6000803e3d6000fd5b5050505050005b34801561022457600080fd5b5061022d610317565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561027b57600080fd5b50610284610340565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156102d257600080fd5b50610315600480360360208110156102e957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610365565b005b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156103ce57600080fd5b505afa1580156103e2573d6000803e3d6000fd5b505050506040513d60208110156103f857600080fd5b8101908080519060200190929190505050905060008273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561048a57600080fd5b505afa15801561049e573d6000803e3d6000fd5b505050506040513d60208110156104b457600080fd5b810190808051906020019092919050505090506104f282828573ffffffffffffffffffffffffffffffffffffffff166104f79092919063ffffffff16565b505050565b6105c3838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb905060e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506105c8565b505050565b6105e78273ffffffffffffffffffffffffffffffffffffffff16610813565b610659576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b602083106106a85780518252602082019150602081019050602083039250610685565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461070a576040519150601f19603f3d011682016040523d82523d6000602084013e61070f565b606091505b509150915081610787576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b60008151111561080d578080602001905160208110156107a657600080fd5b810190808051906020019092919050505061080c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061085f602a913960400191505060405180910390fd5b5b50505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f915080821415801561085557506000801b8214155b9250505091905056fe5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a723158203b51a8a06b143807ed0c5561f18cff548580240e4eea898367883d4a5967bab964736f6c634300051000324f6e6c79207061796d656e742068616e646c6572732061726520616c6c6f77656420746f2074726967676572207061796d656e74206576656e74732e4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f6e6c79207061796d656e742068616e646c657273206172652076616c696420737765657020746172676574732e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a72315820805a8140585e96f5a9a6d9d137a5912a434beaf236c57ccd55077fd93ebc823964736f6c63430005100032
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100b45760003560e01c8063a453b36a11610071578063a453b36a14610281578063a7f06819146102ef578063abb82dc11461035d578063adbbea01146103bc578063f2fde38b146103c6578063f5f6d3af1461040a576100b4565b80630767abb8146100b957806323e776d3146101915780634592e804146101af578063715018a61461020b5780638da5cb5b146102155780638f32d59b1461025f575b600080fd5b61018f600480360360408110156100cf57600080fd5b81019080803590602001906401000000008111156100ec57600080fd5b8201836020820111156100fe57600080fd5b8035906020019184602083028401116401000000008311171561012057600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061044e565b005b6101996105ce565b6040518082815260200191505060405180910390f35b6101f1600480360360208110156101c557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506105db565b604051808215151515815260200191505060405180910390f35b6102136105fb565b005b61021d610734565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61026761075d565b604051808215151515815260200191505060405180910390f35b6102ad6004803603602081101561029757600080fd5b81019080803590602001909291905050506107bb565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61035b6004803603606081101561030557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506107f7565b005b610365610903565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156103a857808201518184015260208101905061038d565b505050509050019250505060405180910390f35b6103c4610991565b005b610408600480360360208110156103dc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610af9565b005b61044c6004803603602081101561042057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b7f565b005b60008090505b82518110156105c9576002600084838151811061046d57fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610512576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180611b5e602e913960400191505060405180910390fd5b82818151811061051e57fe5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1663f5f6d3af836040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b1580156105a457600080fd5b505af11580156105b8573d6000803e3d6000fd5b505050508080600101915050610454565b505050565b6000600180549050905090565b60026020528060005260406000206000915054906101000a900460ff1681565b61060361075d565b610675576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661079f610cea565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b600181815481106107c857fe5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610899576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603c815260200180611afc603c913960400191505060405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f70b67bbcbad3ba1d594851292e63d6c097ecab60959bc60ee58beb4a1c22c9ad836040518082815260200191505060405180910390a3505050565b6060600180548060200260200160405190810160405280929190818152602001828054801561098757602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001906001019080831161093d575b5050505050905090565b6000306040516109a09061119d565b808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050604051809103906000f0801580156109f2573d6000803e3d6000fd5b50905060018190806001815401808255809150509060018203906000526020600020016000909192909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506001600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff167fef16b2ba030a7be9f6d0b1961285ee1b06631fc3a5bc49b1c9c3ed6a6018a22060405160405180910390a250565b610b0161075d565b610b73576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610b7c81610cf2565b50565b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610bfe57600080fd5b505afa158015610c12573d6000803e3d6000fd5b505050506040513d6020811015610c2857600080fd5b81019080805190602001909291905050509050610ce63073ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b158015610c8457600080fd5b505afa158015610c98573d6000803e3d6000fd5b505050506040513d6020811015610cae57600080fd5b8101908080519060200190929190505050828473ffffffffffffffffffffffffffffffffffffffff16610e369092919063ffffffff16565b5050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180611b386026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610f02838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb905060e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610f07565b505050565b610f268273ffffffffffffffffffffffffffffffffffffffff16611152565b610f98576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b60208310610fe75780518252602082019150602081019050602083039250610fc4565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611049576040519150601f19603f3d011682016040523d82523d6000602084013e61104e565b606091505b5091509150816110c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b60008151111561114c578080602001905160208110156110e557600080fd5b810190808051906020019092919050505061114b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180611b8c602a913960400191505060405180910390fd5b5b50505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f915080821415801561119457506000801b8214155b92505050919050565b610951806111ab8339019056fe608060405234801561001057600080fd5b506040516109513803806109518339818101604052602081101561003357600080fd5b8101908080519060200190929190505050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506108bd806100946000396000f3fe6080604052600436106100345760003560e01c80630d25a14114610218578063ee97f7f31461026f578063f5f6d3af146102c6575b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561009d57600080fd5b505afa1580156100b1573d6000803e3d6000fd5b505050506040513d60208110156100c757600080fd5b810190808051906020019092919050505090508073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015610120573d6000803e3d6000fd5b506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a7f068193033346040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b1580156101fd57600080fd5b505af1158015610211573d6000803e3d6000fd5b5050505050005b34801561022457600080fd5b5061022d610317565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561027b57600080fd5b50610284610340565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156102d257600080fd5b50610315600480360360208110156102e957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610365565b005b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156103ce57600080fd5b505afa1580156103e2573d6000803e3d6000fd5b505050506040513d60208110156103f857600080fd5b8101908080519060200190929190505050905060008273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561048a57600080fd5b505afa15801561049e573d6000803e3d6000fd5b505050506040513d60208110156104b457600080fd5b810190808051906020019092919050505090506104f282828573ffffffffffffffffffffffffffffffffffffffff166104f79092919063ffffffff16565b505050565b6105c3838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb905060e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506105c8565b505050565b6105e78273ffffffffffffffffffffffffffffffffffffffff16610813565b610659576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b602083106106a85780518252602082019150602081019050602083039250610685565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461070a576040519150601f19603f3d011682016040523d82523d6000602084013e61070f565b606091505b509150915081610787576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b60008151111561080d578080602001905160208110156107a657600080fd5b810190808051906020019092919050505061080c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061085f602a913960400191505060405180910390fd5b5b50505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f915080821415801561085557506000801b8214155b9250505091905056fe5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a723158203b51a8a06b143807ed0c5561f18cff548580240e4eea898367883d4a5967bab964736f6c634300051000324f6e6c79207061796d656e742068616e646c6572732061726520616c6c6f77656420746f2074726967676572207061796d656e74206576656e74732e4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f6e6c79207061796d656e742068616e646c657273206172652076616c696420737765657020746172676574732e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a72315820805a8140585e96f5a9a6d9d137a5912a434beaf236c57ccd55077fd93ebc823964736f6c63430005100032
Deployed Bytecode Sourcemap
20977:2531:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20977:2531:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22829:372;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;22829:372:0;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;22829:372:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;22829:372:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;22829:372:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;22829:372:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;22257:94;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21177:42;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;21177:42:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;2963:140;;;:::i;:::-;;2152:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;2518:94;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;21095:28;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;21095:28:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;22441:304;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;22441:304:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;22035:128;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;22035:128:0;;;;;;;;;;;;;;;;;21556:387;;;:::i;:::-;;3258:109;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;3258:109:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;23302:203;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;23302:203:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;22829:372;22922:6;22931:1;22922:10;;22917:280;22938:8;:15;22934:1;:19;22917:280;;;23016:10;:23;23027:8;23036:1;23027:11;;;;;;;;;;;;;;23016:23;;;;;;;;;;;;;;;;;;;;;;;;;23008:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23150:8;23159:1;23150:11;;;;;;;;;;;;;;23119:57;;;23177:13;23119:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23119:72:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23119:72:0;;;;22955:3;;;;;;;22917:280;;;;22829:372;;:::o;22257:94::-;22310:4;22328:11;:18;;;;22321:25;;22257:94;:::o;21177:42::-;;;;;;;;;;;;;;;;;;;;;;:::o;2963:140::-;2364:9;:7;:9::i;:::-;2356:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3062:1;3025:40;;3046:6;;;;;;;;;;;3025:40;;;;;;;;;;;;3093:1;3076:6;;:19;;;;;;;;;;;;;;;;;;2963:140::o;2152:79::-;2190:7;2217:6;;;;;;;;;;;2210:13;;2152:79;:::o;2518:94::-;2558:4;2598:6;;;;;;;;;;;2582:22;;:12;:10;:12::i;:::-;:22;;;2575:29;;2518:94;:::o;21095:28::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;22441:304::-;22584:10;:22;22595:10;22584:22;;;;;;;;;;;;;;;;;;;;;;;;;22576:95;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22727:4;22704:36;;22723:2;22704:36;;;22733:6;22704:36;;;;;;;;;;;;;;;;;;22441:304;;;:::o;22035:128::-;22082:16;22146:11;22139:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22035:128;:::o;21556:387::-;21626:29;21677:4;21658:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;21658:24:0;21626:56;;21730:11;21755:14;21730:41;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;21730:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21814:4;21776:10;:35;21795:14;21776:35;;;;;;;;;;;;;;;;:42;;;;;;;;;;;;;;;;;;21922:14;21899:39;;;;;;;;;;;;21556:387;:::o;3258:109::-;2364:9;:7;:9::i;:::-;2356:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3331:28;3350:8;3331:18;:28::i;:::-;3258:109;:::o;23302:203::-;23379:12;23394:5;:15;;;23418:4;23394:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23394:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23394:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;23394:30:0;;;;;;;;;;;;;;;;23379:45;;23459:41;23478:4;:10;;;:12;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23478:12:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;23478:12:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;23478:12:0;;;;;;;;;;;;;;;;23492:7;23459:5;:18;;;;:41;;;;;:::i;:::-;23302:203;;:::o;858:98::-;903:15;938:10;931:17;;858:98;:::o;3473:229::-;3567:1;3547:22;;:8;:22;;;;3539:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3657:8;3628:38;;3649:6;;;;;;;;;;;3628:38;;;;;;;;;;;;3686:8;3677:6;;:17;;;;;;;;;;;;;;;;;;3473:229;:::o;15833:176::-;15916:85;15935:5;15965;:14;;;:23;;;;15990:2;15994:5;15942:58;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;15942:58:0;;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;15942:58:0;15916:18;:85::i;:::-;15833:176;;;:::o;17872:1114::-;18476:27;18484:5;18476:25;;;:27::i;:::-;18468:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18613:12;18627:23;18662:5;18654:19;;18674:4;18654:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;18654:25:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;18612:67:0;;;;18698:7;18690:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18779:1;18759:10;:17;:21;18755:224;;;18901:10;18890:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;18890:30:0;;;;;;;;;;;;;;;;18882:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18755:224;17872:1114;;;;:::o;12862:619::-;12922:4;13184:16;13211:19;13233:66;13211:88;;;;13402:7;13390:20;13378:32;;13442:11;13430:8;:23;;:42;;;;;13469:3;13457:15;;:8;:15;;13430:42;13422:51;;;;12862:619;;;:::o;20977:2531::-;;;;;;;;:::o
Swarm Source
bzzr://805a8140585e96f5a9a6d9d137a5912a434beaf236c57ccd55077fd93ebc8239
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ 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.