Source Code
Latest 25 from a total of 34,347 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Swap ETH | 133565097 | 856 days ago | IN | 0.01799487 ETH | 0.00010254 | ||||
| Swap ETH | 133547154 | 856 days ago | IN | 0.00847688 ETH | 0.00008719 | ||||
| Swap ETH | 133534459 | 856 days ago | IN | 0.10811259 ETH | 0.00009376 | ||||
| Swap ETH | 133527998 | 856 days ago | IN | 0.03049832 ETH | 0.00009205 | ||||
| Swap ETH | 133527938 | 856 days ago | IN | 0.03049832 ETH | 0.00009247 | ||||
| Swap ETH | 133527611 | 856 days ago | IN | 0.65711259 ETH | 0.00009327 | ||||
| Swap ETH | 133524676 | 856 days ago | IN | 0.2601456 ETH | 0.00008318 | ||||
| Swap ETH | 133502920 | 856 days ago | IN | 0.20038152 ETH | 0.00007921 | ||||
| Swap ETH | 133501491 | 856 days ago | IN | 0.56811163 ETH | 0.00007679 | ||||
| Swap ETH | 133483936 | 856 days ago | IN | 0.00745933 ETH | 0.00009147 | ||||
| Swap ETH | 133481117 | 856 days ago | IN | 0.03267354 ETH | 0.00008559 | ||||
| Swap ETH | 133467110 | 856 days ago | IN | 0.00292419 ETH | 0.00008906 | ||||
| Swap ETH | 133453261 | 856 days ago | IN | 0.00105722 ETH | 0.0000769 | ||||
| Swap ETH | 133438109 | 856 days ago | IN | 0.00711108 ETH | 0.00008435 | ||||
| Swap ETH | 133438044 | 856 days ago | IN | 0.00738649 ETH | 0.00008262 | ||||
| Swap ETH | 133437819 | 856 days ago | IN | 0.00738649 ETH | 0.00008238 | ||||
| Swap ETH | 133437634 | 856 days ago | IN | 0.00711108 ETH | 0.00008319 | ||||
| Swap ETH | 133412771 | 856 days ago | IN | 0.00738649 ETH | 0.00008007 | ||||
| Swap ETH | 133412718 | 856 days ago | IN | 0.0071133 ETH | 0.00008065 | ||||
| Swap ETH | 133412610 | 856 days ago | IN | 0.0071133 ETH | 0.00008022 | ||||
| Swap ETH | 133412573 | 856 days ago | IN | 0.00738649 ETH | 0.00008007 | ||||
| Swap ETH | 133399100 | 857 days ago | IN | 0.0456133 ETH | 0.00008605 | ||||
| Swap ETH | 133398255 | 857 days ago | IN | 0.01045185 ETH | 0.0000866 | ||||
| Swap ETH | 133388665 | 857 days ago | IN | 0.00739933 ETH | 0.00007492 | ||||
| Swap ETH | 133388610 | 857 days ago | IN | 0.0071133 ETH | 0.00007646 |
Latest 25 internal transactions (View All)
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 133565097 | 856 days ago | 0.01797735 ETH | ||||
| 133565097 | 856 days ago | 0.00001751 ETH | ||||
| 133547154 | 856 days ago | 0.00847688 ETH | ||||
| 133534459 | 856 days ago | 0.10811259 ETH | ||||
| 133527998 | 856 days ago | 0.03049832 ETH | ||||
| 133527938 | 856 days ago | 0.03049832 ETH | ||||
| 133527611 | 856 days ago | 0.65704689 ETH | ||||
| 133527611 | 856 days ago | 0.0000657 ETH | ||||
| 133524676 | 856 days ago | 0.2601456 ETH | ||||
| 133502920 | 856 days ago | 0.20038152 ETH | ||||
| 133501491 | 856 days ago | 0.56811163 ETH | ||||
| 133483936 | 856 days ago | 0.00745933 ETH | ||||
| 133481117 | 856 days ago | 0.03267354 ETH | ||||
| 133467110 | 856 days ago | 0.00292419 ETH | ||||
| 133453261 | 856 days ago | 0.00105722 ETH | ||||
| 133438109 | 856 days ago | 0.00711108 ETH | ||||
| 133438044 | 856 days ago | 0.00738649 ETH | ||||
| 133437819 | 856 days ago | 0.00738649 ETH | ||||
| 133437634 | 856 days ago | 0.00711108 ETH | ||||
| 133412771 | 856 days ago | 0.00738649 ETH | ||||
| 133412718 | 856 days ago | 0.0071133 ETH | ||||
| 133412610 | 856 days ago | 0.0071133 ETH | ||||
| 133412573 | 856 days ago | 0.00738649 ETH | ||||
| 133399100 | 857 days ago | 0.04560875 ETH | ||||
| 133399100 | 857 days ago | 0.00000455 ETH |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
WidgetSwap
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity 0.8.4;
pragma abicoder v2;
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "../interfaces/IStargateRouter.sol";
import "../interfaces/IStargateRouterETH.sol";
import "../interfaces/IStargateFactory.sol";
import "../interfaces/IStargateWidget.sol";
contract WidgetSwap is ReentrancyGuard, IStargateWidget {
using SafeERC20 for IERC20;
IStargateRouter public immutable stargateRouter;
IStargateRouterETH public immutable stargateRouterETH;
IStargateFactory public immutable stargateFactory;
uint256 public constant TENTH_BPS_DENOMINATOR = 100000;
uint256 public constant MAX_UINT = 2**256 - 1;
mapping(address => bool) public tokenApproved;
constructor(address _stargateRouter, address _stargateRouterETH, address _stargateFactory) {
stargateRouter = IStargateRouter(_stargateRouter);
stargateRouterETH = IStargateRouterETH(_stargateRouterETH);
stargateFactory = IStargateFactory(_stargateFactory);
}
// allow anyone to emit this msg alongside their stargate tx so they can get credited for their referral
// to get credit this event must be emitted in the same tx as a stargate swap event
function partnerSwap(bytes2 _partnerId) external override {
emit PartnerSwap(_partnerId);
}
function swapTokens(
uint16 _dstChainId,
uint16 _srcPoolId,
uint16 _dstPoolId,
uint256 _amountLD,
uint256 _minAmountLD,
IStargateRouter.lzTxObj calldata _lzTxParams,
bytes calldata _to,
bytes2 _partnerId,
FeeObj calldata _feeObj
) external override nonReentrant payable {
uint256 widgetFee = _getAndPayWidgetFee(_srcPoolId, _amountLD, _feeObj);
stargateRouter.swap{value:msg.value}(
_dstChainId,
_srcPoolId,
_dstPoolId,
payable(msg.sender),
_amountLD - widgetFee,
_minAmountLD,
_lzTxParams,
_to,
"0x"
);
emit WidgetSwapped(_partnerId, _feeObj.tenthBps, widgetFee);
}
function swapETH(
uint16 _dstChainId,
uint256 _amountLD,
uint256 _minAmountLD,
bytes calldata _to,
bytes2 _partnerId,
FeeObj calldata _feeObj
) external override nonReentrant payable {
// allows us to deploy same contract on non eth chains
require(address(stargateRouterETH) != address(0x0), "WidgetSwap: func not available");
uint256 widgetFee = _getAndPayWidgetFeeETH(_amountLD, _feeObj);
// "value:" contains the amount of eth to swap and the stargate/layerZero fees, minus the widget fee
stargateRouterETH.swapETH{value:msg.value - widgetFee}(
_dstChainId,
payable(msg.sender),
_to,
_amountLD - widgetFee,
_minAmountLD
);
emit WidgetSwapped(_partnerId, _feeObj.tenthBps, widgetFee);
}
function _getAndPayWidgetFee(
uint16 _srcPoolId,
uint256 _amountLD,
FeeObj calldata _feeObj
) internal returns (uint256 widgetFee) {
// corresponding token to the poolId
address token = stargateFactory.getPool(_srcPoolId).token();
// move all the tokens to this contract
IERC20(token).safeTransferFrom(msg.sender, address(this), _amountLD);
// calculate the widgetFee
widgetFee = _amountLD * _feeObj.tenthBps / TENTH_BPS_DENOMINATOR;
// pay the widget fee
IERC20(token).safeTransfer(_feeObj.feeCollector, widgetFee);
// only call max approval once
if (!tokenApproved[token]) {
tokenApproved[token] = true;
// allow stargateRouter to spend the tokens to be transferred
IERC20(token).safeApprove(address(stargateRouter), MAX_UINT);
}
return widgetFee;
}
function _getAndPayWidgetFeeETH(
uint256 _amountLD,
FeeObj calldata _feeObj
) internal returns (uint256 widgetFee) {
// calculate the widgetFee
widgetFee = _amountLD * _feeObj.tenthBps / TENTH_BPS_DENOMINATOR;
require(msg.value > widgetFee, "WidgetSwap: not enough eth for widgetFee");
// verify theres enough eth to cover the amount to swap
require(msg.value - widgetFee > _amountLD, "WidgetSwap: not enough eth for swap");
// pay the widget fee
(bool success, ) = _feeObj.feeCollector.call{value: widgetFee}("");
require(success, "WidgetSwap: failed to transfer widgetFee");
return widgetFee;
}
}// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.4;
interface IStargatePool {
function token() external returns (address);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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 v4.4.1 (token/ERC20/extensions/draft-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.
*/
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].
*/
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.7.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
* ====
*
* [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://diligence.consensys.net/posts/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.5.11/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 functionCall(target, data, "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");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(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) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(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) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason 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 {
// 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
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor() {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and making it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
// On the first call to nonReentrant, _notEntered will be true
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
_;
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol)
pragma solidity ^0.8.0;
import "../IERC20.sol";
import "../extensions/draft-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;
function safeTransfer(
IERC20 token,
address to,
uint256 value
) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
}
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));
}
function safeIncreaseAllowance(
IERC20 token,
address spender,
uint256 value
) internal {
uint256 newAllowance = token.allowance(address(this), spender) + value;
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
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");
uint256 newAllowance = oldAllowance - value;
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
}
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");
if (returndata.length > 0) {
// Return data is optional
require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
pragma abicoder v2;
interface IStargateRouter {
struct lzTxObj {
uint256 dstGasForCall;
uint256 dstNativeAmount;
bytes dstNativeAddr;
}
function addLiquidity(
uint256 _poolId,
uint256 _amountLD,
address _to
) external;
function swap(
uint16 _dstChainId,
uint256 _srcPoolId,
uint256 _dstPoolId,
address payable _refundAddress,
uint256 _amountLD,
uint256 _minAmountLD,
lzTxObj memory _lzTxParams,
bytes calldata _to,
bytes calldata _payload
) external payable;
function redeemRemote(
uint16 _dstChainId,
uint256 _srcPoolId,
uint256 _dstPoolId,
address payable _refundAddress,
uint256 _amountLP,
uint256 _minAmountLD,
bytes calldata _to,
lzTxObj memory _lzTxParams
) external payable;
function instantRedeemLocal(
uint16 _srcPoolId,
uint256 _amountLP,
address _to
) external returns (uint256);
function redeemLocal(
uint16 _dstChainId,
uint256 _srcPoolId,
uint256 _dstPoolId,
address payable _refundAddress,
uint256 _amountLP,
bytes calldata _to,
lzTxObj memory _lzTxParams
) external payable;
function sendCredits(
uint16 _dstChainId,
uint256 _srcPoolId,
uint256 _dstPoolId,
address payable _refundAddress
) external payable;
function quoteLayerZeroFee(
uint16 _dstChainId,
uint8 _functionType,
bytes calldata _toAddress,
bytes calldata _transferAndCallPayload,
lzTxObj memory _lzTxParams
) external view returns (uint256, uint256);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
pragma abicoder v2;
interface IStargateRouterETH {
function addLiquidityETH() external payable;
function swapETH(
uint16 dstChainId,
address payable refundAddress,
bytes calldata to,
uint256 amountLD,
uint256 minAmountLD
) external payable;
}// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.4;
import "./IStargatePool.sol";
interface IStargateFactory {
function getPool(uint256 _srcPoolId) external returns (IStargatePool);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
pragma abicoder v2;
import "../interfaces/IStargateRouter.sol";
interface IStargateWidget {
struct FeeObj {
uint256 tenthBps; // bps is to an extra decimal place
address feeCollector;
}
event WidgetSwapped(bytes2 indexed partnerId, uint256 tenthBps, uint256 widgetFee);
event PartnerSwap(bytes2 indexed partnerId);
function partnerSwap(bytes2 _partnerId) external;
function swapTokens(
uint16 _dstChainId,
uint16 _srcPoolId,
uint16 _dstPoolId,
uint256 _amountLD,
uint256 _minAmountLD,
IStargateRouter.lzTxObj calldata _lzTxParams,
bytes calldata _to,
bytes2 _partnerId,
FeeObj calldata _feeObj
) external payable;
function swapETH(
uint16 _dstChainId,
uint256 _amountLD,
uint256 _minAmountLD,
bytes calldata _to,
bytes2 _partnerId,
FeeObj calldata _feeObj
) external payable;
}{
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"abi"
]
}
},
"metadata": {
"useLiteralContent": true
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_stargateRouter","type":"address"},{"internalType":"address","name":"_stargateRouterETH","type":"address"},{"internalType":"address","name":"_stargateFactory","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes2","name":"partnerId","type":"bytes2"}],"name":"PartnerSwap","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes2","name":"partnerId","type":"bytes2"},{"indexed":false,"internalType":"uint256","name":"tenthBps","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"widgetFee","type":"uint256"}],"name":"WidgetSwapped","type":"event"},{"inputs":[],"name":"MAX_UINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TENTH_BPS_DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes2","name":"_partnerId","type":"bytes2"}],"name":"partnerSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stargateFactory","outputs":[{"internalType":"contract IStargateFactory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stargateRouter","outputs":[{"internalType":"contract IStargateRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stargateRouterETH","outputs":[{"internalType":"contract IStargateRouterETH","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"uint256","name":"_amountLD","type":"uint256"},{"internalType":"uint256","name":"_minAmountLD","type":"uint256"},{"internalType":"bytes","name":"_to","type":"bytes"},{"internalType":"bytes2","name":"_partnerId","type":"bytes2"},{"components":[{"internalType":"uint256","name":"tenthBps","type":"uint256"},{"internalType":"address","name":"feeCollector","type":"address"}],"internalType":"struct IStargateWidget.FeeObj","name":"_feeObj","type":"tuple"}],"name":"swapETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"uint16","name":"_srcPoolId","type":"uint16"},{"internalType":"uint16","name":"_dstPoolId","type":"uint16"},{"internalType":"uint256","name":"_amountLD","type":"uint256"},{"internalType":"uint256","name":"_minAmountLD","type":"uint256"},{"components":[{"internalType":"uint256","name":"dstGasForCall","type":"uint256"},{"internalType":"uint256","name":"dstNativeAmount","type":"uint256"},{"internalType":"bytes","name":"dstNativeAddr","type":"bytes"}],"internalType":"struct IStargateRouter.lzTxObj","name":"_lzTxParams","type":"tuple"},{"internalType":"bytes","name":"_to","type":"bytes"},{"internalType":"bytes2","name":"_partnerId","type":"bytes2"},{"components":[{"internalType":"uint256","name":"tenthBps","type":"uint256"},{"internalType":"address","name":"feeCollector","type":"address"}],"internalType":"struct IStargateWidget.FeeObj","name":"_feeObj","type":"tuple"}],"name":"swapTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokenApproved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]Contract Creation Code
60e060405234801561001057600080fd5b5060405161132e38038061132e83398101604081905261002f91610077565b60016000556001600160601b0319606093841b811660805291831b821660a05290911b1660c0526100b9565b80516001600160a01b038116811461007257600080fd5b919050565b60008060006060848603121561008b578283fd5b6100948461005b565b92506100a26020850161005b565b91506100b06040850161005b565b90509250925092565b60805160601c60a05160601c60c05160601c61121b6101136000396000818160f70152610591015260008181610143015281816103c0015261044c0152600081816101aa015281816102750152610721015261121b6000f3fe6080604052600436106100865760003560e01c8063919d763711610059578063919d763714610165578063a87376e914610178578063a9e56f3c14610198578063beaeb55a146101cc578063e5b5019a146101f157600080fd5b8063170e2b8a1461008b5780632d62fc1a146100d057806330e7a49b146100e55780638e0f64d314610131575b600080fd5b34801561009757600080fd5b506100bb6100a6366004610da6565b60016020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b6100e36100de366004610e18565b610207565b005b3480156100f157600080fd5b506101197f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100c7565b34801561013d57600080fd5b506101197f000000000000000000000000000000000000000000000000000000000000000081565b6100e3610173366004610eef565b610366565b34801561018457600080fd5b506100e3610193366004610dfe565b610533565b3480156101a457600080fd5b506101197f000000000000000000000000000000000000000000000000000000000000000081565b3480156101d857600080fd5b506101e3620186a081565b6040519081526020016100c7565b3480156101fd57600080fd5b506101e360001981565b6002600054141561025f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b600260009081556102718a898461056b565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316639fbf10fc348d8d8d33878f6102b39190611174565b8e8e8e8e6040518b63ffffffff1660e01b81526004016102db9998979695949392919061104b565b6000604051808303818588803b1580156102f457600080fd5b505af1158015610308573d6000803e3d6000fd5b50506040805186358152602081018690526001600160f01b0319881694507fe005092a469280dafcad91e38921cc6f96eac91d73413489fd8719634163345e935001905060405180910390a250506001600055505050505050505050565b600260005414156103b95760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610256565b60026000557f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166104345760405162461bcd60e51b815260206004820152601e60248201527f576964676574537761703a2066756e63206e6f7420617661696c61626c6500006044820152606401610256565b60006104408783610751565b90506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016631114cd2a61047b8334611174565b8a338989610489888f611174565b8d6040518863ffffffff1660e01b81526004016104ab96959493929190611007565b6000604051808303818588803b1580156104c457600080fd5b505af11580156104d8573d6000803e3d6000fd5b50506040805186358152602081018690526001600160f01b0319881694507fe005092a469280dafcad91e38921cc6f96eac91d73413489fd8719634163345e935001905060405180910390a250506001600055505050505050565b6040516001600160f01b03198216907f85ce809fd9fd62b920fadc9d3a3a8e642d3969bf635276bfbdde866acce409fc90600090a250565b60405163068bcd8d60e01b815261ffff8416600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063068bcd8d90602401602060405180830381600087803b1580156105d557600080fd5b505af11580156105e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060d9190610dc2565b6001600160a01b031663fc0c546a6040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561064757600080fd5b505af115801561065b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067f9190610dc2565b90506106966001600160a01b0382163330876108fc565b620186a06106a5843586611155565b6106af9190611135565b91506106d56106c46040850160208601610da6565b6001600160a01b038316908461096d565b6001600160a01b03811660009081526001602052604090205460ff16610748576001600160a01b0381166000818152600160208190526040909120805460ff19169091179055610748907f00000000000000000000000000000000000000000000000000000000000000006000196109a2565b505b9392505050565b6000620186a0610762833585611155565b61076c9190611135565b90508034116107ce5760405162461bcd60e51b815260206004820152602860248201527f576964676574537761703a206e6f7420656e6f7567682065746820666f722077604482015267696467657446656560c01b6064820152608401610256565b826107d98234611174565b116108325760405162461bcd60e51b815260206004820152602360248201527f576964676574537761703a206e6f7420656e6f7567682065746820666f72207360448201526207761760ec1b6064820152608401610256565b60006108446040840160208501610da6565b6001600160a01b03168260405160006040518083038185875af1925050503d806000811461088e576040519150601f19603f3d011682016040523d82523d6000602084013e610893565b606091505b50509050806108f55760405162461bcd60e51b815260206004820152602860248201527f576964676574537761703a206661696c656420746f207472616e736665722077604482015267696467657446656560c01b6064820152608401610256565b5092915050565b6040516001600160a01b03808516602483015283166044820152606481018290526109679085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610ac6565b50505050565b6040516001600160a01b03831660248201526044810182905261099d90849063a9059cbb60e01b90606401610930565b505050565b801580610a2b5750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e9060440160206040518083038186803b1580156109f157600080fd5b505afa158015610a05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a299190610f77565b155b610a965760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b6064820152608401610256565b6040516001600160a01b03831660248201526044810182905261099d90849063095ea7b360e01b90606401610930565b6000610b1b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610b989092919063ffffffff16565b80519091501561099d5780806020019051810190610b399190610dde565b61099d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610256565b6060610ba78484600085610baf565b949350505050565b606082471015610c105760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610256565b6001600160a01b0385163b610c675760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610256565b600080866001600160a01b03168587604051610c839190610fb8565b60006040518083038185875af1925050503d8060008114610cc0576040519150601f19603f3d011682016040523d82523d6000602084013e610cc5565b606091505b5091509150610cd5828286610ce0565b979650505050505050565b60608315610cef57508161074a565b825115610cff5782518084602001fd5b8160405162461bcd60e51b81526004016102569190610fd4565b80356001600160f01b031981168114610d3157600080fd5b919050565b60008083601f840112610d47578182fd5b50813567ffffffffffffffff811115610d5e578182fd5b602083019150836020828501011115610d7657600080fd5b9250929050565b600060408284031215610d8e578081fd5b50919050565b803561ffff81168114610d3157600080fd5b600060208284031215610db7578081fd5b813561074a816111cd565b600060208284031215610dd3578081fd5b815161074a816111cd565b600060208284031215610def578081fd5b8151801515811461074a578182fd5b600060208284031215610e0f578081fd5b61074a82610d19565b6000806000806000806000806000806101408b8d031215610e37578586fd5b610e408b610d94565b9950610e4e60208c01610d94565b9850610e5c60408c01610d94565b975060608b0135965060808b0135955060a08b013567ffffffffffffffff80821115610e86578687fd5b908c01906060828f031215610e99578687fd5b90955060c08c01359080821115610eae578586fd5b50610ebb8d828e01610d36565b9095509350610ece905060e08c01610d19565b9150610ede8c6101008d01610d7d565b90509295989b9194979a5092959850565b600080600080600080600060e0888a031215610f09578283fd5b610f1288610d94565b96506020880135955060408801359450606088013567ffffffffffffffff811115610f3b578384fd5b610f478a828b01610d36565b9095509350610f5a905060808901610d19565b9150610f698960a08a01610d7d565b905092959891949750929550565b600060208284031215610f88578081fd5b5051919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60008251610fca81846020870161118b565b9190910192915050565b6020815260008251806020840152610ff381604085016020870161118b565b601f01601f19169190910160400192915050565b61ffff871681526001600160a01b038616602082015260a0604082018190526000906110369083018688610f8f565b60608301949094525060800152949350505050565b600061012061ffff808d168452808c166020850152808b1660408501525060018060a01b03891660608401528760808401528660a08401528060c08401528535818401525060208501356101408301526040850135601e198636030181126110b1578182fd5b8501803567ffffffffffffffff8111156110c9578283fd5b8036038713156110d7578283fd5b60606101608501526110f161018085018260208501610f8f565b91505082810360e0840152611107818587610f8f565b8381036101008501526002815261060f60f31b60208201529050604081019c9b505050505050505050505050565b60008261115057634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561116f5761116f6111b7565b500290565b600082821015611186576111866111b7565b500390565b60005b838110156111a657818101518382015260200161118e565b838111156109675750506000910152565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146111e257600080fd5b5056fea26469706673582212203acad853379e63732d2174b989d0355fca835152338c3e7b582dcb6297b5f03f64736f6c6343000804003300000000000000000000000053bf833a5d6c4dda888f69c22c88c9f356a41614000000000000000000000000bf22f0f184bccbea268df387a49ff5238dd23e4000000000000000000000000055bdb4164d28fbaf0898e0ef14a589ac09ac9970
Deployed Bytecode
0x6080604052600436106100865760003560e01c8063919d763711610059578063919d763714610165578063a87376e914610178578063a9e56f3c14610198578063beaeb55a146101cc578063e5b5019a146101f157600080fd5b8063170e2b8a1461008b5780632d62fc1a146100d057806330e7a49b146100e55780638e0f64d314610131575b600080fd5b34801561009757600080fd5b506100bb6100a6366004610da6565b60016020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b6100e36100de366004610e18565b610207565b005b3480156100f157600080fd5b506101197f00000000000000000000000055bdb4164d28fbaf0898e0ef14a589ac09ac997081565b6040516001600160a01b0390911681526020016100c7565b34801561013d57600080fd5b506101197f000000000000000000000000bf22f0f184bccbea268df387a49ff5238dd23e4081565b6100e3610173366004610eef565b610366565b34801561018457600080fd5b506100e3610193366004610dfe565b610533565b3480156101a457600080fd5b506101197f00000000000000000000000053bf833a5d6c4dda888f69c22c88c9f356a4161481565b3480156101d857600080fd5b506101e3620186a081565b6040519081526020016100c7565b3480156101fd57600080fd5b506101e360001981565b6002600054141561025f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b600260009081556102718a898461056b565b90507f00000000000000000000000053bf833a5d6c4dda888f69c22c88c9f356a416146001600160a01b0316639fbf10fc348d8d8d33878f6102b39190611174565b8e8e8e8e6040518b63ffffffff1660e01b81526004016102db9998979695949392919061104b565b6000604051808303818588803b1580156102f457600080fd5b505af1158015610308573d6000803e3d6000fd5b50506040805186358152602081018690526001600160f01b0319881694507fe005092a469280dafcad91e38921cc6f96eac91d73413489fd8719634163345e935001905060405180910390a250506001600055505050505050505050565b600260005414156103b95760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610256565b60026000557f000000000000000000000000bf22f0f184bccbea268df387a49ff5238dd23e406001600160a01b03166104345760405162461bcd60e51b815260206004820152601e60248201527f576964676574537761703a2066756e63206e6f7420617661696c61626c6500006044820152606401610256565b60006104408783610751565b90506001600160a01b037f000000000000000000000000bf22f0f184bccbea268df387a49ff5238dd23e4016631114cd2a61047b8334611174565b8a338989610489888f611174565b8d6040518863ffffffff1660e01b81526004016104ab96959493929190611007565b6000604051808303818588803b1580156104c457600080fd5b505af11580156104d8573d6000803e3d6000fd5b50506040805186358152602081018690526001600160f01b0319881694507fe005092a469280dafcad91e38921cc6f96eac91d73413489fd8719634163345e935001905060405180910390a250506001600055505050505050565b6040516001600160f01b03198216907f85ce809fd9fd62b920fadc9d3a3a8e642d3969bf635276bfbdde866acce409fc90600090a250565b60405163068bcd8d60e01b815261ffff8416600482015260009081906001600160a01b037f00000000000000000000000055bdb4164d28fbaf0898e0ef14a589ac09ac9970169063068bcd8d90602401602060405180830381600087803b1580156105d557600080fd5b505af11580156105e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060d9190610dc2565b6001600160a01b031663fc0c546a6040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561064757600080fd5b505af115801561065b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061067f9190610dc2565b90506106966001600160a01b0382163330876108fc565b620186a06106a5843586611155565b6106af9190611135565b91506106d56106c46040850160208601610da6565b6001600160a01b038316908461096d565b6001600160a01b03811660009081526001602052604090205460ff16610748576001600160a01b0381166000818152600160208190526040909120805460ff19169091179055610748907f00000000000000000000000053bf833a5d6c4dda888f69c22c88c9f356a416146000196109a2565b505b9392505050565b6000620186a0610762833585611155565b61076c9190611135565b90508034116107ce5760405162461bcd60e51b815260206004820152602860248201527f576964676574537761703a206e6f7420656e6f7567682065746820666f722077604482015267696467657446656560c01b6064820152608401610256565b826107d98234611174565b116108325760405162461bcd60e51b815260206004820152602360248201527f576964676574537761703a206e6f7420656e6f7567682065746820666f72207360448201526207761760ec1b6064820152608401610256565b60006108446040840160208501610da6565b6001600160a01b03168260405160006040518083038185875af1925050503d806000811461088e576040519150601f19603f3d011682016040523d82523d6000602084013e610893565b606091505b50509050806108f55760405162461bcd60e51b815260206004820152602860248201527f576964676574537761703a206661696c656420746f207472616e736665722077604482015267696467657446656560c01b6064820152608401610256565b5092915050565b6040516001600160a01b03808516602483015283166044820152606481018290526109679085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610ac6565b50505050565b6040516001600160a01b03831660248201526044810182905261099d90849063a9059cbb60e01b90606401610930565b505050565b801580610a2b5750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e9060440160206040518083038186803b1580156109f157600080fd5b505afa158015610a05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a299190610f77565b155b610a965760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b6064820152608401610256565b6040516001600160a01b03831660248201526044810182905261099d90849063095ea7b360e01b90606401610930565b6000610b1b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610b989092919063ffffffff16565b80519091501561099d5780806020019051810190610b399190610dde565b61099d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610256565b6060610ba78484600085610baf565b949350505050565b606082471015610c105760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610256565b6001600160a01b0385163b610c675760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610256565b600080866001600160a01b03168587604051610c839190610fb8565b60006040518083038185875af1925050503d8060008114610cc0576040519150601f19603f3d011682016040523d82523d6000602084013e610cc5565b606091505b5091509150610cd5828286610ce0565b979650505050505050565b60608315610cef57508161074a565b825115610cff5782518084602001fd5b8160405162461bcd60e51b81526004016102569190610fd4565b80356001600160f01b031981168114610d3157600080fd5b919050565b60008083601f840112610d47578182fd5b50813567ffffffffffffffff811115610d5e578182fd5b602083019150836020828501011115610d7657600080fd5b9250929050565b600060408284031215610d8e578081fd5b50919050565b803561ffff81168114610d3157600080fd5b600060208284031215610db7578081fd5b813561074a816111cd565b600060208284031215610dd3578081fd5b815161074a816111cd565b600060208284031215610def578081fd5b8151801515811461074a578182fd5b600060208284031215610e0f578081fd5b61074a82610d19565b6000806000806000806000806000806101408b8d031215610e37578586fd5b610e408b610d94565b9950610e4e60208c01610d94565b9850610e5c60408c01610d94565b975060608b0135965060808b0135955060a08b013567ffffffffffffffff80821115610e86578687fd5b908c01906060828f031215610e99578687fd5b90955060c08c01359080821115610eae578586fd5b50610ebb8d828e01610d36565b9095509350610ece905060e08c01610d19565b9150610ede8c6101008d01610d7d565b90509295989b9194979a5092959850565b600080600080600080600060e0888a031215610f09578283fd5b610f1288610d94565b96506020880135955060408801359450606088013567ffffffffffffffff811115610f3b578384fd5b610f478a828b01610d36565b9095509350610f5a905060808901610d19565b9150610f698960a08a01610d7d565b905092959891949750929550565b600060208284031215610f88578081fd5b5051919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60008251610fca81846020870161118b565b9190910192915050565b6020815260008251806020840152610ff381604085016020870161118b565b601f01601f19169190910160400192915050565b61ffff871681526001600160a01b038616602082015260a0604082018190526000906110369083018688610f8f565b60608301949094525060800152949350505050565b600061012061ffff808d168452808c166020850152808b1660408501525060018060a01b03891660608401528760808401528660a08401528060c08401528535818401525060208501356101408301526040850135601e198636030181126110b1578182fd5b8501803567ffffffffffffffff8111156110c9578283fd5b8036038713156110d7578283fd5b60606101608501526110f161018085018260208501610f8f565b91505082810360e0840152611107818587610f8f565b8381036101008501526002815261060f60f31b60208201529050604081019c9b505050505050505050505050565b60008261115057634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561116f5761116f6111b7565b500290565b600082821015611186576111866111b7565b500390565b60005b838110156111a657818101518382015260200161118e565b838111156109675750506000910152565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146111e257600080fd5b5056fea26469706673582212203acad853379e63732d2174b989d0355fca835152338c3e7b582dcb6297b5f03f64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000053bf833a5d6c4dda888f69c22c88c9f356a41614000000000000000000000000bf22f0f184bccbea268df387a49ff5238dd23e4000000000000000000000000055bdb4164d28fbaf0898e0ef14a589ac09ac9970
-----Decoded View---------------
Arg [0] : _stargateRouter (address): 0x53Bf833A5d6c4ddA888F69c22C88C9f356a41614
Arg [1] : _stargateRouterETH (address): 0xbf22f0f184bCcbeA268dF387a49fF5238dD23E40
Arg [2] : _stargateFactory (address): 0x55bDb4164D28FBaF0898e0eF14a589ac09Ac9970
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000053bf833a5d6c4dda888f69c22c88c9f356a41614
Arg [1] : 000000000000000000000000bf22f0f184bccbea268df387a49ff5238dd23e40
Arg [2] : 00000000000000000000000055bdb4164d28fbaf0898e0ef14a589ac09ac9970
Deployed Bytecode Sourcemap
387:4311:10:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;760:45;;;;;;;;;;-1:-1:-1;760:45:10;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;6594:14:11;;6587:22;6569:41;;6557:2;6542:18;760:45:10;;;;;;;;1411:788;;;;;;:::i;:::-;;:::i;:::-;;594:49;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6809:32:11;;;6791:51;;6779:2;6764:18;594:49:10;6746:102:11;535:53:10;;;;;;;;;;;;;;;2205:863;;;;;;:::i;:::-;;:::i;1302:103::-;;;;;;;;;;-1:-1:-1;1302:103:10;;;;;:::i;:::-;;:::i;482:47::-;;;;;;;;;;;;;;;649:54;;;;;;;;;;;;697:6;649:54;;;;;13967:25:11;;;13955:2;13940:18;649:54:10;13922:76:11;709:45:10;;;;;;;;;;;;-1:-1:-1;;709:45:10;;1411:788;1744:1:0;2325:7;;:19;;2317:63;;;;-1:-1:-1;;;2317:63:0;;10665:2:11;2317:63:0;;;10647:21:11;10704:2;10684:18;;;10677:30;10743:33;10723:18;;;10716:61;10794:18;;2317:63:0;;;;;;;;;1744:1;2455:7;:18;;;1787:51:10::1;1807:10:::0;1819:9;1830:7;1787:19:::1;:51::i;:::-;1767:71;;1849:14;-1:-1:-1::0;;;;;1849:19:10::1;;1875:9;1899:11;1924:10;1948;1980;2017:9;2005;:21;;;;:::i;:::-;2040:12;2066:11;2091:3;;1849:273;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;2138:54:10::1;::::0;;2164:16;::::1;14177:25:11::0;;14233:2;14218:18;;14211:34;;;-1:-1:-1;;;;;;2138:54:10;::::1;::::0;-1:-1:-1;2138:54:10::1;::::0;-1:-1:-1;14150:18:11;;-1:-1:-1;2138:54:10::1;;;;;;;-1:-1:-1::0;;1701:1:0;2628:7;:22;-1:-1:-1;;;;;;;;;1411:788:10:o;2205:863::-;1744:1:0;2325:7;;:19;;2317:63;;;;-1:-1:-1;;;2317:63:0;;10665:2:11;2317:63:0;;;10647:21:11;10704:2;10684:18;;;10677:30;10743:33;10723:18;;;10716:61;10794:18;;2317:63:0;10637:181:11;2317:63:0;1744:1;2455:7;:18;2529:17:10::1;-1:-1:-1::0;;;;;2521:42:10::1;2513:85;;;::::0;-1:-1:-1;;;2513:85:10;;8315:2:11;2513:85:10::1;::::0;::::1;8297:21:11::0;8354:2;8334:18;;;8327:30;8393:32;8373:18;;;8366:60;8443:18;;2513:85:10::1;8287:180:11::0;2513:85:10::1;2609:17;2629:42;2652:9;2663:7;2629:22;:42::i;:::-;2609:62:::0;-1:-1:-1;;;;;;2791:17:10::1;:25;;2823:21;2609:62:::0;2823:9:::1;:21;:::i;:::-;2859:11:::0;2892:10:::1;2917:3:::0;;2934:21:::1;2946:9:::0;2934;:21:::1;:::i;:::-;2969:12;2791:200;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;3007:54:10::1;::::0;;3033:16;::::1;14177:25:11::0;;14233:2;14218:18;;14211:34;;;-1:-1:-1;;;;;;3007:54:10;::::1;::::0;-1:-1:-1;3007:54:10::1;::::0;-1:-1:-1;14150:18:11;;-1:-1:-1;3007:54:10::1;;;;;;;-1:-1:-1::0;;1701:1:0;2628:7;:22;-1:-1:-1;;;;;;2205:863:10:o;1302:103::-;1375:23;;-1:-1:-1;;;;;;1375:23:10;;;;;;;;1302:103;:::o;3075:920::-;3305:35;;-1:-1:-1;;;3305:35:10;;11421:6:11;11409:19;;3305:35:10;;;11391:38:11;3215:17:10;;;;-1:-1:-1;;;;;3305:15:10;:23;;;;11364:18:11;;3305:35:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;3305:41:10;;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3289:59;-1:-1:-1;3407:68:10;-1:-1:-1;;;;;3407:30:10;;3438:10;3458:4;3465:9;3407:30;:68::i;:::-;697:6;3533:28;3545:16;;3533:9;:28;:::i;:::-;:52;;;;:::i;:::-;3521:64;-1:-1:-1;3626:59:10;3653:20;;;;;;;;:::i;:::-;-1:-1:-1;;;;;3626:26:10;;;3675:9;3626:26;:59::i;:::-;-1:-1:-1;;;;;3740:20:10;;;;;;:13;:20;;;;;;;;3735:227;;-1:-1:-1;;;;;3776:20:10;;;;;;3799:4;3776:20;;;;;;;;:27;;-1:-1:-1;;3776:27:10;;;;;;3891:60;;3925:14;-1:-1:-1;;3891:25:10;:60::i;:::-;3972:16;3075:920;;;;;;:::o;4001:695::-;4117:17;697:6;4193:28;4205:16;;4193:9;:28;:::i;:::-;:52;;;;:::i;:::-;4181:64;;4275:9;4263;:21;4255:74;;;;-1:-1:-1;;;4255:74:10;;10256:2:11;4255:74:10;;;10238:21:11;10295:2;10275:18;;;10268:30;10334:34;10314:18;;;10307:62;-1:-1:-1;;;10385:18:11;;;10378:38;10433:19;;4255:74:10;10228:230:11;4255:74:10;4436:9;4412:21;4424:9;4412;:21;:::i;:::-;:33;4404:81;;;;-1:-1:-1;;;4404:81:10;;8674:2:11;4404:81:10;;;8656:21:11;8713:2;8693:18;;;8686:30;8752:34;8732:18;;;8725:62;-1:-1:-1;;;8803:18:11;;;8796:33;8846:19;;4404:81:10;8646:225:11;4404:81:10;4527:12;4545:20;;;;;;;;:::i;:::-;-1:-1:-1;;;;;4545:25:10;4578:9;4545:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4526:66;;;4610:7;4602:60;;;;-1:-1:-1;;;4602:60:10;;9078:2:11;4602:60:10;;;9060:21:11;9117:2;9097:18;;;9090:30;9156:34;9136:18;;;9129:62;-1:-1:-1;;;9207:18:11;;;9200:38;9255:19;;4602:60:10;9050:230:11;4602:60:10;4673:16;4001:695;;;;:::o;974:241:3:-;1139:68;;-1:-1:-1;;;;;6028:15:11;;;1139:68:3;;;6010:34:11;6080:15;;6060:18;;;6053:43;6112:18;;;6105:34;;;1112:96:3;;1132:5;;-1:-1:-1;;;1162:27:3;5945:18:11;;1139:68:3;;;;-1:-1:-1;;1139:68:3;;;;;;;;;;;;;;-1:-1:-1;;;;;1139:68:3;-1:-1:-1;;;;;;1139:68:3;;;;;;;;;;1112:19;:96::i;:::-;974:241;;;;:::o;763:205::-;902:58;;-1:-1:-1;;;;;6342:32:11;;902:58:3;;;6324:51:11;6391:18;;;6384:34;;;875:86:3;;895:5;;-1:-1:-1;;;925:23:3;6297:18:11;;902:58:3;6279:145:11;875:86:3;763:205;;;:::o;1475:603::-;1830:10;;;1829:62;;-1:-1:-1;1846:39:3;;-1:-1:-1;;;1846:39:3;;1870:4;1846:39;;;5673:34:11;-1:-1:-1;;;;;5743:15:11;;;5723:18;;;5716:43;1846:15:3;;;;;5608:18:11;;1846:39:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:44;1829:62;1808:163;;;;-1:-1:-1;;;1808:163:3;;11025:2:11;1808:163:3;;;11007:21:11;11064:2;11044:18;;;11037:30;11103:34;11083:18;;;11076:62;-1:-1:-1;;;11154:18:11;;;11147:52;11216:19;;1808:163:3;10997:244:11;1808:163:3;2008:62;;-1:-1:-1;;;;;6342:32:11;;2008:62:3;;;6324:51:11;6391:18;;;6384:34;;;1981:90:3;;2001:5;;-1:-1:-1;;;2031:22:3;6297:18:11;;2008:62:3;6279:145:11;3747:706:3;4166:23;4192:69;4220:4;4192:69;;;;;;;;;;;;;;;;;4200:5;-1:-1:-1;;;;;4192:27:3;;;:69;;;;;:::i;:::-;4275:17;;4166:95;;-1:-1:-1;4275:21:3;4271:176;;4370:10;4359:30;;;;;;;;;;;;:::i;:::-;4351:85;;;;-1:-1:-1;;;4351:85:3;;9845:2:11;4351:85:3;;;9827:21:11;9884:2;9864:18;;;9857:30;9923:34;9903:18;;;9896:62;-1:-1:-1;;;9974:18:11;;;9967:40;10024:19;;4351:85:3;9817:232:11;3861:223:4;3994:12;4025:52;4047:6;4055:4;4061:1;4064:12;4025:21;:52::i;:::-;4018:59;3861:223;-1:-1:-1;;;;3861:223:4:o;4948:499::-;5113:12;5170:5;5145:21;:30;;5137:81;;;;-1:-1:-1;;;5137:81:4;;7908:2:11;5137:81:4;;;7890:21:11;7947:2;7927:18;;;7920:30;7986:34;7966:18;;;7959:62;-1:-1:-1;;;8037:18:11;;;8030:36;8083:19;;5137:81:4;7880:228:11;5137:81:4;-1:-1:-1;;;;;1465:19:4;;;5228:60;;;;-1:-1:-1;;;5228:60:4;;9487:2:11;5228:60:4;;;9469:21:11;9526:2;9506:18;;;9499:30;9565:31;9545:18;;;9538:59;9614:18;;5228:60:4;9459:179:11;5228:60:4;5300:12;5314:23;5341:6;-1:-1:-1;;;;;5341:11:4;5360:5;5367:4;5341:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5299:73;;;;5389:51;5406:7;5415:10;5427:12;5389:16;:51::i;:::-;5382:58;4948:499;-1:-1:-1;;;;;;;4948:499:4:o;7561:742::-;7707:12;7735:7;7731:566;;;-1:-1:-1;7765:10:4;7758:17;;7731:566;7876:17;;:21;7872:415;;8120:10;8114:17;8180:15;8167:10;8163:2;8159:19;8152:44;8069:145;8259:12;8252:20;;-1:-1:-1;;;8252:20:4;;;;;;;;:::i;14:168:11:-;81:20;;-1:-1:-1;;;;;;130:27:11;;120:38;;110:2;;172:1;169;162:12;110:2;62:120;;;:::o;187:375::-;238:8;248:6;302:3;295:4;287:6;283:17;279:27;269:2;;327:8;317;310:26;269:2;-1:-1:-1;357:20:11;;400:18;389:30;;386:2;;;439:8;429;422:26;386:2;483:4;475:6;471:17;459:29;;535:3;528:4;519:6;511;507:19;503:30;500:39;497:2;;;552:1;549;542:12;497:2;259:303;;;;;:::o;567:162::-;626:5;671:2;662:6;657:3;653:16;649:25;646:2;;;691:5;684;677:20;646:2;-1:-1:-1;717:6:11;636:93;-1:-1:-1;636:93:11:o;734:159::-;801:20;;861:6;850:18;;840:29;;830:2;;883:1;880;873:12;898:257;957:6;1010:2;998:9;989:7;985:23;981:32;978:2;;;1031:6;1023;1016:22;978:2;1075:9;1062:23;1094:31;1119:5;1094:31;:::i;1160:261::-;1230:6;1283:2;1271:9;1262:7;1258:23;1254:32;1251:2;;;1304:6;1296;1289:22;1251:2;1341:9;1335:16;1360:31;1385:5;1360:31;:::i;1426:297::-;1493:6;1546:2;1534:9;1525:7;1521:23;1517:32;1514:2;;;1567:6;1559;1552:22;1514:2;1604:9;1598:16;1657:5;1650:13;1643:21;1636:5;1633:32;1623:2;;1684:6;1676;1669:22;1728:194;1786:6;1839:2;1827:9;1818:7;1814:23;1810:32;1807:2;;;1860:6;1852;1845:22;1807:2;1888:28;1906:9;1888:28;:::i;2214:1286::-;2403:6;2411;2419;2427;2435;2443;2451;2459;2467;2475;2528:3;2516:9;2507:7;2503:23;2499:33;2496:2;;;2550:6;2542;2535:22;2496:2;2578:28;2596:9;2578:28;:::i;:::-;2568:38;;2625:37;2658:2;2647:9;2643:18;2625:37;:::i;:::-;2615:47;;2681:37;2714:2;2703:9;2699:18;2681:37;:::i;:::-;2671:47;;2765:2;2754:9;2750:18;2737:32;2727:42;;2816:3;2805:9;2801:19;2788:33;2778:43;;2872:3;2861:9;2857:19;2844:33;2896:18;2937:2;2929:6;2926:14;2923:2;;;2958:6;2950;2943:22;2923:2;2986:22;;;;3042:2;3024:16;;;3020:25;3017:2;;;3063:6;3055;3048:22;3017:2;3091;;-1:-1:-1;3146:3:11;3131:19;;3118:33;;3163:16;;;3160:2;;;3197:6;3189;3182:22;3160:2;;3241:60;3293:7;3282:8;3271:9;3267:24;3241:60;:::i;:::-;3320:8;;-1:-1:-1;3215:86:11;-1:-1:-1;3374:38:11;;-1:-1:-1;3407:3:11;3392:19;;3374:38;:::i;:::-;3364:48;;3431:63;3486:7;3480:3;3469:9;3465:19;3431:63;:::i;:::-;3421:73;;2486:1014;;;;;;;;;;;;;:::o;3505:835::-;3643:6;3651;3659;3667;3675;3683;3691;3744:3;3732:9;3723:7;3719:23;3715:33;3712:2;;;3766:6;3758;3751:22;3712:2;3794:28;3812:9;3794:28;:::i;:::-;3784:38;;3869:2;3858:9;3854:18;3841:32;3831:42;;3920:2;3909:9;3905:18;3892:32;3882:42;;3975:2;3964:9;3960:18;3947:32;4002:18;3994:6;3991:30;3988:2;;;4039:6;4031;4024:22;3988:2;4083:58;4133:7;4124:6;4113:9;4109:22;4083:58;:::i;:::-;4160:8;;-1:-1:-1;4057:84:11;-1:-1:-1;4214:38:11;;-1:-1:-1;4247:3:11;4232:19;;4214:38;:::i;:::-;4204:48;;4271:63;4326:7;4320:3;4309:9;4305:19;4271:63;:::i;:::-;4261:73;;3702:638;;;;;;;;;;:::o;4345:194::-;4415:6;4468:2;4456:9;4447:7;4443:23;4439:32;4436:2;;;4489:6;4481;4474:22;4436:2;-1:-1:-1;4517:16:11;;4426:113;-1:-1:-1;4426:113:11:o;4544:268::-;4632:6;4627:3;4620:19;4684:6;4677:5;4670:4;4665:3;4661:14;4648:43;-1:-1:-1;4602:3:11;4711:16;;;4729:4;4707:27;;;4700:40;;;;4794:2;4773:15;;;-1:-1:-1;;4769:29:11;4760:39;;;4756:50;;4610:202::o;4972:274::-;5101:3;5139:6;5133:13;5155:53;5201:6;5196:3;5189:4;5181:6;5177:17;5155:53;:::i;:::-;5224:16;;;;;5109:137;-1:-1:-1;;5109:137:11:o;7318:383::-;7467:2;7456:9;7449:21;7430:4;7499:6;7493:13;7542:6;7537:2;7526:9;7522:18;7515:34;7558:66;7617:6;7612:2;7601:9;7597:18;7592:2;7584:6;7580:15;7558:66;:::i;:::-;7685:2;7664:15;-1:-1:-1;;7660:29:11;7645:45;;;;7692:2;7641:54;;7439:262;-1:-1:-1;;7439:262:11:o;11440:584::-;11735:6;11723:19;;11705:38;;-1:-1:-1;;;;;11779:32:11;;11774:2;11759:18;;11752:60;11799:3;11843:2;11828:18;;11821:31;;;-1:-1:-1;;11869:62:11;;11911:19;;11903:6;11895;11869:62;:::i;:::-;11962:2;11947:18;;11940:34;;;;-1:-1:-1;12005:3:11;11990:19;11983:35;11861:70;11695:329;-1:-1:-1;;;;11695:329:11:o;12029:1787::-;12507:4;12536:3;12558:6;12603:2;12595:6;12591:15;12580:9;12573:34;12655:2;12647:6;12643:15;12638:2;12627:9;12623:18;12616:43;12707:2;12699:6;12695:15;12690:2;12679:9;12675:18;12668:43;;12776:1;12772;12767:3;12763:11;12759:19;12751:6;12747:32;12742:2;12731:9;12727:18;12720:60;12817:6;12811:3;12800:9;12796:19;12789:35;12861:6;12855:3;12844:9;12840:19;12833:35;12905:2;12899:3;12888:9;12884:19;12877:31;12957:6;12944:20;12939:2;12928:9;12924:18;12917:48;;13027:2;13019:6;13015:15;13002:29;12996:3;12985:9;12981:19;12974:58;13092:2;13084:6;13080:15;13067:29;13176:2;13172:7;13163:6;13147:14;13143:27;13139:41;13119:18;13115:66;13105:2;;13198:4;13192;13185:18;13105:2;13227:31;;13281:19;;13323:18;13312:30;;13309:2;;;13358:4;13352;13345:18;13309:2;13409:6;13393:14;13389:27;13381:6;13377:40;13374:2;;;13433:4;13427;13420:18;13374:2;13477;13471:3;13460:9;13456:19;13449:31;13500:70;13565:3;13554:9;13550:19;13542:6;13537:2;13530:5;13526:14;13500:70;:::i;:::-;13489:81;;;13616:9;13611:3;13607:19;13601:3;13590:9;13586:19;13579:48;13650:46;13692:3;13684:6;13676;13650:46;:::i;:::-;13733:22;;;13727:3;13712:19;;13705:51;4894:1;4882:14;;-1:-1:-1;;;4921:4:11;4912:14;;4905:28;13636:60;-1:-1:-1;4958:2:11;4949:12;;13765:45;12516:1300;-1:-1:-1;;;;;;;;;;;;12516:1300:11:o;14256:217::-;14296:1;14322;14312:2;;-1:-1:-1;;;14347:31:11;;14401:4;14398:1;14391:15;14429:4;14354:1;14419:15;14312:2;-1:-1:-1;14458:9:11;;14302:171::o;14478:168::-;14518:7;14584:1;14580;14576:6;14572:14;14569:1;14566:21;14561:1;14554:9;14547:17;14543:45;14540:2;;;14591:18;;:::i;:::-;-1:-1:-1;14631:9:11;;14530:116::o;14651:125::-;14691:4;14719:1;14716;14713:8;14710:2;;;14724:18;;:::i;:::-;-1:-1:-1;14761:9:11;;14700:76::o;14781:258::-;14853:1;14863:113;14877:6;14874:1;14871:13;14863:113;;;14953:11;;;14947:18;14934:11;;;14927:39;14899:2;14892:10;14863:113;;;14994:6;14991:1;14988:13;14985:2;;;-1:-1:-1;;15029:1:11;15011:16;;15004:27;14834:205::o;15044:127::-;15105:10;15100:3;15096:20;15093:1;15086:31;15136:4;15133:1;15126:15;15160:4;15157:1;15150:15;15176:131;-1:-1:-1;;;;;15251:31:11;;15241:42;;15231:2;;15297:1;15294;15287:12;15231:2;15221:86;:::o
Swarm Source
ipfs://3acad853379e63732d2174b989d0355fca835152338c3e7b582dcb6297b5f03f
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$37.50
Net Worth in ETH
0.013087
Token Allocations
ETH
74.13%
BNB
25.84%
POL
0.02%
Multichain Portfolio | 35 Chains
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.