Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Latest 25 from a total of 33 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Initiate Bridge ... | 22465892 | 290 days ago | IN | 0.00001 ETH | 0.00102764 | ||||
| Initiate Bridge ... | 22456970 | 291 days ago | IN | 0.00015744 ETH | 0.0003105 | ||||
| Initiate Bridge ... | 22450482 | 292 days ago | IN | 0.00017112 ETH | 0.00039969 | ||||
| Initiate Bridge ... | 22357751 | 305 days ago | IN | 0.00020089 ETH | 0.00005164 | ||||
| Initiate Bridge ... | 22349824 | 306 days ago | IN | 0.00020241 ETH | 0.00027715 | ||||
| Initiate Bridge ... | 22343786 | 307 days ago | IN | 0.00020687 ETH | 0.00012393 | ||||
| Initiate Bridge ... | 22343634 | 307 days ago | IN | 0.00020644 ETH | 0.00011513 | ||||
| Initiate Bridge ... | 22343613 | 307 days ago | IN | 0.00020646 ETH | 0.00011163 | ||||
| Initiate Bridge ... | 22342729 | 307 days ago | IN | 0.0002053 ETH | 0.000123 | ||||
| Initiate Bridge ... | 22329951 | 309 days ago | IN | 0.00020827 ETH | 0.00038464 | ||||
| Initiate Bridge ... | 22322855 | 310 days ago | IN | 0.00023026 ETH | 0.00008872 | ||||
| Initiate Bridge ... | 22297109 | 314 days ago | IN | 0.00022699 ETH | 0.0000878 | ||||
| Initiate Bridge ... | 22295090 | 314 days ago | IN | 0.00022435 ETH | 0.00008552 | ||||
| Initiate Bridge ... | 22261577 | 318 days ago | IN | 0.00022001 ETH | 0.00147738 | ||||
| Initiate Bridge ... | 22254482 | 319 days ago | IN | 0.00021996 ETH | 0.00028999 | ||||
| Initiate Bridge ... | 22254303 | 319 days ago | IN | 0.00021999 ETH | 0.00036355 | ||||
| Initiate Bridge ... | 22250812 | 320 days ago | IN | 0.00022651 ETH | 0.00007608 | ||||
| Initiate Bridge ... | 22249583 | 320 days ago | IN | 0.00022768 ETH | 0.00006008 | ||||
| Initiate Bridge ... | 22249470 | 320 days ago | IN | 0.00022679 ETH | 0.0000615 | ||||
| Initiate Bridge ... | 22249349 | 320 days ago | IN | 0.00022656 ETH | 0.00005702 | ||||
| Initiate Bridge ... | 22247882 | 320 days ago | IN | 0.00022704 ETH | 0.00017511 | ||||
| Initiate Bridge ... | 22246308 | 321 days ago | IN | 0.00022774 ETH | 0.0004749 | ||||
| Initiate Bridge ... | 22246133 | 321 days ago | IN | 0.0002249 ETH | 0.00028816 | ||||
| Initiate Bridge ... | 22245463 | 321 days ago | IN | 0.00022627 ETH | 0.00018166 | ||||
| Initiate Bridge ... | 22245193 | 321 days ago | IN | 0.00022475 ETH | 0.00039106 |
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 22465892 | 290 days ago | 0.00001 ETH | ||||
| Transfer | 22456970 | 291 days ago | 0.00015744 ETH | ||||
| Transfer | 22450482 | 292 days ago | 0.00017112 ETH | ||||
| Transfer | 22357751 | 305 days ago | 0.00020089 ETH | ||||
| Transfer | 22349824 | 306 days ago | 0.00020241 ETH | ||||
| Transfer | 22343786 | 307 days ago | 0.00020687 ETH | ||||
| Transfer | 22343634 | 307 days ago | 0.00020644 ETH | ||||
| Transfer | 22343613 | 307 days ago | 0.00020646 ETH | ||||
| Transfer | 22342729 | 307 days ago | 0.0002053 ETH | ||||
| Transfer | 22329951 | 309 days ago | 0.00020827 ETH | ||||
| Transfer | 22322855 | 310 days ago | 0.00023026 ETH | ||||
| Transfer | 22297109 | 314 days ago | 0.00022699 ETH | ||||
| Transfer | 22295090 | 314 days ago | 0.00022435 ETH | ||||
| Transfer | 22261577 | 318 days ago | 0.00022001 ETH | ||||
| Transfer | 22254482 | 319 days ago | 0.00021996 ETH | ||||
| Transfer | 22254303 | 319 days ago | 0.00021999 ETH | ||||
| Transfer | 22250812 | 320 days ago | 0.00022651 ETH | ||||
| Transfer | 22249583 | 320 days ago | 0.00022768 ETH | ||||
| Transfer | 22249470 | 320 days ago | 0.00022679 ETH | ||||
| Transfer | 22249349 | 320 days ago | 0.00022656 ETH | ||||
| Transfer | 22247882 | 320 days ago | 0.00022704 ETH | ||||
| Transfer | 22246308 | 321 days ago | 0.00022774 ETH | ||||
| Transfer | 22246133 | 321 days ago | 0.0002249 ETH | ||||
| Transfer | 22245463 | 321 days ago | 0.00022627 ETH | ||||
| Transfer | 22245193 | 321 days ago | 0.00022475 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
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.
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x401c8680...aC4ef5A53 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
CATRelayerDiamond
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 10000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
import { LibDiamond } from "./libraries/LibDiamond.sol";
import { IDiamondCut } from "./interfaces/IDiamondCut.sol";
import { LibUtil } from "./libraries/LibUtil.sol";
/**
* @title CATRelayerDiamond
*/
contract CATRelayerDiamond {
event FacetCalled(address indexed facet, bytes4 indexed functionSelector);
struct DiamondArgs {
address contractOwner;
address wormholeAddress;
address gasCollector;
uint8 chainId;
uint8 finality;
}
constructor(IDiamondCut.FacetCut[] memory _diamondCut, DiamondArgs memory args) payable {
LibDiamond.initialize(args.contractOwner, args.wormholeAddress, args.gasCollector, args.chainId, args.finality);
LibDiamond.diamondCut(_diamondCut, address(0), "");
}
// Find facet for function that is called and execute the
// function if a facet is found and return any value.
fallback() external payable {
LibDiamond.DiamondStorage storage ds;
bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;
// get relayer storage
assembly {
ds.slot := position
}
// get facet from function selector
address facet = ds.selectorToFacetAndPosition[msg.sig].facetAddress;
if (facet == address(0)) {
revert LibDiamond.FunctionDoesNotExist();
}
emit FacetCalled(facet, msg.sig);
// Execute external function from facet using delegatecall and return any value.
// solhint-disable-next-line no-inline-assembly
assembly {
// copy function selector and any arguments
calldatacopy(0, 0, calldatasize())
// execute function call using the facet
let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)
// get any return value
returndatacopy(0, 0, returndatasize())
// return any return value or error back to the caller
switch result
case 0 {
revert(0, returndatasize())
}
default {
return(0, returndatasize())
}
}
}
// Able to receive ether
// solhint-disable-next-line no-empty-blocks
receive() external payable {}
}// SPDX-License-Identifier: MIT pragma solidity 0.8.10; error AlreadyInitialized(); error CannotAuthoriseSelf(); error CannotBridgeToSameNetwork(); error ContractCallNotAllowed(); error CumulativeSlippageTooHigh(uint256 minAmount, uint256 receivedAmount); error ExternalCallFailed(); error InformationMismatch(); error InsufficientBalance(uint256 required, uint256 balance); error InvalidAmount(); error InvalidCallData(); error InvalidConfig(); error InvalidContract(); error InvalidDestinationChain(); error InvalidFallbackAddress(); error InvalidReceiver(); error InvalidSendingToken(); error NativeAssetNotSupported(); error NativeAssetTransferFailed(); error NoSwapDataProvided(); error NoSwapFromZeroBalance(); error NotAContract(); error NotInitialized(); error NoTransferToNullAddress(); error NullAddrIsNotAnERC20Token(); error NullAddrIsNotAValidSpender(); error OnlyContractOwner(); error RecoveryAddressCannotBeZero(); error ReentrancyError(); error TokenNotSupported(); error UnAuthorized(); error UnsupportedChainId(uint256 chainId); error WithdrawFailed(); error ZeroAmount();
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
interface IDiamondCut {
enum FacetCutAction {
Add,
Replace,
Remove
}
// Add=0, Replace=1, Remove=2
struct FacetCut {
address facetAddress;
FacetCutAction action;
bytes4[] functionSelectors;
}
/// @notice Add/replace/remove any number of functions and optionally execute
/// a function with delegatecall
/// @param _diamondCut Contains the facet addresses and function selectors
/// @param _init The address of the contract or facet to execute _calldata
/// @param _calldata A function call, including function selector and arguments
/// _calldata is executed with delegatecall on _init
function diamondCut(
FacetCut[] calldata _diamondCut,
address _init,
bytes calldata _calldata
) external;
event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);
}// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
library LibBytes {
// solhint-disable no-inline-assembly
// LibBytes specific errors
error SliceOverflow();
error SliceOutOfBounds();
error AddressOutOfBounds();
bytes16 private constant _SYMBOLS = "0123456789abcdef";
// -------------------------
function slice(
bytes memory _bytes,
uint256 _start,
uint256 _length
) internal pure returns (bytes memory) {
if (_length + 31 < _length) revert SliceOverflow();
if (_bytes.length < _start + _length) revert SliceOutOfBounds();
bytes memory tempBytes;
assembly {
switch iszero(_length)
case 0 {
// Get a location of some free memory and store it in tempBytes as
// Solidity does for memory variables.
tempBytes := mload(0x40)
// The first word of the slice result is potentially a partial
// word read from the original array. To read it, we calculate
// the length of that partial word and start copying that many
// bytes into the array. The first word we copy will start with
// data we don't care about, but the last `lengthmod` bytes will
// land at the beginning of the contents of the new array. When
// we're done copying, we overwrite the full first word with
// the actual length of the slice.
let lengthmod := and(_length, 31)
// The multiplication in the next line is necessary
// because when slicing multiples of 32 bytes (lengthmod == 0)
// the following copy loop was copying the origin's length
// and then ending prematurely not copying everything it should.
let mc := add(
add(tempBytes, lengthmod),
mul(0x20, iszero(lengthmod))
)
let end := add(mc, _length)
for {
// The multiplication in the next line has the same exact purpose
// as the one above.
let cc := add(
add(
add(_bytes, lengthmod),
mul(0x20, iszero(lengthmod))
),
_start
)
} lt(mc, end) {
mc := add(mc, 0x20)
cc := add(cc, 0x20)
} {
mstore(mc, mload(cc))
}
mstore(tempBytes, _length)
//update free-memory pointer
//allocating the array padded to 32 bytes like the compiler does now
mstore(0x40, and(add(mc, 31), not(31)))
}
//if we want a zero-length slice let's just return a zero-length array
default {
tempBytes := mload(0x40)
//zero out the 32 bytes slice we are about to return
//we need to do it because Solidity does not garbage collect
mstore(tempBytes, 0)
mstore(0x40, add(tempBytes, 0x20))
}
}
return tempBytes;
}
function toAddress(
bytes memory _bytes,
uint256 _start
) internal pure returns (address) {
if (_bytes.length < _start + 20) {
revert AddressOutOfBounds();
}
address tempAddress;
assembly {
tempAddress := div(
mload(add(add(_bytes, 0x20), _start)),
0x1000000000000000000000000
)
}
return tempAddress;
}
/// Copied from OpenZeppelin's `Strings.sol` utility library.
/// https://github.com/OpenZeppelin/openzeppelin-contracts/blob/8335676b0e99944eef6a742e16dcd9ff6e68e609/contracts/utils/Strings.sol
function toHexString(
uint256 value,
uint256 length
) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
import { IDiamondCut } from "../interfaces/IDiamondCut.sol";
import { LibUtil } from "../libraries/LibUtil.sol";
import { OnlyContractOwner } from "../errors/GenericErrors.sol";
/// Implementation of EIP-2535 Diamond Standard
/// https://eips.ethereum.org/EIPS/eip-2535
library LibDiamond {
bytes32 internal constant DIAMOND_STORAGE_POSITION =
keccak256("diamond.standard.diamond.storage");
// Diamond specific errors
error IncorrectFacetCutAction();
error NoSelectorsInFace();
error FunctionAlreadyExists();
error FacetAddressIsZero();
error FacetAddressIsNotZero();
error FacetContainsNoCode();
error FunctionDoesNotExist();
error FunctionIsImmutable();
error InitZeroButCalldataNotEmpty();
error CalldataEmptyButInitNotZero();
error InitReverted();
// ----------------
struct FacetAddressAndPosition {
address facetAddress;
uint96 functionSelectorPosition; // position in facetFunctionSelectors.functionSelectors array
}
struct FacetFunctionSelectors {
bytes4[] functionSelectors;
uint256 facetAddressPosition; // position of facetAddress in facetAddresses array
}
struct DiamondStorage {
// maps function selector to the facet address and
// the position of the selector in the facetFunctionSelectors.selectors array
mapping(bytes4 => FacetAddressAndPosition) selectorToFacetAndPosition;
// maps facet addresses to function selectors
mapping(address => FacetFunctionSelectors) facetFunctionSelectors;
// facet addresses
address[] facetAddresses;
// Used to query if a contract implements an interface.
// Used to implement ERC-165.
mapping(bytes4 => bool) supportedInterfaces;
// owner of the contract
address contractOwner;
// chain ID as per WORMHOLE
uint16 chainId;
// WORMHOLE bridge contract address
address wormhole;
// address where all fee will be transferred whenever a token/nft is going to be deployed.
address payable gasCollector;
//finality means how many blocks wil be acceptable when message relayed.
uint8 finality;
}
function initialize( address _contractOwner, address _wormhole, address _gasCollector, uint16 _chainId, uint8 _finality) internal {
DiamondStorage storage ds = diamondStorage();
ds.contractOwner = _contractOwner;
ds.wormhole = _wormhole;
ds.gasCollector = payable(_gasCollector);
ds.chainId = _chainId;
ds.finality = _finality;
}
function diamondStorage()
internal
pure
returns (DiamondStorage storage ds)
{
bytes32 position = DIAMOND_STORAGE_POSITION;
// solhint-disable-next-line no-inline-assembly
assembly {
ds.slot := position
}
}
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
function setContractOwner(address _newOwner) internal {
DiamondStorage storage ds = diamondStorage();
address previousOwner = ds.contractOwner;
ds.contractOwner = _newOwner;
emit OwnershipTransferred(previousOwner, _newOwner);
}
function contractOwner() internal view returns (address contractOwner_) {
contractOwner_ = diamondStorage().contractOwner;
}
function enforceIsContractOwner() internal view {
if (msg.sender != diamondStorage().contractOwner)
revert OnlyContractOwner();
}
event DiamondCut(
IDiamondCut.FacetCut[] _diamondCut,
address _init,
bytes _calldata
);
// Internal function version of diamondCut
function diamondCut(
IDiamondCut.FacetCut[] memory _diamondCut,
address _init,
bytes memory _calldata
) internal {
for (uint256 facetIndex; facetIndex < _diamondCut.length; ) {
IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;
if (action == IDiamondCut.FacetCutAction.Add) {
addFunctions(
_diamondCut[facetIndex].facetAddress,
_diamondCut[facetIndex].functionSelectors
);
} else if (action == IDiamondCut.FacetCutAction.Replace) {
replaceFunctions(
_diamondCut[facetIndex].facetAddress,
_diamondCut[facetIndex].functionSelectors
);
} else if (action == IDiamondCut.FacetCutAction.Remove) {
removeFunctions(
_diamondCut[facetIndex].facetAddress,
_diamondCut[facetIndex].functionSelectors
);
} else {
revert IncorrectFacetCutAction();
}
unchecked {
++facetIndex;
}
}
emit DiamondCut(_diamondCut, _init, _calldata);
initializeDiamondCut(_init, _calldata);
}
function addFunctions(
address _facetAddress,
bytes4[] memory _functionSelectors
) internal {
if (_functionSelectors.length == 0) {
revert NoSelectorsInFace();
}
DiamondStorage storage ds = diamondStorage();
if (LibUtil.isZeroAddress(_facetAddress)) {
revert FacetAddressIsZero();
}
uint96 selectorPosition = uint96(
ds.facetFunctionSelectors[_facetAddress].functionSelectors.length
);
// add new facet address if it does not exist
if (selectorPosition == 0) {
addFacet(ds, _facetAddress);
}
for (
uint256 selectorIndex;
selectorIndex < _functionSelectors.length;
) {
bytes4 selector = _functionSelectors[selectorIndex];
address oldFacetAddress = ds
.selectorToFacetAndPosition[selector]
.facetAddress;
if (!LibUtil.isZeroAddress(oldFacetAddress)) {
revert FunctionAlreadyExists();
}
addFunction(ds, selector, selectorPosition, _facetAddress);
unchecked {
++selectorPosition;
++selectorIndex;
}
}
}
function replaceFunctions(
address _facetAddress,
bytes4[] memory _functionSelectors
) internal {
if (_functionSelectors.length == 0) {
revert NoSelectorsInFace();
}
DiamondStorage storage ds = diamondStorage();
if (LibUtil.isZeroAddress(_facetAddress)) {
revert FacetAddressIsZero();
}
uint96 selectorPosition = uint96(
ds.facetFunctionSelectors[_facetAddress].functionSelectors.length
);
// add new facet address if it does not exist
if (selectorPosition == 0) {
addFacet(ds, _facetAddress);
}
for (
uint256 selectorIndex;
selectorIndex < _functionSelectors.length;
) {
bytes4 selector = _functionSelectors[selectorIndex];
address oldFacetAddress = ds
.selectorToFacetAndPosition[selector]
.facetAddress;
if (oldFacetAddress == _facetAddress) {
revert FunctionAlreadyExists();
}
removeFunction(ds, oldFacetAddress, selector);
addFunction(ds, selector, selectorPosition, _facetAddress);
unchecked {
++selectorPosition;
++selectorIndex;
}
}
}
function removeFunctions(
address _facetAddress,
bytes4[] memory _functionSelectors
) internal {
if (_functionSelectors.length == 0) {
revert NoSelectorsInFace();
}
DiamondStorage storage ds = diamondStorage();
// if function does not exist then do nothing and return
if (!LibUtil.isZeroAddress(_facetAddress)) {
revert FacetAddressIsNotZero();
}
for (
uint256 selectorIndex;
selectorIndex < _functionSelectors.length;
) {
bytes4 selector = _functionSelectors[selectorIndex];
address oldFacetAddress = ds
.selectorToFacetAndPosition[selector]
.facetAddress;
removeFunction(ds, oldFacetAddress, selector);
unchecked {
++selectorIndex;
}
}
}
function addFacet(
DiamondStorage storage ds,
address _facetAddress
) internal {
enforceHasContractCode(_facetAddress);
ds.facetFunctionSelectors[_facetAddress].facetAddressPosition = ds
.facetAddresses
.length;
ds.facetAddresses.push(_facetAddress);
}
function addFunction(
DiamondStorage storage ds,
bytes4 _selector,
uint96 _selectorPosition,
address _facetAddress
) internal {
ds
.selectorToFacetAndPosition[_selector]
.functionSelectorPosition = _selectorPosition;
ds.facetFunctionSelectors[_facetAddress].functionSelectors.push(
_selector
);
ds.selectorToFacetAndPosition[_selector].facetAddress = _facetAddress;
}
function removeFunction(
DiamondStorage storage ds,
address _facetAddress,
bytes4 _selector
) internal {
if (LibUtil.isZeroAddress(_facetAddress)) {
revert FunctionDoesNotExist();
}
// an immutable function is a function defined directly in a relayer
if (_facetAddress == address(this)) {
revert FunctionIsImmutable();
}
// replace selector with last selector, then delete last selector
uint256 selectorPosition = ds
.selectorToFacetAndPosition[_selector]
.functionSelectorPosition;
uint256 lastSelectorPosition = ds
.facetFunctionSelectors[_facetAddress]
.functionSelectors
.length - 1;
// if not the same then replace _selector with lastSelector
if (selectorPosition != lastSelectorPosition) {
bytes4 lastSelector = ds
.facetFunctionSelectors[_facetAddress]
.functionSelectors[lastSelectorPosition];
ds.facetFunctionSelectors[_facetAddress].functionSelectors[
selectorPosition
] = lastSelector;
ds
.selectorToFacetAndPosition[lastSelector]
.functionSelectorPosition = uint96(selectorPosition);
}
// delete the last selector
ds.facetFunctionSelectors[_facetAddress].functionSelectors.pop();
delete ds.selectorToFacetAndPosition[_selector];
// if no more selectors for facet address then delete the facet address
if (lastSelectorPosition == 0) {
// replace facet address with last facet address and delete last facet address
uint256 lastFacetAddressPosition = ds.facetAddresses.length - 1;
uint256 facetAddressPosition = ds
.facetFunctionSelectors[_facetAddress]
.facetAddressPosition;
if (facetAddressPosition != lastFacetAddressPosition) {
address lastFacetAddress = ds.facetAddresses[
lastFacetAddressPosition
];
ds.facetAddresses[facetAddressPosition] = lastFacetAddress;
ds
.facetFunctionSelectors[lastFacetAddress]
.facetAddressPosition = facetAddressPosition;
}
ds.facetAddresses.pop();
delete ds
.facetFunctionSelectors[_facetAddress]
.facetAddressPosition;
}
}
function initializeDiamondCut(
address _init,
bytes memory _calldata
) internal {
if (LibUtil.isZeroAddress(_init)) {
if (_calldata.length != 0) {
revert InitZeroButCalldataNotEmpty();
}
} else {
if (_calldata.length == 0) {
revert CalldataEmptyButInitNotZero();
}
if (_init != address(this)) {
enforceHasContractCode(_init);
}
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory error) = _init.delegatecall(_calldata);
if (!success) {
if (error.length > 0) {
// bubble up the error
revert(string(error));
} else {
revert InitReverted();
}
}
}
}
function enforceHasContractCode(address _contract) internal view {
uint256 contractSize;
// solhint-disable-next-line no-inline-assembly
assembly {
contractSize := extcodesize(_contract)
}
if (contractSize == 0) {
revert FacetContainsNoCode();
}
}
}// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
import "./LibBytes.sol";
library LibUtil {
using LibBytes for bytes;
function getRevertMsg(
bytes memory _res
) internal pure returns (string memory) {
// If the _res length is less than 68, then the transaction failed silently (without a revert message)
if (_res.length < 68) return "Transaction reverted silently";
bytes memory revertData = _res.slice(4, _res.length - 4); // Remove the selector which is the first 4 bytes
return abi.decode(revertData, (string)); // All that remains is the revert string
}
/// @notice Determines whether the given address is the zero address
/// @param addr The address to verify
/// @return Boolean indicating if the address is the zero address
function isZeroAddress(address addr) internal pure returns (bool) {
return addr == address(0);
}
}{
"optimizer": {
"enabled": true,
"runs": 10000
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"components":[{"internalType":"address","name":"facetAddress","type":"address"},{"internalType":"enum IDiamondCut.FacetCutAction","name":"action","type":"uint8"},{"internalType":"bytes4[]","name":"functionSelectors","type":"bytes4[]"}],"internalType":"struct IDiamondCut.FacetCut[]","name":"_diamondCut","type":"tuple[]"},{"components":[{"internalType":"address","name":"contractOwner","type":"address"},{"internalType":"address","name":"wormholeAddress","type":"address"},{"internalType":"address","name":"gasCollector","type":"address"},{"internalType":"uint8","name":"chainId","type":"uint8"},{"internalType":"uint8","name":"finality","type":"uint8"}],"internalType":"struct CATRelayerDiamond.DiamondArgs","name":"args","type":"tuple"}],"stateMutability":"payable","type":"constructor"},{"inputs":[],"name":"CalldataEmptyButInitNotZero","type":"error"},{"inputs":[],"name":"FacetAddressIsNotZero","type":"error"},{"inputs":[],"name":"FacetAddressIsZero","type":"error"},{"inputs":[],"name":"FacetContainsNoCode","type":"error"},{"inputs":[],"name":"FunctionAlreadyExists","type":"error"},{"inputs":[],"name":"FunctionDoesNotExist","type":"error"},{"inputs":[],"name":"FunctionIsImmutable","type":"error"},{"inputs":[],"name":"IncorrectFacetCutAction","type":"error"},{"inputs":[],"name":"InitReverted","type":"error"},{"inputs":[],"name":"InitZeroButCalldataNotEmpty","type":"error"},{"inputs":[],"name":"NoSelectorsInFace","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"facet","type":"address"},{"indexed":true,"internalType":"bytes4","name":"functionSelector","type":"bytes4"}],"name":"FacetCalled","type":"event"},{"stateMutability":"payable","type":"fallback"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
0x60806040526040516200272138038062002721833981016040819052620000269162000e3f565b62000057816000015182602001518360400151846060015160ff1685608001516200008760201b620001371760201c565b6200007f826000604051806020016040528060008152506200014f60201b620002651760201c565b5050620011ef565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c132080547fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c132180546001600160a01b0319166001600160a01b039788161790557fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c132280549787166001600160b01b031990921691909117600160a01b61ffff95909516850217909155929093166001600160a81b03199094169390931760ff92909216909202179055565b60005b83518110156200030e57600084828151811062000173576200017362000fe9565b60200260200101516020015190506000600281111562000197576200019762000fff565b816002811115620001ac57620001ac62000fff565b14156200020b5762000205858381518110620001cc57620001cc62000fe9565b602002602001015160000151868481518110620001ed57620001ed62000fe9565b6020026020010151604001516200035d60201b60201c565b62000304565b600181600281111562000222576200022262000fff565b14156200027b576200020585838151811062000242576200024262000fe9565b60200260200101516000015186848151811062000263576200026362000fe9565b6020026020010151604001516200053360201b60201c565b600281600281111562000292576200029262000fff565b1415620002eb5762000205858381518110620002b257620002b262000fe9565b602002602001015160000151868481518110620002d357620002d362000fe9565b6020026020010151604001516200070260201b60201c565b60405163e548e6b560e01b815260040160405180910390fd5b5060010162000152565b507f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb673838383604051620003449392919062001072565b60405180910390a1620003588282620007de565b505050565b80516200037d576040516307bc559560e41b815260040160405180910390fd5b6000600080516020620027018339815191529050620003a7836200090b60201b620004491760201c565b15620003c657604051636347641d60e11b815260040160405180910390fd5b6001600160a01b03831660009081526001820160205260409020546001600160601b038116620003fc57620003fc828562000918565b60005b83518110156200052c57600084828151811062000420576200042062000fe9565b6020908102919091018101516001600160e01b03198116600090815286835260409020549092506001600160a01b03169062000467908290620004496200090b821b17901c565b620004855760405163a023275d60e01b815260040160405180910390fd5b6001600160e01b0319821660008181526020878152604080832080546001600160a01b03908116600160a01b6001600160601b038c16021782558c168085526001808c0185529285208054938401815585528385206008840401805463ffffffff60079095166004026101000a948502191660e08a901c94909402939093179092559390925287905281546001600160a01b031916179055505060019182019101620003ff565b5050505050565b805162000553576040516307bc559560e41b815260040160405180910390fd5b60006000805160206200270183398151915290506200057d836200090b60201b620004491760201c565b156200059c57604051636347641d60e11b815260040160405180910390fd5b6001600160a01b03831660009081526001820160205260409020546001600160601b038116620005d257620005d2828562000918565b60005b83518110156200052c576000848281518110620005f657620005f662000fe9565b6020908102919091018101516001600160e01b031981166000908152918690526040909120549091506001600160a01b039081169087168114156200064e5760405163a023275d60e01b815260040160405180910390fd5b6200065b8582846200096b565b6001600160e01b0319821660008181526020878152604080832080546001600160a01b03908116600160a01b6001600160601b038c16021782558c168085526001808c0185529285208054938401815585528385206008840401805463ffffffff60079095166004026101000a948502191660e08a901c94909402939093179092559390925287905281546001600160a01b031916179055505060019182019101620005d5565b805162000722576040516307bc559560e41b815260040160405180910390fd5b60006000805160206200270183398151915290506200074c836200090b60201b620004491760201c565b6200076a57604051633ce4ef9160e11b815260040160405180910390fd5b60005b8251811015620007d85760008382815181106200078e576200078e62000fe9565b6020908102919091018101516001600160e01b031981166000908152918590526040909120549091506001600160a01b0316620007cd8482846200096b565b50506001016200076d565b50505050565b620007f4826200090b60201b620004491760201c565b156200081f578051156200081b576040516304c08b4360e51b815260040160405180910390fd5b5050565b80516200083f5760405163211002b360e11b815260040160405180910390fd5b6001600160a01b03821630146200085b576200085b8262000cb8565b600080836001600160a01b03168360405162000878919062001179565b600060405180830381855af49150503d8060008114620008b5576040519150601f19603f3d011682016040523d82523d6000602084013e620008ba565b606091505b509150915081620007d857805115620008f2578060405162461bcd60e51b8152600401620008e9919062001197565b60405180910390fd5b60405163c53ebed560e01b815260040160405180910390fd5b6001600160a01b03161590565b620009238162000cb8565b6002820180546001600160a01b0390921660008181526001948501602090815260408220860185905594840183559182529290200180546001600160a01b0319169091179055565b62000981826200090b60201b620004491760201c565b15620009a057604051631535ac5f60e31b815260040160405180910390fd5b6001600160a01b038216301415620009cb5760405163c3c5ec3760e01b815260040160405180910390fd5b6001600160e01b03198116600090815260208481526040808320546001600160a01b0386168452600180880190935290832054600160a01b9091046001600160601b0316929162000a1c91620011b3565b905080821462000b15576001600160a01b0384166000908152600186016020526040812080548390811062000a555762000a5562000fe9565b600091825260208083206008830401546001600160a01b038916845260018a019091526040909220805460079092166004026101000a90920460e01b92508291908590811062000aa95762000aa962000fe9565b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e09590951c929092029390931790556001600160e01b03199290921682528690526040902080546001600160a01b0316600160a01b6001600160601b038516021790555b6001600160a01b0384166000908152600186016020526040902080548062000b415762000b41620011d9565b60008281526020808220600860001990940193840401805463ffffffff600460078716026101000a0219169055919092556001600160e01b0319851682528690526040812055806200052c57600285015460009062000ba390600190620011b3565b6001600160a01b038616600090815260018089016020526040909120015490915080821462000c5957600087600201838154811062000be65762000be662000fe9565b6000918252602090912001546002890180546001600160a01b03909216925082918490811062000c1a5762000c1a62000fe9565b600091825260208083209190910180546001600160a01b0319166001600160a01b03948516179055929091168152600189810190925260409020018190555b8660020180548062000c6f5762000c6f620011d9565b60008281526020808220830160001990810180546001600160a01b03191690559092019092556001600160a01b0388168252600189810190915260408220015550505050505050565b803b806200081b576040516271a80360e91b815260040160405180910390fd5b634e487b7160e01b600052604160045260246000fd5b604051606081016001600160401b038111828210171562000d135762000d1362000cd8565b60405290565b604051601f8201601f191681016001600160401b038111828210171562000d445762000d4462000cd8565b604052919050565b60006001600160401b0382111562000d685762000d6862000cd8565b5060051b60200190565b80516001600160a01b038116811462000d8a57600080fd5b919050565b805160ff8116811462000d8a57600080fd5b600060a0828403121562000db457600080fd5b60405160a081016001600160401b038111828210171562000dd95762000dd962000cd8565b60405290508062000dea8362000d72565b815262000dfa6020840162000d72565b602082015262000e0d6040840162000d72565b604082015262000e206060840162000d8f565b606082015262000e336080840162000d8f565b60808201525092915050565b60008060c0838503121562000e5357600080fd5b82516001600160401b038082111562000e6b57600080fd5b818501915085601f83011262000e8057600080fd5b8151602062000e9962000e938362000d4c565b62000d19565b82815260059290921b8401810191818101908984111562000eb957600080fd5b8286015b8481101562000fc95780518681111562000ed657600080fd5b87016060818d03601f1901121562000eed57600080fd5b62000ef762000cee565b62000f0486830162000d72565b815260408201516003811062000f1957600080fd5b8187015260608201518881111562000f3057600080fd5b8083019250508c603f83011262000f4657600080fd5b8582015162000f5962000e938262000d4c565b81815260059190911b830160400190878101908f83111562000f7a57600080fd5b6040850194505b8285101562000fb35784516001600160e01b03198116811462000fa357600080fd5b8252938801939088019062000f81565b6040840152505084525091830191830162000ebd565b50965062000fdc90508888830162000da1565b9450505050509250929050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b60005b838110156200103257818101518382015260200162001018565b83811115620007d85750506000910152565b600081518084526200105e81602086016020860162001015565b601f01601f19169290920160200192915050565b60006060808301818452808751808352608092508286019150828160051b8701016020808b0160005b848110156200114757898403607f19018652815180516001600160a01b03168552838101518986019060038110620010e357634e487b7160e01b600052602160045260246000fd5b868601526040918201519186018a905281519081905290840190600090898701905b80831015620011315783516001600160e01b031916825292860192600192909201919086019062001105565b509785019795505050908201906001016200109b565b50506001600160a01b038a169088015286810360408801526200116b818962001044565b9a9950505050505050505050565b600082516200118d81846020870162001015565b9190910192915050565b602081526000620011ac602083018462001044565b9392505050565b600082821015620011d457634e487b7160e01b600052601160045260246000fd5b500390565b634e487b7160e01b600052603160045260246000fd5b61150280620011ff6000396000f3fe60806040523661000b57005b600080357fffffffff000000000000000000000000000000000000000000000000000000001681527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c6020819052604090912054819073ffffffffffffffffffffffffffffffffffffffff16806100ae576040517fa9ad62f800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604051600080357fffffffff00000000000000000000000000000000000000000000000000000000169173ffffffffffffffffffffffffffffffffffffffff8416917f99effb58f8e402cc933e29fae4141e0ab72f0ce7302eace06c0108568810543091a33660008037600080366000845af43d6000803e808015610132573d6000f35b3d6000fd5b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c132080547fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c132180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9788161790557fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c132280549787167fffffffffffffffffffff00000000000000000000000000000000000000000000909216919091177401000000000000000000000000000000000000000061ffff95909516850217909155929093167fffffffffffffffffffffff0000000000000000000000000000000000000000009094169390931760ff92909216909202179055565b60005b83518110156103fe576000848281518110610285576102856111ed565b6020026020010151602001519050600060028111156102a6576102a661121c565b8160028111156102b8576102b861121c565b1415610307576103028583815181106102d3576102d36111ed565b6020026020010151600001518684815181106102f1576102f16111ed565b602002602001015160400151610463565b6103f5565b600181600281111561031b5761031b61121c565b141561036557610302858381518110610336576103366111ed565b602002602001015160000151868481518110610354576103546111ed565b6020026020010151604001516106fd565b60028160028111156103795761037961121c565b14156103c357610302858381518110610394576103946111ed565b6020026020010151600001518684815181106103b2576103b26111ed565b6020026020010151604001516109a1565b6040517fe548e6b500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50600101610268565b507f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb673838383604051610432939291906112c1565b60405180910390a16104448282610ada565b505050565b73ffffffffffffffffffffffffffffffffffffffff161590565b805161049b576040517f7bc5595000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c73ffffffffffffffffffffffffffffffffffffffff8316610509576040517fc68ec83a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff831660009081526001820160205260409020546bffffffffffffffffffffffff811661054e5761054e8285610c78565b60005b83518110156106f657600084828151811061056e5761056e6111ed565b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff1680156105fd576040517fa023275d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fffffffff000000000000000000000000000000000000000000000000000000008216600081815260208781526040808320805473ffffffffffffffffffffffffffffffffffffffff908116740100000000000000000000000000000000000000006bffffffffffffffffffffffff8c16021782558c168085526001808c0185529285208054938401815585528385206008840401805463ffffffff60079095166004026101000a948502191660e08a901c94909402939093179092559390925287905281547fffffffffffffffffffffffff000000000000000000000000000000000000000016179055505060019182019101610551565b5050505050565b8051610735576040517f7bc5595000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c73ffffffffffffffffffffffffffffffffffffffff83166107a3576040517fc68ec83a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff831660009081526001820160205260409020546bffffffffffffffffffffffff81166107e8576107e88285610c78565b60005b83518110156106f6576000848281518110610808576108086111ed565b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff90811690871681141561089d576040517fa023275d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6108a8858284610cee565b7fffffffff000000000000000000000000000000000000000000000000000000008216600081815260208781526040808320805473ffffffffffffffffffffffffffffffffffffffff908116740100000000000000000000000000000000000000006bffffffffffffffffffffffff8c16021782558c168085526001808c0185529285208054938401815585528385206008840401805463ffffffff60079095166004026101000a948502191660e08a901c94909402939093179092559390925287905281547fffffffffffffffffffffffff0000000000000000000000000000000000000000161790555050600191820191016107eb565b80516109d9576040517f7bc5595000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c73ffffffffffffffffffffffffffffffffffffffff831615610a48576040517f79c9df2200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b8251811015610ad4576000838281518110610a6857610a686111ed565b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529185905260409091205490915073ffffffffffffffffffffffffffffffffffffffff16610aca848284610cee565b5050600101610a4b565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8216610b3257805115610b2e576040517f9811686000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050565b8051610b6a576040517f4220056600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82163014610b9057610b90826111b4565b6000808373ffffffffffffffffffffffffffffffffffffffff1683604051610bb89190611429565b600060405180830381855af49150503d8060008114610bf3576040519150601f19603f3d011682016040523d82523d6000602084013e610bf8565b606091505b509150915081610ad457805115610c4657806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3d9190611445565b60405180910390fd5b6040517fc53ebed500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c81816111b4565b60028201805473ffffffffffffffffffffffffffffffffffffffff90921660008181526001948501602090815260408220860185905594840183559182529290200180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169091179055565b73ffffffffffffffffffffffffffffffffffffffff8216610d3b576040517fa9ad62f800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216301415610d8b576040517fc3c5ec3700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fffffffff0000000000000000000000000000000000000000000000000000000081166000908152602084815260408083205473ffffffffffffffffffffffffffffffffffffffff86168452600180880190935290832054740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff169291610e159161145f565b9050808214610f5c5773ffffffffffffffffffffffffffffffffffffffff841660009081526001860160205260408120805483908110610e5757610e576111ed565b6000918252602080832060088304015473ffffffffffffffffffffffffffffffffffffffff8916845260018a019091526040909220805460079092166004026101000a90920460e01b925082919085908110610eb557610eb56111ed565b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e09590951c929092029390931790557fffffffff0000000000000000000000000000000000000000000000000000000092909216825286905260409020805473ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000006bffffffffffffffffffffffff8516021790555b73ffffffffffffffffffffffffffffffffffffffff841660009081526001860160205260409020805480610f9257610f9261149d565b6000828152602080822060087fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90940193840401805463ffffffff600460078716026101000a0219169055919092557fffffffff00000000000000000000000000000000000000000000000000000000851682528690526040812055806106f65760028501546000906110279060019061145f565b73ffffffffffffffffffffffffffffffffffffffff86166000908152600180890160205260409091200154909150808214611115576000876002018381548110611073576110736111ed565b60009182526020909120015460028901805473ffffffffffffffffffffffffffffffffffffffff90921692508291849081106110b1576110b16111ed565b600091825260208083209190910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff948516179055929091168152600189810190925260409020018190555b866002018054806111285761112861149d565b6000828152602080822083017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905590920190925573ffffffffffffffffffffffffffffffffffffffff88168252600189810190915260408220015550505050505050565b803b80610b2e576040517fe350060000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60005b8381101561126657818101518382015260200161124e565b83811115610ad45750506000910152565b6000815180845261128f81602086016020860161124b565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60006060808301818452808751808352608092508286019150828160051b8701016020808b0160005b848110156113ec577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808a8503018652815188850173ffffffffffffffffffffffffffffffffffffffff82511686528482015160038110611373577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b868601526040918201519186018a905281519081905290840190600090898701905b808310156113d75783517fffffffff00000000000000000000000000000000000000000000000000000000168252928601926001929092019190860190611395565b509785019795505050908201906001016112ea565b505073ffffffffffffffffffffffffffffffffffffffff8a1690880152868103604088015261141b8189611277565b9a9950505050505050505050565b6000825161143b81846020870161124b565b9190910192915050565b6020815260006114586020830184611277565b9392505050565b600082821015611498577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220cfe33a474815754e1e2609893504ca6be3231d0d3587805945d9852a0f3e00ed64736f6c634300080a0033c8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000050511dd03061aaebe8ee7858358ae0bc468e37cc00000000000000000000000098f3c9e6e3face36baad05fe09d375ef1464288b00000000000000000000000050511dd03061aaebe8ee7858358ae0bc468e37cc000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000eb4c7cd72356f03b2b5984e6b5331f1c649c75990000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000011f931c1c000000000000000000000000000000000000000000000000000000000000000000000000000000006811c1dd82aaa63e986fb20b702349617958060b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000005cdffacc60000000000000000000000000000000000000000000000000000000052ef6b2c00000000000000000000000000000000000000000000000000000000adfca15e000000000000000000000000000000000000000000000000000000007a0ed6270000000000000000000000000000000000000000000000000000000001ffc9a700000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040523661000b57005b600080357fffffffff000000000000000000000000000000000000000000000000000000001681527fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c6020819052604090912054819073ffffffffffffffffffffffffffffffffffffffff16806100ae576040517fa9ad62f800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604051600080357fffffffff00000000000000000000000000000000000000000000000000000000169173ffffffffffffffffffffffffffffffffffffffff8416917f99effb58f8e402cc933e29fae4141e0ab72f0ce7302eace06c0108568810543091a33660008037600080366000845af43d6000803e808015610132573d6000f35b3d6000fd5b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c132080547fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c132180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9788161790557fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c132280549787167fffffffffffffffffffff00000000000000000000000000000000000000000000909216919091177401000000000000000000000000000000000000000061ffff95909516850217909155929093167fffffffffffffffffffffff0000000000000000000000000000000000000000009094169390931760ff92909216909202179055565b60005b83518110156103fe576000848281518110610285576102856111ed565b6020026020010151602001519050600060028111156102a6576102a661121c565b8160028111156102b8576102b861121c565b1415610307576103028583815181106102d3576102d36111ed565b6020026020010151600001518684815181106102f1576102f16111ed565b602002602001015160400151610463565b6103f5565b600181600281111561031b5761031b61121c565b141561036557610302858381518110610336576103366111ed565b602002602001015160000151868481518110610354576103546111ed565b6020026020010151604001516106fd565b60028160028111156103795761037961121c565b14156103c357610302858381518110610394576103946111ed565b6020026020010151600001518684815181106103b2576103b26111ed565b6020026020010151604001516109a1565b6040517fe548e6b500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50600101610268565b507f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb673838383604051610432939291906112c1565b60405180910390a16104448282610ada565b505050565b73ffffffffffffffffffffffffffffffffffffffff161590565b805161049b576040517f7bc5595000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c73ffffffffffffffffffffffffffffffffffffffff8316610509576040517fc68ec83a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff831660009081526001820160205260409020546bffffffffffffffffffffffff811661054e5761054e8285610c78565b60005b83518110156106f657600084828151811061056e5761056e6111ed565b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff1680156105fd576040517fa023275d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fffffffff000000000000000000000000000000000000000000000000000000008216600081815260208781526040808320805473ffffffffffffffffffffffffffffffffffffffff908116740100000000000000000000000000000000000000006bffffffffffffffffffffffff8c16021782558c168085526001808c0185529285208054938401815585528385206008840401805463ffffffff60079095166004026101000a948502191660e08a901c94909402939093179092559390925287905281547fffffffffffffffffffffffff000000000000000000000000000000000000000016179055505060019182019101610551565b5050505050565b8051610735576040517f7bc5595000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c73ffffffffffffffffffffffffffffffffffffffff83166107a3576040517fc68ec83a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff831660009081526001820160205260409020546bffffffffffffffffffffffff81166107e8576107e88285610c78565b60005b83518110156106f6576000848281518110610808576108086111ed565b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529186905260409091205490915073ffffffffffffffffffffffffffffffffffffffff90811690871681141561089d576040517fa023275d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6108a8858284610cee565b7fffffffff000000000000000000000000000000000000000000000000000000008216600081815260208781526040808320805473ffffffffffffffffffffffffffffffffffffffff908116740100000000000000000000000000000000000000006bffffffffffffffffffffffff8c16021782558c168085526001808c0185529285208054938401815585528385206008840401805463ffffffff60079095166004026101000a948502191660e08a901c94909402939093179092559390925287905281547fffffffffffffffffffffffff0000000000000000000000000000000000000000161790555050600191820191016107eb565b80516109d9576040517f7bc5595000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c73ffffffffffffffffffffffffffffffffffffffff831615610a48576040517f79c9df2200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b8251811015610ad4576000838281518110610a6857610a686111ed565b6020908102919091018101517fffffffff00000000000000000000000000000000000000000000000000000000811660009081529185905260409091205490915073ffffffffffffffffffffffffffffffffffffffff16610aca848284610cee565b5050600101610a4b565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8216610b3257805115610b2e576040517f9811686000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050565b8051610b6a576040517f4220056600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82163014610b9057610b90826111b4565b6000808373ffffffffffffffffffffffffffffffffffffffff1683604051610bb89190611429565b600060405180830381855af49150503d8060008114610bf3576040519150601f19603f3d011682016040523d82523d6000602084013e610bf8565b606091505b509150915081610ad457805115610c4657806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3d9190611445565b60405180910390fd5b6040517fc53ebed500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c81816111b4565b60028201805473ffffffffffffffffffffffffffffffffffffffff90921660008181526001948501602090815260408220860185905594840183559182529290200180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169091179055565b73ffffffffffffffffffffffffffffffffffffffff8216610d3b576040517fa9ad62f800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216301415610d8b576040517fc3c5ec3700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7fffffffff0000000000000000000000000000000000000000000000000000000081166000908152602084815260408083205473ffffffffffffffffffffffffffffffffffffffff86168452600180880190935290832054740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff169291610e159161145f565b9050808214610f5c5773ffffffffffffffffffffffffffffffffffffffff841660009081526001860160205260408120805483908110610e5757610e576111ed565b6000918252602080832060088304015473ffffffffffffffffffffffffffffffffffffffff8916845260018a019091526040909220805460079092166004026101000a90920460e01b925082919085908110610eb557610eb56111ed565b600091825260208083206008830401805463ffffffff60079094166004026101000a938402191660e09590951c929092029390931790557fffffffff0000000000000000000000000000000000000000000000000000000092909216825286905260409020805473ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000006bffffffffffffffffffffffff8516021790555b73ffffffffffffffffffffffffffffffffffffffff841660009081526001860160205260409020805480610f9257610f9261149d565b6000828152602080822060087fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90940193840401805463ffffffff600460078716026101000a0219169055919092557fffffffff00000000000000000000000000000000000000000000000000000000851682528690526040812055806106f65760028501546000906110279060019061145f565b73ffffffffffffffffffffffffffffffffffffffff86166000908152600180890160205260409091200154909150808214611115576000876002018381548110611073576110736111ed565b60009182526020909120015460028901805473ffffffffffffffffffffffffffffffffffffffff90921692508291849081106110b1576110b16111ed565b600091825260208083209190910180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff948516179055929091168152600189810190925260409020018190555b866002018054806111285761112861149d565b6000828152602080822083017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff000000000000000000000000000000000000000016905590920190925573ffffffffffffffffffffffffffffffffffffffff88168252600189810190915260408220015550505050505050565b803b80610b2e576040517fe350060000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60005b8381101561126657818101518382015260200161124e565b83811115610ad45750506000910152565b6000815180845261128f81602086016020860161124b565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60006060808301818452808751808352608092508286019150828160051b8701016020808b0160005b848110156113ec577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff808a8503018652815188850173ffffffffffffffffffffffffffffffffffffffff82511686528482015160038110611373577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b868601526040918201519186018a905281519081905290840190600090898701905b808310156113d75783517fffffffff00000000000000000000000000000000000000000000000000000000168252928601926001929092019190860190611395565b509785019795505050908201906001016112ea565b505073ffffffffffffffffffffffffffffffffffffffff8a1690880152868103604088015261141b8189611277565b9a9950505050505050505050565b6000825161143b81846020870161124b565b9190910192915050565b6020815260006114586020830184611277565b9392505050565b600082821015611498577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220cfe33a474815754e1e2609893504ca6be3231d0d3587805945d9852a0f3e00ed64736f6c634300080a0033
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.