Contract 0xA89BD606d5DadDa60242E8DEDeebC95c41aD8986

 
 
Txn Hash
Method
Block
From
To
Value
0xdfaa2f5c8cb71485e9e86ae0f2aa140e235c3fd5d0ab7097a3779b7007ef5f03Redeem In Yusd135011412021-10-27 19:07:05287 days 19 hrs ago0xa3eeca26e965e56cb0aac356fc40b8837c6b0246 IN  0xa89bd606d5dadda60242e8dedeebc95c41ad89860 Ether0.‍14681762 241.‍6289668
0x63b7a4761af7279308a09b1d212f78f5f20b774c291b91863db23919f68948e6Redeem In Yusd134625862021-10-21 18:18:59293 days 20 hrs ago0x2af33e93f68b8497bb535c492f5867c7e83f2bc4 IN  0xa89bd606d5dadda60242e8dedeebc95c41ad89860 Ether0.‍05006525 81.‍75039814
0x183c6873345f7c9ded048334af34d8a0f5e01c6ad1632b6009b81db518f98dd6Redeem In Ycrv134604032021-10-21 10:18:23294 days 4 hrs ago0x3b15cec2d922ab0ef74688bcc1056461049f89cb IN  0xa89bd606d5dadda60242e8dedeebc95c41ad89860 Ether0.‍06166515 53.‍85833417
0x174218767c61a64f24285a6c48580c9e04456b0567969dc45e3704d2538ab419Redeem In Ycrv134275012021-10-16 6:48:52299 days 8 hrs ago0x3b15cec2d922ab0ef74688bcc1056461049f89cb IN  0xa89bd606d5dadda60242e8dedeebc95c41ad89860 Ether0.‍06918926 63.‍33119692
0x31061a3ad26c50f69d947ade56cc25c288626409782447d89f0d807533328cf6Redeem In Yusd134186602021-10-14 21:16:39300 days 17 hrs ago0x2a0944643a0ceda1820acc563f33f8a53edbf095 IN  0xa89bd606d5dadda60242e8dedeebc95c41ad89860 Ether0.‍0518956 85.‍40855461
0xa2fedb73285a25b911f0029929f94ebbe4eafd211d8a3412f67e9ec71692c6caMint With Ycrv133298692021-09-30 23:04:34314 days 15 hrs ago0xd2bc4e7ecfa4ec39069623854cd114dcd8771b84 IN  0xa89bd606d5dadda60242e8dedeebc95c41ad89860 Ether0.‍03941622 64.‍39065514
0xdd6a89af31a605ee7a18c46181c1bc0267eb025edca4096540ab7f7b55a95c31Redeem In Yusd133292172021-09-30 20:28:22314 days 18 hrs ago0xd2bc4e7ecfa4ec39069623854cd114dcd8771b84 IN  0xa89bd606d5dadda60242e8dedeebc95c41ad89860 Ether0.‍03971108 65.‍06878505
0x86c671a89fdde5a78a69f7b227d3b202c7e834a718a6272fa2d2819bd58ff056Redeem In Yusd129895272021-08-09 7:14:59367 days 7 hrs ago0x0ce1d4fbbd736cd3eeeb380b36ee47ab31da2d5e IN  0xa89bd606d5dadda60242e8dedeebc95c41ad89860 Ether0.‍0172273728.‍23021942
0x12c25e05922c811912b125e012cccc0d8d54f362e93d01f5d5ac26bd697bf7f6Redeem In Ycrv128730942021-07-22 0:46:35385 days 14 hrs ago0x3b15cec2d922ab0ef74688bcc1056461049f89cb IN  0xa89bd606d5dadda60242e8dedeebc95c41ad89860 Ether0.‍0239790722
0xce0bfbe8f085df76dd955cc03d9626bf92b34ebf8b5d9aba7ef3a5995b297fedRedeem In Yusd128716632021-07-21 19:27:38385 days 19 hrs ago0x4a95a1bd27bd98b4880a4ab38046bba479298065 IN  0xa89bd606d5dadda60242e8dedeebc95c41ad89860 Ether0.‍0172635229
0x03c6d2102feffc4c21b1bc62211b76a30f1e7a19e4a1bc7fb6656f13e15a62bfRedeem In Yusd127616282021-07-04 14:40:35403 days 22 mins ago0x8d5681e37fcc00deb2c824131fb4bba723c04ab2 IN  0xa89bd606d5dadda60242e8dedeebc95c41ad89860 Ether0.‍0059997110
0xb916e918018e1e5a7378dceac4117182585aba2f2cdde9bd734d57db781b2b48Redeem In Yusd127032362021-06-25 12:21:21412 days 2 hrs agoENS Name *🔞🔞🔞🔞🔞.eth IN  0xa89bd606d5dadda60242e8dedeebc95c41ad89860 Ether0.‍0131988322
0x7f6ab0e4297ec6de88a5fd1d74e5ce4299893d074bde818b874f33d0dc48a939Mint With Ycrv126977422021-06-24 15:51:07412 days 23 hrs ago0x3b15cec2d922ab0ef74688bcc1056461049f89cb IN  0xa89bd606d5dadda60242e8dedeebc95c41ad89860 Ether0.‍0085849814.‍1
0x64ee99ba6cf0ae75f933ea4560de62ac87ac5fbb6f083b8625724af30102f7afMint With Ycrv126976022021-06-24 15:20:08412 days 23 hrs ago0x3b15cec2d922ab0ef74688bcc1056461049f89cb IN  0xa89bd606d5dadda60242e8dedeebc95c41ad89860 Ether0.‍00803713.‍2
0x20842102a5652ef7f46c88bd362fcc5d43728337484bec739b50706f3f8c1650Mint With Ycrv126975872021-06-24 15:17:40412 days 23 hrs ago0x3b15cec2d922ab0ef74688bcc1056461049f89cb IN  0xa89bd606d5dadda60242e8dedeebc95c41ad89860 Ether0.‍0091329615
0xe83ade06c1c405b33e0302859fcde9168dc05362ec657bf413e218071cf8d9a4Mint With Ycrv126975592021-06-24 15:12:50412 days 23 hrs ago0x3b15cec2d922ab0ef74688bcc1056461049f89cb IN  0xa89bd606d5dadda60242e8dedeebc95c41ad89860 Ether0.‍009829216.‍61
0x577450913253764deb778c4e5f4864f92ebbb5fd60848f4a8bb09dd625bc2101Redeem In Ycrv125261902021-05-29 1:02:02439 days 14 hrs ago0x3b15cec2d922ab0ef74688bcc1056461049f89cb IN  0xa89bd606d5dadda60242e8dedeebc95c41ad89860 Ether0.‍0156185525
0x713fe59ea46383e70b91bdc0a031139156b2642feb0e6209b2c81d947fa14781Redeem In Ycrv125003112021-05-25 0:28:52443 days 14 hrs ago0x3b15cec2d922ab0ef74688bcc1056461049f89cb IN  0xa89bd606d5dadda60242e8dedeebc95c41ad89860 Ether0.‍029220650
0xa5f4af7e85735f4785689f0926fba39d3ad8e3c123415a57a9d95e656c7cc7caRedeem In Ycrv124985542021-05-24 18:08:51443 days 20 hrs ago0x3b15cec2d922ab0ef74688bcc1056461049f89cb IN  0xa89bd606d5dadda60242e8dedeebc95c41ad89860 Ether0.‍04675280
0x671a66ee06ab4c14650d7f0659d663a36a086da087ef4b67149372c19df755fbRedeem In Ycrv124959872021-05-24 8:44:19444 days 6 hrs ago0x843701dede05188bcf78162656284ca49ef67d0d IN  0xa89bd606d5dadda60242e8dedeebc95c41ad89860 Ether0.‍0356491361
0xbb98488537483c891a0aa92687708e081f520821dace7f96eecda0f8af7e2fd4Redeem In Ycrv124947172021-05-24 3:47:34444 days 11 hrs ago0x843701dede05188bcf78162656284ca49ef67d0d IN  0xa89bd606d5dadda60242e8dedeebc95c41ad89860 Ether0.‍0224998638.‍5
0x07f890c6903d93f55aa69883f33a0abdddad4b32b61ad6fa47a2f28913817c49Mint With Ycrv124532892021-05-17 17:24:18450 days 21 hrs ago0x3b15cec2d922ab0ef74688bcc1056461049f89cb IN  0xa89bd606d5dadda60242e8dedeebc95c41ad89860 Ether0.‍0611395100
0x9346ab4997fb396d21490a985cb7c1167e9d4d10672907c855682817b4bb8e53Mint With Ycrv124496482021-05-17 3:56:30451 days 11 hrs ago0x843701dede05188bcf78162656284ca49ef67d0d IN  0xa89bd606d5dadda60242e8dedeebc95c41ad89860 Ether0.‍06239845105
0x1b63d947001bab73aae57c60b82d9c3eaac46eef813db1820332d5203f408a8fRedeem In Yusd124477462021-05-16 20:52:44451 days 18 hrs ago0x1ac25f06b133d816f39ffcc151f9096dd309b873 IN  0xa89bd606d5dadda60242e8dedeebc95c41ad89860 Ether0.‍09599665160.‍68
0x86ece5b188c43f9ffe5212b0a1632d149c98907fec9e914abdad3255c8be0fedMint With Yusd124256242021-05-13 10:56:12455 days 4 hrs ago0x3b15cec2d922ab0ef74688bcc1056461049f89cb IN  0xa89bd606d5dadda60242e8dedeebc95c41ad89860 Ether0.‍11239488180
[ Download CSV Export 
View more zero value Internal Transactions in Advanced View mode
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
YVaultPeakProxy

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2020-09-22
*/

pragma solidity 0.5.17;


interface IERCProxy {
    function proxyType() external pure returns (uint proxyTypeId);
    function implementation() external view returns (address codeAddr);
}

contract Proxy is IERCProxy {
    function delegatedFwd(address _dst, bytes memory _calldata) internal {
        // solium-disable-next-line security/no-inline-assembly
        assembly {
            let result := delegatecall(
                sub(gas(), 10000),
                _dst,
                add(_calldata, 0x20),
                mload(_calldata),
                0,
                0
            )
            let size := returndatasize()

            let ptr := mload(0x40)
            returndatacopy(ptr, 0, size)

            // revert instead of invalid() bc if the underlying call failed with invalid() it already wasted gas.
            // if the call returned error data, forward it
            switch result
                case 0 {
                    revert(ptr, size)
                }
                default {
                    return(ptr, size)
                }
        }
    }

    function proxyType() external pure returns (uint proxyTypeId) {
        // Upgradeable proxy
        proxyTypeId = 2;
    }

    function implementation() public view returns (address);
}

contract OwnableProxy {
    bytes32 constant OWNER_SLOT = keccak256("proxy.owner");

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    constructor() internal {
        _transferOwnership(msg.sender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns(address _owner) {
        bytes32 position = OWNER_SLOT;
        assembly {
            _owner := sload(position)
        }
    }

    modifier onlyOwner() {
        require(isOwner(), "NOT_OWNER");
        _;
    }

    function isOwner() public view returns (bool) {
        return owner() == msg.sender;
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function transferOwnership(address newOwner) public onlyOwner {
        _transferOwnership(newOwner);
    }

    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), "OwnableProxy: new owner is the zero address");
        emit OwnershipTransferred(owner(), newOwner);
        bytes32 position = OWNER_SLOT;
        assembly {
            sstore(position, newOwner)
        }
    }
}

contract UpgradableProxy is OwnableProxy, Proxy {
    bytes32 constant IMPLEMENTATION_SLOT = keccak256("proxy.implementation");

    event ProxyUpdated(address indexed previousImpl, address indexed newImpl);

    function() external payable {
        delegatedFwd(implementation(), msg.data);
    }

    function implementation() public view returns(address _impl) {
        bytes32 position = IMPLEMENTATION_SLOT;
        assembly {
            _impl := sload(position)
        }
    }

    // ACLed on onlyOwner via the call to updateImplementation()
    function updateAndCall(address _newProxyTo, bytes memory data) public {
        updateImplementation(_newProxyTo);
        // sometimes required to initialize the contract
        (bool success, bytes memory returnData) = address(this).call(data);
        require(success, string(returnData));
    }

    function updateImplementation(address _newProxyTo) public onlyOwner {
        require(_newProxyTo != address(0x0), "INVALID_PROXY_ADDRESS");
        require(isContract(_newProxyTo), "DESTINATION_ADDRESS_IS_NOT_A_CONTRACT");
        emit ProxyUpdated(implementation(), _newProxyTo);
        setImplementation(_newProxyTo);
    }

    function setImplementation(address _newProxyTo) private {
        bytes32 position = IMPLEMENTATION_SLOT;
        assembly {
            sstore(position, _newProxyTo)
        }
    }

    function isContract(address _target) internal view returns (bool) {
        if (_target == address(0)) {
            return false;
        }
        uint size;
        assembly {
            size := extcodesize(_target)
        }
        return size > 0;
    }
}

contract YVaultPeakProxy is UpgradableProxy {
    constructor() public UpgradableProxy() {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousImpl","type":"address"},{"indexed":true,"internalType":"address","name":"newImpl","type":"address"}],"name":"ProxyUpdated","type":"event"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":true,"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"_impl","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"_owner","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"proxyType","outputs":[{"internalType":"uint256","name":"proxyTypeId","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_newProxyTo","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"updateAndCall","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_newProxyTo","type":"address"}],"name":"updateImplementation","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b506100203361002560201b60201c565b610196565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156100ab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180610c16602b913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166100d061015360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3600060405180807f70726f78792e6f776e6572000000000000000000000000000000000000000000815250600b019050604051809103902090508181555050565b60008060405180807f70726f78792e6f776e6572000000000000000000000000000000000000000000815250600b01905060405180910390209050805491505090565b610a71806101a56000396000f3fe6080604052600436106100705760003560e01c80638da5cb5b1161004e5780638da5cb5b1461019b5780638f32d59b146101f2578063d88ca2c814610221578063f2fde38b1461030957610070565b8063025b22bc146100c85780634555d5c9146101195780635c60da1b14610144575b6100c661007b61035a565b6000368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505061039d565b005b3480156100d457600080fd5b50610117600480360360208110156100eb57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506103c7565b005b34801561012557600080fd5b5061012e6105af565b6040518082815260200191505060405180910390f35b34801561015057600080fd5b5061015961035a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156101a757600080fd5b506101b06105b8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156101fe57600080fd5b506102076105fb565b604051808215151515815260200191505060405180910390f35b34801561022d57600080fd5b506103076004803603604081101561024457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019064010000000081111561028157600080fd5b82018360208201111561029357600080fd5b803590602001918460018302840111640100000000831117156102b557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050610638565b005b34801561031557600080fd5b506103586004803603602081101561032c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107ab565b005b60008060405180807f70726f78792e696d706c656d656e746174696f6e000000000000000000000000815250601401905060405180910390209050805491505090565b600080825160208401856127105a03f43d604051816000823e82600081146103c3578282f35b8282fd5b6103cf6105fb565b610441576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e4f545f4f574e4552000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156104e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f494e56414c49445f50524f58595f41444452455353000000000000000000000081525060200191505060405180910390fd5b6104ed81610831565b610542576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806109ed6025913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661056161035a565b73ffffffffffffffffffffffffffffffffffffffff167fd32d24edea94f55e932d9a008afc425a8561462d1b1f57bc6e508e9a6b9509e160405160405180910390a36105ac81610883565b50565b60006002905090565b60008060405180807f70726f78792e6f776e6572000000000000000000000000000000000000000000815250600b01905060405180910390209050805491505090565b60003373ffffffffffffffffffffffffffffffffffffffff1661061c6105b8565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b610641826103c7565b600060603073ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b60208310610690578051825260208201915060208101905060208303925061066d565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146106f2576040519150601f19603f3d011682016040523d82523d6000602084013e6106f7565b606091505b50915091508181906107a4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561076957808201518184015260208101905061074e565b50505050905090810190601f1680156107965780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5050505050565b6107b36105fb565b610825576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e4f545f4f574e4552000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b61082e816108c4565b50565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610870576000905061087e565b6000823b9050600081119150505b919050565b600060405180807f70726f78792e696d706c656d656e746174696f6e0000000000000000000000008152506014019050604051809103902090508181555050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561094a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180610a12602b913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109696105b8565b73ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3600060405180807f70726f78792e6f776e6572000000000000000000000000000000000000000000815250600b01905060405180910390209050818155505056fe44455354494e4154494f4e5f414444524553535f49535f4e4f545f415f434f4e54524143544f776e61626c6550726f78793a206e6577206f776e657220697320746865207a65726f2061646472657373a265627a7a72315820342bfef917b40b96a2fb7df3036eb825d0c7a8ee904bb57af7fab88c8135914d64736f6c634300051100324f776e61626c6550726f78793a206e6577206f776e657220697320746865207a65726f2061646472657373

Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

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.