S Price: $0.06747 (-3.66%)
Gas: 55 Gwei

Contract

0xeAa4adb1eAe3c429e3D52d2A55f4836c0054f2Ee

Overview

S Balance

Sonic LogoSonic LogoSonic Logo0 S

S Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To
Execute Auto Red...610093062026-01-23 17:52:032 days ago1769190723IN
0xeAa4adb1...c0054f2Ee
0 S0.020435355
Execute Auto Red...607117222026-01-19 18:20:136 days ago1768846813IN
0xeAa4adb1...c0054f2Ee
0 S0.020435355
Execute Auto Red...607115502026-01-19 18:16:466 days ago1768846606IN
0xeAa4adb1...c0054f2Ee
0 S0.0204358555
Execute Auto Red...601655992026-01-11 17:47:2614 days ago1768153646IN
0xeAa4adb1...c0054f2Ee
0 S0.0156652155
Execute Auto Red...601655932026-01-11 17:47:2014 days ago1768153640IN
0xeAa4adb1...c0054f2Ee
0 S0.020435355
Execute Auto Red...601648352026-01-11 17:32:1714 days ago1768152737IN
0xeAa4adb1...c0054f2Ee
0 S0.0204358555
Execute Auto Red...595757992026-01-04 11:15:1122 days ago1767525311IN
0xeAa4adb1...c0054f2Ee
0 S0.0204358555
Execute Auto Red...592998322025-12-31 11:54:5726 days ago1767182097IN
0xeAa4adb1...c0054f2Ee
0 S0.0204358555
Execute Auto Red...590667762025-12-27 19:41:1329 days ago1766864473IN
0xeAa4adb1...c0054f2Ee
0 S0.020435355
Execute Auto Red...584804332025-12-21 3:41:4236 days ago1766288502IN
0xeAa4adb1...c0054f2Ee
0 S0.020435355
Execute Auto Red...579991022025-12-15 15:36:2441 days ago1765812984IN
0xeAa4adb1...c0054f2Ee
0 S0.0204358555
Execute Auto Red...578420812025-12-13 12:01:5444 days ago1765627314IN
0xeAa4adb1...c0054f2Ee
0 S0.0204358555
Execute Auto Red...578418402025-12-13 11:56:5344 days ago1765627013IN
0xeAa4adb1...c0054f2Ee
0 S0.020435355
Execute Auto Red...578417602025-12-13 11:55:1144 days ago1765626911IN
0xeAa4adb1...c0054f2Ee
0 S0.0204358555
Execute Auto Red...578416122025-12-13 11:52:2644 days ago1765626746IN
0xeAa4adb1...c0054f2Ee
0 S0.020435355
Execute Auto Red...578411212025-12-13 11:41:5344 days ago1765626113IN
0xeAa4adb1...c0054f2Ee
0 S0.020435355
Execute Auto Red...567816682025-11-30 18:49:3356 days ago1764528573IN
0xeAa4adb1...c0054f2Ee
0 S0.020435355
Execute Auto Red...564844622025-11-26 15:34:1760 days ago1764171257IN
0xeAa4adb1...c0054f2Ee
0 S0.020435355
Execute Auto Red...561094892025-11-22 9:08:2965 days ago1763802509IN
0xeAa4adb1...c0054f2Ee
0 S0.0200915555
Execute Auto Red...559330892025-11-20 21:35:4766 days ago1763674547IN
0xeAa4adb1...c0054f2Ee
0 S0.020092155
Execute Auto Red...559316752025-11-20 21:20:4466 days ago1763673644IN
0xeAa4adb1...c0054f2Ee
0 S0.0200915555
Execute Auto Red...559133302025-11-20 18:06:5266 days ago1763662012IN
0xeAa4adb1...c0054f2Ee
0 S0.0200915555
Execute Auto Red...559061602025-11-20 17:09:4966 days ago1763658589IN
0xeAa4adb1...c0054f2Ee
0 S0.0200915555
Execute Auto Red...559040512025-11-20 16:53:2666 days ago1763657606IN
0xeAa4adb1...c0054f2Ee
0 S0.020092155
Execute Auto Red...557527762025-11-19 7:26:2368 days ago1763537183IN
0xeAa4adb1...c0054f2Ee
0 S0.0200915555
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AutoRedeemAgent

Compiler Version
v0.8.30+commit.73712a01

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

