Contract 0xaf2c67928d1b6437c58b7f803e0217235a89584a

 
 
Txn Hash
Block
From
To
Value [Txn Fee]
0xe48671120f50c39c749ed2dcb8202594baa32ae8b61a01fdc52052e4cc29ffa395600222021-07-28 23:39:583 hrs 14 mins ago0x50317c6039901a6ed3607a7bf8522e57052f76e2 IN  0xaf2c67928d1b6437c58b7f803e0217235a89584a0 BNB0.000438565
0x6d86b42902cd6e8ba243ed93f9deeac1e793b7380d87bb95fb8c15f0ff62a63b95598372021-07-28 23:30:433 hrs 24 mins ago0xff550bf64cc9ec5695d81b053f7d1f243cdf0466 IN  0xaf2c67928d1b6437c58b7f803e0217235a89584a0 BNB0.000513565
0x5e9050dd45006aac8fb10ab7a1657edf377b4019774e8cd7d53a888e14d96cdd95587942021-07-28 22:36:404 hrs 18 mins ago0xf8e16d1ce87c369b6a8e0d38fe493cfaeb86fdef IN  0xaf2c67928d1b6437c58b7f803e0217235a89584a0 BNB0.000268995
0x70dd7513e4c9d7270e9e878599e738e4659efb03d4c123e9ee7fee1afc60207b95584422021-07-28 22:18:514 hrs 36 mins ago0xf8e16d1ce87c369b6a8e0d38fe493cfaeb86fdef IN  0xaf2c67928d1b6437c58b7f803e0217235a89584a0 BNB0.000268995
0x6433c2ed602228156f5cf93573fa2b32e50cf532c093b85f2b6c184ed8fda30195575022021-07-28 21:30:285 hrs 24 mins ago0x00a23184a5166522f05b01e4539a4a2f5dd51bf4 IN  0xaf2c67928d1b6437c58b7f803e0217235a89584a0 BNB0.00051379
0xd2c44c71c04c0a84093318946f99d9d1eeef70b65d89a56f20f0d3f70ffb545c95573582021-07-28 21:23:165 hrs 31 mins ago0x9ead622cc2952d64479ee703080ae3aa421418e9 IN  0xaf2c67928d1b6437c58b7f803e0217235a89584a0 BNB0.000580758
0xd3d2e0a32565422a02f8944a36d89eeb5775e43696aab284db83a2ff19dea26995570862021-07-28 21:09:365 hrs 45 mins ago0xe6d3de8d5255ce5b4081d0f312f5ccf8eff26982 IN  0xaf2c67928d1b6437c58b7f803e0217235a89584a0 BNB0.000483965
0x4b0ffeed4e76724ba740a62ace5feb77c8e2be08f1731f0e785ee87c4479bd6a95570782021-07-28 21:09:125 hrs 45 mins ago0xe6d3de8d5255ce5b4081d0f312f5ccf8eff26982 IN  0xaf2c67928d1b6437c58b7f803e0217235a89584a0 BNB0.000513565
0xf11bd2def9a14e7559b08eb267410e9990e5c01933a288059782422ec502620495564372021-07-28 20:37:016 hrs 17 mins ago0x73dd78384caae52f7368bf8f1a5954de5aa1480d IN  0xaf2c67928d1b6437c58b7f803e0217235a89584a0 BNB0.000513565
0x637b88ccb1dfaa3b3cce77478ab9d3c7ec0db4c02a64b00f936dc43e9d5932f995562272021-07-28 20:26:316 hrs 28 mins ago0x0bab603f899458a24cc5d3dd0955fe99f948c040 IN  0xaf2c67928d1b6437c58b7f803e0217235a89584a0 BNB0.000438565
0x9ca95b7ca2b790b32f01b5ab3026735ef0b8ea315cfa5226c51f50f74e225e1c95561872021-07-28 20:24:316 hrs 30 mins ago0x1f7e56fbe4118f845cfea24990378e090550e440 IN  0xaf2c67928d1b6437c58b7f803e0217235a89584a0 BNB0.00051379
0x9070581eb1092a4279de0e231bed0b3f20d6b71aa0aa3405b30b50a8e88afa9d95557702021-07-28 20:03:116 hrs 51 mins ago0x7c73dd48d9a24be2c1c147c252239a186ea2fb9c IN  0xaf2c67928d1b6437c58b7f803e0217235a89584a0 BNB0.000513565
0x3a4740afecc300540246d5f7ddb9c22e96cd1e6984b2485cc6c541a71574badc95555772021-07-28 19:53:327 hrs 1 min ago0x05895ab89f011833a32ab1698e3bbc646a4e76b8 IN  0xaf2c67928d1b6437c58b7f803e0217235a89584a0 BNB0.00048884
0x4ab7e73249f4e891047e28aace833e0c2169976f0a03a6f1e14b186e4f2bf0e095555332021-07-28 19:51:207 hrs 3 mins ago0xd6df84f65dc64562f9c644145a1ccaae4cdad68b IN  0xaf2c67928d1b6437c58b7f803e0217235a89584a0 BNB0.000438565
0xf8ada24c520737bba569c6baf2bb53992465938db0e452c418d4a60e33d8bc5c95554872021-07-28 19:49:017 hrs 5 mins ago0x05895ab89f011833a32ab1698e3bbc646a4e76b8 IN  0xaf2c67928d1b6437c58b7f803e0217235a89584a0 BNB0.00056384
0x2564e806c1168f17bd718fee85033e425a7312cf237987261406c9126c6d0ec295552862021-07-28 19:38:587 hrs 15 mins ago0x05895ab89f011833a32ab1698e3bbc646a4e76b8 IN  0xaf2c67928d1b6437c58b7f803e0217235a89584a0 BNB0.00063419
0x6855bfecf1d52dbb15cb6853e3975bbe11102906d297b2b5f8dc112c3113661795552732021-07-28 19:38:197 hrs 16 mins ago0xe1c0f725b1d32dd92acc258c8c6bcd18ee4beb2b IN  0xaf2c67928d1b6437c58b7f803e0217235a89584a0 BNB0.000438565
0xae2fbc22c25c1ead158652bd8905a03b01f2534a1658ac558ef72857a1cd24d395552642021-07-28 19:37:527 hrs 17 mins ago0xe1c0f725b1d32dd92acc258c8c6bcd18ee4beb2b IN  0xaf2c67928d1b6437c58b7f803e0217235a89584a0 BNB0.000513565
0xf43479ff1e0022a353d75fdbadeab05e4b19a6db8c07bb11b7365a230604293595551852021-07-28 19:33:557 hrs 21 mins ago0x05895ab89f011833a32ab1698e3bbc646a4e76b8 IN  0xaf2c67928d1b6437c58b7f803e0217235a89584a0 BNB0.000438565
0x63ad69ef63ad5adfac70d138396471949b0ee9c9ca42280131908e5ae27df96c95550522021-07-28 19:27:167 hrs 27 mins ago0xae11f11ee2473001f023dbc92449b47a0bc74229 IN  0xaf2c67928d1b6437c58b7f803e0217235a89584a0 BNB0.00043879
0x4c30b4aa481e5bcebd8612c8ccc40c7843b877dfe334738beea9eaaccaa4b07d95550442021-07-28 19:26:527 hrs 28 mins ago0xae11f11ee2473001f023dbc92449b47a0bc74229 IN  0xaf2c67928d1b6437c58b7f803e0217235a89584a0 BNB0.000513565
0x36ef632505c5e17faf1ea88a56eeac05028abc33dcbae764b1963c1c1df87d0795549152021-07-28 19:20:257 hrs 34 mins ago0xe73888b6a49d56cdef24fc55b484b67376b66a64 IN  0xaf2c67928d1b6437c58b7f803e0217235a89584a0 BNB0.000588785
0xa735cddda57691d14140c70fd466ff8241b2094fdf54f3cdd09e30006d84a73b95549062021-07-28 19:19:587 hrs 34 mins ago0xe73888b6a49d56cdef24fc55b484b67376b66a64 IN  0xaf2c67928d1b6437c58b7f803e0217235a89584a0 BNB0.000588845
0x72e4b529fa2f66b2cc2f87c1edba66439e0e99c14a0a953a01844bf1decc63f795541832021-07-28 18:41:088 hrs 13 mins ago0x2891d7de01342705bfefce90afe3a6ba95c671ae IN  0xaf2c67928d1b6437c58b7f803e0217235a89584a0 BNB0.00012641
0xf0665f0e8fcf82440cf5707c6e79a2ce03a75461a7b1560fc80403511d8e3d3295537782021-07-28 18:19:488 hrs 35 mins ago0x944fb2f58ed2c2e8fd4d9bb7013f262875467da5 IN  0xaf2c67928d1b6437c58b7f803e0217235a89584a0 BNB0.000513565
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MasterChefProxy

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 4 : Proxy.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.0;

