Source Code
Latest 1 from a total of 1 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Notify Fill Orde... | 15727052 | 1237 days ago | IN | 0 ETH | 0.00139222 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 22507587 | 287 days ago | 0.03045827 ETH | ||||
| Transfer | 22507587 | 287 days ago | 0.03045827 ETH | ||||
| Transfer | 21367316 | 447 days ago | 0.00005518 ETH | ||||
| Transfer | 21367316 | 447 days ago | 0.00005518 ETH | ||||
| Transfer | 20595435 | 554 days ago | 0.00226957 ETH | ||||
| Transfer | 20595435 | 554 days ago | 0.00226957 ETH | ||||
| Transfer | 20408285 | 581 days ago | 0.00000009 ETH | ||||
| Transfer | 20408285 | 581 days ago | 0.00000009 ETH | ||||
| Transfer | 20249104 | 603 days ago | 0.00011473 ETH | ||||
| Transfer | 20249104 | 603 days ago | 0.00011473 ETH | ||||
| Transfer | 20107181 | 623 days ago | 0 ETH | ||||
| Transfer | 20107181 | 623 days ago | 0 ETH | ||||
| Transfer | 19930755 | 647 days ago | 0.1288625 ETH | ||||
| Transfer | 19930755 | 647 days ago | 0.1288625 ETH | ||||
| Transfer | 19893930 | 652 days ago | 0.00992 ETH | ||||
| Transfer | 19893930 | 652 days ago | 0.00992 ETH | ||||
| Transfer | 19868373 | 656 days ago | 0.01194631 ETH | ||||
| Transfer | 19868373 | 656 days ago | 0.01194631 ETH | ||||
| Transfer | 19802268 | 665 days ago | 0.00024128 ETH | ||||
| Transfer | 19802268 | 665 days ago | 0.00024128 ETH | ||||
| Transfer | 19633273 | 689 days ago | 53.95943999 ETH | ||||
| Transfer | 19633273 | 689 days ago | 53.95943999 ETH | ||||
| Transfer | 19466357 | 712 days ago | 0.0793 ETH | ||||
| Transfer | 19466357 | 712 days ago | 0.0793 ETH | ||||
| Transfer | 19466307 | 712 days ago | 0.0297375 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
WethUnwrapper
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 1000000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
pragma abicoder v1;
import "./interfaces/InteractiveNotificationReceiver.sol";
import "./interfaces/IWithdrawable.sol";
contract WethUnwrapper is InteractiveNotificationReceiver {
// solhint-disable-next-line no-empty-blocks
receive() external payable {}
function notifyFillOrder(
address /* taker */,
address /* makerAsset */,
address takerAsset,
uint256 /* makingAmount */,
uint256 takingAmount,
bytes calldata interactiveData
) external override {
address payable makerAddress;
// solhint-disable-next-line no-inline-assembly
assembly {
makerAddress := shr(96, calldataload(interactiveData.offset))
}
IWithdrawable(takerAsset).withdraw(takingAmount);
makerAddress.transfer(takingAmount);
}
}// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
pragma abicoder v1;
/// @title Interface for interactor which acts between `maker => taker` and `taker => maker` transfers.
interface InteractiveNotificationReceiver {
/// @notice Callback method that gets called after taker transferred funds to maker but before
/// the opposite transfer happened
function notifyFillOrder(
address taker,
address makerAsset,
address takerAsset,
uint256 makingAmount,
uint256 takingAmount,
bytes memory interactiveData
) external;
}// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
pragma abicoder v1;
interface IWithdrawable {
function withdraw(uint wad) external;
}{
"optimizer": {
"enabled": true,
"runs": 1000000
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"metadata": {
"useLiteralContent": true
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"takerAsset","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"takingAmount","type":"uint256"},{"internalType":"bytes","name":"interactiveData","type":"bytes"}],"name":"notifyFillOrder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
608060405234801561001057600080fd5b506101df806100206000396000f3fe6080604052600436106100225760003560e01c8063cf21c7751461002e57600080fd5b3661002957005b600080fd5b34801561003a57600080fd5b506100e5600480360360c081101561005157600080fd5b73ffffffffffffffffffffffffffffffffffffffff8235811692602081013582169260408201359092169160608201359160808101359181019060c0810160a08201356401000000008111156100a657600080fd5b8201836020820111156100b857600080fd5b803590602001918460018302840111640100000000831117156100da57600080fd5b5090925090506100e7565b005b6000823560601c90508573ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d856040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561014357600080fd5b505af1158015610157573d6000803e3d6000fd5b505060405173ffffffffffffffffffffffffffffffffffffffff8416925086156108fc02915086906000818181858888f1935050505015801561019e573d6000803e3d6000fd5b50505050505050505056fea26469706673582212208189db1f5be3b992974dc167de7e2f65fa7c87500e0b561c691811c131532e2964736f6c634300080a0033
Deployed Bytecode
0x6080604052600436106100225760003560e01c8063cf21c7751461002e57600080fd5b3661002957005b600080fd5b34801561003a57600080fd5b506100e5600480360360c081101561005157600080fd5b73ffffffffffffffffffffffffffffffffffffffff8235811692602081013582169260408201359092169160608201359160808101359181019060c0810160a08201356401000000008111156100a657600080fd5b8201836020820111156100b857600080fd5b803590602001918460018302840111640100000000831117156100da57600080fd5b5090925090506100e7565b005b6000823560601c90508573ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d856040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561014357600080fd5b505af1158015610157573d6000803e3d6000fd5b505060405173ffffffffffffffffffffffffffffffffffffffff8416925086156108fc02915086906000818181858888f1935050505015801561019e573d6000803e3d6000fd5b50505050505050505056fea26469706673582212208189db1f5be3b992974dc167de7e2f65fa7c87500e0b561c691811c131532e2964736f6c634300080a0033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
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.