/**
 * @title AutoRedeemAgent
 * @dev 自动赎回代理合约 - dTRINITY协议
 * @notice 此合约作为用户的代理,由监控程序调用执行赎回操作
 * 
 * 设计理念:
 * - 监控程序检测流动性增加并计算最优赎回数量
 * - 合约专注于执行简单的代理赎回功能
 * - 任何人都可以调用,但只能为owner赎回
 * - 资金永不离开用户钱包
 */

// ========== 接口定义 ==========

interface IERC20 {
    function balanceOf(address account) external view returns (uint256);
    function allowance(address owner, address spender) external view returns (uint256);
    function transferFrom(address from, address to, uint256 amount) external returns (bool);
}

interface IERC4626 {
    function redeem(uint256 shares, address receiver, address owner) external returns (uint256 assets);
    function previewWithdraw(uint256 assets) external view returns (uint256 shares);
    function asset() external view returns (address);
}

// ========== 主合约 ==========

contract AutoRedeemAgent {
    
    // ========== 状态变量 ==========
    
    /// @notice 合约拥有者(受益人),所有赎回操作都为owner执行
    address public immutable owner;
    
    /// @notice sDUSD代币合约地址(也是ERC-4626 Vault,有redeem方法)
    address public immutable SDUSD_VAULT;
    
    /// @notice 金库地址,用于监控dUSD流动性(监控程序使用)
    address public immutable TREASURY_VAULT;
    
    /// @notice 最小赎回数量,避免无意义的小额交易 (18位精度)
    uint256 public minRedeemAmount;
    
    /// @notice 紧急停止开关(只有owner可控制)
    bool public emergencyStop;
    
    // ========== 事件定义 ==========
    
    /// @notice 自动赎回执行事件
    event AutoRedeemExecuted(
        uint256 indexed timestamp,
        address indexed caller,
        uint256 redeemAmount,
        uint256 sharesRedeemed,
        address indexed beneficiary
    );
    
    /// @notice 最小赎回数量更新事件
    event MinRedeemAmountUpdated(uint256 newAmount);
    
    /// @notice 紧急停止状态变更事件
    event EmergencyStopUpdated(bool status);
    
    // ========== 修饰符 ==========
    
    /// @notice 只允许owner调用管理功能
    modifier onlyOwner() {
        require(msg.sender == owner, "AutoRedeem: Only owner can call this function");
        _;
    }
    
    /// @notice 检查合约未被紧急停止
    modifier notStopped() {
        require(!emergencyStop, "AutoRedeem: Contract is emergency stopped");
        _;
    }
    
    // ========== 构造函数 ==========
    
    /**
     * @notice 构造函数
     * @param _owner 合约拥有者地址(受益人,通常是冷钱包)
     * @param _sdusdVault sDUSD代币合约地址(也是ERC-4626 Vault)
     * @param _treasuryVault 金库地址(监控程序监控流动性的地方)
     */
    constructor(
        address _owner,
        address _sdusdVault,
        address _treasuryVault
    ) {
        require(_owner != address(0), "AutoRedeem: Invalid owner address");
        require(_sdusdVault != address(0), "AutoRedeem: Invalid sDUSD vault address");
        require(_treasuryVault != address(0), "AutoRedeem: Invalid treasury vault address");
        
        owner = _owner;                 // 指定的owner(受益人)
        SDUSD_VAULT = _sdusdVault;      // sDUSD代币合约(有redeem方法)
        TREASURY_VAULT = _treasuryVault; // 金库地址(监控流动性用)
        
        // 设置默认最小赎回数量
        minRedeemAmount = 100000000000000000; // 0.1 sDUSD (18位精度)
        emergencyStop = false;
    }
    
    // ========== 核心功能 ==========
    
    /**
     * @notice 执行自动赎回(任何人都可以调用,但只为owner赎回)
     * @dev 监控程序负责计算最优赎回数量,合约只负责执行
     * @param redeemAmount 要赎回的sDUSD数量 (18位精度)
     */
    function executeAutoRedeem(uint256 redeemAmount) external notStopped {
        require(redeemAmount > 0, "AutoRedeem: Redeem amount must be greater than 0");
        require(redeemAmount >= minRedeemAmount, "AutoRedeem: Below minimum redeem amount");
        
        // 检查owner的sDUSD余额是否足够
        uint256 ownerBalance = IERC20(SDUSD_VAULT).balanceOf(owner);
        require(ownerBalance >= redeemAmount, "AutoRedeem: Insufficient sDUSD balance");
        
        // 检查合约是否有足够的授权
        uint256 allowance = IERC20(SDUSD_VAULT).allowance(owner, address(this));
        require(allowance >= redeemAmount, "AutoRedeem: Insufficient allowance");
        
        // 使用Vault的previewWithdraw计算所需份额
        uint256 requiredShares = IERC4626(SDUSD_VAULT).previewWithdraw(redeemAmount);
        
        // 执行赎回:从owner账户赎回到owner账户(资金不经过合约)
        IERC4626(SDUSD_VAULT).redeem(
            requiredShares,
            owner,      // 接收者:owner
            owner       // 授权者:owner
        );
        
        // 发出事件
        emit AutoRedeemExecuted(
            block.timestamp,
            msg.sender,     // 调用者(监控程序)
            redeemAmount,   // 赎回数量
            requiredShares, // 使用的份额
            owner          // 受益人
        );
    }
    
    // ========== 管理功能 ==========
    
    /**
     * @notice 更新最小赎回数量(只有owner可调用)
     * @param _minRedeemAmount 新的最小赎回数量
     */
    function updateMinRedeemAmount(uint256 _minRedeemAmount) external onlyOwner {
        require(_minRedeemAmount > 0, "AutoRedeem: Min redeem must be greater than 0");
        minRedeemAmount = _minRedeemAmount;
        emit MinRedeemAmountUpdated(_minRedeemAmount);
    }
    
    /**
     * @notice 切换紧急停止状态(只有owner可调用)
     */
    function toggleEmergencyStop() external onlyOwner {
        emergencyStop = !emergencyStop;
        emit EmergencyStopUpdated(emergencyStop);
    }
    
    // ========== 查询功能 ==========
    
    /**
     * @notice 检查是否可以执行指定数量的赎回
     * @param amount 要检查的赎回数量 (18位精度)
     * @return isRedeemable 是否可以赎回
     * @return reason 不能赎回的原因(如果applicable)
     */
    function canRedeem(uint256 amount) external view returns (bool isRedeemable, string memory reason) {
        if (emergencyStop) {
            return (false, "Emergency stopped");
        }
        
        if (amount < minRedeemAmount) {
            return (false, "Below minimum amount");
        }
        
        uint256 allowance = IERC20(SDUSD_VAULT).allowance(owner, address(this));
        if (allowance < amount) {
            return (false, "Insufficient allowance");
        }
        
        uint256 balance = IERC20(SDUSD_VAULT).balanceOf(owner);
        if (balance < amount) {
            return (false, "Insufficient balance");
        }
        
        return (true, "");
    }
    
    /**
     * @notice 获取合约状态概览
     */
    function getContractStatus() external view returns (
        address contractOwner,
        address sdusdVaultAddress,
        address treasuryVaultAddress,
        uint256 minAmount,
        bool isEmergencyStopped
    ) {
        return (
            owner,
            SDUSD_VAULT,
            TREASURY_VAULT,
            minRedeemAmount,
            emergencyStop
        );
    }
    
    // ========== 安全功能 ==========
    
    /**
     * @notice 防止合约接收ETH/原生代币
     */
    receive() external payable {
        revert("AutoRedeem: Contract does not accept Ether");
    }
    
    /**
     * @notice 防止合约接收任意调用
     */
    fallback() external payable {
        revert("AutoRedeem: Function does not exist");
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "remappings": []
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_sdusdVault","type":"address"},{"internalType":"address","name":"_treasuryVault","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"timestamp","type":"uint256"},{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":false,"internalType":"uint256","name":"redeemAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"sharesRedeemed","type":"uint256"},{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"}],"name":"AutoRedeemExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"EmergencyStopUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"MinRedeemAmountUpdated","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"SDUSD_VAULT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TREASURY_VAULT","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"canRedeem","outputs":[{"internalType":"bool","name":"isRedeemable","type":"bool"},{"internalType":"string","name":"reason","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emergencyStop","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"redeemAmount","type":"uint256"}],"name":"executeAutoRedeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getContractStatus","outputs":[{"internalType":"address","name":"contractOwner","type":"address"},{"internalType":"address","name":"sdusdVaultAddress","type":"address"},{"internalType":"address","name":"treasuryVaultAddress","type":"address"},{"internalType":"uint256","name":"minAmount","type":"uint256"},{"internalType":"bool","name":"isEmergencyStopped","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minRedeemAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleEmergencyStop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minRedeemAmount","type":"uint256"}],"name":"updateMinRedeemAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60e060405234801561000f575f5ffd5b50604051611abe380380611abe833981810160405281019061003191906102a4565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361009f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161009690610374565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361010d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161010490610402565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361017b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161017290610490565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250508173ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff16815250508073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff168152505067016345785d8a00005f819055505f60015f6101000a81548160ff0219169083151502179055505050506104ae565b5f5ffd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6102738261024a565b9050919050565b61028381610269565b811461028d575f5ffd5b50565b5f8151905061029e8161027a565b92915050565b5f5f5f606084860312156102bb576102ba610246565b5b5f6102c886828701610290565b93505060206102d986828701610290565b92505060406102ea86828701610290565b9150509250925092565b5f82825260208201905092915050565b7f4175746f52656465656d3a20496e76616c6964206f776e6572206164647265735f8201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b5f61035e6021836102f4565b915061036982610304565b604082019050919050565b5f6020820190508181035f83015261038b81610352565b9050919050565b7f4175746f52656465656d3a20496e76616c6964207344555344207661756c74205f8201527f6164647265737300000000000000000000000000000000000000000000000000602082015250565b5f6103ec6027836102f4565b91506103f782610392565b604082019050919050565b5f6020820190508181035f830152610419816103e0565b9050919050565b7f4175746f52656465656d3a20496e76616c6964207472656173757279207661755f8201527f6c74206164647265737300000000000000000000000000000000000000000000602082015250565b5f61047a602a836102f4565b915061048582610420565b604082019050919050565b5f6020820190508181035f8301526104a78161046e565b9050919050565b60805160a05160c0516115686105565f395f81816102b9015261085301525f81816104fc015281816105c1015281816106c7015281816108320152818161096c01528181610a6a01528181610b6a0152610c0401525f81816102dd015281816103da015281816105fd01528181610703015281816107e801528181610811015281816109a801528181610aa601528181610c4101528181610c620152610ce201526115685ff3fe608060405260043610610094575f3560e01c806384a0e7a91161005857806384a0e7a9146101cb5780638a94680f146101f55780638da5cb5b14610232578063c032846b1461025c578063e701a71b1461028a576100d4565b80630912ae6d1461010f5780630a7b4b2e146101395780634b7aac94146101635780634bbbc3971461017957806363a599a4146101a1576100d4565b366100d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100cb90610dee565b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161010690610e7c565b60405180910390fd5b34801561011a575f5ffd5b506101236102b2565b6040516101309190610eb2565b60405180910390f35b348015610144575f5ffd5b5061014d6102b7565b60405161015a9190610f0a565b60405180910390f35b34801561016e575f5ffd5b506101776102db565b005b348015610184575f5ffd5b5061019f600480360381019061019a9190610f51565b6103d8565b005b3480156101ac575f5ffd5b506101b56104e8565b6040516101c29190610f96565b60405180910390f35b3480156101d6575f5ffd5b506101df6104fa565b6040516101ec9190610f0a565b60405180910390f35b348015610200575f5ffd5b5061021b60048036038101906102169190610f51565b61051e565b60405161022992919061100f565b60405180910390f35b34801561023d575f5ffd5b506102466107e6565b6040516102539190610f0a565b60405180910390f35b348015610267575f5ffd5b5061027061080a565b60405161028195949392919061103d565b60405180910390f35b348015610295575f5ffd5b506102b060048036038101906102ab9190610f51565b610894565b005b5f5481565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610369576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610360906110fe565b60405180910390fd5b60015f9054906101000a900460ff161560015f6101000a81548160ff0219169083151502179055507f4820cf6e28a8a9bda5092cad96ea0573beef6a2127028bf975724a36c365fbac60015f9054906101000a900460ff166040516103ce9190610f96565b60405180910390a1565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610466576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045d906110fe565b60405180910390fd5b5f81116104a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161049f9061118c565b60405180910390fd5b805f819055507fae6971e30edc181eba4e21b6f0d1238924e807e69aa92f89401c1a836dd71547816040516104dd9190610eb2565b60405180910390a150565b60015f9054906101000a900460ff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b5f606060015f9054906101000a900460ff1615610575575f6040518060400160405280601181526020017f456d657267656e63792073746f70706564000000000000000000000000000000815250915091506107e1565b5f548310156105be575f6040518060400160405280601481526020017f42656c6f77206d696e696d756d20616d6f756e74000000000000000000000000815250915091506107e1565b5f7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e7f0000000000000000000000000000000000000000000000000000000000000000306040518363ffffffff1660e01b815260040161063a9291906111aa565b602060405180830381865afa158015610655573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067991906111e5565b9050838110156106c4575f6040518060400160405280601681526020017f496e73756666696369656e7420616c6c6f77616e63650000000000000000000081525092509250506107e1565b5f7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a082317f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040161073e9190610f0a565b602060405180830381865afa158015610759573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061077d91906111e5565b9050848110156107c9575f6040518060400160405280601481526020017f496e73756666696369656e742062616c616e63650000000000000000000000008152509350935050506107e1565b600160405180602001604052805f8152509350935050505b915091565b7f000000000000000000000000000000000000000000000000000000000000000081565b5f5f5f5f5f7f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000005f5460015f9054906101000a900460ff16945094509450945094509091929394565b60015f9054906101000a900460ff16156108e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108da90611280565b60405180910390fd5b5f8111610925576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091c9061130e565b60405180910390fd5b5f54811015610969576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109609061139c565b60405180910390fd5b5f7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a082317f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b81526004016109e39190610f0a565b602060405180830381865afa1580156109fe573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a2291906111e5565b905081811015610a67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5e9061142a565b60405180910390fd5b5f7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e7f0000000000000000000000000000000000000000000000000000000000000000306040518363ffffffff1660e01b8152600401610ae39291906111aa565b602060405180830381865afa158015610afe573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b2291906111e5565b905082811015610b67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5e906114b8565b60405180910390fd5b5f7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16630a28a477856040518263ffffffff1660e01b8152600401610bc19190610eb2565b602060405180830381865afa158015610bdc573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c0091906111e5565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663ba087652827f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006040518463ffffffff1660e01b8152600401610c9f939291906114d6565b6020604051808303815f875af1158015610cbb573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cdf91906111e5565b507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16427fa3e499dd55e2fee116d9dc52f5d35f6012feff2bee334efcef2a360293aaa59f8785604051610d6092919061150b565b60405180910390a450505050565b5f82825260208201905092915050565b7f4175746f52656465656d3a20436f6e747261637420646f6573206e6f742061635f8201527f6365707420457468657200000000000000000000000000000000000000000000602082015250565b5f610dd8602a83610d6e565b9150610de382610d7e565b604082019050919050565b5f6020820190508181035f830152610e0581610dcc565b9050919050565b7f4175746f52656465656d3a2046756e6374696f6e20646f6573206e6f742065785f8201527f6973740000000000000000000000000000000000000000000000000000000000602082015250565b5f610e66602383610d6e565b9150610e7182610e0c565b604082019050919050565b5f6020820190508181035f830152610e9381610e5a565b9050919050565b5f819050919050565b610eac81610e9a565b82525050565b5f602082019050610ec55f830184610ea3565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610ef482610ecb565b9050919050565b610f0481610eea565b82525050565b5f602082019050610f1d5f830184610efb565b92915050565b5f5ffd5b610f3081610e9a565b8114610f3a575f5ffd5b50565b5f81359050610f4b81610f27565b92915050565b5f60208284031215610f6657610f65610f23565b5b5f610f7384828501610f3d565b91505092915050565b5f8115159050919050565b610f9081610f7c565b82525050565b5f602082019050610fa95f830184610f87565b92915050565b5f81519050919050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f610fe182610faf565b610feb8185610d6e565b9350610ffb818560208601610fb9565b61100481610fc7565b840191505092915050565b5f6040820190506110225f830185610f87565b81810360208301526110348184610fd7565b90509392505050565b5f60a0820190506110505f830188610efb565b61105d6020830187610efb565b61106a6040830186610efb565b6110776060830185610ea3565b6110846080830184610f87565b9695505050505050565b7f4175746f52656465656d3a204f6e6c79206f776e65722063616e2063616c6c205f8201527f746869732066756e6374696f6e00000000000000000000000000000000000000602082015250565b5f6110e8602d83610d6e565b91506110f38261108e565b604082019050919050565b5f6020820190508181035f830152611115816110dc565b9050919050565b7f4175746f52656465656d3a204d696e2072656465656d206d75737420626520675f8201527f726561746572207468616e203000000000000000000000000000000000000000602082015250565b5f611176602d83610d6e565b91506111818261111c565b604082019050919050565b5f6020820190508181035f8301526111a38161116a565b9050919050565b5f6040820190506111bd5f830185610efb565b6111ca6020830184610efb565b9392505050565b5f815190506111df81610f27565b92915050565b5f602082840312156111fa576111f9610f23565b5b5f611207848285016111d1565b91505092915050565b7f4175746f52656465656d3a20436f6e747261637420697320656d657267656e635f8201527f792073746f707065640000000000000000000000000000000000000000000000602082015250565b5f61126a602983610d6e565b915061127582611210565b604082019050919050565b5f6020820190508181035f8301526112978161125e565b9050919050565b7f4175746f52656465656d3a2052656465656d20616d6f756e74206d75737420625f8201527f652067726561746572207468616e203000000000000000000000000000000000602082015250565b5f6112f8603083610d6e565b91506113038261129e565b604082019050919050565b5f6020820190508181035f830152611325816112ec565b9050919050565b7f4175746f52656465656d3a2042656c6f77206d696e696d756d2072656465656d5f8201527f20616d6f756e7400000000000000000000000000000000000000000000000000602082015250565b5f611386602783610d6e565b91506113918261132c565b604082019050919050565b5f6020820190508181035f8301526113b38161137a565b9050919050565b7f4175746f52656465656d3a20496e73756666696369656e7420734455534420625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f611414602683610d6e565b915061141f826113ba565b604082019050919050565b5f6020820190508181035f83015261144181611408565b9050919050565b7f4175746f52656465656d3a20496e73756666696369656e7420616c6c6f77616e5f8201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b5f6114a2602283610d6e565b91506114ad82611448565b604082019050919050565b5f6020820190508181035f8301526114cf81611496565b9050919050565b5f6060820190506114e95f830186610ea3565b6114f66020830185610efb565b6115036040830184610efb565b949350505050565b5f60408201905061151e5f830185610ea3565b61152b6020830184610ea3565b939250505056fea26469706673582212201b88f698f7815dec245fa0ba93e54b0744e12a725c5b2043b22f52bfaa17d03e64736f6c634300081e0033000000000000000000000000e11452ab887ddbc967934ec379f1be6425feeeb000000000000000000000000041a5477364bf60d8936b90310fecfda79593304e0000000000000000000000008805f9d444de3994aa69f8bbdfbc08fe3a277aee