/**
 * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM
 * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to
 * be specified by overriding the virtual {_implementation} function.
 * 
 * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a
 * different contract through the {_delegate} function.
 * 
 * The success and return data of the delegated call will be returned back to the caller of the proxy.
 */
abstract contract Proxy {
    /**
     * @dev Delegates the current call to `implementation`.
     * 
     * This function does not return to its internall call site, it will return directly to the external caller.
     */
    function _delegate(address implementation) internal {
        // solhint-disable-next-line no-inline-assembly
        assembly {
            // Copy msg.data. We take full control of memory in this inline assembly
            // block because it will not return to Solidity code. We overwrite the
            // Solidity scratch pad at memory position 0.
            calldatacopy(0, 0, calldatasize())

            // Call the implementation.
            // out and outsize are 0 because we don't know the size yet.
            let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0)

            // Copy the returned data.
            returndatacopy(0, 0, returndatasize())

            switch result
            // delegatecall returns 0 on error.
            case 0 { revert(0, returndatasize()) }
            default { return(0, returndatasize()) }
        }
    }

    /**
     * @dev This is a virtual function that should be overriden so it returns the address to which the fallback function
     * and {_fallback} should delegate.
     */
    function _implementation() internal virtual view returns (address);

    /**
     * @dev Delegates the current call to the address returned by `_implementation()`.
     * 
     * This function does not return to its internall call site, it will return directly to the external caller.
     */
    function _fallback() internal {
        _beforeFallback();
        _delegate(_implementation());
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other
     * function in the contract matches the call data.
     */
    fallback () payable external {
        _fallback();
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data
     * is empty.
     */
    receive () payable external {
        _fallback();
    }

    /**
     * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback`
     * call, or as part of the Solidity `fallback` or `receive` functions.
     * 
     * If overriden should call `super._beforeFallback()`.
     */
    function _beforeFallback() internal virtual {
    }
}

File 2 of 4 : ProxyOwnable.sol
contract ProxyOwnable  { 

    /**
     * @dev Storage slot with the admin of the contract.
     * This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 private constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

    /**
     * @dev Emitted when the admin account has changed.
     */
    event AdminChanged(address previousAdmin, address newAdmin);

    constructor() public payable  {
        assert(_ADMIN_SLOT == bytes32(uint256(keccak256("eip1967.proxy.admin")) - 1));
        _setAdmin(msg.sender);
    }


    /**
     * @dev Modifier used internally that will delegate the call to the implementation unless the sender is the admin.
     */
    modifier ifAdmin() {
        require(msg.sender == _admin(), "Ownable: caller is not the admin");
        _;
    }

    /**
     * @dev Returns the current admin.
     */
    function _admin() internal view returns (address adm) {
        bytes32 slot = _ADMIN_SLOT;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            adm := sload(slot)
        }
    }


    function changeAdmin(address newAdmin) external ifAdmin {
        require(newAdmin != address(0), "TransparentUpgradeableProxy: new admin is the zero address");
        emit AdminChanged(_admin(), newAdmin);
        _setAdmin(newAdmin);
    }



    /**
     * @dev Stores a new address in the EIP1967 admin slot.
     */
    function _setAdmin(address newAdmin) private {
        bytes32 slot = _ADMIN_SLOT;

        // solhint-disable-next-line no-inline-assembly
        assembly {
            sstore(slot, newAdmin)
        }
    }

}

