Source Code
Latest 25 from a total of 4,990 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Send | 370585175 | 164 days ago | IN | 0 ETH | 0.00000144 | ||||
| Send | 350694857 | 221 days ago | IN | 0 ETH | 0.00000166 | ||||
| Send | 348965746 | 226 days ago | IN | 0 ETH | 0.0000015 | ||||
| Swap And Send | 338661986 | 256 days ago | IN | 0 ETH | 0.00000271 | ||||
| Send | 338266871 | 257 days ago | IN | 0 ETH | 0.00000156 | ||||
| Send | 338266564 | 257 days ago | IN | 0 ETH | 0.00000155 | ||||
| Send | 338257675 | 257 days ago | IN | 0 ETH | 0.00000154 | ||||
| Send | 337832212 | 259 days ago | IN | 0 ETH | 0.00000141 | ||||
| Send | 337458518 | 260 days ago | IN | 0 ETH | 0.00000156 | ||||
| Send | 337442012 | 260 days ago | IN | 0 ETH | 0.00000154 | ||||
| Send | 337410594 | 260 days ago | IN | 0 ETH | 0.00000336 | ||||
| Send | 337255782 | 260 days ago | IN | 0 ETH | 0.00000161 | ||||
| Send | 337212751 | 260 days ago | IN | 0 ETH | 0.00000157 | ||||
| Send | 337202792 | 260 days ago | IN | 0 ETH | 0.0000015 | ||||
| Send | 337200115 | 260 days ago | IN | 0 ETH | 0.00000149 | ||||
| Send | 337145477 | 261 days ago | IN | 0 ETH | 0.00000147 | ||||
| Send | 337020113 | 261 days ago | IN | 0 ETH | 0.00000266 | ||||
| Send | 336949282 | 261 days ago | IN | 0 ETH | 0.00000194 | ||||
| Send | 336913261 | 261 days ago | IN | 0 ETH | 0.00000166 | ||||
| Send | 336873987 | 261 days ago | IN | 0 ETH | 0.00000251 | ||||
| Send | 336716613 | 262 days ago | IN | 0 ETH | 0.00000156 | ||||
| Send | 336683063 | 262 days ago | IN | 0 ETH | 0.0000016 | ||||
| Send | 336564009 | 262 days ago | IN | 0 ETH | 0.00000183 | ||||
| Send | 336525869 | 262 days ago | IN | 0 ETH | 0.00000195 | ||||
| Send | 336440198 | 263 days ago | IN | 0 ETH | 0.00000187 |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
L2_HopCCTPImplementation
Compiler Version
v0.8.24+commit.e11b9ed9
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity 0.8.24;
import "./HopCCTPImplementation.sol";
interface IAMM {
struct ExactInputParams {
bytes path;
address recipient;
uint256 amountIn;
uint256 amountOutMinimum;
}
function exactInput(
ExactInputParams memory params
) external returns (uint256 amountOut);
}
contract L2_HopCCTPImplementation is HopCCTPImplementation {
using SafeERC20 for IERC20;
IERC20 public immutable bridgedToken;
IAMM public immutable amm;
constructor(
address nativeTokenAddress,
address cctpAddress,
address feeCollectorAddress,
uint256 minBonderFee,
uint256[] memory chainIds,
uint32[] memory domains,
address bridgedTokenAddress,
address ammAddress
) HopCCTPImplementation(
nativeTokenAddress,
cctpAddress,
feeCollectorAddress,
minBonderFee,
chainIds,
domains
) {
bridgedToken = IERC20(bridgedTokenAddress);
amm = IAMM(ammAddress);
bridgedToken.approve(address(amm), type(uint256).max);
}
/**
* @dev Swap param validation ensures the caller must spend the bridged token and can only
* receive the native token for sending. This contract is unconcerned with the actual path
* used as long as the first and last tokens are known.
*
* @dev Path encoding for single pool: tokenAddress - fee - tokenAddress
* @dev Path encoding for multi pools: tokenAddress - fee - tokenAddress - fee - ... - tokenAddress
*
* @notice amount is the total amount the user wants to send including the bonderFee
*/
function swapAndSend(
uint256 chainId,
address recipient,
uint256 amount,
uint256 bonderFee,
IAMM.ExactInputParams calldata swapParams
)
external
{
require(amount > 0, "HOP_CCTP: swapAndSend amount cannot be 0");
bridgedToken.safeTransferFrom(msg.sender, address(this), amount);
// Validate swap params
address firstTokenAddressInPath = address(uint160(bytes20(swapParams.path[:20])));
address lastTokenAddressInPath = address(uint160(bytes20(swapParams.path[swapParams.path.length - 20:])));
require(address(bridgedToken) == firstTokenAddressInPath, "HOP_CCTP: Path must start with the bridged token address");
require(address(nativeToken) == lastTokenAddressInPath, "HOP_CCTP: Path must end with the native token address");
require(address(this) == swapParams.recipient, "HOP_CCTP: Send recipient must be this contract");
require(amount == swapParams.amountIn, "HOP_CCTP: Send amount does not match swap amount");
uint256 swapAmount = amm.exactInput(swapParams);
_send(chainId, recipient, swapAmount, bonderFee);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/IERC20Permit.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*
* ==== Security Considerations
*
* There are two important considerations concerning the use of `permit`. The first is that a valid permit signature
* expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be
* considered as an intention to spend the allowance in any specific way. The second is that because permits have
* built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should
* take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be
* generally recommended is:
*
* ```solidity
* function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
* try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}
* doThing(..., value);
* }
*
* function doThing(..., uint256 value) public {
* token.safeTransferFrom(msg.sender, address(this), value);
* ...
* }
* ```
*
* Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of
* `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also
* {SafeERC20-safeTransferFrom}).
*
* Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so
* contracts should have entry points that don't rely on permit.
*/
interface IERC20Permit {
/**
* @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
* given ``owner``'s signed approval.
*
* IMPORTANT: The same issues {IERC20-approve} has related to transaction
* ordering also apply here.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `deadline` must be a timestamp in the future.
* - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
* over the EIP712-formatted function arguments.
* - the signature must use ``owner``'s current nonce (see {nonces}).
*
* For more information on the signature format, see the
* https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
* section].
*
* CAUTION: See Security Considerations above.
*/
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) external;
/**
* @dev Returns the current nonce for `owner`. This value must be
* included whenever a signature is generated for {permit}.
*
* Every successful call to {permit} increases ``owner``'s nonce by one. This
* prevents a signature from being used multiple times.
*/
function nonces(address owner) external view returns (uint256);
/**
* @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view returns (bytes32);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
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 amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `from` to `to` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 amount) external returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol)
pragma solidity ^0.8.0;
import "../IERC20.sol";
import "../extensions/IERC20Permit.sol";
import "../../../utils/Address.sol";
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
using Address for address;
/**
* @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.encodeWithSelector(token.transfer.selector, 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.encodeWithSelector(token.transferFrom.selector, from, to, value));
}
/**
* @dev Deprecated. This function has issues similar to the ones found in
* {IERC20-approve}, and its usage is discouraged.
*
* Whenever possible, use {safeIncreaseAllowance} and
* {safeDecreaseAllowance} instead.
*/
function safeApprove(IERC20 token, address spender, uint256 value) internal {
// safeApprove should only be called when setting an initial allowance,
// or when resetting it to zero. To increase and decrease it, use
// 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
require(
(value == 0) || (token.allowance(address(this), spender) == 0),
"SafeERC20: approve from non-zero to non-zero allowance"
);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
}
/**
* @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*/
function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 oldAllowance = token.allowance(address(this), spender);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));
}
/**
* @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
* non-reverting calls are assumed to be successful.
*/
function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
unchecked {
uint256 oldAllowance = token.allowance(address(this), spender);
require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));
}
}
/**
* @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.
*/
function forceApprove(IERC20 token, address spender, uint256 value) internal {
bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);
if (!_callOptionalReturnBool(token, approvalCall)) {
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));
_callOptionalReturn(token, approvalCall);
}
}
/**
* @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.
* Revert on invalid signature.
*/
function safePermit(
IERC20Permit token,
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) internal {
uint256 nonceBefore = token.nonces(owner);
token.permit(owner, spender, value, deadline, v, r, s);
uint256 nonceAfter = token.nonces(owner);
require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*/
function _callOptionalReturn(IERC20 token, bytes memory data) private {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
// the target address contains contract code and also asserts for success in the low-level call.
bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
}
/**
* @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 silents catches all reverts and returns a bool instead.
*/
function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
// and not revert is the subcall reverts.
(bool success, bytes memory returndata) = address(token).call(data);
return
success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token));
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
*
* Furthermore, `isContract` will also return true if the target contract within
* the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
* which only has an effect at the end of a transaction.
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResultFromTarget(target, success, returndata, errorMessage);
}
/**
* @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
* the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
*
* _Available since v4.8._
*/
function verifyCallResultFromTarget(
address target,
bool success,
bytes memory returndata,
string memory errorMessage
) internal view returns (bytes memory) {
if (success) {
if (returndata.length == 0) {
// only check isContract if the call was successful and the return data is empty
// otherwise we already know that it was a contract
require(isContract(target), "Address: call to non-contract");
}
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
/**
* @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason or using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
_revert(returndata, errorMessage);
}
}
function _revert(bytes memory returndata, string memory errorMessage) private pure {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}// SPDX-License-Identifier: MIT
pragma solidity 0.8.24;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
interface ICCTP {
function depositForBurn(
uint256 amount,
uint32 destinationDomain,
bytes32 mintRecipient,
address burnToken
) external returns (uint64 _nonce);
}
abstract contract HopCCTPImplementation {
using SafeERC20 for IERC20;
IERC20 public immutable nativeToken;
ICCTP public immutable cctp;
address public immutable feeCollectorAddress;
uint256 public immutable minBonderFee;
mapping(uint256 => bool) public activeChainIds;
mapping(uint256 => uint32) public destinationDomains;
event CCTPTransferSent(
uint64 indexed cctpNonce,
uint256 indexed chainId,
address indexed recipient,
uint256 amount,
uint256 bonderFee
);
constructor(
address nativeTokenAddress,
address cctpAddress,
address _feeCollectorAddress,
uint256 _minBonderFee,
uint256[] memory chainIds,
uint32[] memory domains
) {
nativeToken = IERC20(nativeTokenAddress);
cctp = ICCTP(cctpAddress);
feeCollectorAddress = _feeCollectorAddress;
minBonderFee = _minBonderFee;
for (uint256 i = 0; i < chainIds.length; i++) {
require(chainIds[i] != block.chainid, "HOP_CCTP: Cannot activate this chain");
activeChainIds[chainIds[i]] = true;
destinationDomains[chainIds[i]] = domains[i];
}
nativeToken.approve(address(cctp), type(uint256).max);
}
// @notice amount is the total amount the user wants to send including the bonderFee
function send(
uint256 chainId,
address recipient,
uint256 amount,
uint256 bonderFee
)
external
{
nativeToken.safeTransferFrom(msg.sender, address(this), amount);
_send(chainId, recipient, amount, bonderFee);
}
function _send(
uint256 chainId,
address recipient,
uint256 amount,
uint256 bonderFee
)
internal
{
require(amount > 0, "HOP_CCTP: Bonder fee cannot exceed amount");
require(amount > bonderFee, "HOP_CCTP: Bonder fee cannot exceed amount");
require(bonderFee >= minBonderFee, "HOP_CCTP: Min bonder fee required");
require(activeChainIds[chainId], "HOP_CCTP: Cannot send to unsupported chainId");
require(chainId != block.chainid, "HOP_CCTP: Cannot send to the same chain");
nativeToken.safeTransfer(feeCollectorAddress, bonderFee);
uint256 amountAfterFee = amount - bonderFee;
uint64 cctpNonce = cctp.depositForBurn(
amountAfterFee,
destinationDomains[chainId],
bytes32(uint256(uint160(recipient))),
address(nativeToken)
);
emit CCTPTransferSent(
cctpNonce,
chainId,
recipient,
amount,
bonderFee
);
}
}{
"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":"nativeTokenAddress","type":"address"},{"internalType":"address","name":"cctpAddress","type":"address"},{"internalType":"address","name":"feeCollectorAddress","type":"address"},{"internalType":"uint256","name":"minBonderFee","type":"uint256"},{"internalType":"uint256[]","name":"chainIds","type":"uint256[]"},{"internalType":"uint32[]","name":"domains","type":"uint32[]"},{"internalType":"address","name":"bridgedTokenAddress","type":"address"},{"internalType":"address","name":"ammAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint64","name":"cctpNonce","type":"uint64"},{"indexed":true,"internalType":"uint256","name":"chainId","type":"uint256"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bonderFee","type":"uint256"}],"name":"CCTPTransferSent","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"activeChainIds","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"amm","outputs":[{"internalType":"contract IAMM","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bridgedToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cctp","outputs":[{"internalType":"contract ICCTP","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"destinationDomains","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeCollectorAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minBonderFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nativeToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"bonderFee","type":"uint256"}],"name":"send","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"bonderFee","type":"uint256"},{"components":[{"internalType":"bytes","name":"path","type":"bytes"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"amountOutMinimum","type":"uint256"}],"internalType":"struct IAMM.ExactInputParams","name":"swapParams","type":"tuple"}],"name":"swapAndSend","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
61014060405234801562000011575f80fd5b5060405162002898380380620028988339818101604052810190620000379190620006fd565b8787878787878573ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250508473ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff16815250508373ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff16815250508260e081815250505f5b82518110156200020b5746838281518110620001045762000103620007ff565b5b6020026020010151036200014f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200014690620008b0565b60405180910390fd5b60015f80858481518110620001695762000168620007ff565b5b602002602001015181526020019081526020015f205f6101000a81548160ff021916908315150217905550818181518110620001aa57620001a9620007ff565b5b602002602001015160015f858481518110620001cb57620001ca620007ff565b5b602002602001015181526020019081526020015f205f6101000a81548163ffffffff021916908363ffffffff1602179055508080600101915050620000e3565b5060805173ffffffffffffffffffffffffffffffffffffffff1663095ea7b360a0517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b81526004016200026d929190620008f2565b6020604051808303815f875af11580156200028a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620002b0919062000957565b505050505050508173ffffffffffffffffffffffffffffffffffffffff166101008173ffffffffffffffffffffffffffffffffffffffff16815250508073ffffffffffffffffffffffffffffffffffffffff166101208173ffffffffffffffffffffffffffffffffffffffff16815250506101005173ffffffffffffffffffffffffffffffffffffffff1663095ea7b3610120517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b815260040162000384929190620008f2565b6020604051808303815f875af1158015620003a1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620003c7919062000957565b50505050505050505062000987565b5f604051905090565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6200041282620003e7565b9050919050565b620004248162000406565b81146200042f575f80fd5b50565b5f81519050620004428162000419565b92915050565b5f819050919050565b6200045c8162000448565b811462000467575f80fd5b50565b5f815190506200047a8162000451565b92915050565b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b620004cc8262000484565b810181811067ffffffffffffffff82111715620004ee57620004ed62000494565b5b80604052505050565b5f62000502620003d6565b9050620005108282620004c1565b919050565b5f67ffffffffffffffff82111562000532576200053162000494565b5b602082029050602081019050919050565b5f80fd5b5f6200055d620005578462000515565b620004f7565b9050808382526020820190506020840283018581111562000583576200058262000543565b5b835b81811015620005b057806200059b88826200046a565b84526020840193505060208101905062000585565b5050509392505050565b5f82601f830112620005d157620005d062000480565b5b8151620005e384826020860162000547565b91505092915050565b5f67ffffffffffffffff82111562000609576200060862000494565b5b602082029050602081019050919050565b5f63ffffffff82169050919050565b62000634816200061a565b81146200063f575f80fd5b50565b5f81519050620006528162000629565b92915050565b5f6200066e6200066884620005ec565b620004f7565b9050808382526020820190506020840283018581111562000694576200069362000543565b5b835b81811015620006c15780620006ac888262000642565b84526020840193505060208101905062000696565b5050509392505050565b5f82601f830112620006e257620006e162000480565b5b8151620006f484826020860162000658565b91505092915050565b5f805f805f805f80610100898b0312156200071d576200071c620003df565b5b5f6200072c8b828c0162000432565b98505060206200073f8b828c0162000432565b9750506040620007528b828c0162000432565b9650506060620007658b828c016200046a565b955050608089015167ffffffffffffffff811115620007895762000788620003e3565b5b620007978b828c01620005ba565b94505060a089015167ffffffffffffffff811115620007bb57620007ba620003e3565b5b620007c98b828c01620006cb565b93505060c0620007dc8b828c0162000432565b92505060e0620007ef8b828c0162000432565b9150509295985092959890939650565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f82825260208201905092915050565b7f484f505f434354503a2043616e6e6f74206163746976617465207468697320635f8201527f6861696e00000000000000000000000000000000000000000000000000000000602082015250565b5f620008986024836200082c565b9150620008a5826200083c565b604082019050919050565b5f6020820190508181035f830152620008c9816200088a565b9050919050565b620008db8162000406565b82525050565b620008ec8162000448565b82525050565b5f604082019050620009075f830185620008d0565b620009166020830184620008e1565b9392505050565b5f8115159050919050565b62000933816200091d565b81146200093e575f80fd5b50565b5f81519050620009518162000928565b92915050565b5f602082840312156200096f576200096e620003df565b5b5f6200097e8482850162000941565b91505092915050565b60805160a05160c05160e0516101005161012051611e8362000a155f395f81816104dd015261058e01525f81816102360152818161031101526106b901525f81816105b2015261080e01525f81816106dd015261091201525f8181610695015261098a01525f818161039f015281816105fc01528181610671015281816109340152610a010152611e835ff3fe608060405234801561000f575f80fd5b506004361061009c575f3560e01c8063c97d172e11610064578063c97d172e14610144578063e1758bd814610174578063e3329e3214610192578063ee383937146101b0578063f108e225146101ce5761009c565b8063070d46e4146100a05780632a943945146100bc57806350fc2401146100da57806389aad5dc146100f8578063a134ce5b14610128575b5f80fd5b6100ba60048036038101906100b59190610ead565b6101ec565b005b6100c461058c565b6040516100d19190610f9b565b60405180910390f35b6100e26105b0565b6040516100ef9190610fc3565b60405180910390f35b610112600480360381019061010d9190610fdc565b6105d4565b60405161011f9190611025565b60405180910390f35b610142600480360381019061013d919061103e565b6105f4565b005b61015e60048036038101906101599190610fdc565b610653565b60405161016b91906110bc565b60405180910390f35b61017c61066f565b60405161018991906110f5565b60405180910390f35b61019a610693565b6040516101a7919061112e565b60405180910390f35b6101b86106b7565b6040516101c591906110f5565b60405180910390f35b6101d66106db565b6040516101e39190611156565b60405180910390f35b5f831161022e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610225906111ef565b60405180910390fd5b61027b3330857f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166106ff909392919063ffffffff16565b5f81805f019061028b9190611219565b5f9060149261029c93929190611283565b906102a791906112fe565b60601c90505f82805f01906102bc9190611219565b601485805f01906102cd9190611219565b90506102d99190611389565b9080926102e893929190611283565b906102f391906112fe565b60601c90508173ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1614610386576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161037d9061142c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1614610414576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161040b906114ba565b60405180910390fd5b82602001602081019061042791906114d8565b73ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1614610494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161048b90611573565b60405180910390fd5b826040013585146104da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104d190611601565b60405180910390fd5b5f7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663b858183f856040518263ffffffff1660e01b815260040161053491906117b3565b6020604051808303815f875af1158015610550573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061057491906117e7565b905061058288888388610788565b5050505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b6001602052805f5260405f205f915054906101000a900463ffffffff1681565b6106413330847f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166106ff909392919063ffffffff16565b61064d84848484610788565b50505050565b5f602052805f5260405f205f915054906101000a900460ff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b610782846323b872dd60e01b85858560405160240161072093929190611812565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610ae5565b50505050565b5f82116107ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c1906118b7565b60405180910390fd5b80821161080c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610803906118b7565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000081101561086f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086690611945565b60405180910390fd5b5f808581526020019081526020015f205f9054906101000a900460ff166108cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c2906119d3565b60405180910390fd5b46840361090d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090490611a61565b60405180910390fd5b6109787f0000000000000000000000000000000000000000000000000000000000000000827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16610bab9092919063ffffffff16565b5f81836109859190611389565b90505f7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636fd3504e8360015f8a81526020019081526020015f205f9054906101000a900463ffffffff168873ffffffffffffffffffffffffffffffffffffffff165f1b7f00000000000000000000000000000000000000000000000000000000000000006040518563ffffffff1660e01b8152600401610a3f9493929190611a97565b6020604051808303815f875af1158015610a5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a7f9190611b17565b90508473ffffffffffffffffffffffffffffffffffffffff16868267ffffffffffffffff167f10bf4019e09db5876a05d237bfcc676cd84eee2c23f820284906dd7cfa70d2c48787604051610ad5929190611b42565b60405180910390a4505050505050565b5f610b46826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610c319092919063ffffffff16565b90505f81511480610b67575080806020019051810190610b669190611b93565b5b610ba6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9d90611c2e565b60405180910390fd5b505050565b610c2c8363a9059cbb60e01b8484604051602401610bca929190611c4c565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610ae5565b505050565b6060610c3f84845f85610c48565b90509392505050565b606082471015610c8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8490611ce3565b60405180910390fd5b5f808673ffffffffffffffffffffffffffffffffffffffff168587604051610cb59190611d6d565b5f6040518083038185875af1925050503d805f8114610cef576040519150601f19603f3d011682016040523d82523d5f602084013e610cf4565b606091505b5091509150610d0587838387610d11565b92505050949350505050565b60608315610d72575f835103610d6a57610d2a85610d85565b610d69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6090611dcd565b60405180910390fd5b5b829050610d7d565b610d7c8383610da7565b5b949350505050565b5f808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b5f82511115610db95781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ded9190611e2d565b60405180910390fd5b5f80fd5b5f80fd5b5f819050919050565b610e1081610dfe565b8114610e1a575f80fd5b50565b5f81359050610e2b81610e07565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610e5a82610e31565b9050919050565b610e6a81610e50565b8114610e74575f80fd5b50565b5f81359050610e8581610e61565b92915050565b5f80fd5b5f60808284031215610ea457610ea3610e8b565b5b81905092915050565b5f805f805f60a08688031215610ec657610ec5610df6565b5b5f610ed388828901610e1d565b9550506020610ee488828901610e77565b9450506040610ef588828901610e1d565b9350506060610f0688828901610e1d565b925050608086013567ffffffffffffffff811115610f2757610f26610dfa565b5b610f3388828901610e8f565b9150509295509295909350565b5f819050919050565b5f610f63610f5e610f5984610e31565b610f40565b610e31565b9050919050565b5f610f7482610f49565b9050919050565b5f610f8582610f6a565b9050919050565b610f9581610f7b565b82525050565b5f602082019050610fae5f830184610f8c565b92915050565b610fbd81610dfe565b82525050565b5f602082019050610fd65f830184610fb4565b92915050565b5f60208284031215610ff157610ff0610df6565b5b5f610ffe84828501610e1d565b91505092915050565b5f63ffffffff82169050919050565b61101f81611007565b82525050565b5f6020820190506110385f830184611016565b92915050565b5f805f806080858703121561105657611055610df6565b5b5f61106387828801610e1d565b945050602061107487828801610e77565b935050604061108587828801610e1d565b925050606061109687828801610e1d565b91505092959194509250565b5f8115159050919050565b6110b6816110a2565b82525050565b5f6020820190506110cf5f8301846110ad565b92915050565b5f6110df82610f6a565b9050919050565b6110ef816110d5565b82525050565b5f6020820190506111085f8301846110e6565b92915050565b5f61111882610f6a565b9050919050565b6111288161110e565b82525050565b5f6020820190506111415f83018461111f565b92915050565b61115081610e50565b82525050565b5f6020820190506111695f830184611147565b92915050565b5f82825260208201905092915050565b7f484f505f434354503a2073776170416e6453656e6420616d6f756e742063616e5f8201527f6e6f742062652030000000000000000000000000000000000000000000000000602082015250565b5f6111d960288361116f565b91506111e48261117f565b604082019050919050565b5f6020820190508181035f830152611206816111cd565b9050919050565b5f80fd5b5f80fd5b5f80fd5b5f80833560016020038436030381126112355761123461120d565b5b80840192508235915067ffffffffffffffff82111561125757611256611211565b5b60208301925060018202360383131561127357611272611215565b5b509250929050565b5f80fd5b5f80fd5b5f80858511156112965761129561127b565b5b838611156112a7576112a661127f565b5b6001850283019150848603905094509492505050565b5f82905092915050565b5f7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000082169050919050565b5f82821b905092915050565b5f61130983836112bd565b8261131481356112c7565b925060148210156113545761134f7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000836014036008026112f2565b831692505b505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61139382610dfe565b915061139e83610dfe565b92508282039050818111156113b6576113b561135c565b5b92915050565b7f484f505f434354503a2050617468206d757374207374617274207769746820745f8201527f6865206272696467656420746f6b656e20616464726573730000000000000000602082015250565b5f61141660388361116f565b9150611421826113bc565b604082019050919050565b5f6020820190508181035f8301526114438161140a565b9050919050565b7f484f505f434354503a2050617468206d75737420656e642077697468207468655f8201527f206e617469766520746f6b656e20616464726573730000000000000000000000602082015250565b5f6114a460358361116f565b91506114af8261144a565b604082019050919050565b5f6020820190508181035f8301526114d181611498565b9050919050565b5f602082840312156114ed576114ec610df6565b5b5f6114fa84828501610e77565b91505092915050565b7f484f505f434354503a2053656e6420726563697069656e74206d7573742062655f8201527f207468697320636f6e7472616374000000000000000000000000000000000000602082015250565b5f61155d602e8361116f565b915061156882611503565b604082019050919050565b5f6020820190508181035f83015261158a81611551565b9050919050565b7f484f505f434354503a2053656e6420616d6f756e7420646f6573206e6f74206d5f8201527f61746368207377617020616d6f756e7400000000000000000000000000000000602082015250565b5f6115eb60308361116f565b91506115f682611591565b604082019050919050565b5f6020820190508181035f830152611618816115df565b9050919050565b5f80fd5b5f80fd5b5f80fd5b5f808335600160200384360303811261164757611646611627565b5b83810192508235915060208301925067ffffffffffffffff82111561166f5761166e61161f565b5b60018202360383131561168557611684611623565b5b509250929050565b5f82825260208201905092915050565b828183375f83830152505050565b5f601f19601f8301169050919050565b5f6116c6838561168d565b93506116d383858461169d565b6116dc836116ab565b840190509392505050565b5f6116f56020840184610e77565b905092915050565b61170681610e50565b82525050565b5f61171a6020840184610e1d565b905092915050565b61172b81610dfe565b82525050565b5f608083016117425f84018461162b565b8583035f8701526117548382846116bb565b9250505061176560208401846116e7565b61177260208601826116fd565b50611780604084018461170c565b61178d6040860182611722565b5061179b606084018461170c565b6117a86060860182611722565b508091505092915050565b5f6020820190508181035f8301526117cb8184611731565b905092915050565b5f815190506117e181610e07565b92915050565b5f602082840312156117fc576117fb610df6565b5b5f611809848285016117d3565b91505092915050565b5f6060820190506118255f830186611147565b6118326020830185611147565b61183f6040830184610fb4565b949350505050565b7f484f505f434354503a20426f6e646572206665652063616e6e6f7420657863655f8201527f656420616d6f756e740000000000000000000000000000000000000000000000602082015250565b5f6118a160298361116f565b91506118ac82611847565b604082019050919050565b5f6020820190508181035f8301526118ce81611895565b9050919050565b7f484f505f434354503a204d696e20626f6e6465722066656520726571756972655f8201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b5f61192f60218361116f565b915061193a826118d5565b604082019050919050565b5f6020820190508181035f83015261195c81611923565b9050919050565b7f484f505f434354503a2043616e6e6f742073656e6420746f20756e737570706f5f8201527f7274656420636861696e49640000000000000000000000000000000000000000602082015250565b5f6119bd602c8361116f565b91506119c882611963565b604082019050919050565b5f6020820190508181035f8301526119ea816119b1565b9050919050565b7f484f505f434354503a2043616e6e6f742073656e6420746f207468652073616d5f8201527f6520636861696e00000000000000000000000000000000000000000000000000602082015250565b5f611a4b60278361116f565b9150611a56826119f1565b604082019050919050565b5f6020820190508181035f830152611a7881611a3f565b9050919050565b5f819050919050565b611a9181611a7f565b82525050565b5f608082019050611aaa5f830187610fb4565b611ab76020830186611016565b611ac46040830185611a88565b611ad16060830184611147565b95945050505050565b5f67ffffffffffffffff82169050919050565b611af681611ada565b8114611b00575f80fd5b50565b5f81519050611b1181611aed565b92915050565b5f60208284031215611b2c57611b2b610df6565b5b5f611b3984828501611b03565b91505092915050565b5f604082019050611b555f830185610fb4565b611b626020830184610fb4565b9392505050565b611b72816110a2565b8114611b7c575f80fd5b50565b5f81519050611b8d81611b69565b92915050565b5f60208284031215611ba857611ba7610df6565b5b5f611bb584828501611b7f565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e5f8201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b5f611c18602a8361116f565b9150611c2382611bbe565b604082019050919050565b5f6020820190508181035f830152611c4581611c0c565b9050919050565b5f604082019050611c5f5f830185611147565b611c6c6020830184610fb4565b9392505050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f5f8201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b5f611ccd60268361116f565b9150611cd882611c73565b604082019050919050565b5f6020820190508181035f830152611cfa81611cc1565b9050919050565b5f81519050919050565b5f81905092915050565b5f5b83811015611d32578082015181840152602081019050611d17565b5f8484015250505050565b5f611d4782611d01565b611d518185611d0b565b9350611d61818560208601611d15565b80840191505092915050565b5f611d788284611d3d565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000005f82015250565b5f611db7601d8361116f565b9150611dc282611d83565b602082019050919050565b5f6020820190508181035f830152611de481611dab565b9050919050565b5f81519050919050565b5f611dff82611deb565b611e09818561116f565b9350611e19818560208601611d15565b611e22816116ab565b840191505092915050565b5f6020820190508181035f830152611e458184611df5565b90509291505056fea2646970667358221220aad559387ab2a6c396c859ba81ebd20760a459f2542234ea23fe5451ebf59fe964736f6c63430008180033000000000000000000000000af88d065e77c8cc2239327c5edb3a432268e583100000000000000000000000019330d10d9cc8751218eaf51e8885d058642e08a0000000000000000000000009f8d2dafe9978268ac7c67966b366d6d55e97f070000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000ff970a61a04b1ca14834a43f5de4533ebddb5cc800000000000000000000000068b3465833fb72a70ecdf485e0e4c7bd8665fc4500000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000089000000000000000000000000000000000000000000000000000000000000210500000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000006
Deployed Bytecode
0x608060405234801561000f575f80fd5b506004361061009c575f3560e01c8063c97d172e11610064578063c97d172e14610144578063e1758bd814610174578063e3329e3214610192578063ee383937146101b0578063f108e225146101ce5761009c565b8063070d46e4146100a05780632a943945146100bc57806350fc2401146100da57806389aad5dc146100f8578063a134ce5b14610128575b5f80fd5b6100ba60048036038101906100b59190610ead565b6101ec565b005b6100c461058c565b6040516100d19190610f9b565b60405180910390f35b6100e26105b0565b6040516100ef9190610fc3565b60405180910390f35b610112600480360381019061010d9190610fdc565b6105d4565b60405161011f9190611025565b60405180910390f35b610142600480360381019061013d919061103e565b6105f4565b005b61015e60048036038101906101599190610fdc565b610653565b60405161016b91906110bc565b60405180910390f35b61017c61066f565b60405161018991906110f5565b60405180910390f35b61019a610693565b6040516101a7919061112e565b60405180910390f35b6101b86106b7565b6040516101c591906110f5565b60405180910390f35b6101d66106db565b6040516101e39190611156565b60405180910390f35b5f831161022e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610225906111ef565b60405180910390fd5b61027b3330857f000000000000000000000000ff970a61a04b1ca14834a43f5de4533ebddb5cc873ffffffffffffffffffffffffffffffffffffffff166106ff909392919063ffffffff16565b5f81805f019061028b9190611219565b5f9060149261029c93929190611283565b906102a791906112fe565b60601c90505f82805f01906102bc9190611219565b601485805f01906102cd9190611219565b90506102d99190611389565b9080926102e893929190611283565b906102f391906112fe565b60601c90508173ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000ff970a61a04b1ca14834a43f5de4533ebddb5cc873ffffffffffffffffffffffffffffffffffffffff1614610386576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161037d9061142c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000af88d065e77c8cc2239327c5edb3a432268e583173ffffffffffffffffffffffffffffffffffffffff1614610414576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161040b906114ba565b60405180910390fd5b82602001602081019061042791906114d8565b73ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1614610494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161048b90611573565b60405180910390fd5b826040013585146104da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104d190611601565b60405180910390fd5b5f7f00000000000000000000000068b3465833fb72a70ecdf485e0e4c7bd8665fc4573ffffffffffffffffffffffffffffffffffffffff1663b858183f856040518263ffffffff1660e01b815260040161053491906117b3565b6020604051808303815f875af1158015610550573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061057491906117e7565b905061058288888388610788565b5050505050505050565b7f00000000000000000000000068b3465833fb72a70ecdf485e0e4c7bd8665fc4581565b7f000000000000000000000000000000000000000000000000000000000000271081565b6001602052805f5260405f205f915054906101000a900463ffffffff1681565b6106413330847f000000000000000000000000af88d065e77c8cc2239327c5edb3a432268e583173ffffffffffffffffffffffffffffffffffffffff166106ff909392919063ffffffff16565b61064d84848484610788565b50505050565b5f602052805f5260405f205f915054906101000a900460ff1681565b7f000000000000000000000000af88d065e77c8cc2239327c5edb3a432268e583181565b7f00000000000000000000000019330d10d9cc8751218eaf51e8885d058642e08a81565b7f000000000000000000000000ff970a61a04b1ca14834a43f5de4533ebddb5cc881565b7f0000000000000000000000009f8d2dafe9978268ac7c67966b366d6d55e97f0781565b610782846323b872dd60e01b85858560405160240161072093929190611812565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610ae5565b50505050565b5f82116107ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c1906118b7565b60405180910390fd5b80821161080c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610803906118b7565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000271081101561086f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086690611945565b60405180910390fd5b5f808581526020019081526020015f205f9054906101000a900460ff166108cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c2906119d3565b60405180910390fd5b46840361090d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090490611a61565b60405180910390fd5b6109787f0000000000000000000000009f8d2dafe9978268ac7c67966b366d6d55e97f07827f000000000000000000000000af88d065e77c8cc2239327c5edb3a432268e583173ffffffffffffffffffffffffffffffffffffffff16610bab9092919063ffffffff16565b5f81836109859190611389565b90505f7f00000000000000000000000019330d10d9cc8751218eaf51e8885d058642e08a73ffffffffffffffffffffffffffffffffffffffff16636fd3504e8360015f8a81526020019081526020015f205f9054906101000a900463ffffffff168873ffffffffffffffffffffffffffffffffffffffff165f1b7f000000000000000000000000af88d065e77c8cc2239327c5edb3a432268e58316040518563ffffffff1660e01b8152600401610a3f9493929190611a97565b6020604051808303815f875af1158015610a5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a7f9190611b17565b90508473ffffffffffffffffffffffffffffffffffffffff16868267ffffffffffffffff167f10bf4019e09db5876a05d237bfcc676cd84eee2c23f820284906dd7cfa70d2c48787604051610ad5929190611b42565b60405180910390a4505050505050565b5f610b46826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610c319092919063ffffffff16565b90505f81511480610b67575080806020019051810190610b669190611b93565b5b610ba6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9d90611c2e565b60405180910390fd5b505050565b610c2c8363a9059cbb60e01b8484604051602401610bca929190611c4c565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610ae5565b505050565b6060610c3f84845f85610c48565b90509392505050565b606082471015610c8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8490611ce3565b60405180910390fd5b5f808673ffffffffffffffffffffffffffffffffffffffff168587604051610cb59190611d6d565b5f6040518083038185875af1925050503d805f8114610cef576040519150601f19603f3d011682016040523d82523d5f602084013e610cf4565b606091505b5091509150610d0587838387610d11565b92505050949350505050565b60608315610d72575f835103610d6a57610d2a85610d85565b610d69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6090611dcd565b60405180910390fd5b5b829050610d7d565b610d7c8383610da7565b5b949350505050565b5f808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b5f82511115610db95781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ded9190611e2d565b60405180910390fd5b5f80fd5b5f80fd5b5f819050919050565b610e1081610dfe565b8114610e1a575f80fd5b50565b5f81359050610e2b81610e07565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610e5a82610e31565b9050919050565b610e6a81610e50565b8114610e74575f80fd5b50565b5f81359050610e8581610e61565b92915050565b5f80fd5b5f60808284031215610ea457610ea3610e8b565b5b81905092915050565b5f805f805f60a08688031215610ec657610ec5610df6565b5b5f610ed388828901610e1d565b9550506020610ee488828901610e77565b9450506040610ef588828901610e1d565b9350506060610f0688828901610e1d565b925050608086013567ffffffffffffffff811115610f2757610f26610dfa565b5b610f3388828901610e8f565b9150509295509295909350565b5f819050919050565b5f610f63610f5e610f5984610e31565b610f40565b610e31565b9050919050565b5f610f7482610f49565b9050919050565b5f610f8582610f6a565b9050919050565b610f9581610f7b565b82525050565b5f602082019050610fae5f830184610f8c565b92915050565b610fbd81610dfe565b82525050565b5f602082019050610fd65f830184610fb4565b92915050565b5f60208284031215610ff157610ff0610df6565b5b5f610ffe84828501610e1d565b91505092915050565b5f63ffffffff82169050919050565b61101f81611007565b82525050565b5f6020820190506110385f830184611016565b92915050565b5f805f806080858703121561105657611055610df6565b5b5f61106387828801610e1d565b945050602061107487828801610e77565b935050604061108587828801610e1d565b925050606061109687828801610e1d565b91505092959194509250565b5f8115159050919050565b6110b6816110a2565b82525050565b5f6020820190506110cf5f8301846110ad565b92915050565b5f6110df82610f6a565b9050919050565b6110ef816110d5565b82525050565b5f6020820190506111085f8301846110e6565b92915050565b5f61111882610f6a565b9050919050565b6111288161110e565b82525050565b5f6020820190506111415f83018461111f565b92915050565b61115081610e50565b82525050565b5f6020820190506111695f830184611147565b92915050565b5f82825260208201905092915050565b7f484f505f434354503a2073776170416e6453656e6420616d6f756e742063616e5f8201527f6e6f742062652030000000000000000000000000000000000000000000000000602082015250565b5f6111d960288361116f565b91506111e48261117f565b604082019050919050565b5f6020820190508181035f830152611206816111cd565b9050919050565b5f80fd5b5f80fd5b5f80fd5b5f80833560016020038436030381126112355761123461120d565b5b80840192508235915067ffffffffffffffff82111561125757611256611211565b5b60208301925060018202360383131561127357611272611215565b5b509250929050565b5f80fd5b5f80fd5b5f80858511156112965761129561127b565b5b838611156112a7576112a661127f565b5b6001850283019150848603905094509492505050565b5f82905092915050565b5f7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000082169050919050565b5f82821b905092915050565b5f61130983836112bd565b8261131481356112c7565b925060148210156113545761134f7fffffffffffffffffffffffffffffffffffffffff000000000000000000000000836014036008026112f2565b831692505b505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61139382610dfe565b915061139e83610dfe565b92508282039050818111156113b6576113b561135c565b5b92915050565b7f484f505f434354503a2050617468206d757374207374617274207769746820745f8201527f6865206272696467656420746f6b656e20616464726573730000000000000000602082015250565b5f61141660388361116f565b9150611421826113bc565b604082019050919050565b5f6020820190508181035f8301526114438161140a565b9050919050565b7f484f505f434354503a2050617468206d75737420656e642077697468207468655f8201527f206e617469766520746f6b656e20616464726573730000000000000000000000602082015250565b5f6114a460358361116f565b91506114af8261144a565b604082019050919050565b5f6020820190508181035f8301526114d181611498565b9050919050565b5f602082840312156114ed576114ec610df6565b5b5f6114fa84828501610e77565b91505092915050565b7f484f505f434354503a2053656e6420726563697069656e74206d7573742062655f8201527f207468697320636f6e7472616374000000000000000000000000000000000000602082015250565b5f61155d602e8361116f565b915061156882611503565b604082019050919050565b5f6020820190508181035f83015261158a81611551565b9050919050565b7f484f505f434354503a2053656e6420616d6f756e7420646f6573206e6f74206d5f8201527f61746368207377617020616d6f756e7400000000000000000000000000000000602082015250565b5f6115eb60308361116f565b91506115f682611591565b604082019050919050565b5f6020820190508181035f830152611618816115df565b9050919050565b5f80fd5b5f80fd5b5f80fd5b5f808335600160200384360303811261164757611646611627565b5b83810192508235915060208301925067ffffffffffffffff82111561166f5761166e61161f565b5b60018202360383131561168557611684611623565b5b509250929050565b5f82825260208201905092915050565b828183375f83830152505050565b5f601f19601f8301169050919050565b5f6116c6838561168d565b93506116d383858461169d565b6116dc836116ab565b840190509392505050565b5f6116f56020840184610e77565b905092915050565b61170681610e50565b82525050565b5f61171a6020840184610e1d565b905092915050565b61172b81610dfe565b82525050565b5f608083016117425f84018461162b565b8583035f8701526117548382846116bb565b9250505061176560208401846116e7565b61177260208601826116fd565b50611780604084018461170c565b61178d6040860182611722565b5061179b606084018461170c565b6117a86060860182611722565b508091505092915050565b5f6020820190508181035f8301526117cb8184611731565b905092915050565b5f815190506117e181610e07565b92915050565b5f602082840312156117fc576117fb610df6565b5b5f611809848285016117d3565b91505092915050565b5f6060820190506118255f830186611147565b6118326020830185611147565b61183f6040830184610fb4565b949350505050565b7f484f505f434354503a20426f6e646572206665652063616e6e6f7420657863655f8201527f656420616d6f756e740000000000000000000000000000000000000000000000602082015250565b5f6118a160298361116f565b91506118ac82611847565b604082019050919050565b5f6020820190508181035f8301526118ce81611895565b9050919050565b7f484f505f434354503a204d696e20626f6e6465722066656520726571756972655f8201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b5f61192f60218361116f565b915061193a826118d5565b604082019050919050565b5f6020820190508181035f83015261195c81611923565b9050919050565b7f484f505f434354503a2043616e6e6f742073656e6420746f20756e737570706f5f8201527f7274656420636861696e49640000000000000000000000000000000000000000602082015250565b5f6119bd602c8361116f565b91506119c882611963565b604082019050919050565b5f6020820190508181035f8301526119ea816119b1565b9050919050565b7f484f505f434354503a2043616e6e6f742073656e6420746f207468652073616d5f8201527f6520636861696e00000000000000000000000000000000000000000000000000602082015250565b5f611a4b60278361116f565b9150611a56826119f1565b604082019050919050565b5f6020820190508181035f830152611a7881611a3f565b9050919050565b5f819050919050565b611a9181611a7f565b82525050565b5f608082019050611aaa5f830187610fb4565b611ab76020830186611016565b611ac46040830185611a88565b611ad16060830184611147565b95945050505050565b5f67ffffffffffffffff82169050919050565b611af681611ada565b8114611b00575f80fd5b50565b5f81519050611b1181611aed565b92915050565b5f60208284031215611b2c57611b2b610df6565b5b5f611b3984828501611b03565b91505092915050565b5f604082019050611b555f830185610fb4565b611b626020830184610fb4565b9392505050565b611b72816110a2565b8114611b7c575f80fd5b50565b5f81519050611b8d81611b69565b92915050565b5f60208284031215611ba857611ba7610df6565b5b5f611bb584828501611b7f565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e5f8201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b5f611c18602a8361116f565b9150611c2382611bbe565b604082019050919050565b5f6020820190508181035f830152611c4581611c0c565b9050919050565b5f604082019050611c5f5f830185611147565b611c6c6020830184610fb4565b9392505050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f5f8201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b5f611ccd60268361116f565b9150611cd882611c73565b604082019050919050565b5f6020820190508181035f830152611cfa81611cc1565b9050919050565b5f81519050919050565b5f81905092915050565b5f5b83811015611d32578082015181840152602081019050611d17565b5f8484015250505050565b5f611d4782611d01565b611d518185611d0b565b9350611d61818560208601611d15565b80840191505092915050565b5f611d788284611d3d565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000005f82015250565b5f611db7601d8361116f565b9150611dc282611d83565b602082019050919050565b5f6020820190508181035f830152611de481611dab565b9050919050565b5f81519050919050565b5f611dff82611deb565b611e09818561116f565b9350611e19818560208601611d15565b611e22816116ab565b840191505092915050565b5f6020820190508181035f830152611e458184611df5565b90509291505056fea2646970667358221220aad559387ab2a6c396c859ba81ebd20760a459f2542234ea23fe5451ebf59fe964736f6c63430008180033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000af88d065e77c8cc2239327c5edb3a432268e583100000000000000000000000019330d10d9cc8751218eaf51e8885d058642e08a0000000000000000000000009f8d2dafe9978268ac7c67966b366d6d55e97f070000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000ff970a61a04b1ca14834a43f5de4533ebddb5cc800000000000000000000000068b3465833fb72a70ecdf485e0e4c7bd8665fc4500000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000089000000000000000000000000000000000000000000000000000000000000210500000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000006
-----Decoded View---------------
Arg [0] : nativeTokenAddress (address): 0xaf88d065e77c8cC2239327C5EDb3A432268e5831
Arg [1] : cctpAddress (address): 0x19330d10D9Cc8751218eaf51E8885D058642E08A
Arg [2] : feeCollectorAddress (address): 0x9f8d2dafE9978268aC7c67966B366d6d55e97f07
Arg [3] : minBonderFee (uint256): 10000
Arg [4] : chainIds (uint256[]): 1,10,137,8453
Arg [5] : domains (uint32[]): 0,2,7,6
Arg [6] : bridgedTokenAddress (address): 0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8
Arg [7] : ammAddress (address): 0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45
-----Encoded View---------------
18 Constructor Arguments found :
Arg [0] : 000000000000000000000000af88d065e77c8cc2239327c5edb3a432268e5831
Arg [1] : 00000000000000000000000019330d10d9cc8751218eaf51e8885d058642e08a
Arg [2] : 0000000000000000000000009f8d2dafe9978268ac7c67966b366d6d55e97f07
Arg [3] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [5] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [6] : 000000000000000000000000ff970a61a04b1ca14834a43f5de4533ebddb5cc8
Arg [7] : 00000000000000000000000068b3465833fb72a70ecdf485e0e4c7bd8665fc45
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [10] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000089
Arg [12] : 0000000000000000000000000000000000000000000000000000000000002105
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000006
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.