ETH Price: $3,929.27 (+1.75%)
Gas: 0.1 Gwei

Contract

0x10100dCac00088044067A00D520a0F7900000770
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

> 10 Internal Transactions and > 10 Token Transfers found.

Latest 25 internal transactions

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer236491612025-10-24 18:38:351 hr ago1761331115
0x10100dCa...900000770
0.00597165 ETH
Transfer236491612025-10-24 18:38:351 hr ago1761331115
0x10100dCa...900000770
0.00597165 ETH
Transfer236478912025-10-24 14:22:115 hrs ago1761315731
0x10100dCa...900000770
12.76211885 ETH
Transfer236478912025-10-24 14:22:115 hrs ago1761315731
0x10100dCa...900000770
12.76211885 ETH
Transfer236466292025-10-24 10:08:119 hrs ago1761300491
0x10100dCa...900000770
0.02212543 ETH
Transfer236466292025-10-24 10:08:119 hrs ago1761300491
0x10100dCa...900000770
0.00000001 ETH
Transfer236466292025-10-24 10:08:119 hrs ago1761300491
0x10100dCa...900000770
0.02212544 ETH
Transfer236438082025-10-24 0:37:5919 hrs ago1761266279
0x10100dCa...900000770
0.00299444 ETH
Transfer236438082025-10-24 0:37:5919 hrs ago1761266279
0x10100dCa...900000770
0 ETH
Transfer236438082025-10-24 0:37:5919 hrs ago1761266279
0x10100dCa...900000770
0.00299444 ETH
Transfer236435272025-10-23 23:41:2320 hrs ago1761262883
0x10100dCa...900000770
0.01956282 ETH
Transfer236435272025-10-23 23:41:2320 hrs ago1761262883
0x10100dCa...900000770
0.01956282 ETH
Transfer236425572025-10-23 20:23:5923 hrs ago1761251039
0x10100dCa...900000770
0.10743173 ETH
Transfer236425572025-10-23 20:23:5923 hrs ago1761251039
0x10100dCa...900000770
0.0000001 ETH
Transfer236425572025-10-23 20:23:5923 hrs ago1761251039
0x10100dCa...900000770
0.10743183 ETH
Transfer236419482025-10-23 18:20:5925 hrs ago1761243659
0x10100dCa...900000770
0.02180312 ETH
Transfer236419482025-10-23 18:20:5925 hrs ago1761243659
0x10100dCa...900000770
0.00001168 ETH
Transfer236419482025-10-23 18:20:5925 hrs ago1761243659
0x10100dCa...900000770
0.02181481 ETH
Transfer236419062025-10-23 18:12:3525 hrs ago1761243155
0x10100dCa...900000770
0.00010802 ETH
Transfer236419062025-10-23 18:12:3525 hrs ago1761243155
0x10100dCa...900000770
0 ETH
Transfer236419062025-10-23 18:12:3525 hrs ago1761243155
0x10100dCa...900000770
0.00010802 ETH
Transfer236408512025-10-23 14:38:4729 hrs ago1761230327
0x10100dCa...900000770
3.96742759 ETH
Transfer236408512025-10-23 14:38:4729 hrs ago1761230327
0x10100dCa...900000770
0 ETH
Transfer236408512025-10-23 14:38:4729 hrs ago1761230327
0x10100dCa...900000770
3.96742759 ETH
Transfer236402952025-10-23 12:47:2331 hrs ago1761223643
0x10100dCa...900000770
0.00050213 ETH
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AugustusExecutorV2

Compiler Version
v0.8.25+commit.b61c2a91

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
cancun EvmVersion
// SPDX-License-Identifier: MIT
pragma solidity 0.8.25;

// Interfaces
import { IExecutor } from "@executors/interfaces/IExecutor.sol";

// Libraries
import { ExecutorLib } from "@executors/libraries/ExecutorLib.sol";
import { SafeTransferLib } from "@solady/utils/SafeTransferLib.sol";

/*//////////////////////////////////////////////////////////////
                               STRUCTS
//////////////////////////////////////////////////////////////*/

/// @notice Executor data struct, containing all data required to execute a swap
/// @param executorCalldata The calldata to execute
/// @param feeRecipient The address to receive the fee
/// @param srcToken The address of the src token to approve for the swap, if set to 0x0, no approval is needed
/// @param destToken The address of the dest token
/// @param quotedAmount The quoted amount of tokens
struct ExecutorData {
    bytes executionCalldata;
    address feeRecipient;
    address srcToken;
    address destToken;
    uint256 quotedAmount;
}