File 3 of 4 : MasterChefProxy.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import "./UpgradableProxy.sol";


contract MasterChefProxy is UpgradableProxy{
    constructor(address _implementation) UpgradableProxy(_implementation) public {
    }
}

File 4 of 4 : UpgradableProxy.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import "../libs/proxy/Proxy.sol";
import "../libs/proxy/ProxyOwnable.sol";

contract UpgradableProxy is Proxy, ProxyOwnable{

    /**
     * @dev Storage slot with the address of the current implementation.
     * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 private constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;


    constructor(address _implementation) ProxyOwnable() public {
           _setImplementation(_implementation);
    }

    function upgradeDelegate(address newDelegateAddress) public ifAdmin{
        _setImplementation(newDelegateAddress);
    }

    /**
     * @dev Stores a new address in the EIP1967 implementation slot.
     */
    function _setImplementation(address newImplementation) private {
        bytes32 slot = _IMPLEMENTATION_SLOT;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            sstore(slot, newImplementation)
        }
    }

    /**
     * @dev Returns the current implementation address.
     */
    function _implementation() internal view virtual override returns (address impl) {
        bytes32 slot = _IMPLEMENTATION_SLOT;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            impl := sload(slot)
        }
    }


}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_implementation","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"changeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newDelegateAddress","type":"address"}],"name":"upgradeDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b506040516105e63803806105e68339818101604052602081101561003357600080fd5b81019080805190602001909291905050508060017fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610460001c0360001b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b1461009a57fe5b6100a9336100bf60201b60201c565b6100b8816100ee60201b60201c565b505061011d565b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b90508181555050565b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b90508181555050565b6104ba8061012c6000396000f3fe60806040526004361061002d5760003560e01c80632da4e75c146100465780638f283970146100975761003c565b3661003c5761003a6100e8565b005b6100446100e8565b005b34801561005257600080fd5b506100956004803603602081101561006957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610102565b005b3480156100a357600080fd5b506100e6600480360360208110156100ba57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506101b6565b005b6100f0610362565b6101006100fb610364565b610395565b565b61010a6103bb565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146101aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f74207468652061646d696e81525060200191505060405180910390fd5b6101b3816103ec565b50565b6101be6103bb565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461025e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f74207468652061646d696e81525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156102e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603a81526020018061044b603a913960400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61030d6103bb565b82604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a161035f8161041b565b50565b565b6000807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b9050805491505090565b3660008037600080366000845af43d6000803e80600081146103b6573d6000f35b3d6000fd5b6000807fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b9050805491505090565b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b90508181555050565b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610360001b9050818155505056fe5472616e73706172656e745570677261646561626c6550726f78793a206e65772061646d696e20697320746865207a65726f2061646472657373a26469706673582212201be761c81a309307ac2d7172a91cbbf349424774fe6f805411734ab42974b22b64736f6c634300060c0033000000000000000000000000017c591243ceb564b1ff73436fbb2bf77b8b5b9a

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

000000000000000000000000017c591243ceb564b1ff73436fbb2bf77b8b5b9a

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000017c591243ceb564b1ff73436fbb2bf77b8b5b9a


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.