Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x60806040 | 15616545 | 710 days ago | IN | 0 ETH | 0.01519933 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
20560039 | 18 days ago | 0.20183263 ETH | ||||
20560039 | 18 days ago | 0.20183263 ETH | ||||
20407031 | 39 days ago | 0.4315478 ETH | ||||
20407031 | 39 days ago | 0.4315478 ETH | ||||
20398343 | 40 days ago | 1.26317879 ETH | ||||
20398343 | 40 days ago | 1.26317879 ETH | ||||
20380604 | 43 days ago | 2.5 ETH | ||||
20380604 | 43 days ago | 2.5 ETH | ||||
20355208 | 46 days ago | 1.61196815 ETH | ||||
20355208 | 46 days ago | 1.61196815 ETH | ||||
20315420 | 52 days ago | 1.6 ETH | ||||
20315420 | 52 days ago | 1.6 ETH | ||||
20166375 | 72 days ago | 0.0245 ETH | ||||
20166375 | 72 days ago | 0.0245 ETH | ||||
20085147 | 84 days ago | 1.01 ETH | ||||
20085147 | 84 days ago | 1.01 ETH | ||||
20070258 | 86 days ago | 2.5 ETH | ||||
20070258 | 86 days ago | 2.5 ETH | ||||
20059277 | 87 days ago | 1.66 ETH | ||||
20059277 | 87 days ago | 1.66 ETH | ||||
19917964 | 107 days ago | 1.69812266 ETH | ||||
19917964 | 107 days ago | 1.69812266 ETH | ||||
19904096 | 109 days ago | 0.99776721 ETH | ||||
19904096 | 109 days ago | 0.99776721 ETH | ||||
19868091 | 114 days ago | 1.98625212 ETH |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x3c22Be3A...B89F6a9D4 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
WETHVault
Compiler Version
v0.8.6+commit.11564f7e
Optimization Enabled:
Yes with 800 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "./interfaces/IWETH9.sol"; import "./BaseVault.sol"; contract WETHVault is BaseVault { address payable public constant WETH = payable(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2); struct LockRecord { address tokenAddress; uint8 destinationChainId; bytes32 assetId; bytes destinationRecipientAddress; address user; uint256 amount; } // chain id => lock nonce => Lock Record mapping(uint8 => mapping(uint64 => LockRecord)) public lockRecords; constructor(address _bridge, bytes32 _assetId) { bridge = _bridge; _setAsset(_assetId, WETH); } fallback() external payable {} receive() external payable {} function getLockRecord(uint8 _destinationChainId, uint64 _lockNonce) external view returns (LockRecord memory) { return lockRecords[_destinationChainId][_lockNonce]; } function lock( bytes32 _assetId, uint8 _destinationChainId, uint64 _lockNonce, address _user, bytes calldata _data ) external payable override onlyBridge { bytes memory recipientAddress; (uint256 amount, uint256 recipientAddressLength) = abi.decode(_data, (uint256, uint256)); recipientAddress = bytes(_data[64:64 + recipientAddressLength]); require(amount == msg.value, "Vault: value send doesn't match data"); address tokenAddress = assetIdToTokenAddress[_assetId]; require(tokenAllowlist[tokenAddress], "Vault: token is not in the allowlist"); IWETH9(WETH).deposit{ value: amount }(); lockRecords[_destinationChainId][_lockNonce] = LockRecord( tokenAddress, _destinationChainId, _assetId, recipientAddress, _user, amount ); } function execute(bytes32 _assetId, bytes calldata _data) external override onlyBridge { bytes memory destinationRecipientAddress; (uint256 amount, uint256 lenDestinationRecipientAddress) = abi.decode(_data, (uint256, uint256)); destinationRecipientAddress = bytes(_data[64:64 + lenDestinationRecipientAddress]); bytes20 recipient; address tokenAddress = assetIdToTokenAddress[_assetId]; // solhint-disable-next-line assembly { recipient := mload(add(destinationRecipientAddress, 0x20)) } require(tokenAllowlist[tokenAddress], "Vault: token is not in the allowlist"); IWETH9(WETH).withdraw(amount); payable(address(recipient)).transfer(amount); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; interface IWETH9 { function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); function balanceOf(address) external view returns (uint256); function allowance(address, address) external view returns (uint256); receive() external payable; function deposit() external payable; function withdraw(uint256 wad) external; function totalSupply() external view returns (uint256); function approve(address guy, uint256 wad) external returns (bool); function transfer(address dst, uint256 wad) external returns (bool); function transferFrom( address src, address dst, uint256 wad ) external returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import "./interfaces/IVault.sol"; abstract contract BaseVault is IVault { address public bridge; mapping(bytes32 => address) public assetIdToTokenAddress; mapping(address => bytes32) public tokenAddressToAssetId; mapping(address => bool) public tokenAllowlist; mapping(address => bool) public tokenBurnList; modifier onlyBridge() { require(msg.sender == bridge, "Vault: only bridge"); _; } function setAsset(bytes32 _assetId, address _tokenAddress) external override onlyBridge { _setAsset(_assetId, _tokenAddress); } function setBurnable(address contractAddress) external override onlyBridge { _setBurnable(contractAddress); } function _setAsset(bytes32 _assetId, address _tokenAddress) internal { assetIdToTokenAddress[_assetId] = _tokenAddress; tokenAddressToAssetId[_tokenAddress] = _assetId; tokenAllowlist[_tokenAddress] = true; } function _setBurnable(address _tokenAddress) internal { require(tokenAllowlist[_tokenAddress], "Vault: token is not in the allowlist"); tokenBurnList[_tokenAddress] = true; } }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @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) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; interface IVault { function lock( bytes32 assetId, uint8 chainId, uint64 nonce, address user, bytes calldata data ) external payable; function execute(bytes32 assetId, bytes calldata data) external; function setAsset(bytes32 assetId, address tokenAddress) external; function setBurnable(address tokenAddress) external; }
{ "metadata": { "bytecodeHash": "none" }, "optimizer": { "enabled": true, "runs": 800 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_bridge","type":"address"},{"internalType":"bytes32","name":"_assetId","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"assetIdToTokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bridge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_assetId","type":"bytes32"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"execute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_destinationChainId","type":"uint8"},{"internalType":"uint64","name":"_lockNonce","type":"uint64"}],"name":"getLockRecord","outputs":[{"components":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint8","name":"destinationChainId","type":"uint8"},{"internalType":"bytes32","name":"assetId","type":"bytes32"},{"internalType":"bytes","name":"destinationRecipientAddress","type":"bytes"},{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct WETHVault.LockRecord","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_assetId","type":"bytes32"},{"internalType":"uint8","name":"_destinationChainId","type":"uint8"},{"internalType":"uint64","name":"_lockNonce","type":"uint64"},{"internalType":"address","name":"_user","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"lock","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"},{"internalType":"uint64","name":"","type":"uint64"}],"name":"lockRecords","outputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint8","name":"destinationChainId","type":"uint8"},{"internalType":"bytes32","name":"assetId","type":"bytes32"},{"internalType":"bytes","name":"destinationRecipientAddress","type":"bytes"},{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_assetId","type":"bytes32"},{"internalType":"address","name":"_tokenAddress","type":"address"}],"name":"setAsset","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"}],"name":"setBurnable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokenAddressToAssetId","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokenAllowlist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokenBurnList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Deployed Bytecode
0x6080604052600436106100bf5760003560e01c80638135369a1161006e578063e78cea921161004b578063e78cea9214610274578063e9ae5c5314610294578063ece2a625146102b457005b80638135369a146101f9578063ad5c464814610239578063d01616c01461026157005b8063213ce7af1161009c578063213ce7af146101435780634c59581f14610191578063804ddade146101be57005b806303a00879146100c857806307b7ed99146101035780631610c6a61461012357005b366100c657005b005b3480156100d457600080fd5b506100e86100e3366004610e4c565b6102e4565b6040516100fa96959493929190610ec3565b60405180910390f35b34801561010f57600080fd5b506100c661011e366004610cf8565b6103c5565b34801561012f57600080fd5b506100c661013e366004610d33565b610425565b34801561014f57600080fd5b5061017961015e366004610d1a565b6001602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016100fa565b34801561019d57600080fd5b506101b16101ac366004610e4c565b6104d1565b6040516100fa9190610f09565b3480156101ca57600080fd5b506101eb6101d9366004610cf8565b60026020526000908152604090205481565b6040519081526020016100fa565b34801561020557600080fd5b50610229610214366004610cf8565b60036020526000908152604090205460ff1681565b60405190151581526020016100fa565b34801561024557600080fd5b5061017973c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b6100c661026f366004610dab565b61061a565b34801561028057600080fd5b50600054610179906001600160a01b031681565b3480156102a057600080fd5b506100c66102af366004610d5f565b610957565b3480156102c057600080fd5b506102296102cf366004610cf8565b60046020526000908152604090205460ff1681565b60056020908152600092835260408084209091529082529020805460018201546002830180546001600160a01b03841694600160a01b90940460ff1693919061032c90610fc3565b80601f016020809104026020016040519081016040528092919081815260200182805461035890610fc3565b80156103a55780601f1061037a576101008083540402835291602001916103a5565b820191906000526020600020905b81548152906001019060200180831161038857829003601f168201915b50505050600383015460049093015491926001600160a01b031691905086565b6000546001600160a01b031633146104195760405162461bcd60e51b81526020600482015260126024820152715661756c743a206f6e6c792062726964676560701b60448201526064015b60405180910390fd5b61042281610b39565b50565b6000546001600160a01b031633146104745760405162461bcd60e51b81526020600482015260126024820152715661756c743a206f6e6c792062726964676560701b6044820152606401610410565b6000828152600160208181526040808420805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387169081179091558452600282528084208690556003909152909120805460ff191690911790555050565b6040805160c0810182526000808252602082018190529181018290526060808201526080810182905260a081019190915260ff808416600090815260056020908152604080832067ffffffffffffffff87168452825291829020825160c08101845281546001600160a01b0381168252600160a01b90049094169184019190915260018101549183019190915260028101805460608401919061057390610fc3565b80601f016020809104026020016040519081016040528092919081815260200182805461059f90610fc3565b80156105ec5780601f106105c1576101008083540402835291602001916105ec565b820191906000526020600020905b8154815290600101906020018083116105cf57829003601f168201915b505050918352505060038201546001600160a01b031660208201526004909101546040909101529392505050565b6000546001600160a01b031633146106695760405162461bcd60e51b81526020600482015260126024820152715661756c743a206f6e6c792062726964676560701b6044820152606401610410565b606060008061067a84860186610e2a565b90925090508460408561068d8483610f9d565b9261069a93929190610f73565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505050348314905061072d5760405162461bcd60e51b8152602060048201526024808201527f5661756c743a2076616c75652073656e6420646f65736e2774206d61746368206044820152636461746160e01b6064820152608401610410565b6000898152600160209081526040808320546001600160a01b031680845260039092529091205460ff166107af5760405162461bcd60e51b8152602060048201526024808201527f5661756c743a20746f6b656e206973206e6f7420696e2074686520616c6c6f776044820152631b1a5cdd60e21b6064820152608401610410565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc26001600160a01b031663d0e30db0846040518263ffffffff1660e01b81526004016000604051808303818588803b1580156107fe57600080fd5b505af1158015610812573d6000803e3d6000fd5b50505050506040518060c00160405280826001600160a01b031681526020018a60ff1681526020018b8152602001858152602001886001600160a01b0316815260200184815250600560008b60ff1660ff16815260200190815260200160002060008a67ffffffffffffffff1667ffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160000160146101000a81548160ff021916908360ff16021790555060408201518160010155606082015181600201908051906020019061090b929190610bd1565b50608082015160038201805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0390921691909117905560a09091015160049091015550505050505050505050565b6000546001600160a01b031633146109a65760405162461bcd60e51b81526020600482015260126024820152715661756c743a206f6e6c792062726964676560701b6044820152606401610410565b60606000806109b784860186610e2a565b9092509050846040856109ca8483610f9d565b926109d793929190610f73565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201829052508a815260016020908152604080832054828801516001600160a01b039091168085526003909352922054959850909490935060ff169150610a9890505760405162461bcd60e51b8152602060048201526024808201527f5661756c743a20746f6b656e206973206e6f7420696e2074686520616c6c6f776044820152631b1a5cdd60e21b6064820152608401610410565b604051632e1a7d4d60e01b81526004810185905273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc290632e1a7d4d90602401600060405180830381600087803b158015610ae557600080fd5b505af1158015610af9573d6000803e3d6000fd5b5050604051606085901c925086156108fc02915086906000818181858888f19350505050158015610b2e573d6000803e3d6000fd5b505050505050505050565b6001600160a01b03811660009081526003602052604090205460ff16610bad5760405162461bcd60e51b8152602060048201526024808201527f5661756c743a20746f6b656e206973206e6f7420696e2074686520616c6c6f776044820152631b1a5cdd60e21b6064820152608401610410565b6001600160a01b03166000908152600460205260409020805460ff19166001179055565b828054610bdd90610fc3565b90600052602060002090601f016020900481019282610bff5760008555610c45565b82601f10610c1857805160ff1916838001178555610c45565b82800160010185558215610c45579182015b82811115610c45578251825591602001919060010190610c2a565b50610c51929150610c55565b5090565b5b80821115610c515760008155600101610c56565b80356001600160a01b0381168114610c8157600080fd5b919050565b60008083601f840112610c9857600080fd5b50813567ffffffffffffffff811115610cb057600080fd5b602083019150836020828501011115610cc857600080fd5b9250929050565b803567ffffffffffffffff81168114610c8157600080fd5b803560ff81168114610c8157600080fd5b600060208284031215610d0a57600080fd5b610d1382610c6a565b9392505050565b600060208284031215610d2c57600080fd5b5035919050565b60008060408385031215610d4657600080fd5b82359150610d5660208401610c6a565b90509250929050565b600080600060408486031215610d7457600080fd5b83359250602084013567ffffffffffffffff811115610d9257600080fd5b610d9e86828701610c86565b9497909650939450505050565b60008060008060008060a08789031215610dc457600080fd5b86359550610dd460208801610ce7565b9450610de260408801610ccf565b9350610df060608801610c6a565b9250608087013567ffffffffffffffff811115610e0c57600080fd5b610e1889828a01610c86565b979a9699509497509295939492505050565b60008060408385031215610e3d57600080fd5b50508035926020909101359150565b60008060408385031215610e5f57600080fd5b610e6883610ce7565b9150610d5660208401610ccf565b6000815180845260005b81811015610e9c57602081850181015186830182015201610e80565b81811115610eae576000602083870101525b50601f01601f19169290920160200192915050565b60006001600160a01b03808916835260ff8816602084015286604084015260c06060840152610ef560c0840187610e76565b941660808301525060a00152949350505050565b6020815260006001600160a01b0380845116602084015260ff602085015116604084015260408401516060840152606084015160c06080850152610f5060e0850182610e76565b90508160808601511660a085015260a085015160c0850152809250505092915050565b60008085851115610f8357600080fd5b83861115610f9057600080fd5b5050820193919092039150565b60008219821115610fbe57634e487b7160e01b600052601160045260246000fd5b500190565b600181811c90821680610fd757607f821691505b60208210811415610ff857634e487b7160e01b600052602260045260246000fd5b5091905056fea164736f6c6343000806000a
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.