contract AugustusExecutorV2 {
    /*//////////////////////////////////////////////////////////////
                                ERRORS
    //////////////////////////////////////////////////////////////*/

    /// @notice Emitted when the execution of calldata fails
    error ExecutionFailed();

    /*//////////////////////////////////////////////////////////////
                               LIBRARIES
    //////////////////////////////////////////////////////////////*/

    using ExecutorLib for address;
    using SafeTransferLib for address;

    /*//////////////////////////////////////////////////////////////
                               CONSTANTS
    //////////////////////////////////////////////////////////////*/

    /// @notice Augustus V6 address
    address public immutable AUGUSTUS_V6;

    /// @notice Augustus V6 `swapExactAmountInOutOnMakerPSM` method signature
    bytes4 private constant MAKER_PSM_METHOD_SIG = bytes4(0x987e7d8e);

    /// @notice Augustus V6 `swapOnAugustusRFQTryBatchFill` method signature
    bytes4 private constant AUGUSTUS_RFQ_METHOD_SIG = bytes4(0xda35bb0d);

    /*//////////////////////////////////////////////////////////////
                               CONSTRUCTOR
    //////////////////////////////////////////////////////////////*/

    /// @param _augustusV6 The address of the Augustus V6 contract
    constructor(address _augustusV6) {
        AUGUSTUS_V6 = _augustusV6;
    }

    /*//////////////////////////////////////////////////////////////
                               EXECUTE
    //////////////////////////////////////////////////////////////*/

    /// @notice Executes the provided executor data
    /// @param executorData The data to execute
    /// @return feeAmount The amount of fee to be paid for the swap
    function execute(bytes calldata executorData) external returns (uint256) {
        // Parse the executor data
        ExecutorData memory data = abi.decode(executorData, (ExecutorData));

        // Approve src token to the execution address if address is not 0x0
        if (data.srcToken != address(0)) {
            data.srcToken.safeApproveWithRetry(AUGUSTUS_V6, type(uint256).max);
        }

        // Execute the calldata on AUGUSTUS_V6, reverting on failure
        (bool success, bytes memory returnData) = AUGUSTUS_V6.call(data.executionCalldata);
        if (!success) {
            revert ExecutionFailed();
        }

        // Decode received amount
        bytes4 augustusMethodSig = bytes4(data.executionCalldata);
        uint256 receivedAmountOffset =
            augustusMethodSig == MAKER_PSM_METHOD_SIG || augustusMethodSig == AUGUSTUS_RFQ_METHOD_SIG ? 0x20 : 0;

        uint256 receivedAmount;

        assembly {
            receivedAmount := mload(add(add(returnData, 0x20), receivedAmountOffset))
        }

        // Calculate fee
        uint256 feeAmount = receivedAmount > data.quotedAmount ? receivedAmount - data.quotedAmount : 0;

        // Transfer the fees and output amount
        msg.sender.transferFeesAndETH(data.feeRecipient, data.destToken, feeAmount);

        return feeAmount;
    }

    /*//////////////////////////////////////////////////////////////
                                RECEIVE
    //////////////////////////////////////////////////////////////*/

    /// @notice Fallback function to receive native ETH
    receive() external payable { }
}

// SPDX-License-Identifier: MIT
pragma solidity 0.8.25;

/// @title IExecutor
/// @notice Interface for executor contracts on Portikus
interface IExecutor {
    /*//////////////////////////////////////////////////////////////
                                 ERRORS
    //////////////////////////////////////////////////////////////*/

    /// @notice Emitted when the execution of calldata fails
    error ExecutionFailed();

    /*//////////////////////////////////////////////////////////////
                                EXTERNAL
    //////////////////////////////////////////////////////////////*/

    /// @notice Executes the provided executor data
    /// @param executorData The data to execute
    function execute(bytes calldata executorData) external;
}

// SPDX-License-Identifier: MIT
pragma solidity 0.8.25;

// Interfaces
import { IERC20 } from "@openzeppelin/token/ERC20/IERC20.sol";

// Libraries
import { SafeTransferLib } from "@solady/utils/SafeTransferLib.sol";

/// @title ExecutorLib
/// @dev Library with functions that can be reused by Executor contracts
library ExecutorLib {
    /*//////////////////////////////////////////////////////////////
                               LIBRARIES
    //////////////////////////////////////////////////////////////*/

    using SafeTransferLib for address;

    /*//////////////////////////////////////////////////////////////
                               CONSTANTS
    //////////////////////////////////////////////////////////////*/

    /// @notice Native ETH address
    address internal constant ETH_ADDRESS = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;

    /*//////////////////////////////////////////////////////////////
                                STRUCTS
    //////////////////////////////////////////////////////////////*/

    /// @notice Executor data struct, containing all data required to execute a swap
    struct ExecutorData {
        // The address of the src token
        address srcToken;
        // The address of the dest token
        address destToken;
        // The amount of fee to be paid for the swap
        uint256 feeAmount;
        // The calldata to execute the swap
        bytes calldataToExecute;
        // The address to execute the swap
        address executionAddress;
        // The address to receive the fee, if not set the tx.origin will receive the fee
        address feeRecipient;
    }

    /*//////////////////////////////////////////////////////////////
                                  FEES
    //////////////////////////////////////////////////////////////*/

    /// @dev Transfers ERC20 or native ETH fees to the fee recipient, transfer native ETH or ERC20 to recipient
    /// @param recipient The address to transfer the funds to
    /// @param feeRecipient The address to transfer the fees to
    /// @param destToken The address of the dest token
    /// @param feeAmount The amount of fee to transfer
    function transferFeesAndETH(
        address recipient,
        address feeRecipient,
        address destToken,
        uint256 feeAmount
    )
        internal
    {
        // If the fee recipient is not set, set it to tx.origin
        feeRecipient = feeRecipient == address(0) ? tx.origin : feeRecipient;
        // If the destToken is ETH, transfer fee amount to the owner,
        // and the remaining balance to the PortikusV1 contract. Otherwise,
        // ERC20 transfer the fee amount to the owner
        if (destToken == ETH_ADDRESS) {
            if (feeAmount > 0) {
                // Transfer the fee amount to the fee recipient
                feeRecipient.safeTransferETH(feeAmount);
            }
            // Transfer the remaining balance to the PortikusV1 contract
            recipient.safeTransferETH(address(this).balance);
        } else {
            if (feeAmount > 0) {
                // Transfer the fee amount to the fee recipient or tx.origin if not set
                destToken.safeTransfer(feeRecipient, feeAmount);
            }
            // Transfer the remaining balance to the recipient, deducting 1 wei for gas optimization
            destToken.safeTransfer(recipient, IERC20(destToken).balanceOf(address(this)) - 1);
        }
    }
}

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

