Contract 0x2c027EDe5F46E20Cb467652CfdB9A9E52269dFD2

 

Contract Overview

Balance:
16.84607713112 BNB

BNB Value:
$5,650.43 (@ $335.42/BNB)

Token:
Txn Hash
Block
From
To
Value [Txn Fee]
0x4d257663b9e0eae00fea35c6534cc7666a7e1ff2a3cfbb854bae6d5679e3350262997702021-04-05 10:01:4575 days 21 hrs agoSteakBank: Deployer IN  Contract Creation0 BNB0.00234569
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xedb4da43bf33b08581d8ff25ab395e5fb97712280448d8374cf12969431ad9c084461882021-06-20 0:04:107 hrs 19 mins ago 0xb7feb19c1ff49b524a45e0a998330abe1b659960 0x2c027ede5f46e20cb467652cfdb9a9e52269dfd24.77460351 BNB
0xc0da9e437a31f97b212018c801a470abb454b800f12f7784974e500bc2c883b384461772021-06-20 0:03:377 hrs 19 mins ago BSC: Token Hub 0x2c027ede5f46e20cb467652cfdb9a9e52269dfd24.9975 BNB
0x7eeaad8916ef63c3ae6ae3c54339ef13f2f43cb4a8a644669a2a9fc4fd56c21e84176042021-06-19 0:04:101 day 7 hrs ago 0x2c027ede5f46e20cb467652cfdb9a9e52269dfd20x26274e2a9ae769b07cb39981c082fe0fa2fdc96a1.51127751 BNB
0x7eeaad8916ef63c3ae6ae3c54339ef13f2f43cb4a8a644669a2a9fc4fd56c21e84176042021-06-19 0:04:101 day 7 hrs ago 0x2c027ede5f46e20cb467652cfdb9a9e52269dfd20xd93fdf64b7e388489a1d4a63db8ecff58b9f48182.72111761 BNB
0x7eeaad8916ef63c3ae6ae3c54339ef13f2f43cb4a8a644669a2a9fc4fd56c21e84176042021-06-19 0:04:101 day 7 hrs ago 0x2c027ede5f46e20cb467652cfdb9a9e52269dfd20x6457eb7820b0d4eecc5f0d7077e8e1a5cc2519b22.73391349 BNB
0x7eeaad8916ef63c3ae6ae3c54339ef13f2f43cb4a8a644669a2a9fc4fd56c21e84176042021-06-19 0:04:101 day 7 hrs ago 0x2c027ede5f46e20cb467652cfdb9a9e52269dfd20xd7a5b2d97faa5544ae121afcb5349b9a59b5f8b61.5179901 BNB
0x7eeaad8916ef63c3ae6ae3c54339ef13f2f43cb4a8a644669a2a9fc4fd56c21e84176042021-06-19 0:04:101 day 7 hrs ago 0x2c027ede5f46e20cb467652cfdb9a9e52269dfd20x724501d0778bdaf1a3d1256103f50ef5a39c134b1.0070988 BNB
0xd2116fbe06497c3ece8e3d6b26ee09df8a6ce46d545058eb55df2b5a636c7f2c84176022021-06-19 0:04:041 day 7 hrs ago 0xb7feb19c1ff49b524a45e0a998330abe1b659960 0x2c027ede5f46e20cb467652cfdb9a9e52269dfd25.25966085 BNB
0x339ccc43d53fe6a8ce88a370784014b4ab0a20cab2472827d2dcea05483c114284175912021-06-19 0:03:311 day 7 hrs ago BSC: Token Hub 0x2c027ede5f46e20cb467652cfdb9a9e52269dfd29.49139751 BNB
0x3721fb9a8a6536c0a1bd7ee6640f47551a0e2ffaf2933fe3e763fb989b6f64c283890852021-06-18 0:03:122 days 7 hrs ago 0x2c027ede5f46e20cb467652cfdb9a9e52269dfd20xfe7751a7380fdf481dbbb187453f77b331859c4e1.49845621 BNB
0x3721fb9a8a6536c0a1bd7ee6640f47551a0e2ffaf2933fe3e763fb989b6f64c283890852021-06-18 0:03:122 days 7 hrs ago 0x2c027ede5f46e20cb467652cfdb9a9e52269dfd20x76d155e723c31662ce197566686d318a49011c9e1.01759971 BNB
0x3721fb9a8a6536c0a1bd7ee6640f47551a0e2ffaf2933fe3e763fb989b6f64c283890852021-06-18 0:03:122 days 7 hrs ago 0x2c027ede5f46e20cb467652cfdb9a9e52269dfd20x3712b752b7c079543f78728f7bd2ae90718981f74.87598554 BNB
0x873cf26776a89ee3714cc233fbd6585de6e1efd621002494483b879ee7c5d6de83890812021-06-18 0:03:002 days 7 hrs ago 0xb7feb19c1ff49b524a45e0a998330abe1b659960 0x2c027ede5f46e20cb467652cfdb9a9e52269dfd24.63237693 BNB
0x4f8fdd0d8ed7200361b391d1f5e485dd8dbcdb4f1d2cac22afaf9839fd5c643883605512021-06-17 0:03:453 days 7 hrs ago 0x2c027ede5f46e20cb467652cfdb9a9e52269dfd20x6457eb7820b0d4eecc5f0d7077e8e1a5cc2519b21.62642453 BNB
0x4f8fdd0d8ed7200361b391d1f5e485dd8dbcdb4f1d2cac22afaf9839fd5c643883605512021-06-17 0:03:453 days 7 hrs ago 0x2c027ede5f46e20cb467652cfdb9a9e52269dfd20x2cf446a2e3a1cf741846a025d6e76afe5257af6e1.0154147 BNB
0x4f8fdd0d8ed7200361b391d1f5e485dd8dbcdb4f1d2cac22afaf9839fd5c643883605512021-06-17 0:03:453 days 7 hrs ago 0x2c027ede5f46e20cb467652cfdb9a9e52269dfd20x829dad031c64565bb2693e09838843ec848788314.01228745 BNB
0x4f8fdd0d8ed7200361b391d1f5e485dd8dbcdb4f1d2cac22afaf9839fd5c643883605512021-06-17 0:03:453 days 7 hrs ago 0x2c027ede5f46e20cb467652cfdb9a9e52269dfd20xaa436598e1218932c5024fe53462d762ea4abe1f7.99585356 BNB
0x4f8fdd0d8ed7200361b391d1f5e485dd8dbcdb4f1d2cac22afaf9839fd5c643883605512021-06-17 0:03:453 days 7 hrs ago 0x2c027ede5f46e20cb467652cfdb9a9e52269dfd20xfe7751a7380fdf481dbbb187453f77b331859c4e1.49896048 BNB
0x74f305b072d90a7c5e5bdf4d09b290e897dea0cc0272a08ae60d10a8bca7d08c83605492021-06-17 0:03:393 days 7 hrs ago 0xb7feb19c1ff49b524a45e0a998330abe1b659960 0x2c027ede5f46e20cb467652cfdb9a9e52269dfd24.57397726 BNB
0x256abdd5b73f11b2ca21736ad00d90787b019a53f44273461c6ea2956b1d8dd683605392021-06-17 0:03:093 days 7 hrs ago BSC: Token Hub 0x2c027ede5f46e20cb467652cfdb9a9e52269dfd216.14894072 BNB
0x6880b0a253f09ebd439f8607b231001a7f509b1381133c731c528009143eb5b883320132021-06-16 0:06:014 days 7 hrs ago 0x2c027ede5f46e20cb467652cfdb9a9e52269dfd20x48dc5317d241ddab20476b01b14e879d85e212c01.62717479 BNB
0x6880b0a253f09ebd439f8607b231001a7f509b1381133c731c528009143eb5b883320132021-06-16 0:06:014 days 7 hrs ago 0x2c027ede5f46e20cb467652cfdb9a9e52269dfd20x37dc89436b9b9d04131ac85e84a1faab375fa80e1.00818191 BNB
0x6880b0a253f09ebd439f8607b231001a7f509b1381133c731c528009143eb5b883320132021-06-16 0:06:014 days 7 hrs ago 0x2c027ede5f46e20cb467652cfdb9a9e52269dfd20x1005e511f3430117ae6a538d48bd2409401ad6a07.67626626 BNB
0x6880b0a253f09ebd439f8607b231001a7f509b1381133c731c528009143eb5b883320132021-06-16 0:06:014 days 7 hrs ago 0x2c027ede5f46e20cb467652cfdb9a9e52269dfd20x9fa0e1d0a7ef1291db854c8d1f85d87539a3545d100.96027878 BNB
0x6880b0a253f09ebd439f8607b231001a7f509b1381133c731c528009143eb5b883320132021-06-16 0:06:014 days 7 hrs ago 0x2c027ede5f46e20cb467652cfdb9a9e52269dfd20x9fa0e1d0a7ef1291db854c8d1f85d87539a3545d103.11645379 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
UnstakeVault

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at BscScan.com on 2021-04-05
*/