Deployed Bytecode

0x608060405260043610610094575f3560e01c806384a0e7a91161005857806384a0e7a9146101cb5780638a94680f146101f55780638da5cb5b14610232578063c032846b1461025c578063e701a71b1461028a576100d4565b80630912ae6d1461010f5780630a7b4b2e146101395780634b7aac94146101635780634bbbc3971461017957806363a599a4146101a1576100d4565b366100d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100cb90610dee565b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161010690610e7c565b60405180910390fd5b34801561011a575f5ffd5b506101236102b2565b6040516101309190610eb2565b60405180910390f35b348015610144575f5ffd5b5061014d6102b7565b60405161015a9190610f0a565b60405180910390f35b34801561016e575f5ffd5b506101776102db565b005b348015610184575f5ffd5b5061019f600480360381019061019a9190610f51565b6103d8565b005b3480156101ac575f5ffd5b506101b56104e8565b6040516101c29190610f96565b60405180910390f35b3480156101d6575f5ffd5b506101df6104fa565b6040516101ec9190610f0a565b60405180910390f35b348015610200575f5ffd5b5061021b60048036038101906102169190610f51565b61051e565b60405161022992919061100f565b60405180910390f35b34801561023d575f5ffd5b506102466107e6565b6040516102539190610f0a565b60405180910390f35b348015610267575f5ffd5b5061027061080a565b60405161028195949392919061103d565b60405180910390f35b348015610295575f5ffd5b506102b060048036038101906102ab9190610f51565b610894565b005b5f5481565b7f0000000000000000000000008805f9d444de3994aa69f8bbdfbc08fe3a277aee81565b7f000000000000000000000000e11452ab887ddbc967934ec379f1be6425feeeb073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610369576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610360906110fe565b60405180910390fd5b60015f9054906101000a900460ff161560015f6101000a81548160ff0219169083151502179055507f4820cf6e28a8a9bda5092cad96ea0573beef6a2127028bf975724a36c365fbac60015f9054906101000a900460ff166040516103ce9190610f96565b60405180910390a1565b7f000000000000000000000000e11452ab887ddbc967934ec379f1be6425feeeb073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610466576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045d906110fe565b60405180910390fd5b5f81116104a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161049f9061118c565b60405180910390fd5b805f819055507fae6971e30edc181eba4e21b6f0d1238924e807e69aa92f89401c1a836dd71547816040516104dd9190610eb2565b60405180910390a150565b60015f9054906101000a900460ff1681565b7f00000000000000000000000041a5477364bf60d8936b90310fecfda79593304e81565b5f606060015f9054906101000a900460ff1615610575575f6040518060400160405280601181526020017f456d657267656e63792073746f70706564000000000000000000000000000000815250915091506107e1565b5f548310156105be575f6040518060400160405280601481526020017f42656c6f77206d696e696d756d20616d6f756e74000000000000000000000000815250915091506107e1565b5f7f00000000000000000000000041a5477364bf60d8936b90310fecfda79593304e73ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e7f000000000000000000000000e11452ab887ddbc967934ec379f1be6425feeeb0306040518363ffffffff1660e01b815260040161063a9291906111aa565b602060405180830381865afa158015610655573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061067991906111e5565b9050838110156106c4575f6040518060400160405280601681526020017f496e73756666696369656e7420616c6c6f77616e63650000000000000000000081525092509250506107e1565b5f7f00000000000000000000000041a5477364bf60d8936b90310fecfda79593304e73ffffffffffffffffffffffffffffffffffffffff166370a082317f000000000000000000000000e11452ab887ddbc967934ec379f1be6425feeeb06040518263ffffffff1660e01b815260040161073e9190610f0a565b602060405180830381865afa158015610759573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061077d91906111e5565b9050848110156107c9575f6040518060400160405280601481526020017f496e73756666696369656e742062616c616e63650000000000000000000000008152509350935050506107e1565b600160405180602001604052805f8152509350935050505b915091565b7f000000000000000000000000e11452ab887ddbc967934ec379f1be6425feeeb081565b5f5f5f5f5f7f000000000000000000000000e11452ab887ddbc967934ec379f1be6425feeeb07f00000000000000000000000041a5477364bf60d8936b90310fecfda79593304e7f0000000000000000000000008805f9d444de3994aa69f8bbdfbc08fe3a277aee5f5460015f9054906101000a900460ff16945094509450945094509091929394565b60015f9054906101000a900460ff16156108e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108da90611280565b60405180910390fd5b5f8111610925576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091c9061130e565b60405180910390fd5b5f54811015610969576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109609061139c565b60405180910390fd5b5f7f00000000000000000000000041a5477364bf60d8936b90310fecfda79593304e73ffffffffffffffffffffffffffffffffffffffff166370a082317f000000000000000000000000e11452ab887ddbc967934ec379f1be6425feeeb06040518263ffffffff1660e01b81526004016109e39190610f0a565b602060405180830381865afa1580156109fe573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a2291906111e5565b905081811015610a67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5e9061142a565b60405180910390fd5b5f7f00000000000000000000000041a5477364bf60d8936b90310fecfda79593304e73ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e7f000000000000000000000000e11452ab887ddbc967934ec379f1be6425feeeb0306040518363ffffffff1660e01b8152600401610ae39291906111aa565b602060405180830381865afa158015610afe573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b2291906111e5565b905082811015610b67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5e906114b8565b60405180910390fd5b5f7f00000000000000000000000041a5477364bf60d8936b90310fecfda79593304e73ffffffffffffffffffffffffffffffffffffffff16630a28a477856040518263ffffffff1660e01b8152600401610bc19190610eb2565b602060405180830381865afa158015610bdc573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c0091906111e5565b90507f00000000000000000000000041a5477364bf60d8936b90310fecfda79593304e73ffffffffffffffffffffffffffffffffffffffff1663ba087652827f000000000000000000000000e11452ab887ddbc967934ec379f1be6425feeeb07f000000000000000000000000e11452ab887ddbc967934ec379f1be6425feeeb06040518463ffffffff1660e01b8152600401610c9f939291906114d6565b6020604051808303815f875af1158015610cbb573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cdf91906111e5565b507f000000000000000000000000e11452ab887ddbc967934ec379f1be6425feeeb073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16427fa3e499dd55e2fee116d9dc52f5d35f6012feff2bee334efcef2a360293aaa59f8785604051610d6092919061150b565b60405180910390a450505050565b5f82825260208201905092915050565b7f4175746f52656465656d3a20436f6e747261637420646f6573206e6f742061635f8201527f6365707420457468657200000000000000000000000000000000000000000000602082015250565b5f610dd8602a83610d6e565b9150610de382610d7e565b604082019050919050565b5f6020820190508181035f830152610e0581610dcc565b9050919050565b7f4175746f52656465656d3a2046756e6374696f6e20646f6573206e6f742065785f8201527f6973740000000000000000000000000000000000000000000000000000000000602082015250565b5f610e66602383610d6e565b9150610e7182610e0c565b604082019050919050565b5f6020820190508181035f830152610e9381610e5a565b9050919050565b5f819050919050565b610eac81610e9a565b82525050565b5f602082019050610ec55f830184610ea3565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610ef482610ecb565b9050919050565b610f0481610eea565b82525050565b5f602082019050610f1d5f830184610efb565b92915050565b5f5ffd5b610f3081610e9a565b8114610f3a575f5ffd5b50565b5f81359050610f4b81610f27565b92915050565b5f60208284031215610f6657610f65610f23565b5b5f610f7384828501610f3d565b91505092915050565b5f8115159050919050565b610f9081610f7c565b82525050565b5f602082019050610fa95f830184610f87565b92915050565b5f81519050919050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f610fe182610faf565b610feb8185610d6e565b9350610ffb818560208601610fb9565b61100481610fc7565b840191505092915050565b5f6040820190506110225f830185610f87565b81810360208301526110348184610fd7565b90509392505050565b5f60a0820190506110505f830188610efb565b61105d6020830187610efb565b61106a6040830186610efb565b6110776060830185610ea3565b6110846080830184610f87565b9695505050505050565b7f4175746f52656465656d3a204f6e6c79206f776e65722063616e2063616c6c205f8201527f746869732066756e6374696f6e00000000000000000000000000000000000000602082015250565b5f6110e8602d83610d6e565b91506110f38261108e565b604082019050919050565b5f6020820190508181035f830152611115816110dc565b9050919050565b7f4175746f52656465656d3a204d696e2072656465656d206d75737420626520675f8201527f726561746572207468616e203000000000000000000000000000000000000000602082015250565b5f611176602d83610d6e565b91506111818261111c565b604082019050919050565b5f6020820190508181035f8301526111a38161116a565b9050919050565b5f6040820190506111bd5f830185610efb565b6111ca6020830184610efb565b9392505050565b5f815190506111df81610f27565b92915050565b5f602082840312156111fa576111f9610f23565b5b5f611207848285016111d1565b91505092915050565b7f4175746f52656465656d3a20436f6e747261637420697320656d657267656e635f8201527f792073746f707065640000000000000000000000000000000000000000000000602082015250565b5f61126a602983610d6e565b915061127582611210565b604082019050919050565b5f6020820190508181035f8301526112978161125e565b9050919050565b7f4175746f52656465656d3a2052656465656d20616d6f756e74206d75737420625f8201527f652067726561746572207468616e203000000000000000000000000000000000602082015250565b5f6112f8603083610d6e565b91506113038261129e565b604082019050919050565b5f6020820190508181035f830152611325816112ec565b9050919050565b7f4175746f52656465656d3a2042656c6f77206d696e696d756d2072656465656d5f8201527f20616d6f756e7400000000000000000000000000000000000000000000000000602082015250565b5f611386602783610d6e565b91506113918261132c565b604082019050919050565b5f6020820190508181035f8301526113b38161137a565b9050919050565b7f4175746f52656465656d3a20496e73756666696369656e7420734455534420625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f611414602683610d6e565b915061141f826113ba565b604082019050919050565b5f6020820190508181035f83015261144181611408565b9050919050565b7f4175746f52656465656d3a20496e73756666696369656e7420616c6c6f77616e5f8201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b5f6114a2602283610d6e565b91506114ad82611448565b604082019050919050565b5f6020820190508181035f8301526114cf81611496565b9050919050565b5f6060820190506114e95f830186610ea3565b6114f66020830185610efb565b6115036040830184610efb565b949350505050565b5f60408201905061151e5f830185610ea3565b61152b6020830184610ea3565b939250505056fea26469706673582212201b88f698f7815dec245fa0ba93e54b0744e12a725c5b2043b22f52bfaa17d03e64736f6c634300081e0033

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

000000000000000000000000e11452ab887ddbc967934ec379f1be6425feeeb000000000000000000000000041a5477364bf60d8936b90310fecfda79593304e0000000000000000000000008805f9d444de3994aa69f8bbdfbc08fe3a277aee

-----Decoded View---------------
Arg [0] : _owner (address): 0xe11452ab887dDbC967934EC379f1bE6425fEEEb0
Arg [1] : _sdusdVault (address): 0x41a5477364BF60d8936b90310FecFDa79593304E
Arg [2] : _treasuryVault (address): 0x8805f9D444dE3994aA69F8BBdFbC08fE3A277Aee

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000e11452ab887ddbc967934ec379f1be6425feeeb0
Arg [1] : 00000000000000000000000041a5477364bf60d8936b90310fecfda79593304e
Arg [2] : 0000000000000000000000008805f9d444de3994aa69f8bbdfbc08fe3a277aee


Block Transaction Gas Used Reward
view all blocks ##produced##

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.