Source Code
Latest 25 from a total of 166 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Deposit To Hyper... | 418045931 | 27 days ago | IN | 0 ETH | 0.00000161 | ||||
| Deposit To Hyper... | 417879453 | 27 days ago | IN | 0 ETH | 0.00000133 | ||||
| Deposit To Hyper... | 416101296 | 32 days ago | IN | 0 ETH | 0.00000147 | ||||
| Deposit To Hyper... | 414314788 | 37 days ago | IN | 0 ETH | 0.00003389 | ||||
| Deposit To Hyper... | 413187711 | 41 days ago | IN | 0 ETH | 0.00000161 | ||||
| Deposit To Hyper... | 412502430 | 43 days ago | IN | 0 ETH | 0.00000161 | ||||
| Deposit To Hyper... | 410094761 | 50 days ago | IN | 0 ETH | 0.00000161 | ||||
| Deposit To Hyper... | 409902205 | 50 days ago | IN | 0 ETH | 0.00004151 | ||||
| Deposit To Hyper... | 409701208 | 51 days ago | IN | 0 ETH | 0.00000147 | ||||
| Deposit To Hyper... | 409050797 | 53 days ago | IN | 0 ETH | 0.00000161 | ||||
| Deposit To Hyper... | 409046223 | 53 days ago | IN | 0 ETH | 0.00000147 | ||||
| Deposit To Hyper... | 408681699 | 54 days ago | IN | 0 ETH | 0.00000161 | ||||
| Deposit To Hyper... | 408425228 | 54 days ago | IN | 0 ETH | 0.00000147 | ||||
| Deposit To Hyper... | 406320098 | 60 days ago | IN | 0 ETH | 0.00000161 | ||||
| Deposit To Hyper... | 404971146 | 64 days ago | IN | 0 ETH | 0.00000148 | ||||
| Deposit To Hyper... | 404970908 | 64 days ago | IN | 0 ETH | 0.00000148 | ||||
| Deposit To Hyper... | 404967861 | 64 days ago | IN | 0 ETH | 0.00000148 | ||||
| Deposit To Hyper... | 404937438 | 64 days ago | IN | 0 ETH | 0.00000148 | ||||
| Deposit To Hyper... | 404723677 | 65 days ago | IN | 0 ETH | 0.00000162 | ||||
| Deposit To Hyper... | 401175190 | 75 days ago | IN | 0 ETH | 0.00000135 | ||||
| Deposit To Hyper... | 398757799 | 82 days ago | IN | 0 ETH | 0.00000136 | ||||
| Deposit To Hyper... | 398554318 | 83 days ago | IN | 0 ETH | 0.00000135 | ||||
| Deposit To Hyper... | 398551872 | 83 days ago | IN | 0 ETH | 0.00000136 | ||||
| Deposit To Hyper... | 397750186 | 85 days ago | IN | 0 ETH | 0.00000711 | ||||
| Deposit To Hyper... | 396341295 | 89 days ago | IN | 0 ETH | 0.00000389 |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
DepositHyperliquid
Compiler Version
v0.8.28+commit.7893614a
Optimization Enabled:
No with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
/**
* SPDX-License-Identifier: MIT
*
* .----------------. .----------------. .----------------. .----------------. .----------------. .----------------. .----------------.
| .--------------. || .--------------. || .--------------. || .--------------. || .--------------. || .--------------. || .--------------. |
| | ______ | || | __ | || | ________ | || | _________ | || | | || | __ | || | _____ | |
| | |_ __ \ | || | / \ | || | |_ ___ `. | || | | _ _ | | || | | || | / \ | || | |_ _| | |
| | | |__) | | || | / /\ \ | || | | | `. \ | || | |_/ | | \_| | || | | || | / /\ \ | || | | | | |
| | | ___/ | || | / ____ \ | || | | | | | | || | | | | || | | || | / ____ \ | || | | | | |
| | _| |_ | || | _/ / \ \_ | || | _| |___.' / | || | _| |_ | || | _ | || | _/ / \ \_ | || | _| |_ | |
| | |_____| | || ||____| |____|| || | |________.' | || | |_____| | || | (_) | || ||____| |____|| || | |_____| | |
| | | || | | || | | || | | || | | || | | || | | |
| '--------------' || '--------------' || '--------------' || '--------------' || '--------------' || '--------------' || '--------------' |
'----------------' '----------------' '----------------' '----------------' '----------------' '----------------' '----------------'
*
* @title DepositHyperliquid
* @dev Direct deposit execution
*/
pragma solidity ^0.8.28;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./IBridge2.sol";
contract DepositHyperliquid is Ownable {
using SafeERC20 for IERC20;
/// @notice USDC token contract
IERC20 public usdc; // 0xaf88d065e77c8cC2239327C5EDb3A432268e5831
/// @notice Minimum deposit amount (6 decimals)
uint256 public minimumDeposit;
/// @notice Hyperliquid bridge contract
address public bridge; // 0x2df1c51e09aecf9cacb7bc98cb1742757f163df7
event DepositHyperliquidExecuted(
address indexed requester,
uint256 amount,
address indexed recipient,
uint64 deadline
);
constructor(
address _usdc,
uint256 _minimumDeposit,
address _bridge
) Ownable(msg.sender) {
require(_usdc != address(0), "USDC address cannot be zero");
usdc = IERC20(_usdc);
minimumDeposit = _minimumDeposit;
bridge = _bridge;
}
/// @notice Deposit USDC to Hyperliquid through bridge
/// @param amount USDC amount (6 decimals)
/// @param recipient Address to receive USDC on Hyperliquid
/// @param deadline Signature deadline (must match signature)
/// @param signature Hyperliquid bridge signature
function depositToHyperliquid(
uint256 amount,
address recipient,
uint64 deadline,
IBridge2.Signature memory signature
) external {
require(
amount >= minimumDeposit,
"Amount must be at least minimum deposit"
);
require(recipient != address(0), "Recipient cannot be zero address");
require(deadline > block.timestamp, "Deadline must be in the future");
usdc.safeTransferFrom(msg.sender, address(this), amount);
usdc.safeTransfer(recipient, amount);
IBridge2.DepositWithPermit[]
memory deposits = new IBridge2.DepositWithPermit[](1);
deposits[0] = IBridge2.DepositWithPermit({
user: recipient,
usd: uint64(amount),
deadline: deadline,
signature: signature
});
IBridge2(bridge).batchedDepositWithPermit(deposits);
emit DepositHyperliquidExecuted(
msg.sender,
amount,
recipient,
deadline
);
}
/// @notice Recover stuck tokens (owner only)
function emergencyRecovery(
address token,
uint256 amount
) external onlyOwner {
IERC20(token).safeTransfer(owner(), amount);
}
/// @notice Update minimum deposit amount (owner only)
function setminimumDeposit(uint256 _minimumDeposit) external onlyOwner {
minimumDeposit = _minimumDeposit;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.20;
import {Context} from "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* The initial owner is set to the address provided by the deployer. This can
* later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
/**
* @dev The caller account is not authorized to perform an operation.
*/
error OwnableUnauthorizedAccount(address account);
/**
* @dev The owner is not a valid owner account. (eg. `address(0)`)
*/
error OwnableInvalidOwner(address owner);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the address provided by the deployer as the initial owner.
*/
constructor(address initialOwner) {
if (initialOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(initialOwner);
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
if (owner() != _msgSender()) {
revert OwnableUnauthorizedAccount(_msgSender());
}
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
if (newOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1363.sol)
pragma solidity >=0.6.2;
import {IERC20} from "./IERC20.sol";
import {IERC165} from "./IERC165.sol";
/**
* @title IERC1363
* @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].
*
* Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract
* after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.
*/
interface IERC1363 is IERC20, IERC165 {
/*
* Note: the ERC-165 identifier for this interface is 0xb0202a11.
* 0xb0202a11 ===
* bytes4(keccak256('transferAndCall(address,uint256)')) ^
* bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^
* bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^
* bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^
* bytes4(keccak256('approveAndCall(address,uint256)')) ^
* bytes4(keccak256('approveAndCall(address,uint256,bytes)'))
*/
/**
* @dev Moves a `value` amount of tokens from the caller's account to `to`
* and then calls {IERC1363Receiver-onTransferReceived} on `to`.
* @param to The address which you want to transfer to.
* @param value The amount of tokens to be transferred.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function transferAndCall(address to, uint256 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from the caller's account to `to`
* and then calls {IERC1363Receiver-onTransferReceived} on `to`.
* @param to The address which you want to transfer to.
* @param value The amount of tokens to be transferred.
* @param data Additional data with no specified format, sent in call to `to`.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
* and then calls {IERC1363Receiver-onTransferReceived} on `to`.
* @param from The address which you want to send tokens from.
* @param to The address which you want to transfer to.
* @param value The amount of tokens to be transferred.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function transferFromAndCall(address from, address to, uint256 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
* and then calls {IERC1363Receiver-onTransferReceived} on `to`.
* @param from The address which you want to send tokens from.
* @param to The address which you want to transfer to.
* @param value The amount of tokens to be transferred.
* @param data Additional data with no specified format, sent in call to `to`.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);
/**
* @dev Sets a `value` amount of tokens as the allowance of `spender` over the
* caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
* @param spender The address which will spend the funds.
* @param value The amount of tokens to be spent.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function approveAndCall(address spender, uint256 value) external returns (bool);
/**
* @dev Sets a `value` amount of tokens as the allowance of `spender` over the
* caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
* @param spender The address which will spend the funds.
* @param value The amount of tokens to be spent.
* @param data Additional data with no specified format, sent in call to `spender`.
* @return A boolean value indicating whether the operation succeeded unless throwing.
*/
function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC165.sol)
pragma solidity >=0.4.16;
import {IERC165} from "../utils/introspection/IERC165.sol";// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC20.sol)
pragma solidity >=0.4.16;
import {IERC20} from "../token/ERC20/IERC20.sol";// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/IERC20.sol)
pragma solidity >=0.4.16;
/**
* @dev Interface of the ERC-20 standard as defined in the ERC.
*/
interface IERC20 {
/**
* @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);
/**
* @dev Returns the value of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the value of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves a `value` amount of tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 value) 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 a `value` amount of tokens 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 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the
* allowance mechanism. `value` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 value) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.3.0) (token/ERC20/utils/SafeERC20.sol)
pragma solidity ^0.8.20;
import {IERC20} from "../IERC20.sol";
import {IERC1363} from "../../../interfaces/IERC1363.sol";
/**
* @title SafeERC20
* @dev Wrappers around ERC-20 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 {
/**
* @dev An operation with an ERC-20 token failed.
*/
error SafeERC20FailedOperation(address token);
/**
* @dev Indicates a failed `decreaseAllowance` request.
*/
error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);
/**
* @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*/
function safeTransfer(IERC20 token, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));
}
/**
* @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
* calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
*/
function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));
}
/**
* @dev Variant of {safeTransfer} that returns a bool instead of reverting if the operation is not successful.
*/
function trySafeTransfer(IERC20 token, address to, uint256 value) internal returns (bool) {
return _callOptionalReturnBool(token, abi.encodeCall(token.transfer, (to, value)));
}
/**
* @dev Variant of {safeTransferFrom} that returns a bool instead of reverting if the operation is not successful.
*/
function trySafeTransferFrom(IERC20 token, address from, address to, uint256 value) internal returns (bool) {
return _callOptionalReturnBool(token, abi.encodeCall(token.transferFrom, (from, to, value)));
}
/**
* @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*
* IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
* smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
* this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
* that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
*/
function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 oldAllowance = token.allowance(address(this), spender);
forceApprove(token, spender, oldAllowance + value);
}
/**
* @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no
* value, non-reverting calls are assumed to be successful.
*
* IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
* smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
* this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
* that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
*/
function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {
unchecked {
uint256 currentAllowance = token.allowance(address(this), spender);
if (currentAllowance < requestedDecrease) {
revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);
}
forceApprove(token, spender, currentAllowance - requestedDecrease);
}
}
/**
* @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
* to be set to zero before setting it to a non-zero value, such as USDT.
*
* NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function
* only sets the "standard" allowance. Any temporary allowance will remain active, in addition to the value being
* set here.
*/
function forceApprove(IERC20 token, address spender, uint256 value) internal {
bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));
if (!_callOptionalReturnBool(token, approvalCall)) {
_callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));
_callOptionalReturn(token, approvalCall);
}
}
/**
* @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no
* code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
* targeting contracts.
*
* Reverts if the returned value is other than `true`.
*/
function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
if (to.code.length == 0) {
safeTransfer(token, to, value);
} else if (!token.transferAndCall(to, value, data)) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target
* has no code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
* targeting contracts.
*
* Reverts if the returned value is other than `true`.
*/
function transferFromAndCallRelaxed(
IERC1363 token,
address from,
address to,
uint256 value,
bytes memory data
) internal {
if (to.code.length == 0) {
safeTransferFrom(token, from, to, value);
} else if (!token.transferFromAndCall(from, to, value, data)) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no
* code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
* targeting contracts.
*
* NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.
* Opposedly, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}
* once without retrying, and relies on the returned value to be true.
*
* Reverts if the returned value is other than `true`.
*/
function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
if (to.code.length == 0) {
forceApprove(token, to, value);
} else if (!token.approveAndCall(to, value, data)) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @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).
*
* This is a variant of {_callOptionalReturnBool} that reverts if call fails to meet the requirements.
*/
function _callOptionalReturn(IERC20 token, bytes memory data) private {
uint256 returnSize;
uint256 returnValue;
assembly ("memory-safe") {
let success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)
// bubble errors
if iszero(success) {
let ptr := mload(0x40)
returndatacopy(ptr, 0, returndatasize())
revert(ptr, returndatasize())
}
returnSize := returndatasize()
returnValue := mload(0)
}
if (returnSize == 0 ? address(token).code.length == 0 : returnValue != 1) {
revert SafeERC20FailedOperation(address(token));
}
}
/**
* @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).
*
* This is a variant of {_callOptionalReturn} that silently catches all reverts and returns a bool instead.
*/
function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
bool success;
uint256 returnSize;
uint256 returnValue;
assembly ("memory-safe") {
success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)
returnSize := returndatasize()
returnValue := mload(0)
}
return success && (returnSize == 0 ? address(token).code.length > 0 : returnValue == 1);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
pragma solidity ^0.8.20;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (utils/introspection/IERC165.sol)
pragma solidity >=0.4.16;
/**
* @dev Interface of the ERC-165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[ERC].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.28;
interface IBridge2 {
struct Signature {
uint256 r;
uint256 s;
uint8 v;
}
struct DepositWithPermit {
address user;
uint64 usd;
uint64 deadline;
Signature signature;
}
function batchedDepositWithPermit(
DepositWithPermit[] memory deposits
) external;
}{
"evmVersion": "paris",
"optimizer": {
"enabled": false,
"runs": 200
},
"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":[{"internalType":"address","name":"_usdc","type":"address"},{"internalType":"uint256","name":"_minimumDeposit","type":"uint256"},{"internalType":"address","name":"_bridge","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"requester","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint64","name":"deadline","type":"uint64"}],"name":"DepositHyperliquidExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"bridge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint64","name":"deadline","type":"uint64"},{"components":[{"internalType":"uint256","name":"r","type":"uint256"},{"internalType":"uint256","name":"s","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"}],"internalType":"struct IBridge2.Signature","name":"signature","type":"tuple"}],"name":"depositToHyperliquid","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"emergencyRecovery","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minimumDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minimumDeposit","type":"uint256"}],"name":"setminimumDeposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"usdc","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"}]Contract Creation Code
608060405234801561001057600080fd5b506040516115d23803806115d283398181016040528101906100329190610312565b33600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036100a55760006040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161009c9190610374565b60405180910390fd5b6100b4816101b560201b60201c565b50600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610124576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161011b906103ec565b60405180910390fd5b82600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160028190555080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505061040c565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006102a98261027e565b9050919050565b6102b98161029e565b81146102c457600080fd5b50565b6000815190506102d6816102b0565b92915050565b6000819050919050565b6102ef816102dc565b81146102fa57600080fd5b50565b60008151905061030c816102e6565b92915050565b60008060006060848603121561032b5761032a610279565b5b6000610339868287016102c7565b935050602061034a868287016102fd565b925050604061035b868287016102c7565b9150509250925092565b61036e8161029e565b82525050565b60006020820190506103896000830184610365565b92915050565b600082825260208201905092915050565b7f5553444320616464726573732063616e6e6f74206265207a65726f0000000000600082015250565b60006103d6601b8361038f565b91506103e1826103a0565b602082019050919050565b60006020820190508181036000830152610405816103c9565b9050919050565b6111b78061041b6000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063727b7acf11610066578063727b7acf146100fa578063795dc9d7146101165780638da5cb5b14610132578063e78cea9214610150578063f2fde38b1461016e57610093565b80631743cd7c146100985780633e413bee146100b4578063636bfbab146100d2578063715018a6146100f0575b600080fd5b6100b260048036038101906100ad9190610a00565b61018a565b005b6100bc61019c565b6040516100c99190610aac565b60405180910390f35b6100da6101c2565b6040516100e79190610ad6565b60405180910390f35b6100f86101c8565b005b610114600480360381019061010f9190610b2f565b6101dc565b005b610130600480360381019061012b9190610cdd565b61021a565b005b61013a610574565b6040516101479190610d53565b60405180910390f35b61015861059d565b6040516101659190610d53565b60405180910390f35b61018860048036038101906101839190610d6e565b6105c3565b005b610192610649565b8060028190555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60025481565b6101d0610649565b6101da60006106d0565b565b6101e4610649565b6102166101ef610574565b828473ffffffffffffffffffffffffffffffffffffffff166107949092919063ffffffff16565b5050565b60025484101561025f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161025690610e1e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036102ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102c590610e8a565b60405180910390fd5b428267ffffffffffffffff161161031a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161031190610ef6565b60405180910390fd5b610369333086600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610813909392919063ffffffff16565b6103b68385600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166107949092919063ffffffff16565b6000600167ffffffffffffffff8111156103d3576103d2610bc5565b5b60405190808252806020026020018201604052801561040c57816020015b6103f961093f565b8152602001906001900390816103f15790505b50905060405180608001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018667ffffffffffffffff1681526020018467ffffffffffffffff168152602001838152508160008151811061046e5761046d610f16565b5b6020026020010181905250600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b30b5bce826040518263ffffffff1660e01b81526004016104d491906110c7565b600060405180830381600087803b1580156104ee57600080fd5b505af1158015610502573d6000803e3d6000fd5b505050508373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f13b03d7e1b4c75f0e1d3553a52853bf7b0071bd1bcbb200838191d7f1e01aa8b87866040516105659291906110f8565b60405180910390a35050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6105cb610649565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361063d5760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016106349190610d53565b60405180910390fd5b610646816106d0565b50565b610651610895565b73ffffffffffffffffffffffffffffffffffffffff1661066f610574565b73ffffffffffffffffffffffffffffffffffffffff16146106ce57610692610895565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016106c59190610d53565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61080e838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040516024016107c7929190611121565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061089d565b505050565b61088f848573ffffffffffffffffffffffffffffffffffffffff166323b872dd8686866040516024016108489392919061114a565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061089d565b50505050565b600033905090565b600080602060008451602086016000885af1806108c0576040513d6000823e3d81fd5b3d9250600051915050600082146108db5760018114156108f7565b60008473ffffffffffffffffffffffffffffffffffffffff163b145b1561093957836040517f5274afe70000000000000000000000000000000000000000000000000000000081526004016109309190610d53565b60405180910390fd5b50505050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600067ffffffffffffffff168152602001610991610997565b81525090565b60405180606001604052806000815260200160008152602001600060ff1681525090565b6000604051905090565b600080fd5b6000819050919050565b6109dd816109ca565b81146109e857600080fd5b50565b6000813590506109fa816109d4565b92915050565b600060208284031215610a1657610a156109c5565b5b6000610a24848285016109eb565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000610a72610a6d610a6884610a2d565b610a4d565b610a2d565b9050919050565b6000610a8482610a57565b9050919050565b6000610a9682610a79565b9050919050565b610aa681610a8b565b82525050565b6000602082019050610ac16000830184610a9d565b92915050565b610ad0816109ca565b82525050565b6000602082019050610aeb6000830184610ac7565b92915050565b6000610afc82610a2d565b9050919050565b610b0c81610af1565b8114610b1757600080fd5b50565b600081359050610b2981610b03565b92915050565b60008060408385031215610b4657610b456109c5565b5b6000610b5485828601610b1a565b9250506020610b65858286016109eb565b9150509250929050565b600067ffffffffffffffff82169050919050565b610b8c81610b6f565b8114610b9757600080fd5b50565b600081359050610ba981610b83565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610bfd82610bb4565b810181811067ffffffffffffffff82111715610c1c57610c1b610bc5565b5b80604052505050565b6000610c2f6109bb565b9050610c3b8282610bf4565b919050565b600060ff82169050919050565b610c5681610c40565b8114610c6157600080fd5b50565b600081359050610c7381610c4d565b92915050565b600060608284031215610c8f57610c8e610baf565b5b610c996060610c25565b90506000610ca9848285016109eb565b6000830152506020610cbd848285016109eb565b6020830152506040610cd184828501610c64565b60408301525092915050565b60008060008060c08587031215610cf757610cf66109c5565b5b6000610d05878288016109eb565b9450506020610d1687828801610b1a565b9350506040610d2787828801610b9a565b9250506060610d3887828801610c79565b91505092959194509250565b610d4d81610af1565b82525050565b6000602082019050610d686000830184610d44565b92915050565b600060208284031215610d8457610d836109c5565b5b6000610d9284828501610b1a565b91505092915050565b600082825260208201905092915050565b7f416d6f756e74206d757374206265206174206c65617374206d696e696d756d2060008201527f6465706f73697400000000000000000000000000000000000000000000000000602082015250565b6000610e08602783610d9b565b9150610e1382610dac565b604082019050919050565b60006020820190508181036000830152610e3781610dfb565b9050919050565b7f526563697069656e742063616e6e6f74206265207a65726f2061646472657373600082015250565b6000610e74602083610d9b565b9150610e7f82610e3e565b602082019050919050565b60006020820190508181036000830152610ea381610e67565b9050919050565b7f446561646c696e65206d75737420626520696e20746865206675747572650000600082015250565b6000610ee0601e83610d9b565b9150610eeb82610eaa565b602082019050919050565b60006020820190508181036000830152610f0f81610ed3565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b610f7a81610af1565b82525050565b610f8981610b6f565b82525050565b610f98816109ca565b82525050565b610fa781610c40565b82525050565b606082016000820151610fc36000850182610f8f565b506020820151610fd66020850182610f8f565b506040820151610fe96040850182610f9e565b50505050565b60c0820160008201516110056000850182610f71565b5060208201516110186020850182610f80565b50604082015161102b6040850182610f80565b50606082015161103e6060850182610fad565b50505050565b60006110508383610fef565b60c08301905092915050565b6000602082019050919050565b600061107482610f45565b61107e8185610f50565b935061108983610f61565b8060005b838110156110ba5781516110a18882611044565b97506110ac8361105c565b92505060018101905061108d565b5085935050505092915050565b600060208201905081810360008301526110e18184611069565b905092915050565b6110f281610b6f565b82525050565b600060408201905061110d6000830185610ac7565b61111a60208301846110e9565b9392505050565b60006040820190506111366000830185610d44565b6111436020830184610ac7565b9392505050565b600060608201905061115f6000830186610d44565b61116c6020830185610d44565b6111796040830184610ac7565b94935050505056fea26469706673582212204d6065c0fc220c6d65462239a4be69351d968acccd3985e3f99b509318fbc70264736f6c634300081c0033000000000000000000000000af88d065e77c8cc2239327c5edb3a432268e583100000000000000000000000000000000000000000000000000000000004c4b400000000000000000000000002df1c51e09aecf9cacb7bc98cb1742757f163df7
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063727b7acf11610066578063727b7acf146100fa578063795dc9d7146101165780638da5cb5b14610132578063e78cea9214610150578063f2fde38b1461016e57610093565b80631743cd7c146100985780633e413bee146100b4578063636bfbab146100d2578063715018a6146100f0575b600080fd5b6100b260048036038101906100ad9190610a00565b61018a565b005b6100bc61019c565b6040516100c99190610aac565b60405180910390f35b6100da6101c2565b6040516100e79190610ad6565b60405180910390f35b6100f86101c8565b005b610114600480360381019061010f9190610b2f565b6101dc565b005b610130600480360381019061012b9190610cdd565b61021a565b005b61013a610574565b6040516101479190610d53565b60405180910390f35b61015861059d565b6040516101659190610d53565b60405180910390f35b61018860048036038101906101839190610d6e565b6105c3565b005b610192610649565b8060028190555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60025481565b6101d0610649565b6101da60006106d0565b565b6101e4610649565b6102166101ef610574565b828473ffffffffffffffffffffffffffffffffffffffff166107949092919063ffffffff16565b5050565b60025484101561025f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161025690610e1e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036102ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102c590610e8a565b60405180910390fd5b428267ffffffffffffffff161161031a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161031190610ef6565b60405180910390fd5b610369333086600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610813909392919063ffffffff16565b6103b68385600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166107949092919063ffffffff16565b6000600167ffffffffffffffff8111156103d3576103d2610bc5565b5b60405190808252806020026020018201604052801561040c57816020015b6103f961093f565b8152602001906001900390816103f15790505b50905060405180608001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018667ffffffffffffffff1681526020018467ffffffffffffffff168152602001838152508160008151811061046e5761046d610f16565b5b6020026020010181905250600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b30b5bce826040518263ffffffff1660e01b81526004016104d491906110c7565b600060405180830381600087803b1580156104ee57600080fd5b505af1158015610502573d6000803e3d6000fd5b505050508373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f13b03d7e1b4c75f0e1d3553a52853bf7b0071bd1bcbb200838191d7f1e01aa8b87866040516105659291906110f8565b60405180910390a35050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6105cb610649565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361063d5760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016106349190610d53565b60405180910390fd5b610646816106d0565b50565b610651610895565b73ffffffffffffffffffffffffffffffffffffffff1661066f610574565b73ffffffffffffffffffffffffffffffffffffffff16146106ce57610692610895565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016106c59190610d53565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61080e838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040516024016107c7929190611121565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061089d565b505050565b61088f848573ffffffffffffffffffffffffffffffffffffffff166323b872dd8686866040516024016108489392919061114a565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061089d565b50505050565b600033905090565b600080602060008451602086016000885af1806108c0576040513d6000823e3d81fd5b3d9250600051915050600082146108db5760018114156108f7565b60008473ffffffffffffffffffffffffffffffffffffffff163b145b1561093957836040517f5274afe70000000000000000000000000000000000000000000000000000000081526004016109309190610d53565b60405180910390fd5b50505050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600067ffffffffffffffff168152602001610991610997565b81525090565b60405180606001604052806000815260200160008152602001600060ff1681525090565b6000604051905090565b600080fd5b6000819050919050565b6109dd816109ca565b81146109e857600080fd5b50565b6000813590506109fa816109d4565b92915050565b600060208284031215610a1657610a156109c5565b5b6000610a24848285016109eb565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000610a72610a6d610a6884610a2d565b610a4d565b610a2d565b9050919050565b6000610a8482610a57565b9050919050565b6000610a9682610a79565b9050919050565b610aa681610a8b565b82525050565b6000602082019050610ac16000830184610a9d565b92915050565b610ad0816109ca565b82525050565b6000602082019050610aeb6000830184610ac7565b92915050565b6000610afc82610a2d565b9050919050565b610b0c81610af1565b8114610b1757600080fd5b50565b600081359050610b2981610b03565b92915050565b60008060408385031215610b4657610b456109c5565b5b6000610b5485828601610b1a565b9250506020610b65858286016109eb565b9150509250929050565b600067ffffffffffffffff82169050919050565b610b8c81610b6f565b8114610b9757600080fd5b50565b600081359050610ba981610b83565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610bfd82610bb4565b810181811067ffffffffffffffff82111715610c1c57610c1b610bc5565b5b80604052505050565b6000610c2f6109bb565b9050610c3b8282610bf4565b919050565b600060ff82169050919050565b610c5681610c40565b8114610c6157600080fd5b50565b600081359050610c7381610c4d565b92915050565b600060608284031215610c8f57610c8e610baf565b5b610c996060610c25565b90506000610ca9848285016109eb565b6000830152506020610cbd848285016109eb565b6020830152506040610cd184828501610c64565b60408301525092915050565b60008060008060c08587031215610cf757610cf66109c5565b5b6000610d05878288016109eb565b9450506020610d1687828801610b1a565b9350506040610d2787828801610b9a565b9250506060610d3887828801610c79565b91505092959194509250565b610d4d81610af1565b82525050565b6000602082019050610d686000830184610d44565b92915050565b600060208284031215610d8457610d836109c5565b5b6000610d9284828501610b1a565b91505092915050565b600082825260208201905092915050565b7f416d6f756e74206d757374206265206174206c65617374206d696e696d756d2060008201527f6465706f73697400000000000000000000000000000000000000000000000000602082015250565b6000610e08602783610d9b565b9150610e1382610dac565b604082019050919050565b60006020820190508181036000830152610e3781610dfb565b9050919050565b7f526563697069656e742063616e6e6f74206265207a65726f2061646472657373600082015250565b6000610e74602083610d9b565b9150610e7f82610e3e565b602082019050919050565b60006020820190508181036000830152610ea381610e67565b9050919050565b7f446561646c696e65206d75737420626520696e20746865206675747572650000600082015250565b6000610ee0601e83610d9b565b9150610eeb82610eaa565b602082019050919050565b60006020820190508181036000830152610f0f81610ed3565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b610f7a81610af1565b82525050565b610f8981610b6f565b82525050565b610f98816109ca565b82525050565b610fa781610c40565b82525050565b606082016000820151610fc36000850182610f8f565b506020820151610fd66020850182610f8f565b506040820151610fe96040850182610f9e565b50505050565b60c0820160008201516110056000850182610f71565b5060208201516110186020850182610f80565b50604082015161102b6040850182610f80565b50606082015161103e6060850182610fad565b50505050565b60006110508383610fef565b60c08301905092915050565b6000602082019050919050565b600061107482610f45565b61107e8185610f50565b935061108983610f61565b8060005b838110156110ba5781516110a18882611044565b97506110ac8361105c565b92505060018101905061108d565b5085935050505092915050565b600060208201905081810360008301526110e18184611069565b905092915050565b6110f281610b6f565b82525050565b600060408201905061110d6000830185610ac7565b61111a60208301846110e9565b9392505050565b60006040820190506111366000830185610d44565b6111436020830184610ac7565b9392505050565b600060608201905061115f6000830186610d44565b61116c6020830185610d44565b6111796040830184610ac7565b94935050505056fea26469706673582212204d6065c0fc220c6d65462239a4be69351d968acccd3985e3f99b509318fbc70264736f6c634300081c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000af88d065e77c8cc2239327c5edb3a432268e583100000000000000000000000000000000000000000000000000000000004c4b400000000000000000000000002df1c51e09aecf9cacb7bc98cb1742757f163df7
-----Decoded View---------------
Arg [0] : _usdc (address): 0xaf88d065e77c8cC2239327C5EDb3A432268e5831
Arg [1] : _minimumDeposit (uint256): 5000000
Arg [2] : _bridge (address): 0x2Df1c51E09aECF9cacB7bc98cB1742757f163dF7
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000af88d065e77c8cc2239327c5edb3a432268e5831
Arg [1] : 00000000000000000000000000000000000000000000000000000000004c4b40
Arg [2] : 0000000000000000000000002df1c51e09aecf9cacb7bc98cb1742757f163df7
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ 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.