Overview
ETH Balance
0.1803 ETH
ETH Value
$725.24 (@ $4,022.39/ETH)Token Holdings
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 18,503 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Onswap | 129003137 | 4 mins ago | IN | 0.00015 ETH | 0.000001554651 | ||||
Onswap | 129002355 | 30 mins ago | IN | 0.05 ETH | 0.000004053552 | ||||
Onswap | 129002309 | 31 mins ago | IN | 0.00015 ETH | 0.000003080707 | ||||
Onswap | 129001896 | 45 mins ago | IN | 0.001 ETH | 0.000000794642 | ||||
Onswap | 128999905 | 1 hr ago | IN | 0.000000001 ETH | 0.000001230082 | ||||
Onswap | 128998806 | 2 hrs ago | IN | 0.00015 ETH | 0.000005428599 | ||||
Onswap | 128997541 | 3 hrs ago | IN | 0.00015 ETH | 0.000003140551 | ||||
Onswap | 128996709 | 3 hrs ago | IN | 0.00015 ETH | 0.000001501022 | ||||
Onswap | 128995798 | 4 hrs ago | IN | 0.0004 ETH | 0.000001067594 | ||||
Onswap | 128994552 | 4 hrs ago | IN | 0.03 ETH | 0.000004341906 | ||||
Onswap | 128994282 | 4 hrs ago | IN | 0.0002 ETH | 0.000001485927 | ||||
Onswap | 128993917 | 5 hrs ago | IN | 0.00015 ETH | 0.000002793224 | ||||
Onswap | 128992123 | 6 hrs ago | IN | 0.0035 ETH | 0.000008292499 | ||||
Onswap | 128991205 | 6 hrs ago | IN | 0.00021 ETH | 0.000004663168 | ||||
Onswap | 128988819 | 8 hrs ago | IN | 0.00015 ETH | 0.000002106455 | ||||
Onswap | 128988690 | 8 hrs ago | IN | 0.00015 ETH | 0.000004050349 | ||||
Onswap | 128988343 | 8 hrs ago | IN | 0.00015 ETH | 0.000003424353 | ||||
Onswap | 128987930 | 8 hrs ago | IN | 0.00015 ETH | 0.000004800111 | ||||
Onswap | 128986942 | 9 hrs ago | IN | 0.00015 ETH | 0.000002299831 | ||||
Onswap | 128986179 | 9 hrs ago | IN | 0.0003 ETH | 0.000001984087 | ||||
Onswap | 128984897 | 10 hrs ago | IN | 0.0002 ETH | 0.0000027706 | ||||
Onswap | 128984782 | 10 hrs ago | IN | 0.00015 ETH | 0.000003456271 | ||||
Onswap | 128984584 | 10 hrs ago | IN | 0.00015 ETH | 0.000001453864 | ||||
Onswap | 128983213 | 11 hrs ago | IN | 0.00015 ETH | 0.000001439646 | ||||
Onswap | 128979784 | 13 hrs ago | IN | 0.00015 ETH | 0.000017823959 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
129002355 | 30 mins ago | 0.04985 ETH | ||||
129001896 | 45 mins ago | 0.00085 ETH | ||||
128995798 | 4 hrs ago | 0.00025 ETH | ||||
128994552 | 4 hrs ago | 0.02985 ETH | ||||
128994282 | 4 hrs ago | 0.00005 ETH | ||||
128992123 | 6 hrs ago | 0.00335 ETH | ||||
128991205 | 6 hrs ago | 0.00006 ETH | ||||
128986179 | 9 hrs ago | 0.00015 ETH | ||||
128984897 | 10 hrs ago | 0.00005 ETH | ||||
128949667 | 29 hrs ago | 0.00035 ETH | ||||
128949497 | 29 hrs ago | 0.00085 ETH | ||||
128944411 | 32 hrs ago | 0.00015 ETH | ||||
128914221 | 2 days ago | 0.00015 ETH | ||||
128909840 | 2 days ago | 0.00085 ETH | ||||
128908353 | 2 days ago | 0.00035 ETH | ||||
128906944 | 2 days ago | 0.00985 ETH | ||||
128903189 | 2 days ago | 0.00012 ETH | ||||
128902668 | 2 days ago | 0.00085 ETH | ||||
128899531 | 2 days ago | 0.00185 ETH | ||||
128877004 | 2 days ago | 0.00005 ETH | ||||
128872246 | 3 days ago | 0.49985 ETH | ||||
128863735 | 3 days ago | 0.22985 ETH | ||||
128863329 | 3 days ago | 0.00085 ETH | ||||
128858053 | 3 days ago | 0.00015 ETH | ||||
128857484 | 3 days ago | 0.00005 ETH |
Loading...
Loading
Contract Name:
OnchainSwapV3
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 2000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "./OnchainGateway.sol"; import '@openzeppelin/contracts/access/Ownable.sol'; contract OnchainSwapV3 is Context, Ownable{ uint256 public fee = 0.05 ether; event ClaimedTokens(address to, uint256 balance); event OnchainSwap(address token, uint256 amount, uint256 fee); OnchainGateway public onchainGateway; constructor() { onchainGateway = new OnchainGateway(address(this)); } modifier hasFee() { require(msg.value >= fee); _; } function onswap( address token, uint256 amount, address dex, address dexgateway, bytes memory calldata_ ) external payable hasFee { if(token!=address(0)) { onchainGateway.claimTokens( token, _msgSender(), amount ); if (dexgateway == address(0)) { forceApprove(token, dex, amount); } else { forceApprove(token, dexgateway, amount); } } require(dex != address(onchainGateway), "OnchainSwap: call to onchain gateway"); { uint256 size; address toCheck = dex; assembly { size := extcodesize(toCheck) } require(size != 0, "OnchainSwap: call for a non-contract account"); } (bool swapPassed, ) = dex.call{value: msg.value - fee}( calldata_ ); require(swapPassed, "OnchainSwap: Fail to call"); emit OnchainSwap(token, amount, fee); } function changeFee(uint256 _newFee) public onlyOwner { fee = _newFee; } function claimTokens(address _to) public onlyOwner { uint256 balance = address(this).balance; (bool sent, ) = _to.call{value: balance}(""); require(sent, "Failed to send Ether"); emit ClaimedTokens(_to, balance); } function forceApprove(address _token, address _recipient, uint256 _value) internal { IERC20 erc20token = IERC20(_token); if (erc20token.allowance(address(this), _recipient) < _value) { erc20token.approve(_recipient, 0); erc20token.approve(_recipient, type(uint256).max); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { 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 v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// 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: GPL-3.0 pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; contract OnchainGateway { address public immutable onchainSwap; modifier onlyOnchainSwap() { require(onchainSwap == msg.sender, "Symb: caller is not the onchainSwap"); _; } constructor(address _onchainSwap) { onchainSwap = _onchainSwap; } function claimTokens( address _token, address _from, uint256 _amount ) external onlyOnchainSwap { IERC20(_token).transferFrom(_from, onchainSwap, _amount ); } }
{ "optimizer": { "enabled": true, "runs": 2000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"balance","type":"uint256"}],"name":"ClaimedTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"OnchainSwap","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":[{"internalType":"uint256","name":"_newFee","type":"uint256"}],"name":"changeFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"claimTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onchainGateway","outputs":[{"internalType":"contract OnchainGateway","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"dex","type":"address"},{"internalType":"address","name":"dexgateway","type":"address"},{"internalType":"bytes","name":"calldata_","type":"bytes"}],"name":"onswap","outputs":[],"stateMutability":"payable","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"}]
Contract Creation Code
608060405266b1a2bc2ec5000060015534801561001b57600080fd5b5061002533610084565b30604051610032906100d4565b6001600160a01b039091168152602001604051809103906000f08015801561005e573d6000803e3d6000fd5b50600280546001600160a01b0319166001600160a01b03929092169190911790556100e1565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6103a180610d2b83390190565b610c3b806100f06000396000f3fe60806040526004361061007b5760003560e01c8063c20bb33c1161004e578063c20bb33c14610101578063ddca3f4314610121578063df8de3e714610145578063f2fde38b1461016557600080fd5b806321c69a19146100805780636a1db1bf14610095578063715018a6146100b55780638da5cb5b146100ca575b600080fd5b61009361008e3660046109fe565b610185565b005b3480156100a157600080fd5b506100936100b0366004610b2b565b61046d565b3480156100c157600080fd5b506100936104cc565b3480156100d657600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b34801561010d57600080fd5b506002546100e4906001600160a01b031681565b34801561012d57600080fd5b5061013760015481565b6040519081526020016100f8565b34801561015157600080fd5b506100936101603660046109dc565b610532565b34801561017157600080fd5b506100936101803660046109dc565b610676565b60015434101561019457600080fd5b6001600160a01b0385161561025e576002546001600160a01b0316639fc314c886336040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b0392831660048201529116602482015260448101879052606401600060405180830381600087803b15801561021d57600080fd5b505af1158015610231573d6000803e3d6000fd5b505050506001600160a01b0382166102535761024e858486610758565b61025e565b61025e858386610758565b6002546001600160a01b03848116911614156102e65760405162461bcd60e51b8152602060048201526024808201527f4f6e636861696e537761703a2063616c6c20746f206f6e636861696e2067617460448201527f657761790000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b823b838161035c5760405162461bcd60e51b815260206004820152602c60248201527f4f6e636861696e537761703a2063616c6c20666f722061206e6f6e2d636f6e7460448201527f72616374206163636f756e74000000000000000000000000000000000000000060648201526084016102dd565b50506000836001600160a01b0316600154346103789190610b98565b836040516103869190610b5d565b60006040518083038185875af1925050503d80600081146103c3576040519150601f19603f3d011682016040523d82523d6000602084013e6103c8565b606091505b50509050806104195760405162461bcd60e51b815260206004820152601960248201527f4f6e636861696e537761703a204661696c20746f2063616c6c0000000000000060448201526064016102dd565b600154604080516001600160a01b03891681526020810188905280820192909252517f61a4ff3bb8bbf861e1aa28d574e4b88959510ac2ae1b845521bb8c13c33d566b9181900360600190a1505050505050565b6000546001600160a01b031633146104c75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102dd565b600155565b6000546001600160a01b031633146105265760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102dd565b6105306000610958565b565b6000546001600160a01b0316331461058c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102dd565b60405147906000906001600160a01b0384169083908381818185875af1925050503d80600081146105d9576040519150601f19603f3d011682016040523d82523d6000602084013e6105de565b606091505b505090508061062f5760405162461bcd60e51b815260206004820152601460248201527f4661696c656420746f2073656e6420457468657200000000000000000000000060448201526064016102dd565b604080516001600160a01b0385168152602081018490527fe9aa550fd75d0d28e07fa9dd67d3ae705678776f6c4a75abd09534f93e7d7907910160405180910390a1505050565b6000546001600160a01b031633146106d05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102dd565b6001600160a01b03811661074c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016102dd565b61075581610958565b50565b6040517fdd62ed3e0000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b0383811660248301528491839183169063dd62ed3e9060440160206040518083038186803b1580156107bc57600080fd5b505afa1580156107d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f49190610b44565b1015610952576040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b0384811660048301526000602483015282169063095ea7b390604401602060405180830381600087803b15801561085d57600080fd5b505af1158015610871573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108959190610b09565b506040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b0384811660048301527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff602483015282169063095ea7b390604401602060405180830381600087803b15801561091857600080fd5b505af115801561092c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109509190610b09565b505b50505050565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b03811681146109d757600080fd5b919050565b6000602082840312156109ee57600080fd5b6109f7826109c0565b9392505050565b600080600080600060a08688031215610a1657600080fd5b610a1f866109c0565b945060208601359350610a34604087016109c0565b9250610a42606087016109c0565b9150608086013567ffffffffffffffff80821115610a5f57600080fd5b818801915088601f830112610a7357600080fd5b813581811115610a8557610a85610bd6565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610acb57610acb610bd6565b816040528281528b6020848701011115610ae457600080fd5b8260208601602083013760006020848301015280955050505050509295509295909350565b600060208284031215610b1b57600080fd5b815180151581146109f757600080fd5b600060208284031215610b3d57600080fd5b5035919050565b600060208284031215610b5657600080fd5b5051919050565b6000825160005b81811015610b7e5760208186018101518583015201610b64565b81811115610b8d576000828501525b509190910192915050565b600082821015610bd1577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea2646970667358221220f64887f09e0ad9ca1e07772942887db6c5ffb0fd1d140d1b7da95383f6b8b2ff64736f6c6343000807003360a060405234801561001057600080fd5b506040516103a13803806103a183398101604081905261002f91610044565b60601b6001600160601b031916608052610074565b60006020828403121561005657600080fd5b81516001600160a01b038116811461006d57600080fd5b9392505050565b60805160601c61030361009e6000396000818160400152818160a201526101ae01526103036000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c80632ec609031461003b5780639fc314c81461008b575b600080fd5b6100627f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b61009e610099366004610268565b6100a0565b005b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163314610169576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f53796d623a2063616c6c6572206973206e6f7420746865206f6e636861696e5360448201527f7761700000000000000000000000000000000000000000000000000000000000606482015260840160405180910390fd5b6040517f23b872dd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83811660048301527f000000000000000000000000000000000000000000000000000000000000000081166024830152604482018390528416906323b872dd90606401602060405180830381600087803b15801561020157600080fd5b505af1158015610215573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061023991906102a4565b50505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461026357600080fd5b919050565b60008060006060848603121561027d57600080fd5b6102868461023f565b92506102946020850161023f565b9150604084013590509250925092565b6000602082840312156102b657600080fd5b815180151581146102c657600080fd5b939250505056fea2646970667358221220489f9ae0e5ff4d708afb664245d895032f4ff127fcb2102de46b4363065f699e64736f6c63430008070033
Deployed Bytecode
0x60806040526004361061007b5760003560e01c8063c20bb33c1161004e578063c20bb33c14610101578063ddca3f4314610121578063df8de3e714610145578063f2fde38b1461016557600080fd5b806321c69a19146100805780636a1db1bf14610095578063715018a6146100b55780638da5cb5b146100ca575b600080fd5b61009361008e3660046109fe565b610185565b005b3480156100a157600080fd5b506100936100b0366004610b2b565b61046d565b3480156100c157600080fd5b506100936104cc565b3480156100d657600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b34801561010d57600080fd5b506002546100e4906001600160a01b031681565b34801561012d57600080fd5b5061013760015481565b6040519081526020016100f8565b34801561015157600080fd5b506100936101603660046109dc565b610532565b34801561017157600080fd5b506100936101803660046109dc565b610676565b60015434101561019457600080fd5b6001600160a01b0385161561025e576002546001600160a01b0316639fc314c886336040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b0392831660048201529116602482015260448101879052606401600060405180830381600087803b15801561021d57600080fd5b505af1158015610231573d6000803e3d6000fd5b505050506001600160a01b0382166102535761024e858486610758565b61025e565b61025e858386610758565b6002546001600160a01b03848116911614156102e65760405162461bcd60e51b8152602060048201526024808201527f4f6e636861696e537761703a2063616c6c20746f206f6e636861696e2067617460448201527f657761790000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b823b838161035c5760405162461bcd60e51b815260206004820152602c60248201527f4f6e636861696e537761703a2063616c6c20666f722061206e6f6e2d636f6e7460448201527f72616374206163636f756e74000000000000000000000000000000000000000060648201526084016102dd565b50506000836001600160a01b0316600154346103789190610b98565b836040516103869190610b5d565b60006040518083038185875af1925050503d80600081146103c3576040519150601f19603f3d011682016040523d82523d6000602084013e6103c8565b606091505b50509050806104195760405162461bcd60e51b815260206004820152601960248201527f4f6e636861696e537761703a204661696c20746f2063616c6c0000000000000060448201526064016102dd565b600154604080516001600160a01b03891681526020810188905280820192909252517f61a4ff3bb8bbf861e1aa28d574e4b88959510ac2ae1b845521bb8c13c33d566b9181900360600190a1505050505050565b6000546001600160a01b031633146104c75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102dd565b600155565b6000546001600160a01b031633146105265760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102dd565b6105306000610958565b565b6000546001600160a01b0316331461058c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102dd565b60405147906000906001600160a01b0384169083908381818185875af1925050503d80600081146105d9576040519150601f19603f3d011682016040523d82523d6000602084013e6105de565b606091505b505090508061062f5760405162461bcd60e51b815260206004820152601460248201527f4661696c656420746f2073656e6420457468657200000000000000000000000060448201526064016102dd565b604080516001600160a01b0385168152602081018490527fe9aa550fd75d0d28e07fa9dd67d3ae705678776f6c4a75abd09534f93e7d7907910160405180910390a1505050565b6000546001600160a01b031633146106d05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102dd565b6001600160a01b03811661074c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016102dd565b61075581610958565b50565b6040517fdd62ed3e0000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b0383811660248301528491839183169063dd62ed3e9060440160206040518083038186803b1580156107bc57600080fd5b505afa1580156107d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f49190610b44565b1015610952576040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b0384811660048301526000602483015282169063095ea7b390604401602060405180830381600087803b15801561085d57600080fd5b505af1158015610871573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108959190610b09565b506040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b0384811660048301527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff602483015282169063095ea7b390604401602060405180830381600087803b15801561091857600080fd5b505af115801561092c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109509190610b09565b505b50505050565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b03811681146109d757600080fd5b919050565b6000602082840312156109ee57600080fd5b6109f7826109c0565b9392505050565b600080600080600060a08688031215610a1657600080fd5b610a1f866109c0565b945060208601359350610a34604087016109c0565b9250610a42606087016109c0565b9150608086013567ffffffffffffffff80821115610a5f57600080fd5b818801915088601f830112610a7357600080fd5b813581811115610a8557610a85610bd6565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610acb57610acb610bd6565b816040528281528b6020848701011115610ae457600080fd5b8260208601602083013760006020848301015280955050505050509295509295909350565b600060208284031215610b1b57600080fd5b815180151581146109f757600080fd5b600060208284031215610b3d57600080fd5b5035919050565b600060208284031215610b5657600080fd5b5051919050565b6000825160005b81811015610b7e5760208186018101518583015201610b64565b81811115610b8d576000828501525b509190910192915050565b600082821015610bd1577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfea2646970667358221220f64887f09e0ad9ca1e07772942887db6c5ffb0fd1d140d1b7da95383f6b8b2ff64736f6c63430008070033
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.