/// @notice Safe ETH and ERC20 transfer library that gracefully handles missing return values.
/// @author Solady (https://github.com/vectorized/solady/blob/main/src/utils/SafeTransferLib.sol)
/// @author Modified from Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/SafeTransferLib.sol)
/// @author Permit2 operations from (https://github.com/Uniswap/permit2/blob/main/src/libraries/Permit2Lib.sol)
///
/// @dev Note:
/// - For ETH transfers, please use `forceSafeTransferETH` for DoS protection.
library SafeTransferLib {
    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                       CUSTOM ERRORS                        */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev The ETH transfer has failed.
    error ETHTransferFailed();

    /// @dev The ERC20 `transferFrom` has failed.
    error TransferFromFailed();

    /// @dev The ERC20 `transfer` has failed.
    error TransferFailed();

    /// @dev The ERC20 `approve` has failed.
    error ApproveFailed();

    /// @dev The Permit2 operation has failed.
    error Permit2Failed();

    /// @dev The Permit2 amount must be less than `2**160 - 1`.
    error Permit2AmountOverflow();

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                         CONSTANTS                          */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Suggested gas stipend for contract receiving ETH that disallows any storage writes.
    uint256 internal constant GAS_STIPEND_NO_STORAGE_WRITES = 2300;

    /// @dev Suggested gas stipend for contract receiving ETH to perform a few
    /// storage reads and writes, but low enough to prevent griefing.
    uint256 internal constant GAS_STIPEND_NO_GRIEF = 100000;

    /// @dev The unique EIP-712 domain domain separator for the DAI token contract.
    bytes32 internal constant DAI_DOMAIN_SEPARATOR =
        0xdbb8cf42e1ecb028be3f3dbc922e1d878b963f411dc388ced501601c60f7c6f7;

    /// @dev The address for the WETH9 contract on Ethereum mainnet.
    address internal constant WETH9 = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;

    /// @dev The canonical Permit2 address.
    /// [Github](https://github.com/Uniswap/permit2)
    /// [Etherscan](https://etherscan.io/address/0x000000000022D473030F116dDEE9F6B43aC78BA3)
    address internal constant PERMIT2 = 0x000000000022D473030F116dDEE9F6B43aC78BA3;

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                       ETH OPERATIONS                       */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    // If the ETH transfer MUST succeed with a reasonable gas budget, use the force variants.
    //
    // The regular variants:
    // - Forwards all remaining gas to the target.
    // - Reverts if the target reverts.
    // - Reverts if the current contract has insufficient balance.
    //
    // The force variants:
    // - Forwards with an optional gas stipend
    //   (defaults to `GAS_STIPEND_NO_GRIEF`, which is sufficient for most cases).
    // - If the target reverts, or if the gas stipend is exhausted,
    //   creates a temporary contract to force send the ETH via `SELFDESTRUCT`.
    //   Future compatible with `SENDALL`: https://eips.ethereum.org/EIPS/eip-4758.
    // - Reverts if the current contract has insufficient balance.
    //
    // The try variants:
    // - Forwards with a mandatory gas stipend.
    // - Instead of reverting, returns whether the transfer succeeded.

    /// @dev Sends `amount` (in wei) ETH to `to`.
    function safeTransferETH(address to, uint256 amount) internal {
        /// @solidity memory-safe-assembly
        assembly {
            if iszero(call(gas(), to, amount, codesize(), 0x00, codesize(), 0x00)) {
                mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.
                revert(0x1c, 0x04)
            }
        }
    }

    /// @dev Sends all the ETH in the current contract to `to`.
    function safeTransferAllETH(address to) internal {
        /// @solidity memory-safe-assembly
        assembly {
            // Transfer all the ETH and check if it succeeded or not.
            if iszero(call(gas(), to, selfbalance(), codesize(), 0x00, codesize(), 0x00)) {
                mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.
                revert(0x1c, 0x04)
            }
        }
    }

    /// @dev Force sends `amount` (in wei) ETH to `to`, with a `gasStipend`.
    function forceSafeTransferETH(address to, uint256 amount, uint256 gasStipend) internal {
        /// @solidity memory-safe-assembly
        assembly {
            if lt(selfbalance(), amount) {
                mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.
                revert(0x1c, 0x04)
            }
            if iszero(call(gasStipend, to, amount, codesize(), 0x00, codesize(), 0x00)) {
                mstore(0x00, to) // Store the address in scratch space.
                mstore8(0x0b, 0x73) // Opcode `PUSH20`.
                mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.
                if iszero(create(amount, 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.
            }
        }
    }

    /// @dev Force sends all the ETH in the current contract to `to`, with a `gasStipend`.
    function forceSafeTransferAllETH(address to, uint256 gasStipend) internal {
        /// @solidity memory-safe-assembly
        assembly {
            if iszero(call(gasStipend, to, selfbalance(), codesize(), 0x00, codesize(), 0x00)) {
                mstore(0x00, to) // Store the address in scratch space.
                mstore8(0x0b, 0x73) // Opcode `PUSH20`.
                mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.
                if iszero(create(selfbalance(), 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.
            }
        }
    }

    /// @dev Force sends `amount` (in wei) ETH to `to`, with `GAS_STIPEND_NO_GRIEF`.
    function forceSafeTransferETH(address to, uint256 amount) internal {
        /// @solidity memory-safe-assembly
        assembly {
            if lt(selfbalance(), amount) {
                mstore(0x00, 0xb12d13eb) // `ETHTransferFailed()`.
                revert(0x1c, 0x04)
            }
            if iszero(call(GAS_STIPEND_NO_GRIEF, to, amount, codesize(), 0x00, codesize(), 0x00)) {
                mstore(0x00, to) // Store the address in scratch space.
                mstore8(0x0b, 0x73) // Opcode `PUSH20`.
                mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.
                if iszero(create(amount, 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.
            }
        }
    }

    /// @dev Force sends all the ETH in the current contract to `to`, with `GAS_STIPEND_NO_GRIEF`.
    function forceSafeTransferAllETH(address to) internal {
        /// @solidity memory-safe-assembly
        assembly {
            // forgefmt: disable-next-item
            if iszero(call(GAS_STIPEND_NO_GRIEF, to, selfbalance(), codesize(), 0x00, codesize(), 0x00)) {
                mstore(0x00, to) // Store the address in scratch space.
                mstore8(0x0b, 0x73) // Opcode `PUSH20`.
                mstore8(0x20, 0xff) // Opcode `SELFDESTRUCT`.
                if iszero(create(selfbalance(), 0x0b, 0x16)) { revert(codesize(), codesize()) } // For gas estimation.
            }
        }
    }

    /// @dev Sends `amount` (in wei) ETH to `to`, with a `gasStipend`.
    function trySafeTransferETH(address to, uint256 amount, uint256 gasStipend)
        internal
        returns (bool success)
    {
        /// @solidity memory-safe-assembly
        assembly {
            success := call(gasStipend, to, amount, codesize(), 0x00, codesize(), 0x00)
        }
    }

    /// @dev Sends all the ETH in the current contract to `to`, with a `gasStipend`.
    function trySafeTransferAllETH(address to, uint256 gasStipend)
        internal
        returns (bool success)
    {
        /// @solidity memory-safe-assembly
        assembly {
            success := call(gasStipend, to, selfbalance(), codesize(), 0x00, codesize(), 0x00)
        }
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                      ERC20 OPERATIONS                      */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Sends `amount` of ERC20 `token` from `from` to `to`.
    /// Reverts upon failure.
    ///
    /// The `from` account must have at least `amount` approved for
    /// the current contract to manage.
    function safeTransferFrom(address token, address from, address to, uint256 amount) internal {
        /// @solidity memory-safe-assembly
        assembly {
            let m := mload(0x40) // Cache the free memory pointer.
            mstore(0x60, amount) // Store the `amount` argument.
            mstore(0x40, to) // Store the `to` argument.
            mstore(0x2c, shl(96, from)) // Store the `from` argument.
            mstore(0x0c, 0x23b872dd000000000000000000000000) // `transferFrom(address,address,uint256)`.
            let success := call(gas(), token, 0, 0x1c, 0x64, 0x00, 0x20)
            if iszero(and(eq(mload(0x00), 1), success)) {
                if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {
                    mstore(0x00, 0x7939f424) // `TransferFromFailed()`.
                    revert(0x1c, 0x04)
                }
            }
            mstore(0x60, 0) // Restore the zero slot to zero.
            mstore(0x40, m) // Restore the free memory pointer.
        }
    }

    /// @dev Sends `amount` of ERC20 `token` from `from` to `to`.
    ///
    /// The `from` account must have at least `amount` approved for the current contract to manage.
    function trySafeTransferFrom(address token, address from, address to, uint256 amount)
        internal
        returns (bool success)
    {
        /// @solidity memory-safe-assembly
        assembly {
            let m := mload(0x40) // Cache the free memory pointer.
            mstore(0x60, amount) // Store the `amount` argument.
            mstore(0x40, to) // Store the `to` argument.
            mstore(0x2c, shl(96, from)) // Store the `from` argument.
            mstore(0x0c, 0x23b872dd000000000000000000000000) // `transferFrom(address,address,uint256)`.
            success := call(gas(), token, 0, 0x1c, 0x64, 0x00, 0x20)
            if iszero(and(eq(mload(0x00), 1), success)) {
                success := lt(or(iszero(extcodesize(token)), returndatasize()), success)
            }
            mstore(0x60, 0) // Restore the zero slot to zero.
            mstore(0x40, m) // Restore the free memory pointer.
        }
    }

    /// @dev Sends all of ERC20 `token` from `from` to `to`.
    /// Reverts upon failure.
    ///
    /// The `from` account must have their entire balance approved for the current contract to manage.
    function safeTransferAllFrom(address token, address from, address to)
        internal
        returns (uint256 amount)
    {
        /// @solidity memory-safe-assembly
        assembly {
            let m := mload(0x40) // Cache the free memory pointer.
            mstore(0x40, to) // Store the `to` argument.
            mstore(0x2c, shl(96, from)) // Store the `from` argument.
            mstore(0x0c, 0x70a08231000000000000000000000000) // `balanceOf(address)`.
            // Read the balance, reverting upon failure.
            if iszero(
                and( // The arguments of `and` are evaluated from right to left.
                    gt(returndatasize(), 0x1f), // At least 32 bytes returned.
                    staticcall(gas(), token, 0x1c, 0x24, 0x60, 0x20)
                )
            ) {
                mstore(0x00, 0x7939f424) // `TransferFromFailed()`.
                revert(0x1c, 0x04)
            }
            mstore(0x00, 0x23b872dd) // `transferFrom(address,address,uint256)`.
            amount := mload(0x60) // The `amount` is already at 0x60. We'll need to return it.
            // Perform the transfer, reverting upon failure.
            let success := call(gas(), token, 0, 0x1c, 0x64, 0x00, 0x20)
            if iszero(and(eq(mload(0x00), 1), success)) {
                if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {
                    mstore(0x00, 0x7939f424) // `TransferFromFailed()`.
                    revert(0x1c, 0x04)
                }
            }
            mstore(0x60, 0) // Restore the zero slot to zero.
            mstore(0x40, m) // Restore the free memory pointer.
        }
    }

    /// @dev Sends `amount` of ERC20 `token` from the current contract to `to`.
    /// Reverts upon failure.
    function safeTransfer(address token, address to, uint256 amount) internal {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x14, to) // Store the `to` argument.
            mstore(0x34, amount) // Store the `amount` argument.
            mstore(0x00, 0xa9059cbb000000000000000000000000) // `transfer(address,uint256)`.
            // Perform the transfer, reverting upon failure.
            let success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)
            if iszero(and(eq(mload(0x00), 1), success)) {
                if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {
                    mstore(0x00, 0x90b8ec18) // `TransferFailed()`.
                    revert(0x1c, 0x04)
                }
            }
            mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.
        }
    }

    /// @dev Sends all of ERC20 `token` from the current contract to `to`.
    /// Reverts upon failure.
    function safeTransferAll(address token, address to) internal returns (uint256 amount) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, 0x70a08231) // Store the function selector of `balanceOf(address)`.
            mstore(0x20, address()) // Store the address of the current contract.
            // Read the balance, reverting upon failure.
            if iszero(
                and( // The arguments of `and` are evaluated from right to left.
                    gt(returndatasize(), 0x1f), // At least 32 bytes returned.
                    staticcall(gas(), token, 0x1c, 0x24, 0x34, 0x20)
                )
            ) {
                mstore(0x00, 0x90b8ec18) // `TransferFailed()`.
                revert(0x1c, 0x04)
            }
            mstore(0x14, to) // Store the `to` argument.
            amount := mload(0x34) // The `amount` is already at 0x34. We'll need to return it.
            mstore(0x00, 0xa9059cbb000000000000000000000000) // `transfer(address,uint256)`.
            // Perform the transfer, reverting upon failure.
            let success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)
            if iszero(and(eq(mload(0x00), 1), success)) {
                if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {
                    mstore(0x00, 0x90b8ec18) // `TransferFailed()`.
                    revert(0x1c, 0x04)
                }
            }
            mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.
        }
    }

    /// @dev Sets `amount` of ERC20 `token` for `to` to manage on behalf of the current contract.
    /// Reverts upon failure.
    function safeApprove(address token, address to, uint256 amount) internal {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x14, to) // Store the `to` argument.
            mstore(0x34, amount) // Store the `amount` argument.
            mstore(0x00, 0x095ea7b3000000000000000000000000) // `approve(address,uint256)`.
            let success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)
            if iszero(and(eq(mload(0x00), 1), success)) {
                if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {
                    mstore(0x00, 0x3e3f8f73) // `ApproveFailed()`.
                    revert(0x1c, 0x04)
                }
            }
            mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.
        }
    }

    /// @dev Sets `amount` of ERC20 `token` for `to` to manage on behalf of the current contract.
    /// If the initial attempt to approve fails, attempts to reset the approved amount to zero,
    /// then retries the approval again (some tokens, e.g. USDT, requires this).
    /// Reverts upon failure.
    function safeApproveWithRetry(address token, address to, uint256 amount) internal {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x14, to) // Store the `to` argument.
            mstore(0x34, amount) // Store the `amount` argument.
            mstore(0x00, 0x095ea7b3000000000000000000000000) // `approve(address,uint256)`.
            // Perform the approval, retrying upon failure.
            let success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)
            if iszero(and(eq(mload(0x00), 1), success)) {
                if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {
                    mstore(0x34, 0) // Store 0 for the `amount`.
                    mstore(0x00, 0x095ea7b3000000000000000000000000) // `approve(address,uint256)`.
                    pop(call(gas(), token, 0, 0x10, 0x44, codesize(), 0x00)) // Reset the approval.
                    mstore(0x34, amount) // Store back the original `amount`.
                    // Retry the approval, reverting upon failure.
                    success := call(gas(), token, 0, 0x10, 0x44, 0x00, 0x20)
                    if iszero(and(eq(mload(0x00), 1), success)) {
                        // Check the `extcodesize` again just in case the token selfdestructs lol.
                        if iszero(lt(or(iszero(extcodesize(token)), returndatasize()), success)) {
                            mstore(0x00, 0x3e3f8f73) // `ApproveFailed()`.
                            revert(0x1c, 0x04)
                        }
                    }
                }
            }
            mstore(0x34, 0) // Restore the part of the free memory pointer that was overwritten.
        }
    }

    /// @dev Returns the amount of ERC20 `token` owned by `account`.
    /// Returns zero if the `token` does not exist.
    function balanceOf(address token, address account) internal view returns (uint256 amount) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x14, account) // Store the `account` argument.
            mstore(0x00, 0x70a08231000000000000000000000000) // `balanceOf(address)`.
            amount :=
                mul( // The arguments of `mul` are evaluated from right to left.
                    mload(0x20),
                    and( // The arguments of `and` are evaluated from right to left.
                        gt(returndatasize(), 0x1f), // At least 32 bytes returned.
                        staticcall(gas(), token, 0x10, 0x24, 0x20, 0x20)
                    )
                )
        }
    }

    /// @dev Sends `amount` of ERC20 `token` from `from` to `to`.
    /// If the initial attempt fails, try to use Permit2 to transfer the token.
    /// Reverts upon failure.
    ///
    /// The `from` account must have at least `amount` approved for the current contract to manage.
    function safeTransferFrom2(address token, address from, address to, uint256 amount) internal {
        if (!trySafeTransferFrom(token, from, to, amount)) {
            permit2TransferFrom(token, from, to, amount);
        }
    }

    /// @dev Sends `amount` of ERC20 `token` from `from` to `to` via Permit2.
    /// Reverts upon failure.
    function permit2TransferFrom(address token, address from, address to, uint256 amount)
        internal
    {
        /// @solidity memory-safe-assembly
        assembly {
            let m := mload(0x40)
            mstore(add(m, 0x74), shr(96, shl(96, token)))
            mstore(add(m, 0x54), amount)
            mstore(add(m, 0x34), to)
            mstore(add(m, 0x20), shl(96, from))
            // `transferFrom(address,address,uint160,address)`.
            mstore(m, 0x36c78516000000000000000000000000)
            let p := PERMIT2
            let exists := eq(chainid(), 1)
            if iszero(exists) { exists := iszero(iszero(extcodesize(p))) }
            if iszero(
                and(
                    call(gas(), p, 0, add(m, 0x10), 0x84, codesize(), 0x00),
                    lt(iszero(extcodesize(token)), exists) // Token has code and Permit2 exists.
                )
            ) {
                mstore(0x00, 0x7939f4248757f0fd) // `TransferFromFailed()` or `Permit2AmountOverflow()`.
                revert(add(0x18, shl(2, iszero(iszero(shr(160, amount))))), 0x04)
            }
        }
    }

    /// @dev Permit a user to spend a given amount of
    /// another user's tokens via native EIP-2612 permit if possible, falling
    /// back to Permit2 if native permit fails or is not implemented on the token.
    function permit2(
        address token,
        address owner,
        address spender,
        uint256 amount,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        bool success;
        /// @solidity memory-safe-assembly
        assembly {
            for {} shl(96, xor(token, WETH9)) {} {
                mstore(0x00, 0x3644e515) // `DOMAIN_SEPARATOR()`.
                if iszero(
                    and( // The arguments of `and` are evaluated from right to left.
                        lt(iszero(mload(0x00)), eq(returndatasize(), 0x20)), // Returns 1 non-zero word.
                        // Gas stipend to limit gas burn for tokens that don't refund gas when
                        // an non-existing function is called. 5K should be enough for a SLOAD.
                        staticcall(5000, token, 0x1c, 0x04, 0x00, 0x20)
                    )
                ) { break }
                // After here, we can be sure that token is a contract.
                let m := mload(0x40)
                mstore(add(m, 0x34), spender)
                mstore(add(m, 0x20), shl(96, owner))
                mstore(add(m, 0x74), deadline)
                if eq(mload(0x00), DAI_DOMAIN_SEPARATOR) {
                    mstore(0x14, owner)
                    mstore(0x00, 0x7ecebe00000000000000000000000000) // `nonces(address)`.
                    mstore(add(m, 0x94), staticcall(gas(), token, 0x10, 0x24, add(m, 0x54), 0x20))
                    mstore(m, 0x8fcbaf0c000000000000000000000000) // `IDAIPermit.permit`.
                    // `nonces` is already at `add(m, 0x54)`.
                    // `1` is already stored at `add(m, 0x94)`.
                    mstore(add(m, 0xb4), and(0xff, v))
                    mstore(add(m, 0xd4), r)
                    mstore(add(m, 0xf4), s)
                    success := call(gas(), token, 0, add(m, 0x10), 0x104, codesize(), 0x00)
                    break
                }
                mstore(m, 0xd505accf000000000000000000000000) // `IERC20Permit.permit`.
                mstore(add(m, 0x54), amount)
                mstore(add(m, 0x94), and(0xff, v))
                mstore(add(m, 0xb4), r)
                mstore(add(m, 0xd4), s)
                success := call(gas(), token, 0, add(m, 0x10), 0xe4, codesize(), 0x00)
                break
            }
        }
        if (!success) simplePermit2(token, owner, spender, amount, deadline, v, r, s);
    }

    /// @dev Simple permit on the Permit2 contract.
    function simplePermit2(
        address token,
        address owner,
        address spender,
        uint256 amount,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        /// @solidity memory-safe-assembly
        assembly {
            let m := mload(0x40)
            mstore(m, 0x927da105) // `allowance(address,address,address)`.
            {
                let addressMask := shr(96, not(0))
                mstore(add(m, 0x20), and(addressMask, owner))
                mstore(add(m, 0x40), and(addressMask, token))
                mstore(add(m, 0x60), and(addressMask, spender))
                mstore(add(m, 0xc0), and(addressMask, spender))
            }
            let p := mul(PERMIT2, iszero(shr(160, amount)))
            if iszero(
                and( // The arguments of `and` are evaluated from right to left.
                    gt(returndatasize(), 0x5f), // Returns 3 words: `amount`, `expiration`, `nonce`.
                    staticcall(gas(), p, add(m, 0x1c), 0x64, add(m, 0x60), 0x60)
                )
            ) {
                mstore(0x00, 0x6b836e6b8757f0fd) // `Permit2Failed()` or `Permit2AmountOverflow()`.
                revert(add(0x18, shl(2, iszero(p))), 0x04)
            }
            mstore(m, 0x2b67b570) // `Permit2.permit` (PermitSingle variant).
            // `owner` is already `add(m, 0x20)`.
            // `token` is already at `add(m, 0x40)`.
            mstore(add(m, 0x60), amount)
            mstore(add(m, 0x80), 0xffffffffffff) // `expiration = type(uint48).max`.
            // `nonce` is already at `add(m, 0xa0)`.
            // `spender` is already at `add(m, 0xc0)`.
            mstore(add(m, 0xe0), deadline)
            mstore(add(m, 0x100), 0x100) // `signature` offset.
            mstore(add(m, 0x120), 0x41) // `signature` length.
            mstore(add(m, 0x140), r)
            mstore(add(m, 0x160), s)
            mstore(add(m, 0x180), shl(248, v))
            if iszero( // Revert if token does not have code, or if the call fails.
            mul(extcodesize(token), call(gas(), p, 0, add(m, 0x1c), 0x184, codesize(), 0x00))) {
                mstore(0x00, 0x6b836e6b) // `Permit2Failed()`.
                revert(0x1c, 0x04)
            }
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC-20 standard as defined in the ERC.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the value of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 value) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 value) external returns (bool);
}

