Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Latest 25 from a total of 6,353 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Receive Message | 24646995 | 34 mins ago | IN | 0 ETH | 0.00001276 | ||||
| Receive Message | 24646984 | 37 mins ago | IN | 0 ETH | 0.00001181 | ||||
| Receive Message | 24646978 | 38 mins ago | IN | 0 ETH | 0.00001366 | ||||
| Receive Message | 24646974 | 39 mins ago | IN | 0 ETH | 0.0000126 | ||||
| Receive Message | 24646971 | 39 mins ago | IN | 0 ETH | 0.0000109 | ||||
| Receive Message | 24646957 | 42 mins ago | IN | 0 ETH | 0.0000108 | ||||
| Receive Message | 24646942 | 45 mins ago | IN | 0 ETH | 0.0000121 | ||||
| Receive Message | 24646925 | 48 mins ago | IN | 0 ETH | 0.00001044 | ||||
| Receive Message | 24646916 | 50 mins ago | IN | 0 ETH | 0.00001246 | ||||
| Receive Message | 24646912 | 51 mins ago | IN | 0 ETH | 0.00001054 | ||||
| Receive Message | 24646902 | 53 mins ago | IN | 0 ETH | 0.00001129 | ||||
| Receive Message | 24645470 | 5 hrs ago | IN | 0 ETH | 0.00001224 | ||||
| Receive Message | 24645430 | 5 hrs ago | IN | 0 ETH | 0.00001229 | ||||
| Receive Message | 24645426 | 5 hrs ago | IN | 0 ETH | 0.00001279 | ||||
| Receive Message | 24645163 | 6 hrs ago | IN | 0 ETH | 0.00002722 | ||||
| Receive Message | 24645150 | 6 hrs ago | IN | 0 ETH | 0.00003193 | ||||
| Receive Message | 24643198 | 13 hrs ago | IN | 0 ETH | 0.00050413 | ||||
| Receive Message | 24640963 | 20 hrs ago | IN | 0 ETH | 0.00003217 | ||||
| Receive Message | 24640943 | 20 hrs ago | IN | 0 ETH | 0.000025 | ||||
| Receive Message | 24640647 | 21 hrs ago | IN | 0 ETH | 0.00001841 | ||||
| Receive Message | 24640187 | 23 hrs ago | IN | 0 ETH | 0.00001495 | ||||
| Receive Message | 24639074 | 27 hrs ago | IN | 0 ETH | 0.00001089 | ||||
| Receive Message | 24638930 | 27 hrs ago | IN | 0 ETH | 0.00001153 | ||||
| Receive Message | 24638528 | 28 hrs ago | IN | 0 ETH | 0.00002169 | ||||
| Receive Message | 24638077 | 30 hrs ago | IN | 0 ETH | 0.0000122 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 24627092 | 2 days ago | 0.001 ETH | ||||
| Transfer | 24611663 | 4 days ago | 0.001 ETH | ||||
| Transfer | 24339346 | 42 days ago | 0.001 ETH | ||||
| Transfer | 24262034 | 53 days ago | 0.001 ETH | ||||
| Transfer | 24217813 | 59 days ago | 0.001 ETH | ||||
| Transfer | 23773883 | 122 days ago | 0.001 ETH | ||||
| Transfer | 23724284 | 129 days ago | 0.001 ETH | ||||
| Transfer | 23722103 | 129 days ago | 0.001 ETH | ||||
| Transfer | 23707854 | 131 days ago | 0.001 ETH | ||||
| Transfer | 23704811 | 131 days ago | 0.001 ETH | ||||
| Transfer | 23698553 | 132 days ago | 0.001 ETH | ||||
| Transfer | 23532737 | 155 days ago | 0.001 ETH | ||||
| Transfer | 23517771 | 157 days ago | 0.001 ETH | ||||
| Transfer | 23517393 | 157 days ago | 0.001 ETH | ||||
| Transfer | 23426381 | 170 days ago | 0.001 ETH | ||||
| Transfer | 23426370 | 170 days ago | 0.001 ETH | ||||
| Transfer | 23372621 | 178 days ago | 0.001 ETH | ||||
| Transfer | 23369306 | 178 days ago | 0.001 ETH | ||||
| Transfer | 23369293 | 178 days ago | 0.001 ETH | ||||
| Transfer | 23369023 | 178 days ago | 0.001 ETH | ||||
| Transfer | 23368998 | 178 days ago | 0.001 ETH | ||||
| Transfer | 23368916 | 178 days ago | 0.001 ETH | ||||
| Transfer | 23368907 | 178 days ago | 0.001 ETH | ||||
| Transfer | 23368906 | 178 days ago | 0.001 ETH | ||||
| Transfer | 23368874 | 178 days ago | 0.001 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
VAAv1ReceiveWithGasDropOff
Compiler Version
v0.8.28+commit.7893614a
Optimization Enabled:
Yes with 200 runs
Other Settings:
london EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: Apache 2
pragma solidity ^0.8.19;
import "./interfaces/IVAAv1ReceiveWithGasDropOff.sol";
import "example-messaging-executor/evm/src/interfaces/IVaaV1Receiver.sol";
string constant vaaV1ReceiveWithGasDropOffVersion = "VAAv1ReceiveWithGasDropOff-0.0.1";
/// @title VAAv1ReceiveWithGasDropOff
/// @author Executor Project Contributors.
/// @notice The VAAv1ReceiveWithGasDropOff contract is a shim contract that receives a V1 VAA and drops off gas at the specified address.
contract VAAv1ReceiveWithGasDropOff is IVAAv1ReceiveWithGasDropOff {
string public constant VERSION = vaaV1ReceiveWithGasDropOffVersion;
// ==================== External Interface ===============================================
/// @inheritdoc IVAAv1ReceiveWithGasDropOff
function receiveMessage(address contractAddr, bytes calldata message, address payeeAddress, uint256 dropOffValue)
external
payable
{
if (msg.value < dropOffValue) {
revert InvalidMsgValue(msg.value, dropOffValue);
}
uint256 value = msg.value - dropOffValue;
IVaaV1Receiver(contractAddr).executeVAAv1{value: value}(message);
if (dropOffValue > 0) {
(bool dropOffSuccessful,) = payable(payeeAddress).call{value: dropOffValue}("");
if (!dropOffSuccessful) {
revert DropOffFailed(payeeAddress, dropOffValue);
}
}
}
}// SPDX-License-Identifier: Apache 2
pragma solidity ^0.8.19;
interface IVAAv1ReceiveWithGasDropOff {
error InvalidMsgValue(uint256 msgValue, uint256 dropOffValue);
error DropOffFailed(address, uint256);
/// @notice Receive a message on the specified contract and drops off the specified amount of gas.
/// @param contractAddr The contract to receive message.
/// @param message The message to be received.
/// @param payeeAddress The address to receive the gas drop off.
/// @param dropOffValue The amount of gas to be dropped off.
function receiveMessage(address contractAddr, bytes calldata message, address payeeAddress, uint256 dropOffValue)
external
payable;
}// SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.8.19;
/// @notice Any contract that wishes to receive V1 VAAs from the executor needs to implement `IVaaV1Receiver`.
interface IVaaV1Receiver {
/// @notice Receive an attested message from the executor relayer.
/// @param msg The attested message payload.
function executeVAAv1(bytes memory msg) external payable;
}{
"remappings": [
"ds-test/=lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"example-messaging-executor/=lib/example-messaging-executor/",
"forge-std/=lib/forge-std/src/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/"
],
"optimizer": {
"enabled": true,
"runs": 200
},
"metadata": {
"useLiteralContent": false,
"bytecodeHash": "ipfs",
"appendCBOR": true
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"evmVersion": "london",
"viaIR": true,
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"DropOffFailed","type":"error"},{"inputs":[{"internalType":"uint256","name":"msgValue","type":"uint256"},{"internalType":"uint256","name":"dropOffValue","type":"uint256"}],"name":"InvalidMsgValue","type":"error"},{"inputs":[],"name":"VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddr","type":"address"},{"internalType":"bytes","name":"message","type":"bytes"},{"internalType":"address","name":"payeeAddress","type":"address"},{"internalType":"uint256","name":"dropOffValue","type":"uint256"}],"name":"receiveMessage","outputs":[],"stateMutability":"payable","type":"function"}]Contract Creation Code
608080604052346015576102ed908161001b8239f35b600080fdfe6080604052600436101561001257600080fd5b6000803560e01c80636dffc391146100c75763ffa1ad741461003357600080fd5b346100c457806003193601126100c4576040805191610052828461027f565b602083527f5641417631526563656976655769746847617344726f704f66662d302e302e316020840152815192839160208352815191826020850152815b8381106100ad575050828201840152601f01601f19168101030190f35b602082820181015188830188015287955001610090565b80fd5b5060803660031901126100c4576004356001600160a01b03811691908290036100c4576024359067ffffffffffffffff82116100c457366023830112156100c457816004013567ffffffffffffffff811161027b57366024828501011161027b576044356001600160a01b0381169490859003610277576064359384341061025f578434039034821161024b57823b1561024757916024849260448795604051978896879586936314f1bc3760e21b855260206004860152828286015201848401378181018301889052601f01601f191681010301925af1801561023c5761022c575b5090806101b5575080f35b8180808084875af13d15610227573d67ffffffffffffffff811161021357604051906101eb601f8201601f19166020018361027f565b81528360203d92013e5b156101fe575080f35b604492634913b37360e11b8352600452602452fd5b634e487b7160e01b84526041600452602484fd5b6101f5565b816102369161027f565b386101aa565b6040513d84823e3d90fd5b8480fd5b634e487b7160e01b85526011600452602485fd5b631f89f67160e01b8452346004526024859052604484fd5b8280fd5b5080fd5b90601f8019910116810190811067ffffffffffffffff8211176102a157604052565b634e487b7160e01b600052604160045260246000fdfea2646970667358221220d7ed416393f8ccdc897426dbbd2c7b4c42b865b35a3b06051f350ba792fdc9d264736f6c634300081c0033
Deployed Bytecode
0x6080604052600436101561001257600080fd5b6000803560e01c80636dffc391146100c75763ffa1ad741461003357600080fd5b346100c457806003193601126100c4576040805191610052828461027f565b602083527f5641417631526563656976655769746847617344726f704f66662d302e302e316020840152815192839160208352815191826020850152815b8381106100ad575050828201840152601f01601f19168101030190f35b602082820181015188830188015287955001610090565b80fd5b5060803660031901126100c4576004356001600160a01b03811691908290036100c4576024359067ffffffffffffffff82116100c457366023830112156100c457816004013567ffffffffffffffff811161027b57366024828501011161027b576044356001600160a01b0381169490859003610277576064359384341061025f578434039034821161024b57823b1561024757916024849260448795604051978896879586936314f1bc3760e21b855260206004860152828286015201848401378181018301889052601f01601f191681010301925af1801561023c5761022c575b5090806101b5575080f35b8180808084875af13d15610227573d67ffffffffffffffff811161021357604051906101eb601f8201601f19166020018361027f565b81528360203d92013e5b156101fe575080f35b604492634913b37360e11b8352600452602452fd5b634e487b7160e01b84526041600452602484fd5b6101f5565b816102369161027f565b386101aa565b6040513d84823e3d90fd5b8480fd5b634e487b7160e01b85526011600452602485fd5b631f89f67160e01b8452346004526024859052604484fd5b8280fd5b5080fd5b90601f8019910116810190811067ffffffffffffffff8211176102a157604052565b634e487b7160e01b600052604160045260246000fdfea2646970667358221220d7ed416393f8ccdc897426dbbd2c7b4c42b865b35a3b06051f350ba792fdc9d264736f6c634300081c0033
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.