// File: contracts/interface/IVault.sol

pragma solidity ^0.6.0;

interface IVault {

    function claimBNB(uint256 amount, address payable recipient) external returns(uint256);

}

// File: openzeppelin-solidity/contracts/utils/ReentrancyGuard.sol


pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

// File: contracts/UnstakeVault.sol

pragma solidity 0.6.12;



contract UnstakeVault is IVault, ReentrancyGuard {
    address payable public steakBank;

    event Deposit(address from, uint256 amount);
    event Withdraw(address recipient, uint256 amount);

    constructor(address payable steakBankAddr) public {
        steakBank = steakBankAddr;
    }

    /* solium-disable-next-line */
    receive() external payable{
        emit Deposit(msg.sender, msg.value);
    }

    modifier onlySteakBank() {
        require(msg.sender == steakBank, "only steakBank is allowed");
        _;
    }

    function claimBNB(uint256 amount, address payable recipient) nonReentrant onlySteakBank override external returns(uint256){
        if (address(this).balance < amount) {
            amount = address(this).balance;
        }
        recipient.transfer(amount);
        emit Withdraw(recipient, amount);
        return amount;
    }
}

Contract ABI

[{"inputs":[{"internalType":"address payable","name":"steakBankAddr","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address payable","name":"recipient","type":"address"}],"name":"claimBNB","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"steakBank","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b506040516102ed3803806102ed8339818101604052602081101561003357600080fd5b50516001600081905580546001600160a01b039092166001600160a01b03199092169190911790556102838061006a6000396000f3fe60806040526004361061002d5760003560e01c8063cb22fc3214610073578063d324e14b146100a45761006e565b3661006e576040805133815234602082015281517fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c929181900390910190a1005b600080fd5b34801561007f57600080fd5b506100886100ef565b604080516001600160a01b039092168252519081900360200190f35b3480156100b057600080fd5b506100dd600480360360408110156100c757600080fd5b50803590602001356001600160a01b03166100fe565b60408051918252519081900360200190f35b6001546001600160a01b031681565b600060026000541415610158576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026000556001546001600160a01b031633146101bc576040805162461bcd60e51b815260206004820152601960248201527f6f6e6c7920737465616b42616e6b20697320616c6c6f77656400000000000000604482015290519081900360640190fd5b824710156101c8574792505b6040516001600160a01b0383169084156108fc029085906000818181858888f193505050501580156101fe573d6000803e3d6000fd5b50604080516001600160a01b03841681526020810185905281517f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364929181900390910190a1505060016000559056fea2646970667358221220e88aed30a64cce2667e95221aaef12f6ec9b828ae06042425e0e8f20fd3f6fcc64736f6c634300060c003300000000000000000000000079db0daa012f4b98f332a9d45c80a1a3ffaa6f9a

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

00000000000000000000000079db0daa012f4b98f332a9d45c80a1a3ffaa6f9a

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000079db0daa012f4b98f332a9d45c80a1a3ffaa6f9a


Deployed ByteCode Sourcemap

2975:896:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;3360:30;;;3368:10;3360:30;;3380:9;3360:30;;;;;;;;;;;;;;;;;2975:896;;;;;3031:32;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;3031:32:0;;;;;;;;;;;;;;3531:337;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3531:337:0;;;;;;-1:-1:-1;;;;;3531:337:0;;:::i;:::-;;;;;;;;;;;;;;;;3031:32;;;-1:-1:-1;;;;;3031:32:0;;:::o;3531:337::-;3645:7;1950:1;2556:7;;:19;;2548:63;;;;;-1:-1:-1;;;2548:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;1950:1;2689:7;:18;3464:9:::1;::::0;-1:-1:-1;;;;;3464:9:0::1;3450:10;:23;3442:61;;;::::0;;-1:-1:-1;;;3442:61:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;3692:6:::2;3668:21;:30;3664:93;;;3724:21;3715:30;;3664:93;3767:26;::::0;-1:-1:-1;;;;;3767:18:0;::::2;::::0;:26;::::2;;;::::0;3786:6;;3767:26:::2;::::0;;;3786:6;3767:18;:26;::::2;;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;3809:27:0::2;::::0;;-1:-1:-1;;;;;3809:27:0;::::2;::::0;;::::2;::::0;::::2;::::0;;;;;::::2;::::0;;;;;;;;;::::2;-1:-1:-1::0;;1906:1:0;2868:7;:22;3854:6;3531:337::o

Swarm Source

ipfs://e88aed30a64cce2667e95221aaef12f6ec9b828ae06042425e0e8f20fd3f6fcc
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
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.