Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 730 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Deploy Gateway | 20144700 | 300 days ago | IN | 0 ETH | 0.00026467 | ||||
Deploy Gateway | 19750075 | 355 days ago | IN | 0 ETH | 0.00052934 | ||||
Deploy Gateway | 18295405 | 559 days ago | IN | 0 ETH | 0.00065016 | ||||
Deploy Gateway | 16932811 | 751 days ago | IN | 0 ETH | 0.00335371 | ||||
Deploy Gateway | 16927653 | 751 days ago | IN | 0 ETH | 0.0032231 | ||||
Deploy Gateway | 16925022 | 752 days ago | IN | 0 ETH | 0.00316218 | ||||
Withdraw To | 16921770 | 752 days ago | IN | 0 ETH | 0.000872 | ||||
Deploy Gateway | 16913273 | 753 days ago | IN | 0 ETH | 0.00267909 | ||||
Deploy Gateway | 16907231 | 754 days ago | IN | 0 ETH | 0.00189234 | ||||
Deploy Gateway | 16907104 | 754 days ago | IN | 0 ETH | 0.00193752 | ||||
Deploy Gateway | 16905157 | 755 days ago | IN | 0 ETH | 0.0026141 | ||||
Transfer | 16899369 | 755 days ago | IN | 0.55074325 ETH | 0.00050983 | ||||
Deploy Gateway | 16898280 | 756 days ago | IN | 0 ETH | 0.00439725 | ||||
Deploy Gateway | 16896841 | 756 days ago | IN | 0 ETH | 0.00213767 | ||||
Deploy Gateway | 16895556 | 756 days ago | IN | 0 ETH | 0.00204959 | ||||
Deploy Gateway | 16889186 | 757 days ago | IN | 0 ETH | 0.00142187 | ||||
Deploy Gateway | 16887690 | 757 days ago | IN | 0 ETH | 0.00180353 | ||||
Deploy Gateway | 16887511 | 757 days ago | IN | 0 ETH | 0.0017777 | ||||
Deploy Gateway | 16885173 | 757 days ago | IN | 0 ETH | 0.00467501 | ||||
Deploy Gateway | 16878403 | 758 days ago | IN | 0 ETH | 0.00336532 | ||||
Deploy Gateway | 16876317 | 759 days ago | IN | 0 ETH | 0.00382146 | ||||
Deploy Gateway | 16870977 | 759 days ago | IN | 0 ETH | 0.00323149 | ||||
Deploy Gateway | 16869510 | 760 days ago | IN | 0 ETH | 0.00361753 | ||||
Deploy Gateway | 16869397 | 760 days ago | IN | 0 ETH | 0.00485866 | ||||
Deploy Gateway | 16867650 | 760 days ago | IN | 0 ETH | 0.00205872 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Method | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|---|
0x3d602d80 | 20144700 | 300 days ago | Contract Creation | 0 ETH | |||
0x3d602d80 | 19750075 | 355 days ago | Contract Creation | 0 ETH | |||
0x3d602d80 | 18295405 | 559 days ago | Contract Creation | 0 ETH | |||
Transfer | 16936551 | 750 days ago | 0.00000607 ETH | ||||
Transfer | 16936550 | 750 days ago | 0.00000632 ETH | ||||
Transfer | 16936549 | 750 days ago | 0.00000621 ETH | ||||
Transfer | 16936548 | 750 days ago | 0.0001847 ETH | ||||
Transfer | 16936548 | 750 days ago | 0.00062383 ETH | ||||
Transfer | 16936537 | 750 days ago | 0.00000833 ETH | ||||
Transfer | 16936529 | 750 days ago | 0.0000065 ETH | ||||
Transfer | 16936526 | 750 days ago | 0.00001634 ETH | ||||
Transfer | 16936522 | 750 days ago | 0.00020674 ETH | ||||
Transfer | 16936519 | 750 days ago | 0.00012068 ETH | ||||
Transfer | 16936515 | 750 days ago | 0.00210636 ETH | ||||
Transfer | 16936512 | 750 days ago | 0.00000598 ETH | ||||
Transfer | 16936512 | 750 days ago | 0.00000766 ETH | ||||
Transfer | 16936509 | 750 days ago | 0.00000752 ETH | ||||
Transfer | 16936508 | 750 days ago | 0.000072 ETH | ||||
Transfer | 16936504 | 750 days ago | 0.00015233 ETH | ||||
Transfer | 16936503 | 750 days ago | 0.00004762 ETH | ||||
Transfer | 16936502 | 750 days ago | 0.00014283 ETH | ||||
Transfer | 16936420 | 750 days ago | 0.00018354 ETH | ||||
Transfer | 16936391 | 750 days ago | 0.00017579 ETH | ||||
0x3d602d80 | 16932811 | 751 days ago | Contract Creation | 0 ETH | |||
0x3d602d80 | 16927653 | 751 days ago | Contract Creation | 0 ETH |
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
WhopPaymentGatewayManager
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 20000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.13; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {Clones} from "@openzeppelin/contracts/proxy/Clones.sol"; import {WhopPaymentGateway} from "./Gateway.sol"; import {WhopWithdrawable} from "./Withdrawable.sol"; contract WhopPaymentGatewayManager is Ownable, WhopWithdrawable { using Clones for address; error NotOwner(); event GatewayDeployed(address indexed gateway, address indexed owner); address private immutable _impl = address(new WhopPaymentGateway()); function deployGateway() external returns (address) { return _deployGateway(); } function _deployGateway() private returns (address) { address gateway = _impl.clone(); WhopPaymentGateway(payable(gateway)).init(msg.sender, 100); emit GatewayDeployed(gateway, msg.sender); return gateway; } function _beforeWithdraw( address withdrawer, address, address, uint256 amount ) internal view override returns (uint256) { if (withdrawer != owner()) revert NotOwner(); return amount; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (proxy/Clones.sol) pragma solidity ^0.8.0; /** * @dev https://eips.ethereum.org/EIPS/eip-1167[EIP 1167] is a standard for * deploying minimal proxy contracts, also known as "clones". * * > To simply and cheaply clone contract functionality in an immutable way, this standard specifies * > a minimal bytecode implementation that delegates all calls to a known, fixed address. * * The library includes functions to deploy a proxy using either `create` (traditional deployment) or `create2` * (salted deterministic deployment). It also includes functions to predict the addresses of clones deployed using the * deterministic method. * * _Available since v3.4._ */ library Clones { /** * @dev Deploys and returns the address of a clone that mimics the behaviour of `implementation`. * * This function uses the create opcode, which should never revert. */ function clone(address implementation) internal returns (address instance) { /// @solidity memory-safe-assembly assembly { let ptr := mload(0x40) mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) mstore(add(ptr, 0x14), shl(0x60, implementation)) mstore(add(ptr, 0x28), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000) instance := create(0, ptr, 0x37) } require(instance != address(0), "ERC1167: create failed"); } /** * @dev Deploys and returns the address of a clone that mimics the behaviour of `implementation`. * * This function uses the create2 opcode and a `salt` to deterministically deploy * the clone. Using the same `implementation` and `salt` multiple time will revert, since * the clones cannot be deployed twice at the same address. */ function cloneDeterministic(address implementation, bytes32 salt) internal returns (address instance) { /// @solidity memory-safe-assembly assembly { let ptr := mload(0x40) mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) mstore(add(ptr, 0x14), shl(0x60, implementation)) mstore(add(ptr, 0x28), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000) instance := create2(0, ptr, 0x37, salt) } require(instance != address(0), "ERC1167: create2 failed"); } /** * @dev Computes the address of a clone deployed using {Clones-cloneDeterministic}. */ function predictDeterministicAddress( address implementation, bytes32 salt, address deployer ) internal pure returns (address predicted) { /// @solidity memory-safe-assembly assembly { let ptr := mload(0x40) mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) mstore(add(ptr, 0x14), shl(0x60, implementation)) mstore(add(ptr, 0x28), 0x5af43d82803e903d91602b57fd5bf3ff00000000000000000000000000000000) mstore(add(ptr, 0x38), shl(0x60, deployer)) mstore(add(ptr, 0x4c), salt) mstore(add(ptr, 0x6c), keccak256(ptr, 0x37)) predicted := keccak256(add(ptr, 0x37), 0x55) } } /** * @dev Computes the address of a clone deployed using {Clones-cloneDeterministic}. */ function predictDeterministicAddress(address implementation, bytes32 salt) internal view returns (address predicted) { return predictDeterministicAddress(implementation, salt, address(this)); } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.13; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import {WhopWithdrawable} from "./Withdrawable.sol"; contract WhopPaymentGateway is WhopWithdrawable { error AlreadyInititalized(); error NotOwner(); address private _owner; address private _manager; uint256 private _fees; constructor() { init(msg.sender, 100); } function init(address owner_, uint256 fees_) public { if (_owner != address(0)) revert AlreadyInititalized(); _owner = owner_; _manager = msg.sender; _fees = fees_; } function owner() public view returns (address) { return _owner; } function _beforeWithdraw( address withdrawer, address receiver, address token, uint256 amount ) internal override returns (uint256) { if (withdrawer != _owner && receiver != _owner) revert NotOwner(); uint256 fees = (amount * _fees) / 10000; if (token == address(0)) { (bool success, ) = _manager.call{value: fees}(""); if (!success) revert TransferFailed(); } else { bool success = IERC20(token).transfer(_manager, fees); if (!success) revert TransferFailed(); } return amount - fees; } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.13; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; abstract contract WhopWithdrawable { error TransferFailed(); function withdraw() public { _withdrawEth(address(this).balance, msg.sender); } function withdraw(uint256 amount) public { if (amount > address(this).balance) amount = address(this).balance; _withdrawEth(amount, msg.sender); } function withdraw(address token) public { _withdrawERC20( token, IERC20(token).balanceOf(address(this)), msg.sender ); } function withdraw(address token, uint256 amount) public { uint256 balance = IERC20(token).balanceOf(address(this)); if (amount > balance) _withdrawERC20(token, balance, msg.sender); else _withdrawERC20(token, amount, msg.sender); } function withdrawTo(address receiver) public { _withdrawEth(address(this).balance, receiver); } function withdrawTo(address receiver, uint256 amount) public { if (amount > address(this).balance) amount = address(this).balance; _withdrawEth(amount, receiver); } function withdrawTo(address receiver, address token) public { _withdrawERC20(token, IERC20(token).balanceOf(address(this)), receiver); } function withdrawTo( address receiver, address token, uint256 amount ) public { uint256 balance = IERC20(token).balanceOf(address(this)); if (amount > balance) _withdrawERC20(token, balance, receiver); else _withdrawERC20(token, amount, receiver); } function _withdrawEth(uint256 amount, address receiver) private { uint256 actual = _beforeWithdraw( msg.sender, receiver, address(0), amount ); (bool success, ) = receiver.call{value: actual}(""); if (!success) revert TransferFailed(); } function _withdrawERC20( address token, uint256 amount, address receiver ) private { uint256 actual = _beforeWithdraw(msg.sender, receiver, token, amount); bool success = IERC20(token).transfer(receiver, actual); if (!success) revert TransferFailed(); } function _beforeWithdraw( address withdrawer, address receiver, address token, uint256 amount ) internal virtual returns (uint256); receive() external payable {} }
// 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 (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); }
{ "remappings": [ "@openzeppelin/=lib/openzeppelin-contracts/", "ds-test/=lib/forge-std/lib/ds-test/src/", "forge-std/=lib/forge-std/src/", "openzeppelin-contracts/=lib/openzeppelin-contracts/" ], "optimizer": { "enabled": true, "runs": 20000 }, "metadata": { "bytecodeHash": "ipfs" }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "london", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"name":"NotOwner","type":"error"},{"inputs":[],"name":"TransferFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"gateway","type":"address"},{"indexed":true,"internalType":"address","name":"owner","type":"address"}],"name":"GatewayDeployed","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"},{"inputs":[],"name":"deployGateway","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"address","name":"token","type":"address"}],"name":"withdrawTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"withdrawTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a0604052604051610010906100a4565b604051809103906000f08015801561002c573d6000803e3d6000fd5b506001600160a01b031660805234801561004557600080fd5b5061004f33610054565b6100b1565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610c3580610d4483390190565b608051610c786100cc60003960006108c50152610c786000f3fe6080604052600436106100cb5760003560e01c806372b0d90c11610074578063c3b35a7e1161004e578063c3b35a7e14610208578063f2fde38b14610228578063f3fef3a31461024857600080fd5b806372b0d90c146101835780638da5cb5b146101a357806392fc453a146101f357600080fd5b806351cff8d9116100a557806351cff8d91461012e5780636dce4ab01461014e578063715018a61461016e57600080fd5b8063205c2878146100d75780632e1a7d4d146100f95780633ccfd60b1461011957600080fd5b366100d257005b600080fd5b3480156100e357600080fd5b506100f76100f2366004610b33565b610268565b005b34801561010557600080fd5b506100f7610114366004610b5d565b610281565b34801561012557600080fd5b506100f7610299565b34801561013a57600080fd5b506100f7610149366004610b76565b6102a5565b34801561015a57600080fd5b506100f7610169366004610b98565b61033f565b34801561017a57600080fd5b506100f76103d9565b34801561018f57600080fd5b506100f761019e366004610b76565b6103eb565b3480156101af57600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156101ff57600080fd5b506101ca6103f5565b34801561021457600080fd5b506100f7610223366004610bcb565b610404565b34801561023457600080fd5b506100f7610243366004610b76565b6104c0565b34801561025457600080fd5b506100f7610263366004610b33565b610579565b478111156102735750475b61027d818361062f565b5050565b4781111561028c5750475b610296813361062f565b50565b6102a3473361062f565b565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015261029690829073ffffffffffffffffffffffffffffffffffffffff8216906370a0823190602401602060405180830381865afa158015610315573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103399190610c07565b336106da565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015261027d90829073ffffffffffffffffffffffffffffffffffffffff8216906370a0823190602401602060405180830381865afa1580156103af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103d39190610c07565b846106da565b6103e16107c7565b6102a36000610848565b610296478261062f565b60006103ff6108bd565b905090565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8416906370a0823190602401602060405180830381865afa158015610471573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104959190610c07565b9050808211156104af576104aa8382866106da565b6104ba565b6104ba8383866106da565b50505050565b6104c86107c7565b73ffffffffffffffffffffffffffffffffffffffff8116610570576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61029681610848565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8416906370a0823190602401602060405180830381865afa1580156105e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060a9190610c07565b9050808211156106245761061f8382336106da565b505050565b61061f8383336106da565b600061063e33836000866109d0565b905060008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d806000811461069a576040519150601f19603f3d011682016040523d82523d6000602084013e61069f565b606091505b50509050806104ba576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006106e8338386866109d0565b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84811660048301526024820183905291925060009186169063a9059cbb906044016020604051808303816000875af1158015610763573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107879190610c20565b9050806107c0576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146102a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610567565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000806108ff7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16610a2d565b6040517f399ae7240000000000000000000000000000000000000000000000000000000081523360048201526064602482015290915073ffffffffffffffffffffffffffffffffffffffff82169063399ae72490604401600060405180830381600087803b15801561097057600080fd5b505af1158015610984573d6000803e3d6000fd5b505060405133925073ffffffffffffffffffffffffffffffffffffffff841691507f4b209f3d620ba8f4e206ec57dd17cebe32624f42eb77c06bcfd195be78b6c2c290600090a3919050565b6000805473ffffffffffffffffffffffffffffffffffffffff868116911614610a25576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b509392505050565b60006040517f3d602d80600a3d3981f3363d3d373d3d3d363d7300000000000000000000000081528260601b60148201527f5af43d82803e903d91602b57fd5bf3000000000000000000000000000000000060288201526037816000f091505073ffffffffffffffffffffffffffffffffffffffff8116610b0a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f455243313136373a20637265617465206661696c6564000000000000000000006044820152606401610567565b919050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610b0a57600080fd5b60008060408385031215610b4657600080fd5b610b4f83610b0f565b946020939093013593505050565b600060208284031215610b6f57600080fd5b5035919050565b600060208284031215610b8857600080fd5b610b9182610b0f565b9392505050565b60008060408385031215610bab57600080fd5b610bb483610b0f565b9150610bc260208401610b0f565b90509250929050565b600080600060608486031215610be057600080fd5b610be984610b0f565b9250610bf760208501610b0f565b9150604084013590509250925092565b600060208284031215610c1957600080fd5b5051919050565b600060208284031215610c3257600080fd5b81518015158114610b9157600080fdfea26469706673582212203e62e128463802998d3032e236f265a8d35c577cdb7fa405a7f448f4c350cc5e64736f6c634300080d0033608060405234801561001057600080fd5b5061001c336064610021565b61007a565b6000546001600160a01b03161561004b57604051630faf2b2560e41b815260040160405180910390fd5b600080546001600160a01b039093166001600160a01b0319938416179055600180549092163317909155600255565b610bac806100896000396000f3fe6080604052600436106100b55760003560e01c80636dce4ab0116100695780638da5cb5b1161004e5780638da5cb5b14610198578063c3b35a7e146101d1578063f3fef3a3146101f157600080fd5b80636dce4ab01461015857806372b0d90c1461017857600080fd5b8063399ae7241161009a578063399ae724146101035780633ccfd60b1461012357806351cff8d91461013857600080fd5b8063205c2878146100c15780632e1a7d4d146100e357600080fd5b366100bc57005b600080fd5b3480156100cd57600080fd5b506100e16100dc3660046109a9565b610211565b005b3480156100ef57600080fd5b506100e16100fe3660046109d3565b61022a565b34801561010f57600080fd5b506100e161011e3660046109a9565b610242565b34801561012f57600080fd5b506100e16102e6565b34801561014457600080fd5b506100e16101533660046109ec565b6102f2565b34801561016457600080fd5b506100e1610173366004610a0e565b61038c565b34801561018457600080fd5b506100e16101933660046109ec565b610426565b3480156101a457600080fd5b506000546040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b3480156101dd57600080fd5b506100e16101ec366004610a41565b610430565b3480156101fd57600080fd5b506100e161020c3660046109a9565b6104ec565b4781111561021c5750475b61022681836105a2565b5050565b478111156102355750475b61023f81336105a2565b50565b60005473ffffffffffffffffffffffffffffffffffffffff1615610292576040517ffaf2b25000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000805473ffffffffffffffffffffffffffffffffffffffff9093167fffffffffffffffffffffffff0000000000000000000000000000000000000000938416179055600180549092163317909155600255565b6102f047336105a2565b565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015261023f90829073ffffffffffffffffffffffffffffffffffffffff8216906370a0823190602401602060405180830381865afa158015610362573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103869190610a7d565b3361064d565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015261022690829073ffffffffffffffffffffffffffffffffffffffff8216906370a0823190602401602060405180830381865afa1580156103fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104209190610a7d565b8461064d565b61023f47826105a2565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8416906370a0823190602401602060405180830381865afa15801561049d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c19190610a7d565b9050808211156104db576104d683828661064d565b6104e6565b6104e683838661064d565b50505050565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8416906370a0823190602401602060405180830381865afa158015610559573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057d9190610a7d565b9050808211156105975761059283823361064d565b505050565b61059283833361064d565b60006105b1338360008661073a565b905060008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d806000811461060d576040519150601f19603f3d011682016040523d82523d6000602084013e610612565b606091505b50509050806104e6576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061065b3383868661073a565b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84811660048301526024820183905291925060009186169063a9059cbb906044016020604051808303816000875af11580156106d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fa9190610a96565b905080610733576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b6000805473ffffffffffffffffffffffffffffffffffffffff868116911614801590610781575060005473ffffffffffffffffffffffffffffffffffffffff858116911614155b156107b8576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612710600254846107cb9190610ae7565b6107d59190610b24565b905073ffffffffffffffffffffffffffffffffffffffff84166108925760015460405160009173ffffffffffffffffffffffffffffffffffffffff169083908381818185875af1925050503d806000811461084c576040519150601f19603f3d011682016040523d82523d6000602084013e610851565b606091505b505090508061088c576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5061096c565b6001546040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff91821660048201526024810183905260009186169063a9059cbb906044016020604051808303816000875af115801561090d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109319190610a96565b90508061096a576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b6109768184610b5f565b9695505050505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146109a457600080fd5b919050565b600080604083850312156109bc57600080fd5b6109c583610980565b946020939093013593505050565b6000602082840312156109e557600080fd5b5035919050565b6000602082840312156109fe57600080fd5b610a0782610980565b9392505050565b60008060408385031215610a2157600080fd5b610a2a83610980565b9150610a3860208401610980565b90509250929050565b600080600060608486031215610a5657600080fd5b610a5f84610980565b9250610a6d60208501610980565b9150604084013590509250925092565b600060208284031215610a8f57600080fd5b5051919050565b600060208284031215610aa857600080fd5b81518015158114610a0757600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610b1f57610b1f610ab8565b500290565b600082610b5a577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600082821015610b7157610b71610ab8565b50039056fea264697066735822122021499c30f50b155d1c181d18768af1b74cbd7ffc5efd5356c53bf89f14dd125164736f6c634300080d0033
Deployed Bytecode
0x6080604052600436106100cb5760003560e01c806372b0d90c11610074578063c3b35a7e1161004e578063c3b35a7e14610208578063f2fde38b14610228578063f3fef3a31461024857600080fd5b806372b0d90c146101835780638da5cb5b146101a357806392fc453a146101f357600080fd5b806351cff8d9116100a557806351cff8d91461012e5780636dce4ab01461014e578063715018a61461016e57600080fd5b8063205c2878146100d75780632e1a7d4d146100f95780633ccfd60b1461011957600080fd5b366100d257005b600080fd5b3480156100e357600080fd5b506100f76100f2366004610b33565b610268565b005b34801561010557600080fd5b506100f7610114366004610b5d565b610281565b34801561012557600080fd5b506100f7610299565b34801561013a57600080fd5b506100f7610149366004610b76565b6102a5565b34801561015a57600080fd5b506100f7610169366004610b98565b61033f565b34801561017a57600080fd5b506100f76103d9565b34801561018f57600080fd5b506100f761019e366004610b76565b6103eb565b3480156101af57600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156101ff57600080fd5b506101ca6103f5565b34801561021457600080fd5b506100f7610223366004610bcb565b610404565b34801561023457600080fd5b506100f7610243366004610b76565b6104c0565b34801561025457600080fd5b506100f7610263366004610b33565b610579565b478111156102735750475b61027d818361062f565b5050565b4781111561028c5750475b610296813361062f565b50565b6102a3473361062f565b565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015261029690829073ffffffffffffffffffffffffffffffffffffffff8216906370a0823190602401602060405180830381865afa158015610315573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103399190610c07565b336106da565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015261027d90829073ffffffffffffffffffffffffffffffffffffffff8216906370a0823190602401602060405180830381865afa1580156103af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103d39190610c07565b846106da565b6103e16107c7565b6102a36000610848565b610296478261062f565b60006103ff6108bd565b905090565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8416906370a0823190602401602060405180830381865afa158015610471573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104959190610c07565b9050808211156104af576104aa8382866106da565b6104ba565b6104ba8383866106da565b50505050565b6104c86107c7565b73ffffffffffffffffffffffffffffffffffffffff8116610570576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61029681610848565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8416906370a0823190602401602060405180830381865afa1580156105e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060a9190610c07565b9050808211156106245761061f8382336106da565b505050565b61061f8383336106da565b600061063e33836000866109d0565b905060008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d806000811461069a576040519150601f19603f3d011682016040523d82523d6000602084013e61069f565b606091505b50509050806104ba576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006106e8338386866109d0565b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84811660048301526024820183905291925060009186169063a9059cbb906044016020604051808303816000875af1158015610763573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107879190610c20565b9050806107c0576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050565b60005473ffffffffffffffffffffffffffffffffffffffff1633146102a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610567565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000806108ff7f0000000000000000000000008968cfe59ddc9f5494b7d68bfca591ca03f956ec73ffffffffffffffffffffffffffffffffffffffff16610a2d565b6040517f399ae7240000000000000000000000000000000000000000000000000000000081523360048201526064602482015290915073ffffffffffffffffffffffffffffffffffffffff82169063399ae72490604401600060405180830381600087803b15801561097057600080fd5b505af1158015610984573d6000803e3d6000fd5b505060405133925073ffffffffffffffffffffffffffffffffffffffff841691507f4b209f3d620ba8f4e206ec57dd17cebe32624f42eb77c06bcfd195be78b6c2c290600090a3919050565b6000805473ffffffffffffffffffffffffffffffffffffffff868116911614610a25576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b509392505050565b60006040517f3d602d80600a3d3981f3363d3d373d3d3d363d7300000000000000000000000081528260601b60148201527f5af43d82803e903d91602b57fd5bf3000000000000000000000000000000000060288201526037816000f091505073ffffffffffffffffffffffffffffffffffffffff8116610b0a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f455243313136373a20637265617465206661696c6564000000000000000000006044820152606401610567565b919050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610b0a57600080fd5b60008060408385031215610b4657600080fd5b610b4f83610b0f565b946020939093013593505050565b600060208284031215610b6f57600080fd5b5035919050565b600060208284031215610b8857600080fd5b610b9182610b0f565b9392505050565b60008060408385031215610bab57600080fd5b610bb483610b0f565b9150610bc260208401610b0f565b90509250929050565b600080600060608486031215610be057600080fd5b610be984610b0f565b9250610bf760208501610b0f565b9150604084013590509250925092565b600060208284031215610c1957600080fd5b5051919050565b600060208284031215610c3257600080fd5b81518015158114610b9157600080fdfea26469706673582212203e62e128463802998d3032e236f265a8d35c577cdb7fa405a7f448f4c350cc5e64736f6c634300080d0033
Loading...
Loading
Loading...
Loading
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.