Settings
{
  "remappings": [
    "@forge-std/=lib/forge-std/src/",
    "@interfaces/=src/interfaces/",
    "@types/=src/types/",
    "@libraries/=src/libraries/",
    "@solady/=lib/solady/src/",
    "@prb-test/=lib/prb-test/src/",
    "@openzeppelin/=lib/openzeppelin-contracts/contracts/",
    "@admin/=src/admin/",
    "@executors/=src/executors/",
    "@mocks/=test/mocks/",
    "@factory/=src/factory/",
    "@registry/=src/registry/",
    "@modules/=src/modules/",
    "@adapter/=src/adapter/",
    "@test/=test/",
    "@create3/=lib/create3-factory/src/",
    "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
    "create3-factory/=lib/create3-factory/",
    "ds-test/=lib/create3-factory/lib/forge-std/lib/ds-test/src/",
    "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
    "forge-std/=lib/forge-std/src/",
    "halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "prb-test/=lib/prb-test/src/",
    "solady/=lib/solady/src/",
    "solmate/=lib/create3-factory/lib/solmate/src/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 1000000
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "none",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "cancun",
  "viaIR": false,
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_augustusV6","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ExecutionFailed","type":"error"},{"inputs":[],"name":"AUGUSTUS_V6","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"executorData","type":"bytes"}],"name":"execute","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a0604052348015600e575f80fd5b50604051610954380380610954833981016040819052602b91603b565b6001600160a01b03166080526066565b5f60208284031215604a575f80fd5b81516001600160a01b0381168114605f575f80fd5b9392505050565b6080516108c961008b5f395f8181607901528181610112015261015b01526108c95ff3fe60806040526004361061002b575f3560e01c806309c5eabe1461003657806382f334b114610068575f80fd5b3661003257005b5f80fd5b348015610041575f80fd5b506100556100503660046105bc565b6100c0565b6040519081526020015b60405180910390f35b348015610073575f80fd5b5061009b7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161005f565b5f806100ce838501856106f5565b604081015190915073ffffffffffffffffffffffffffffffffffffffff16156101575760408101516101579073ffffffffffffffffffffffffffffffffffffffff167f00000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610322565b5f807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16835f01516040516101a19190610808565b5f604051808303815f865af19150503d805f81146101da576040519150601f19603f3d011682016040523d82523d5f602084013e6101df565b606091505b50915091508161021b576040517facfdb44400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82515f906102289061081e565b90505f7fffffffff0000000000000000000000000000000000000000000000000000000082167f987e7d8e0000000000000000000000000000000000000000000000000000000014806102bc57507fffffffff0000000000000000000000000000000000000000000000000000000082167fda35bb0d00000000000000000000000000000000000000000000000000000000145b6102c6575f6102c9565b60205b60ff1690505f8160208501015190505f866080015182116102ea575f6102f9565b60808701516102f9908361086d565b6020880151606089015191925061031391339190846103be565b96505050505050505b92915050565b81601452806034526f095ea7b30000000000000000000000005f5260205f604460105f875af18060015f5114166103b457803d853b1517106103b4575f6034526f095ea7b30000000000000000000000005f525f38604460105f885af1508160345260205f604460105f885af190508060015f5114166103b457803d853b1517106103b457633e3f8f735f526004601cfd5b505f603452505050565b73ffffffffffffffffffffffffffffffffffffffff8316156103e057826103e2565b325b92507fffffffffffffffffffffffff111111111111111111111111111111111111111273ffffffffffffffffffffffffffffffffffffffff83160161046c5780156104475761044773ffffffffffffffffffffffffffffffffffffffff841682610556565b61046773ffffffffffffffffffffffffffffffffffffffff851647610556565b610550565b80156104935761049373ffffffffffffffffffffffffffffffffffffffff83168483610573565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015261055090859060019073ffffffffffffffffffffffffffffffffffffffff8616906370a0823190602401602060405180830381865afa158015610504573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061052891906108a5565b610532919061086d565b73ffffffffffffffffffffffffffffffffffffffff85169190610573565b50505050565b5f385f3884865af161056f5763b12d13eb5f526004601cfd5b5050565b81601452806034526fa9059cbb0000000000000000000000005f5260205f604460105f875af18060015f5114166103b457803d853b1517106103b4576390b8ec185f526004601cfd5b5f80602083850312156105cd575f80fd5b823567ffffffffffffffff808211156105e4575f80fd5b818501915085601f8301126105f7575f80fd5b813581811115610605575f80fd5b866020828501011115610616575f80fd5b60209290920196919550909350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b60405160a0810167ffffffffffffffff8111828210171561067857610678610628565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156106c5576106c5610628565b604052919050565b803573ffffffffffffffffffffffffffffffffffffffff811681146106f0575f80fd5b919050565b5f6020808385031215610706575f80fd5b823567ffffffffffffffff8082111561071d575f80fd5b9084019060a08287031215610730575f80fd5b610738610655565b823582811115610746575f80fd5b8301601f81018813610756575f80fd5b80358381111561076857610768610628565b610798867fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8401160161067e565b935080845288868284010111156107ad575f80fd5b80868301878601375f908401860152508181526107cb8385016106cd565b848201526107db604084016106cd565b60408201526107ec606084016106cd565b6060820152608083013560808201528094505050505092915050565b5f82518060208501845e5f920191825250919050565b5f815160208301517fffffffff00000000000000000000000000000000000000000000000000000000808216935060048310156108655780818460040360031b1b83161693505b505050919050565b8181038181111561031c577f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f602082840312156108b5575f80fd5b505191905056fea164736f6c6343000819000a0000000000000000000000006a000f20005980200259b80c5102003040001068

