Overview
ETH Balance
0 ETH
ETH Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 25 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer* | 17201518 | 147 days ago | IN | 0 ETH | 0.00005138 | ||||
Transfer* | 17111458 | 151 days ago | IN | 0 ETH | 0.00004128 | ||||
Transfer* | 17059416 | 153 days ago | IN | 0 ETH | 0.00015277 | ||||
Transfer* | 17034806 | 154 days ago | IN | 0 ETH | 0.0000499 | ||||
Transfer* | 17033722 | 154 days ago | IN | 0 ETH | 0.00008363 | ||||
Transfer* | 17032220 | 154 days ago | IN | 0 ETH | 0.00010629 | ||||
Transfer* | 17027421 | 154 days ago | IN | 0 ETH | 0.00005086 | ||||
Transfer* | 17021128 | 155 days ago | IN | 0 ETH | 0.00007708 | ||||
Transfer* | 17020473 | 155 days ago | IN | 0 ETH | 0.00001342 | ||||
Transfer* | 17019450 | 155 days ago | IN | 0 ETH | 0.00009302 | ||||
Transfer* | 17018534 | 155 days ago | IN | 0 ETH | 0.00008283 | ||||
Transfer* | 17018284 | 155 days ago | IN | 0 ETH | 0.00009497 | ||||
Transfer* | 17014371 | 155 days ago | IN | 0 ETH | 0.00033813 | ||||
Transfer* | 17013501 | 155 days ago | IN | 0 ETH | 0.00073009 | ||||
Transfer* | 17008760 | 155 days ago | IN | 0 ETH | 0.00009003 | ||||
Transfer* | 17006663 | 155 days ago | IN | 0 ETH | 0.00006177 | ||||
Transfer* | 16999200 | 155 days ago | IN | 0 ETH | 0.00005284 | ||||
Transfer* | 16998886 | 155 days ago | IN | 0 ETH | 0.00004986 | ||||
Transfer* | 16988175 | 156 days ago | IN | 0 ETH | 0.00015136 | ||||
Transfer* | 16986824 | 156 days ago | IN | 0 ETH | 0.00001141 | ||||
Transfer* | 16986787 | 156 days ago | IN | 0 ETH | 0.00016389 | ||||
Transfer* | 16986514 | 156 days ago | IN | 0 ETH | 0.00007089 | ||||
Transfer* | 16986452 | 156 days ago | IN | 0 ETH | 0.00007508 | ||||
Transfer* | 16986381 | 156 days ago | IN | 0 ETH | 0.00007056 | ||||
Transfer* | 16979765 | 156 days ago | IN | 0 ETH | 0.00007989 |
Latest 25 internal transactions (View All)
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
17034806 | 154 days ago | 1 wei | ||||
17034806 | 154 days ago | 0.00197605 ETH | ||||
17034806 | 154 days ago | 0.00002666 ETH | ||||
17034806 | 154 days ago | 0.00200271 ETH | ||||
17033722 | 154 days ago | 1 wei | ||||
17033722 | 154 days ago | 0.00073205 ETH | ||||
17033722 | 154 days ago | 0.0000446 ETH | ||||
17033722 | 154 days ago | 0.00077666 ETH | ||||
17032220 | 154 days ago | 1 wei | ||||
17032220 | 154 days ago | 0.69671655 ETH | ||||
17032220 | 154 days ago | 0.0000479 ETH | ||||
17032220 | 154 days ago | 0.69676445 ETH | ||||
17027421 | 154 days ago | 1 wei | ||||
17027421 | 154 days ago | 0.06170409 ETH | ||||
17027421 | 154 days ago | 0.0000246 ETH | ||||
17027421 | 154 days ago | 0.0617287 ETH | ||||
17021128 | 155 days ago | 1 wei | ||||
17021128 | 155 days ago | 0.00379091 ETH | ||||
17021128 | 155 days ago | 0.00004393 ETH | ||||
17021128 | 155 days ago | 0.00383484 ETH | ||||
17019450 | 155 days ago | 1 wei | ||||
17019450 | 155 days ago | 0.00700055 ETH | ||||
17019450 | 155 days ago | 0.00005001 ETH | ||||
17019450 | 155 days ago | 0.00705057 ETH | ||||
17018534 | 155 days ago | 1 wei |
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
LiquidityHub
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 1000000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.x; import {Address} from "@openzeppelin/contracts/utils/Address.sol"; import {SafeERC20, IERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import {IReactor} from "uniswapx/src/interfaces/IReactor.sol"; import {IReactorCallback} from "uniswapx/src/interfaces/IReactorCallback.sol"; import {IValidationCallback} from "uniswapx/src/interfaces/IValidationCallback.sol"; import {ResolvedOrder, SignedOrder} from "uniswapx/src/base/ReactorStructs.sol"; import {Consts} from "./Consts.sol"; import {Treasury} from "./Treasury.sol"; import {IMulticall, Call} from "./IMulticall.sol"; /** * LiquidityHub Executor */ contract LiquidityHub is IReactorCallback, IValidationCallback { using SafeERC20 for IERC20; uint8 public constant VERSION = 4; IReactor public immutable reactor; Treasury public immutable treasury; constructor(IReactor _reactor, Treasury _treasury) { reactor = _reactor; treasury = _treasury; } error InvalidSender(address sender); modifier onlyAllowed() { if (!treasury.allowed(msg.sender)) revert InvalidSender(msg.sender); _; } modifier onlyReactor() { if (msg.sender != address(reactor)) revert InvalidSender(msg.sender); _; } /** * Entry point */ function execute(SignedOrder[] calldata orders, Call[] calldata calls, address fees, address[] calldata tokens) external onlyAllowed { reactor.executeBatchWithCallback(orders, abi.encode(calls)); _withdraw(fees, tokens); } /** * @dev IReactorCallback */ function reactorCallback(ResolvedOrder[] memory orders, bytes memory callbackData) external override onlyReactor { _executeMulticall(abi.decode(callbackData, (Call[]))); _approveReactorOutputs(orders); } function _executeMulticall(Call[] memory calls) private { Address.functionDelegateCall( Consts.MULTICALL_ADDRESS, abi.encodeWithSelector(IMulticall.aggregate.selector, calls) ); } function _approveReactorOutputs(ResolvedOrder[] memory orders) private { for (uint256 i = 0; i < orders.length; i++) { ResolvedOrder memory order = orders[i]; for (uint256 j = 0; j < order.outputs.length; j++) { address token = order.outputs[j].token; uint256 amount = order.outputs[j].amount; if (token == address(0)) { Address.sendValue(payable(address(reactor)), amount); } else { IERC20(token).safeIncreaseAllowance(address(reactor), amount); } } } } function _withdraw(address fees, address[] calldata tokens) private { uint256 nativeBalance = address(this).balance; if (nativeBalance > 0) Address.sendValue(payable(fees), nativeBalance); for (uint256 i = 0; i < tokens.length; i++) { IERC20 token = IERC20(tokens[i]); uint256 balance = token.balanceOf(address(this)); if (balance > 0) token.safeTransfer(fees, balance); } } /** * @dev IValidationCallback */ function validate(address filler, ResolvedOrder calldata) external view override { if (filler != address(this)) revert InvalidSender(filler); } receive() external payable { // accept ETH } }
// 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 // 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: GPL-2.0-or-later pragma solidity ^0.8.0; import {ResolvedOrder, SignedOrder} from "../base/ReactorStructs.sol"; import {IReactorCallback} from "./IReactorCallback.sol"; /// @notice Interface for order execution reactors interface IReactor { /// @notice Execute a single order /// @param order The order definition and valid signature to execute function execute(SignedOrder calldata order) external payable; /// @notice Execute a single order using the given callback data /// @param order The order definition and valid signature to execute function executeWithCallback(SignedOrder calldata order, bytes calldata callbackData) external payable; /// @notice Execute the given orders at once /// @param orders The order definitions and valid signatures to execute function executeBatch(SignedOrder[] calldata orders) external payable; /// @notice Execute the given orders at once using a callback with the given callback data /// @param orders The order definitions and valid signatures to execute /// @param callbackData The callbackData to pass to the callback function executeBatchWithCallback(SignedOrder[] calldata orders, bytes calldata callbackData) external payable; }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity ^0.8.0; import {ResolvedOrder} from "../base/ReactorStructs.sol"; /// @notice Callback for executing orders through a reactor. interface IReactorCallback { /// @notice Called by the reactor during the execution of an order /// @param resolvedOrders Has inputs and outputs /// @param callbackData The callbackData specified for an order execution /// @dev Must have approved each token and amount in outputs to the msg.sender function reactorCallback(ResolvedOrder[] memory resolvedOrders, bytes memory callbackData) external; }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity ^0.8.0; import {OrderInfo, ResolvedOrder} from "../base/ReactorStructs.sol"; /// @notice Callback to validate an order interface IValidationCallback { /// @notice Called by the reactor for custom validation of an order. Will revert if validation fails /// @param filler The filler of the order /// @param resolvedOrder The resolved order to fill function validate(address filler, ResolvedOrder calldata resolvedOrder) external view; }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity ^0.8.0; import {IReactor} from "../interfaces/IReactor.sol"; import {IValidationCallback} from "../interfaces/IValidationCallback.sol"; import {ERC20} from "solmate/src/tokens/ERC20.sol"; /// @dev generic order information /// should be included as the first field in any concrete order types struct OrderInfo { // The address of the reactor that this order is targeting // Note that this must be included in every order so the swapper // signature commits to the specific reactor that they trust to fill their order properly IReactor reactor; // The address of the user which created the order // Note that this must be included so that order hashes are unique by swapper address swapper; // The nonce of the order, allowing for signature replay protection and cancellation uint256 nonce; // The timestamp after which this order is no longer valid uint256 deadline; // Custom validation contract IValidationCallback additionalValidationContract; // Encoded validation params for additionalValidationContract bytes additionalValidationData; } /// @dev tokens that need to be sent from the swapper in order to satisfy an order struct InputToken { ERC20 token; uint256 amount; // Needed for dutch decaying inputs uint256 maxAmount; } /// @dev tokens that need to be received by the recipient in order to satisfy an order struct OutputToken { address token; uint256 amount; address recipient; } /// @dev generic concrete order that specifies exact tokens which need to be sent and received struct ResolvedOrder { OrderInfo info; InputToken input; OutputToken[] outputs; bytes sig; bytes32 hash; } /// @dev external struct including a generic encoded order and swapper signature /// The order bytes will be parsed and mapped to a ResolvedOrder in the concrete reactor contract struct SignedOrder { bytes order; bytes sig; }
// SPDX-License-Identifier: MIT pragma solidity 0.8.x; library Consts { address public constant MULTICALL_ADDRESS = 0xcA11bde05977b3631167028862bE2a173976CA11; address public constant PERMIT2_ADDRESS = 0x000000000022D473030F116dDEE9F6B43aC78BA3; }
// SPDX-License-Identifier: MIT pragma solidity 0.8.x; import {Address} from "@openzeppelin/contracts/utils/Address.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {SafeERC20, IERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import {Consts} from "./Consts.sol"; import {IWETH} from "./IWETH.sol"; import {IMulticall, Call} from "./IMulticall.sol"; contract Treasury is Ownable { using SafeERC20 for IERC20; IWETH public immutable weth; mapping(address => bool) public allowed; constructor(IWETH _weth, address _owner) Ownable() { weth = _weth; allowed[_owner] = true; transferOwnership(_owner); } error NotAllowed(address sender); modifier onlyAllowed() { if (!allowed[msg.sender]) revert NotAllowed(msg.sender); _; } function set(address[] calldata addr, bool value) external onlyOwner { for (uint256 i = 0; i < addr.length; i++) { allowed[addr[i]] = value; } } function execute(Call[] calldata calls) external onlyAllowed { Address.functionDelegateCall( Consts.MULTICALL_ADDRESS, abi.encodeWithSelector(IMulticall.aggregate.selector, calls) ); withdraw(new IERC20[](0)); } function withdraw(IERC20[] memory tokens) public onlyAllowed { for (uint256 i = 0; i < tokens.length; i++) { tokens[i].safeTransfer(owner(), tokens[i].balanceOf(address(this))); } weth.withdraw(weth.balanceOf(address(this))); Address.sendValue(payable(owner()), address(this).balance); } receive() external payable { // accept ETH } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.x; struct Call { address target; bytes callData; } struct Result { bool success; bytes returnData; } interface IMulticall { function aggregate(Call[] calldata calls) external payable returns (Result[] memory returnData); }
// 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.0) (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. */ 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: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Modern and gas efficient ERC20 + EIP-2612 implementation. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol) /// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol) /// @dev Do not manually set balances without updating totalSupply, as the sum of all user balances must not exceed it. abstract contract ERC20 { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event Transfer(address indexed from, address indexed to, uint256 amount); event Approval(address indexed owner, address indexed spender, uint256 amount); /*////////////////////////////////////////////////////////////// METADATA STORAGE //////////////////////////////////////////////////////////////*/ string public name; string public symbol; uint8 public immutable decimals; /*////////////////////////////////////////////////////////////// ERC20 STORAGE //////////////////////////////////////////////////////////////*/ uint256 public totalSupply; mapping(address => uint256) public balanceOf; mapping(address => mapping(address => uint256)) public allowance; /*////////////////////////////////////////////////////////////// EIP-2612 STORAGE //////////////////////////////////////////////////////////////*/ uint256 internal immutable INITIAL_CHAIN_ID; bytes32 internal immutable INITIAL_DOMAIN_SEPARATOR; mapping(address => uint256) public nonces; /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor( string memory _name, string memory _symbol, uint8 _decimals ) { name = _name; symbol = _symbol; decimals = _decimals; INITIAL_CHAIN_ID = block.chainid; INITIAL_DOMAIN_SEPARATOR = computeDomainSeparator(); } /*////////////////////////////////////////////////////////////// ERC20 LOGIC //////////////////////////////////////////////////////////////*/ function approve(address spender, uint256 amount) public virtual returns (bool) { allowance[msg.sender][spender] = amount; emit Approval(msg.sender, spender, amount); return true; } function transfer(address to, uint256 amount) public virtual returns (bool) { balanceOf[msg.sender] -= amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(msg.sender, to, amount); return true; } function transferFrom( address from, address to, uint256 amount ) public virtual returns (bool) { uint256 allowed = allowance[from][msg.sender]; // Saves gas for limited approvals. if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amount; balanceOf[from] -= amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(from, to, amount); return true; } /*////////////////////////////////////////////////////////////// EIP-2612 LOGIC //////////////////////////////////////////////////////////////*/ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) public virtual { require(deadline >= block.timestamp, "PERMIT_DEADLINE_EXPIRED"); // Unchecked because the only math done is incrementing // the owner's nonce which cannot realistically overflow. unchecked { address recoveredAddress = ecrecover( keccak256( abi.encodePacked( "\x19\x01", DOMAIN_SEPARATOR(), keccak256( abi.encode( keccak256( "Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)" ), owner, spender, value, nonces[owner]++, deadline ) ) ) ), v, r, s ); require(recoveredAddress != address(0) && recoveredAddress == owner, "INVALID_SIGNER"); allowance[recoveredAddress][spender] = value; } emit Approval(owner, spender, value); } function DOMAIN_SEPARATOR() public view virtual returns (bytes32) { return block.chainid == INITIAL_CHAIN_ID ? INITIAL_DOMAIN_SEPARATOR : computeDomainSeparator(); } function computeDomainSeparator() internal view virtual returns (bytes32) { return keccak256( abi.encode( keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"), keccak256(bytes(name)), keccak256("1"), block.chainid, address(this) ) ); } /*////////////////////////////////////////////////////////////// INTERNAL MINT/BURN LOGIC //////////////////////////////////////////////////////////////*/ function _mint(address to, uint256 amount) internal virtual { totalSupply += amount; // Cannot overflow because the sum of all user // balances can't exceed the max uint256 value. unchecked { balanceOf[to] += amount; } emit Transfer(address(0), to, amount); } function _burn(address from, uint256 amount) internal virtual { balanceOf[from] -= amount; // Cannot underflow because a user's balance // will never be larger than the total supply. unchecked { totalSupply -= amount; } emit Transfer(from, address(0), amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.x; import {IERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; interface IWETH is IERC20 { function deposit() external payable; function withdraw(uint256 wad) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "remappings": [ "ds-test/=lib/forge-std/lib/ds-test/src/", "forge-std/=lib/forge-std/src/", "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/", "openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/", "permit2/=lib/permit2/", "uniswapx/=lib/UniswapX/", "solmate/=lib/solmate/", "multicall/=lib/multicall/", "@ds/=lib/multicall/lib/ds-test/src/", "@std/=lib/multicall/lib/forge-std/src/", "UniswapX/=lib/UniswapX/", "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/", "forge-gas-snapshot/=lib/UniswapX/lib/forge-gas-snapshot/src/", "openzeppelin/=lib/openzeppelin-contracts/contracts/" ], "optimizer": { "enabled": true, "runs": 1000000 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "paris", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"contract IReactor","name":"_reactor","type":"address"},{"internalType":"contract Treasury","name":"_treasury","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"InvalidSender","type":"error"},{"inputs":[],"name":"VERSION","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"bytes","name":"order","type":"bytes"},{"internalType":"bytes","name":"sig","type":"bytes"}],"internalType":"struct SignedOrder[]","name":"orders","type":"tuple[]"},{"components":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bytes","name":"callData","type":"bytes"}],"internalType":"struct Call[]","name":"calls","type":"tuple[]"},{"internalType":"address","name":"fees","type":"address"},{"internalType":"address[]","name":"tokens","type":"address[]"}],"name":"execute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reactor","outputs":[{"internalType":"contract IReactor","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"components":[{"internalType":"contract IReactor","name":"reactor","type":"address"},{"internalType":"address","name":"swapper","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"contract IValidationCallback","name":"additionalValidationContract","type":"address"},{"internalType":"bytes","name":"additionalValidationData","type":"bytes"}],"internalType":"struct OrderInfo","name":"info","type":"tuple"},{"components":[{"internalType":"contract ERC20","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"maxAmount","type":"uint256"}],"internalType":"struct InputToken","name":"input","type":"tuple"},{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"internalType":"struct OutputToken[]","name":"outputs","type":"tuple[]"},{"internalType":"bytes","name":"sig","type":"bytes"},{"internalType":"bytes32","name":"hash","type":"bytes32"}],"internalType":"struct ResolvedOrder[]","name":"orders","type":"tuple[]"},{"internalType":"bytes","name":"callbackData","type":"bytes"}],"name":"reactorCallback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"contract Treasury","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"filler","type":"address"},{"components":[{"components":[{"internalType":"contract IReactor","name":"reactor","type":"address"},{"internalType":"address","name":"swapper","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"contract IValidationCallback","name":"additionalValidationContract","type":"address"},{"internalType":"bytes","name":"additionalValidationData","type":"bytes"}],"internalType":"struct OrderInfo","name":"info","type":"tuple"},{"components":[{"internalType":"contract ERC20","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"maxAmount","type":"uint256"}],"internalType":"struct InputToken","name":"input","type":"tuple"},{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"internalType":"struct OutputToken[]","name":"outputs","type":"tuple[]"},{"internalType":"bytes","name":"sig","type":"bytes"},{"internalType":"bytes32","name":"hash","type":"bytes32"}],"internalType":"struct ResolvedOrder","name":"","type":"tuple"}],"name":"validate","outputs":[],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c06040523480156200001157600080fd5b5060405162001c0638038062001c06833981016040819052620000349162000065565b6001600160a01b039182166080521660a052620000a4565b6001600160a01b03811681146200006257600080fd5b50565b600080604083850312156200007957600080fd5b825162000086816200004c565b602084015190925062000099816200004c565b809150509250929050565b60805160a051611b1a620000ec6000396000818160a9015261025d015260008181610147015281816101a801528181610317015281816105b201526105f80152611b1a6000f3fe6080604052600436106100695760003560e01c80636e84ba2b116100435780636e84ba2b14610115578063ab57265014610135578063ffa1ad741461016957600080fd5b8063585da6281461007557806361d027b3146100975780636d8a43c1146100f557600080fd5b3661007057005b600080fd5b34801561008157600080fd5b506100956100903660046111e4565b610190565b005b3480156100a357600080fd5b506100cb7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561010157600080fd5b506100956101103660046113bd565b61022f565b34801561012157600080fd5b5061009561013036600461146c565b6103d9565b34801561014157600080fd5b506100cb7f000000000000000000000000000000000000000000000000000000000000000081565b34801561017557600080fd5b5061017e600481565b60405160ff90911681526020016100ec565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610206576040517f4c14f64c0000000000000000000000000000000000000000000000000000000081523360048201526024015b60405180910390fd5b6102228180602001905181019061021d91906114e7565b610440565b61022b826104f3565b5050565b6040517fd63a8e110000000000000000000000000000000000000000000000000000000081523360048201527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063d63a8e1190602401602060405180830381865afa1580156102b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102dd9190611639565b610315576040517f4c14f64c0000000000000000000000000000000000000000000000000000000081523360048201526024016101fd565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166313fb72c78888888860405160200161036692919061174c565b6040516020818303038152906040526040518463ffffffff1660e01b815260040161039393929190611853565b600060405180830381600087803b1580156103ad57600080fd5b505af11580156103c1573d6000803e3d6000fd5b505050506103d0838383610647565b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff8216301461022b576040517f4c14f64c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024016101fd565b61022b73ca11bde05977b3631167028862be2a173976ca1163252dba4260e01b836040516024016104719190611915565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152610765565b60005b815181101561022b576000828281518110610513576105136119af565b6020026020010151905060005b81604001515181101561063257600082604001518281518110610545576105456119af565b602002602001015160000151905060008360400151838151811061056b5761056b6119af565b6020026020010151602001519050600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036105dc576105d77f000000000000000000000000000000000000000000000000000000000000000082610793565b61061d565b61061d73ffffffffffffffffffffffffffffffffffffffff83167f0000000000000000000000000000000000000000000000000000000000000000836108f2565b5050808061062a90611a0d565b915050610520565b5050808061063f90611a0d565b9150506104f6565b478015610658576106588482610793565b60005b8281101561075e576000848483818110610677576106776119af565b905060200201602081019061068c9190611a45565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290915060009073ffffffffffffffffffffffffffffffffffffffff8316906370a0823190602401602060405180830381865afa1580156106fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107209190611a62565b905080156107495761074973ffffffffffffffffffffffffffffffffffffffff83168883610a6f565b5050808061075690611a0d565b91505061065b565b5050505050565b606061078a8383604051806060016040528060278152602001611abe60279139610ac5565b90505b92915050565b804710156107fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016101fd565b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114610857576040519150601f19603f3d011682016040523d82523d6000602084013e61085c565b606091505b50509050806108ed576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016101fd565b505050565b6040517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff83811660248301526000919085169063dd62ed3e90604401602060405180830381865afa158015610968573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098c9190611a62565b9050610a69847f095ea7b300000000000000000000000000000000000000000000000000000000856109be8686611a7b565b60405173ffffffffffffffffffffffffffffffffffffffff909216602483015260448201526064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152610b4a565b50505050565b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526108ed9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064016109e7565b60606000808573ffffffffffffffffffffffffffffffffffffffff1685604051610aef9190611a8e565b600060405180830381855af49150503d8060008114610b2a576040519150601f19603f3d011682016040523d82523d6000602084013e610b2f565b606091505b5091509150610b4086838387610c59565b9695505050505050565b6000610bac826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610d019092919063ffffffff16565b9050805160001480610bcd575080806020019051810190610bcd9190611639565b6108ed576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016101fd565b60608315610cef578251600003610ce85773ffffffffffffffffffffffffffffffffffffffff85163b610ce8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016101fd565b5081610cf9565b610cf98383610d10565b949350505050565b6060610cf98484600085610d54565b815115610d205781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101fd9190611aaa565b606082471015610de6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016101fd565b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051610e0f9190611a8e565b60006040518083038185875af1925050503d8060008114610e4c576040519150601f19603f3d011682016040523d82523d6000602084013e610e51565b606091505b5091509150610e6287838387610c59565b979650505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040516060810167ffffffffffffffff81118282101715610ebf57610ebf610e6d565b60405290565b60405160a0810167ffffffffffffffff81118282101715610ebf57610ebf610e6d565b6040805190810167ffffffffffffffff81118282101715610ebf57610ebf610e6d565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715610f5257610f52610e6d565b604052919050565b600067ffffffffffffffff821115610f7457610f74610e6d565b5060051b60200190565b73ffffffffffffffffffffffffffffffffffffffff81168114610fa057600080fd5b50565b600067ffffffffffffffff821115610fbd57610fbd610e6d565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b600082601f830112610ffa57600080fd5b813561100d61100882610fa3565b610f0b565b81815284602083860101111561102257600080fd5b816020850160208301376000918101602001919091529392505050565b600060c0828403121561105157600080fd5b60405160c0810167ffffffffffffffff828210818311171561107557611075610e6d565b816040528293508435915061108982610f7e565b90825260208401359061109b82610f7e565b8160208401526040850135604084015260608501356060840152608085013591506110c582610f7e565b81608084015260a08501359150808211156110df57600080fd5b506110ec85828601610fe9565b60a0830152505092915050565b60006060828403121561110b57600080fd5b611113610e9c565b9050813561112081610f7e565b80825250602082013560208201526040820135604082015292915050565b600082601f83011261114f57600080fd5b8135602061115f61100883610f5a565b8281526060928302850182019282820191908785111561117e57600080fd5b8387015b858110156111d75781818a03121561119a5760008081fd5b6111a2610e9c565b81356111ad81610f7e565b815281860135868201526040808301356111c681610f7e565b908201528452928401928101611182565b5090979650505050505050565b600080604083850312156111f757600080fd5b823567ffffffffffffffff8082111561120f57600080fd5b818501915085601f83011261122357600080fd5b8135602061123361100883610f5a565b82815260059290921b8401810191818101908984111561125257600080fd5b8286015b848110156113435780358681111561126e5760008081fd5b870160e0818d037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0018113156112a45760008081fd5b6112ac610ec5565b86830135898111156112be5760008081fd5b6112cc8f898387010161103f565b8252506112dc8e604085016110f9565b8782015260a0830135898111156112f35760008081fd5b6113018f898387010161113e565b60408301525060c08301358981111561131a5760008081fd5b6113288f8983870101610fe9565b60608301525091013560808201528352918301918301611256565b509650508601359250508082111561135a57600080fd5b5061136785828601610fe9565b9150509250929050565b60008083601f84011261138357600080fd5b50813567ffffffffffffffff81111561139b57600080fd5b6020830191508360208260051b85010111156113b657600080fd5b9250929050565b60008060008060008060006080888a0312156113d857600080fd5b873567ffffffffffffffff808211156113f057600080fd5b6113fc8b838c01611371565b909950975060208a013591508082111561141557600080fd5b6114218b838c01611371565b909750955060408a0135915061143682610f7e565b9093506060890135908082111561144c57600080fd5b506114598a828b01611371565b989b979a50959850939692959293505050565b6000806040838503121561147f57600080fd5b823561148a81610f7e565b9150602083013567ffffffffffffffff8111156114a657600080fd5b830160e081860312156114b857600080fd5b809150509250929050565b60005b838110156114de5781810151838201526020016114c6565b50506000910152565b600060208083850312156114fa57600080fd5b825167ffffffffffffffff8082111561151257600080fd5b818501915085601f83011261152657600080fd5b815161153461100882610f5a565b81815260059190911b8301840190848101908883111561155357600080fd5b8585015b8381101561162c5780518581111561156f5760008081fd5b86016040818c037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0018113156115a55760008081fd5b6115ad610ee8565b898301516115ba81610f7e565b815282820151888111156115ce5760008081fd5b8084019350508c603f8401126115e45760008081fd5b898301516115f461100882610fa3565b8181528e848387010111156116095760008081fd5b611618828d83018688016114c3565b828c01525085525050918601918601611557565b5098975050505050505050565b60006020828403121561164b57600080fd5b8151801515811461165b57600080fd5b9392505050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261169757600080fd5b830160208101925035905067ffffffffffffffff8111156116b757600080fd5b8036038213156113b657600080fd5b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc183360301811261174357600080fd5b90910192915050565b60208082528181018390526000906040808401600586901b8501820187855b888110156117fb577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08884030184526117a4828b61170f565b80356117af81610f7e565b73ffffffffffffffffffffffffffffffffffffffff1684526117d381880182611662565b915086888601526117e787860183836116c6565b95880195945050509085019060010161176b565b509098975050505050505050565b600081518084526118218160208601602086016114c3565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60408082528181018490526000906060600586901b8401810190840187845b88811015611900577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa08785030183526118ab828b61170f565b6118b58182611662565b8787526118c588880182846116c6565b91505060206118d681840184611662565b9350878303828901526118ea8385836116c6565b9750509485019493909301925050600101611872565b5050508381036020850152610e628186611809565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b838110156117fb578883037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00185528151805173ffffffffffffffffffffffffffffffffffffffff16845287015187840187905261199c87850182611809565b958801959350509086019060010161193c565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611a3e57611a3e6119de565b5060010190565b600060208284031215611a5757600080fd5b813561165b81610f7e565b600060208284031215611a7457600080fd5b5051919050565b8082018082111561078d5761078d6119de565b60008251611aa08184602087016114c3565b9190910192915050565b60208152600061078a602083018461180956fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220b39e3b2a90e6bd0473199a0173dc96739e2bb42a9f25ad08f13a8812b265a09b64736f6c63430008130033000000000000000000000000e9e78109c89162cef32bfe7cbcee1f31312fc1f6000000000000000000000000a80558f2c28f5be7fd023d20f9355ebf8390af48
Deployed Bytecode
0x6080604052600436106100695760003560e01c80636e84ba2b116100435780636e84ba2b14610115578063ab57265014610135578063ffa1ad741461016957600080fd5b8063585da6281461007557806361d027b3146100975780636d8a43c1146100f557600080fd5b3661007057005b600080fd5b34801561008157600080fd5b506100956100903660046111e4565b610190565b005b3480156100a357600080fd5b506100cb7f000000000000000000000000a80558f2c28f5be7fd023d20f9355ebf8390af4881565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561010157600080fd5b506100956101103660046113bd565b61022f565b34801561012157600080fd5b5061009561013036600461146c565b6103d9565b34801561014157600080fd5b506100cb7f000000000000000000000000e9e78109c89162cef32bfe7cbcee1f31312fc1f681565b34801561017557600080fd5b5061017e600481565b60405160ff90911681526020016100ec565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000e9e78109c89162cef32bfe7cbcee1f31312fc1f61614610206576040517f4c14f64c0000000000000000000000000000000000000000000000000000000081523360048201526024015b60405180910390fd5b6102228180602001905181019061021d91906114e7565b610440565b61022b826104f3565b5050565b6040517fd63a8e110000000000000000000000000000000000000000000000000000000081523360048201527f000000000000000000000000a80558f2c28f5be7fd023d20f9355ebf8390af4873ffffffffffffffffffffffffffffffffffffffff169063d63a8e1190602401602060405180830381865afa1580156102b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102dd9190611639565b610315576040517f4c14f64c0000000000000000000000000000000000000000000000000000000081523360048201526024016101fd565b7f000000000000000000000000e9e78109c89162cef32bfe7cbcee1f31312fc1f673ffffffffffffffffffffffffffffffffffffffff166313fb72c78888888860405160200161036692919061174c565b6040516020818303038152906040526040518463ffffffff1660e01b815260040161039393929190611853565b600060405180830381600087803b1580156103ad57600080fd5b505af11580156103c1573d6000803e3d6000fd5b505050506103d0838383610647565b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff8216301461022b576040517f4c14f64c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff831660048201526024016101fd565b61022b73ca11bde05977b3631167028862be2a173976ca1163252dba4260e01b836040516024016104719190611915565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152610765565b60005b815181101561022b576000828281518110610513576105136119af565b6020026020010151905060005b81604001515181101561063257600082604001518281518110610545576105456119af565b602002602001015160000151905060008360400151838151811061056b5761056b6119af565b6020026020010151602001519050600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036105dc576105d77f000000000000000000000000e9e78109c89162cef32bfe7cbcee1f31312fc1f682610793565b61061d565b61061d73ffffffffffffffffffffffffffffffffffffffff83167f000000000000000000000000e9e78109c89162cef32bfe7cbcee1f31312fc1f6836108f2565b5050808061062a90611a0d565b915050610520565b5050808061063f90611a0d565b9150506104f6565b478015610658576106588482610793565b60005b8281101561075e576000848483818110610677576106776119af565b905060200201602081019061068c9190611a45565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290915060009073ffffffffffffffffffffffffffffffffffffffff8316906370a0823190602401602060405180830381865afa1580156106fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107209190611a62565b905080156107495761074973ffffffffffffffffffffffffffffffffffffffff83168883610a6f565b5050808061075690611a0d565b91505061065b565b5050505050565b606061078a8383604051806060016040528060278152602001611abe60279139610ac5565b90505b92915050565b804710156107fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016101fd565b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114610857576040519150601f19603f3d011682016040523d82523d6000602084013e61085c565b606091505b50509050806108ed576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016101fd565b505050565b6040517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff83811660248301526000919085169063dd62ed3e90604401602060405180830381865afa158015610968573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098c9190611a62565b9050610a69847f095ea7b300000000000000000000000000000000000000000000000000000000856109be8686611a7b565b60405173ffffffffffffffffffffffffffffffffffffffff909216602483015260448201526064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152610b4a565b50505050565b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526108ed9084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064016109e7565b60606000808573ffffffffffffffffffffffffffffffffffffffff1685604051610aef9190611a8e565b600060405180830381855af49150503d8060008114610b2a576040519150601f19603f3d011682016040523d82523d6000602084013e610b2f565b606091505b5091509150610b4086838387610c59565b9695505050505050565b6000610bac826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610d019092919063ffffffff16565b9050805160001480610bcd575080806020019051810190610bcd9190611639565b6108ed576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016101fd565b60608315610cef578251600003610ce85773ffffffffffffffffffffffffffffffffffffffff85163b610ce8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016101fd565b5081610cf9565b610cf98383610d10565b949350505050565b6060610cf98484600085610d54565b815115610d205781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101fd9190611aaa565b606082471015610de6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c000000000000000000000000000000000000000000000000000060648201526084016101fd565b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051610e0f9190611a8e565b60006040518083038185875af1925050503d8060008114610e4c576040519150601f19603f3d011682016040523d82523d6000602084013e610e51565b606091505b5091509150610e6287838387610c59565b979650505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040516060810167ffffffffffffffff81118282101715610ebf57610ebf610e6d565b60405290565b60405160a0810167ffffffffffffffff81118282101715610ebf57610ebf610e6d565b6040805190810167ffffffffffffffff81118282101715610ebf57610ebf610e6d565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715610f5257610f52610e6d565b604052919050565b600067ffffffffffffffff821115610f7457610f74610e6d565b5060051b60200190565b73ffffffffffffffffffffffffffffffffffffffff81168114610fa057600080fd5b50565b600067ffffffffffffffff821115610fbd57610fbd610e6d565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b600082601f830112610ffa57600080fd5b813561100d61100882610fa3565b610f0b565b81815284602083860101111561102257600080fd5b816020850160208301376000918101602001919091529392505050565b600060c0828403121561105157600080fd5b60405160c0810167ffffffffffffffff828210818311171561107557611075610e6d565b816040528293508435915061108982610f7e565b90825260208401359061109b82610f7e565b8160208401526040850135604084015260608501356060840152608085013591506110c582610f7e565b81608084015260a08501359150808211156110df57600080fd5b506110ec85828601610fe9565b60a0830152505092915050565b60006060828403121561110b57600080fd5b611113610e9c565b9050813561112081610f7e565b80825250602082013560208201526040820135604082015292915050565b600082601f83011261114f57600080fd5b8135602061115f61100883610f5a565b8281526060928302850182019282820191908785111561117e57600080fd5b8387015b858110156111d75781818a03121561119a5760008081fd5b6111a2610e9c565b81356111ad81610f7e565b815281860135868201526040808301356111c681610f7e565b908201528452928401928101611182565b5090979650505050505050565b600080604083850312156111f757600080fd5b823567ffffffffffffffff8082111561120f57600080fd5b818501915085601f83011261122357600080fd5b8135602061123361100883610f5a565b82815260059290921b8401810191818101908984111561125257600080fd5b8286015b848110156113435780358681111561126e5760008081fd5b870160e0818d037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0018113156112a45760008081fd5b6112ac610ec5565b86830135898111156112be5760008081fd5b6112cc8f898387010161103f565b8252506112dc8e604085016110f9565b8782015260a0830135898111156112f35760008081fd5b6113018f898387010161113e565b60408301525060c08301358981111561131a5760008081fd5b6113288f8983870101610fe9565b60608301525091013560808201528352918301918301611256565b509650508601359250508082111561135a57600080fd5b5061136785828601610fe9565b9150509250929050565b60008083601f84011261138357600080fd5b50813567ffffffffffffffff81111561139b57600080fd5b6020830191508360208260051b85010111156113b657600080fd5b9250929050565b60008060008060008060006080888a0312156113d857600080fd5b873567ffffffffffffffff808211156113f057600080fd5b6113fc8b838c01611371565b909950975060208a013591508082111561141557600080fd5b6114218b838c01611371565b909750955060408a0135915061143682610f7e565b9093506060890135908082111561144c57600080fd5b506114598a828b01611371565b989b979a50959850939692959293505050565b6000806040838503121561147f57600080fd5b823561148a81610f7e565b9150602083013567ffffffffffffffff8111156114a657600080fd5b830160e081860312156114b857600080fd5b809150509250929050565b60005b838110156114de5781810151838201526020016114c6565b50506000910152565b600060208083850312156114fa57600080fd5b825167ffffffffffffffff8082111561151257600080fd5b818501915085601f83011261152657600080fd5b815161153461100882610f5a565b81815260059190911b8301840190848101908883111561155357600080fd5b8585015b8381101561162c5780518581111561156f5760008081fd5b86016040818c037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0018113156115a55760008081fd5b6115ad610ee8565b898301516115ba81610f7e565b815282820151888111156115ce5760008081fd5b8084019350508c603f8401126115e45760008081fd5b898301516115f461100882610fa3565b8181528e848387010111156116095760008081fd5b611618828d83018688016114c3565b828c01525085525050918601918601611557565b5098975050505050505050565b60006020828403121561164b57600080fd5b8151801515811461165b57600080fd5b9392505050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261169757600080fd5b830160208101925035905067ffffffffffffffff8111156116b757600080fd5b8036038213156113b657600080fd5b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b600082357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc183360301811261174357600080fd5b90910192915050565b60208082528181018390526000906040808401600586901b8501820187855b888110156117fb577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc08884030184526117a4828b61170f565b80356117af81610f7e565b73ffffffffffffffffffffffffffffffffffffffff1684526117d381880182611662565b915086888601526117e787860183836116c6565b95880195945050509085019060010161176b565b509098975050505050505050565b600081518084526118218160208601602086016114c3565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60408082528181018490526000906060600586901b8401810190840187845b88811015611900577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa08785030183526118ab828b61170f565b6118b58182611662565b8787526118c588880182846116c6565b91505060206118d681840184611662565b9350878303828901526118ea8385836116c6565b9750509485019493909301925050600101611872565b5050508381036020850152610e628186611809565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b838110156117fb578883037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc00185528151805173ffffffffffffffffffffffffffffffffffffffff16845287015187840187905261199c87850182611809565b958801959350509086019060010161193c565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611a3e57611a3e6119de565b5060010190565b600060208284031215611a5757600080fd5b813561165b81610f7e565b600060208284031215611a7457600080fd5b5051919050565b8082018082111561078d5761078d6119de565b60008251611aa08184602087016114c3565b9190910192915050565b60208152600061078a602083018461180956fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220b39e3b2a90e6bd0473199a0173dc96739e2bb42a9f25ad08f13a8812b265a09b64736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000e9e78109c89162cef32bfe7cbcee1f31312fc1f6000000000000000000000000a80558f2c28f5be7fd023d20f9355ebf8390af48
-----Decoded View---------------
Arg [0] : _reactor (address): 0xe9E78109c89162cEF32Bfe7cBCEe1f31312fc1F6
Arg [1] : _treasury (address): 0xA80558F2C28f5bE7FD023d20f9355EbF8390AF48
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000e9e78109c89162cef32bfe7cbcee1f31312fc1f6
Arg [1] : 000000000000000000000000a80558f2c28f5be7fd023d20f9355ebf8390af48
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 35 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.