Deployed Bytecode

0x60806040526004361061002b575f3560e01c806309c5eabe1461003657806382f334b114610068575f80fd5b3661003257005b5f80fd5b348015610041575f80fd5b506100556100503660046105bc565b6100c0565b6040519081526020015b60405180910390f35b348015610073575f80fd5b5061009b7f0000000000000000000000006a000f20005980200259b80c510200304000106881565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161005f565b5f806100ce838501856106f5565b604081015190915073ffffffffffffffffffffffffffffffffffffffff16156101575760408101516101579073ffffffffffffffffffffffffffffffffffffffff167f0000000000000000000000006a000f20005980200259b80c51020030400010687fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610322565b5f807f0000000000000000000000006a000f20005980200259b80c510200304000106873ffffffffffffffffffffffffffffffffffffffff16835f01516040516101a19190610808565b5f604051808303815f865af19150503d805f81146101da576040519150601f19603f3d011682016040523d82523d5f602084013e6101df565b606091505b50915091508161021b576040517facfdb44400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82515f906102289061081e565b90505f7fffffffff0000000000000000000000000000000000000000000000000000000082167f987e7d8e0000000000000000000000000000000000000000000000000000000014806102bc57507fffffffff0000000000000000000000000000000000000000000000000000000082167fda35bb0d00000000000000000000000000000000000000000000000000000000145b6102c6575f6102c9565b60205b60ff1690505f8160208501015190505f866080015182116102ea575f6102f9565b60808701516102f9908361086d565b6020880151606089015191925061031391339190846103be565b96505050505050505b92915050565b81601452806034526f095ea7b30000000000000000000000005f5260205f604460105f875af18060015f5114166103b457803d853b1517106103b4575f6034526f095ea7b30000000000000000000000005f525f38604460105f885af1508160345260205f604460105f885af190508060015f5114166103b457803d853b1517106103b457633e3f8f735f526004601cfd5b505f603452505050565b73ffffffffffffffffffffffffffffffffffffffff8316156103e057826103e2565b325b92507fffffffffffffffffffffffff111111111111111111111111111111111111111273ffffffffffffffffffffffffffffffffffffffff83160161046c5780156104475761044773ffffffffffffffffffffffffffffffffffffffff841682610556565b61046773ffffffffffffffffffffffffffffffffffffffff851647610556565b610550565b80156104935761049373ffffffffffffffffffffffffffffffffffffffff83168483610573565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015261055090859060019073ffffffffffffffffffffffffffffffffffffffff8616906370a0823190602401602060405180830381865afa158015610504573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061052891906108a5565b610532919061086d565b73ffffffffffffffffffffffffffffffffffffffff85169190610573565b50505050565b5f385f3884865af161056f5763b12d13eb5f526004601cfd5b5050565b81601452806034526fa9059cbb0000000000000000000000005f5260205f604460105f875af18060015f5114166103b457803d853b1517106103b4576390b8ec185f526004601cfd5b5f80602083850312156105cd575f80fd5b823567ffffffffffffffff808211156105e4575f80fd5b818501915085601f8301126105f7575f80fd5b813581811115610605575f80fd5b866020828501011115610616575f80fd5b60209290920196919550909350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b60405160a0810167ffffffffffffffff8111828210171561067857610678610628565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156106c5576106c5610628565b604052919050565b803573ffffffffffffffffffffffffffffffffffffffff811681146106f0575f80fd5b919050565b5f6020808385031215610706575f80fd5b823567ffffffffffffffff8082111561071d575f80fd5b9084019060a08287031215610730575f80fd5b610738610655565b823582811115610746575f80fd5b8301601f81018813610756575f80fd5b80358381111561076857610768610628565b610798867fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8401160161067e565b935080845288868284010111156107ad575f80fd5b80868301878601375f908401860152508181526107cb8385016106cd565b848201526107db604084016106cd565b60408201526107ec606084016106cd565b6060820152608083013560808201528094505050505092915050565b5f82518060208501845e5f920191825250919050565b5f815160208301517fffffffff00000000000000000000000000000000000000000000000000000000808216935060048310156108655780818460040360031b1b83161693505b505050919050565b8181038181111561031c577f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f602082840312156108b5575f80fd5b505191905056fea164736f6c6343000819000a

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000006a000f20005980200259b80c5102003040001068

-----Decoded View---------------
Arg [0] : _augustusV6 (address): 0x6A000F20005980200259B80c5102003040001068

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000006a000f20005980200259b80c5102003040001068


Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.