Contract 0xb562AD0f2c2fC1aA800ae70B9716f8009C1b7Bb8

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
Txn Hash
Block
From
To
Value [Txn Fee]
0x916131aab3f32e37c7e856b653e8da2f65ed14412da512a4c41ee8fa6bac2e2953892082021-03-04 15:31:396 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.000386295
0x1e10d9744bba19edc944807fb81e9840896f4f8638abb5b875533cc0758f492453887072021-03-04 15:06:3631 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.000386655
0x50808ab564ceca1cc54aa06b6056ec0cc8118a3ad299daa71390650e70dea72353885462021-03-04 14:58:3339 mins ago0xf1e6a831ceb1ad01128fc2b10a066a67d3654640 IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.00079005
0xbdc8695cd175fedf7c0bafc16889773132c5a1cadfccc5e02a27d3973321df5e53885372021-03-04 14:58:0640 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.000386295
0x2daea546e5bed290d3b2e6439d4a588e3c5dfdcc2523997bbf8f7e437735ea3e53882772021-03-04 14:45:0653 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.000386655
0x97d2d5102f23bc9f5d2793ac37872c327e1644c70fdf57b59b71e3e409f4317253881872021-03-04 14:40:3657 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.000386295
0xb119e13d7dfed9f83ace1ed956cb731daac561184c90e9294b19b7d501dd522c53879762021-03-04 14:30:031 hr 8 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.000386655
0x9659e20e09f9eb6ff11230cf1b3e715b10730bab30e5e8b23f34b87a1fd1a35953879052021-03-04 14:26:301 hr 11 mins ago0xac6f0e341fbdf43db17c7d670bf80e074d1a0efa IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.00079029
0x5243b27890f1d898fde00dc94d04856186d741af762512ea32fa41a5f5515dd553878372021-03-04 14:23:061 hr 15 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.000386295
0x8ad3cbe3c3f8226973f1b5451883878ca9958cd556bf0c99971fc150b0b94d1153877062021-03-04 14:16:331 hr 21 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.000386475
0xa8417ac11b71209d3a533b6bc7b2b1e3aeb6c1929788b85808f18ba47f53a7b053876962021-03-04 14:16:031 hr 22 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.000386295
0xb80d73c6638dfbc0be18c9e05b44960882cd8ad9c6cd8f8fefc1be66367f083053874152021-03-04 14:02:001 hr 36 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.000386655
0x36b623680a3294e86acfed1e4949f4820398250f1cd5b0d6637c3cf9029f5b2b53869252021-03-04 13:37:302 hrs ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.000386475
0x051b571919e28188558327239708a7ff2c45491d52b5db6e85867b121bbbb62953866602021-03-04 13:24:152 hrs 14 mins ago0x59a63c830d5625f94bf8a8f9c1fb69b436579467 IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.00079029
0x69347a560014479dcb61d145f0eb566c92915457fdb45ad3a4fc631bce7a434b53865692021-03-04 13:19:422 hrs 18 mins ago0xa6040115e1a7e42d6c60fae6b1354c635d89c970 IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.00079017
0xb416caedf016f1ed271f9fc713ba3f5af6dd2bc623a9371d0fde660d9ec8d92753864342021-03-04 13:12:572 hrs 25 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.000386475
0xa03418bb1c93e07544e6ad5d39ecbcb47579d19d022eb31e8780637445f1b79753863742021-03-04 13:09:572 hrs 28 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.000386295
0x1d7bfe408e75a4a879883d99dc5dffcd927d445c2859229092eaf1410aae7ca053861642021-03-04 12:59:272 hrs 39 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.000386475
0x4a53013df7053f96b794bf3e45d6cd4dbab97d3a87468d7ea1d8ee1524a78a6953860132021-03-04 12:51:542 hrs 46 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.000386475
0x64b28cedcdbb6060c10450903210860476bc0fa2049a887e069b694b39f57cd353858932021-03-04 12:45:542 hrs 52 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.000386475
0xfe29c51eac7e6a098624af419fe3a7493dab0351e9c4699f4e1e3ca28bd37e2d53858532021-03-04 12:43:542 hrs 54 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.000386295
0x4b465576f9cc4f2815479fa2bb633ba037d5496b41e987abd9da3abddb4c693653855532021-03-04 12:28:543 hrs 9 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.000386655
0x0d7961a2a6a830c72bb79990e0e3e810ec4e3868dbb237832cf7fcb704a110c153854922021-03-04 12:25:513 hrs 12 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.000386655
0xd9ec043b942600140a7af1495d09d449bbdee6c4bc864bd91e5bd1982459073153852132021-03-04 12:11:543 hrs 26 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.000386295
0x0dcaedf705cf882e9c8f07cf8f62c08e40d325681ec73826444e75ea6404269b53851622021-03-04 12:09:213 hrs 29 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.000386655
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x916131aab3f32e37c7e856b653e8da2f65ed14412da512a4c41ee8fa6bac2e2953892082021-03-04 15:31:396 mins ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0x1e10d9744bba19edc944807fb81e9840896f4f8638abb5b875533cc0758f492453887072021-03-04 15:06:3631 mins ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0x50808ab564ceca1cc54aa06b6056ec0cc8118a3ad299daa71390650e70dea72353885462021-03-04 14:58:3339 mins ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x47bead2563dcbf3bf2c9407fea4dc236faba485a0 BNB
0x50808ab564ceca1cc54aa06b6056ec0cc8118a3ad299daa71390650e70dea72353885462021-03-04 14:58:3339 mins ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0xbdc8695cd175fedf7c0bafc16889773132c5a1cadfccc5e02a27d3973321df5e53885372021-03-04 14:58:0640 mins ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0x2daea546e5bed290d3b2e6439d4a588e3c5dfdcc2523997bbf8f7e437735ea3e53882772021-03-04 14:45:0653 mins ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0x97d2d5102f23bc9f5d2793ac37872c327e1644c70fdf57b59b71e3e409f4317253881872021-03-04 14:40:3657 mins ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0xb119e13d7dfed9f83ace1ed956cb731daac561184c90e9294b19b7d501dd522c53879762021-03-04 14:30:031 hr 8 mins ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0x9659e20e09f9eb6ff11230cf1b3e715b10730bab30e5e8b23f34b87a1fd1a35953879052021-03-04 14:26:301 hr 11 mins ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x47bead2563dcbf3bf2c9407fea4dc236faba485a0 BNB
0x9659e20e09f9eb6ff11230cf1b3e715b10730bab30e5e8b23f34b87a1fd1a35953879052021-03-04 14:26:301 hr 11 mins ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0x5243b27890f1d898fde00dc94d04856186d741af762512ea32fa41a5f5515dd553878372021-03-04 14:23:061 hr 15 mins ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0x8ad3cbe3c3f8226973f1b5451883878ca9958cd556bf0c99971fc150b0b94d1153877062021-03-04 14:16:331 hr 21 mins ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0xa8417ac11b71209d3a533b6bc7b2b1e3aeb6c1929788b85808f18ba47f53a7b053876962021-03-04 14:16:031 hr 22 mins ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0xb80d73c6638dfbc0be18c9e05b44960882cd8ad9c6cd8f8fefc1be66367f083053874152021-03-04 14:02:001 hr 36 mins ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0x36b623680a3294e86acfed1e4949f4820398250f1cd5b0d6637c3cf9029f5b2b53869252021-03-04 13:37:302 hrs ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0x051b571919e28188558327239708a7ff2c45491d52b5db6e85867b121bbbb62953866602021-03-04 13:24:152 hrs 14 mins ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x47bead2563dcbf3bf2c9407fea4dc236faba485a0 BNB
0x051b571919e28188558327239708a7ff2c45491d52b5db6e85867b121bbbb62953866602021-03-04 13:24:152 hrs 14 mins ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0x69347a560014479dcb61d145f0eb566c92915457fdb45ad3a4fc631bce7a434b53865692021-03-04 13:19:422 hrs 18 mins ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x47bead2563dcbf3bf2c9407fea4dc236faba485a0 BNB
0x69347a560014479dcb61d145f0eb566c92915457fdb45ad3a4fc631bce7a434b53865692021-03-04 13:19:422 hrs 18 mins ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0xb416caedf016f1ed271f9fc713ba3f5af6dd2bc623a9371d0fde660d9ec8d92753864342021-03-04 13:12:572 hrs 25 mins ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0xa03418bb1c93e07544e6ad5d39ecbcb47579d19d022eb31e8780637445f1b79753863742021-03-04 13:09:572 hrs 28 mins ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0x1d7bfe408e75a4a879883d99dc5dffcd927d445c2859229092eaf1410aae7ca053861642021-03-04 12:59:272 hrs 39 mins ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0x4a53013df7053f96b794bf3e45d6cd4dbab97d3a87468d7ea1d8ee1524a78a6953860132021-03-04 12:51:542 hrs 46 mins ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0x64b28cedcdbb6060c10450903210860476bc0fa2049a887e069b694b39f57cd353858932021-03-04 12:45:542 hrs 52 mins ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0xfe29c51eac7e6a098624af419fe3a7493dab0351e9c4699f4e1e3ca28bd37e2d53858532021-03-04 12:43:542 hrs 54 mins ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StakingProxy

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity Multiple files format)

File 1 of 6: StakingProxy.sol
pragma solidity ^0.5.0;

import "../SwipeRegistry.sol";
import "./StakingEventV3.sol";

/// @title Upgradeable Registry Contract
contract StakingProxy is SwipeRegistry, StakingEventV3 {
    /// @notice Contract constructor
    /// @dev Calls SwipeRegistry contract constructor
    constructor() public SwipeRegistry("Swipe Staking Proxy") {}
}

File 2 of 6: NamedContract.sol
pragma solidity ^0.5.0;

/// @title Named Contract
contract NamedContract {
    /// @notice The name of contract, which can be set once
    string public name;

    /// @notice Sets contract name.
    function setContractName(string memory newName) internal {
        name = newName;
    }
}

File 3 of 6: Ownable.sol
pragma solidity ^0.5.0;


/// @title Ownable Contract
contract Ownable {
    /// @notice Storage position of the owner address
    /// @dev The address of the current owner is stored in a
    /// constant pseudorandom slot of the contract storage
    /// (slot number obtained as a result of hashing a certain message),
    /// the probability of rewriting which is almost zero
    bytes32 private constant _ownerPosition = keccak256("owner");

    /// @notice Storage position of the authorized new owner address
    bytes32 private constant _authorizedNewOwnerPosition = keccak256("authorizedNewOwner");

    /// @notice Contract constructor
    /// @dev Sets msg sender address as owner address
    constructor() public {
        bytes32 ownerPosition = _ownerPosition;
        address owner = msg.sender;
        assembly {
            sstore(ownerPosition, owner)
        }
    }

    /// @notice Check that requires msg.sender to be the current owner
    function requireOwner() internal view {
        require(
            msg.sender == getOwner(),
            "Sender must be owner"
        );
    }

    /// @notice Returns contract owner address
    function getOwner() public view returns (address owner) {
        bytes32 ownerPosition = _ownerPosition;
        assembly {
            owner := sload(ownerPosition)
        }
    }

    /// @notice Returns authorized new owner address
    function getAuthorizedNewOwner() public view returns (address newOwner) {
        bytes32 authorizedNewOwnerPosition = _authorizedNewOwnerPosition;
        assembly {
            newOwner := sload(authorizedNewOwnerPosition)
        }
    }

    /**
     * @notice Authorizes the transfer of ownership to the provided address.
     * NOTE: No transfer will occur unless authorizedAddress calls assumeOwnership( ).
     * This authorization may be removed by another call to this function authorizing
     * the null address.
     *
     * @param authorizedAddress The address authorized to become the new owner.
     */
    function authorizeOwnershipTransfer(address authorizedAddress) external {
        requireOwner();
        bytes32 authorizedNewOwnerPosition = _authorizedNewOwnerPosition;
        assembly {
            sstore(authorizedNewOwnerPosition, authorizedAddress)
        }
    }
    
    /**
     * @notice Transfers ownership of this contract to the authorizedNewOwner.
     */
    function assumeOwnership() external {
        bytes32 authorizedNewOwnerPosition = _authorizedNewOwnerPosition;
        address newOwner;

        assembly {
            newOwner := sload(authorizedNewOwnerPosition)
        }

        require(
            msg.sender == newOwner,
            "Only the authorized new owner can accept ownership"
        );
        
        bytes32 ownerPosition = _ownerPosition;
        address zero = address(0);

        assembly {
            sstore(ownerPosition, newOwner)
            sstore(authorizedNewOwnerPosition, zero)
        }
    }
}

File 4 of 6: StakingEventV3.sol
pragma solidity ^0.5.0;

/// @title Staking Event Contract Version 3
contract StakingEventV3 {

    event Initialize(
        address indexed owner,
        address indexed sxp,
        address indexed rewardProvider,
        uint256 minimumStakeAmount,
        uint256 rewardCycle,
        uint256 rewardAmount,
        uint256 rewardPendingPeriod,
        uint256 rewardCycleTimestamp
    );

    event Stake(
        address indexed staker,
        uint256 indexed amount
    );

    event Claim(
        address indexed toAddress,
        uint256 indexed amount,
        uint256 indexed nonce
    );

    event Withdraw(
        address indexed toAddress,
        uint256 indexed amount
    );

    event GuardianshipTransferAuthorization(
        address indexed authorizedAddress
    );

    event GuardianUpdate(
        address indexed oldValue,
        address indexed newValue
    );

    event MinimumStakeAmountUpdate(
        uint256 indexed oldValue,
        uint256 indexed newValue
    );

    event MinimumWithdrawableAgeUpdate(
        uint256 indexed oldMinimumWithdrawableAge,
        uint256 indexed newMinimumWithdrawableAge
    );

    event RewardProviderUpdate(
        address indexed oldValue,
        address indexed newValue
    );

    event RewardPolicyUpdate(
        uint256 oldCycle,
        uint256 oldAmount,
        uint256 oldPendingPeriod,
        uint256 oldTimeStamp,
        uint256 indexed newCycle,
        uint256 indexed newAmount,
        uint256 indexed newPendingPeriod,
        uint256 newTimeStamp
    );

    event DepositRewardPool(
        address indexed depositor,
        uint256 indexed amount
    );

    event WithdrawRewardPool(
        address indexed toAddress,
        uint256 indexed amount
    );

    event ApproveClaim(
        address indexed toAddress,
        uint256 indexed amount,
        uint256 indexed nonce
    );
}

File 5 of 6: SwipeRegistry.sol
pragma solidity ^0.5.0;

import "./NamedContract.sol";
import "./Upgradeable.sol";

/// @title Upgradeable Registry Contract
contract SwipeRegistry is NamedContract, Upgradeable {
    /// @notice Contract constructor
    /// @dev Calls Upgradable contract constructor and sets contract name
    constructor(string memory contractName) public Upgradeable() {
        setContractName(contractName);
    }
    
    /// @notice Performs a delegatecall to the implementation contract.
    /// @dev Fallback function allows to perform a delegatecall to the given implementation.
    /// This function will return whatever the implementation call returns.
    function() external payable {
        require(msg.data.length > 0, "Calldata must not be empty");
        address _impl = getImplementation();
        assembly {
            // The pointer to the free memory slot
            let ptr := mload(0x40)
            // Copy function signature and arguments from calldata at zero position into memory at pointer position
            calldatacopy(ptr, 0x0, calldatasize)
            // Delegatecall method of the implementation contract, returns 0 on error
            let result := delegatecall(gas, _impl, ptr, calldatasize, 0x0, 0)
            // Get the size of the last return data
            let size := returndatasize
            // Copy the size length of bytes from return data at zero position to pointer position
            returndatacopy(ptr, 0x0, size)
            // Depending on result value
            switch result
                case 0 {
                    // End execution and revert state changes
                    revert(ptr, size)
                }
                default {
                    // Return data with length of size at pointers position
                    return(ptr, size)
                }
        }
    }
}

File 6 of 6: Upgradeable.sol
pragma solidity ^0.5.0;

import "./Ownable.sol";

/// @title Upgradeable contract
contract Upgradeable is Ownable {
    /// @notice Storage position of the current implementation address.
    /// @dev The address of the current implementation is stored in a
    /// constant pseudorandom slot of the contract proxy contract storage
    /// (slot number obtained as a result of hashing a certain message),
    /// the probability of rewriting which is almost zero
    bytes32 private constant implementationPosition = keccak256(
        "implementation"
    );

    /// @notice Contract constructor
    /// @dev Calls Ownable contract constructor
    constructor() public Ownable() {}

    /// @notice Returns the current implementation contract address
    function getImplementation() public view returns (address implementation) {
        bytes32 position = implementationPosition;
        assembly {
            implementation := sload(position)
        }
    }

    /// @notice Sets new implementation contract address as current
    /// @param _newImplementation New implementation contract address
    function setImplementation(address _newImplementation) public {
        requireOwner();
        require(_newImplementation != address(0), "New implementation must have non-zero address");
        address currentImplementation = getImplementation();
        require(currentImplementation != _newImplementation, "New implementation must have new address");
        bytes32 position = implementationPosition;
        assembly {
            sstore(position, _newImplementation)
        }
    }

    /// @notice Sets new implementation contract address and call its initializer.
    /// @dev New implementation call is a low level delegatecall.
    /// @param _newImplementation the new implementation address.
    /// @param _newImplementaionCallData represents the msg.data to bet sent through the low level delegatecall.
    /// This parameter may include the initializer function signature with the needed payload.
    function setImplementationAndCall(
        address _newImplementation,
        bytes calldata _newImplementaionCallData
    ) external payable {
        setImplementation(_newImplementation);
        if (_newImplementaionCallData.length > 0) {
            (bool success, ) = address(this).call.value(msg.value)(
                _newImplementaionCallData
            );
            require(success, "Delegatecall has failed");
        }
    }
}

Contract ABI

[{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"toAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"ApproveClaim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"toAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"depositor","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"DepositRewardPool","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldValue","type":"address"},{"indexed":true,"internalType":"address","name":"newValue","type":"address"}],"name":"GuardianUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"authorizedAddress","type":"address"}],"name":"GuardianshipTransferAuthorization","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"sxp","type":"address"},{"indexed":true,"internalType":"address","name":"rewardProvider","type":"address"},{"indexed":false,"internalType":"uint256","name":"minimumStakeAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rewardCycle","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rewardAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rewardPendingPeriod","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rewardCycleTimestamp","type":"uint256"}],"name":"Initialize","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"MinimumStakeAmountUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"oldMinimumWithdrawableAge","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"newMinimumWithdrawableAge","type":"uint256"}],"name":"MinimumWithdrawableAgeUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldCycle","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldPendingPeriod","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldTimeStamp","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"newCycle","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"newAmount","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"newPendingPeriod","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newTimeStamp","type":"uint256"}],"name":"RewardPolicyUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldValue","type":"address"},{"indexed":true,"internalType":"address","name":"newValue","type":"address"}],"name":"RewardProviderUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"staker","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Stake","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"toAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"toAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawRewardPool","type":"event"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":false,"inputs":[],"name":"assumeOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"authorizedAddress","type":"address"}],"name":"authorizeOwnershipTransfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getAuthorizedNewOwner","outputs":[{"internalType":"address","name":"newOwner","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getImplementation","outputs":[{"internalType":"address","name":"implementation","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"owner","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_newImplementation","type":"address"}],"name":"setImplementation","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_newImplementation","type":"address"},{"internalType":"bytes","name":"_newImplementaionCallData","type":"bytes"}],"name":"setImplementationAndCall","outputs":[],"payable":true,"stateMutability":"payable","type":"function"}]

608060405234801561001057600080fd5b506040518060400160405280601381526020017f5377697065205374616b696e672050726f787900000000000000000000000000815250600060405180807f6f776e65720000000000000000000000000000000000000000000000000000008152506005019050604051809103902090506000339050808255505061009a816100a060201b60201c565b5061015f565b80600090805190602001906100b69291906100ba565b5050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100fb57805160ff1916838001178555610129565b82800160010185558215610129579182015b8281111561012857825182559160200191906001019061010d565b5b509050610136919061013a565b5090565b61015c91905b80821115610158576000816000905550600101610140565b5090565b90565b610a9a8061016e6000396000f3fe60806040526004361061007b5760003560e01c8063a2c1cae21161004e578063a2c1cae2146102b6578063aaf10f42146102cd578063d784d42614610324578063e9c8588d146103755761007b565b806306fdde031461012757806331d062c3146101b757806387f4427e1461020e578063893d20e81461025f575b600080369050116100f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f43616c6c64617461206d757374206e6f7420626520656d70747900000000000081525060200191505060405180910390fd5b60006100fe61040e565b905060405136600082376000803683855af43d806000843e8160008114610123578184f35b8184fd5b34801561013357600080fd5b5061013c610451565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561017c578082015181840152602081019050610161565b50505050905090810190601f1680156101a95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101c357600080fd5b506101cc6104ef565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561021a57600080fd5b5061025d6004803603602081101561023157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610532565b005b34801561026b57600080fd5b5061027461057b565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156102c257600080fd5b506102cb6105be565b005b3480156102d957600080fd5b506102e261040e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561033057600080fd5b506103736004803603602081101561034757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506106cd565b005b61040c6004803603604081101561038b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001906401000000008111156103c857600080fd5b8201836020820111156103da57600080fd5b803590602001918460018302840111640100000000831117156103fc57600080fd5b909192939192939050505061082e565b005b60008060405180807f696d706c656d656e746174696f6e000000000000000000000000000000000000815250600e01905060405180910390209050805491505090565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104e75780601f106104bc576101008083540402835291602001916104e7565b820191906000526020600020905b8154815290600101906020018083116104ca57829003601f168201915b505050505081565b60008060405180807f617574686f72697a65644e65774f776e65720000000000000000000000000000815250601201905060405180910390209050805491505090565b61053a610934565b600060405180807f617574686f72697a65644e65774f776e657200000000000000000000000000008152506012019050604051809103902090508181555050565b60008060405180807f6f776e6572000000000000000000000000000000000000000000000000000000815250600501905060405180910390209050805491505090565b600060405180807f617574686f72697a65644e65774f776e657200000000000000000000000000008152506012019050604051809103902090506000815490508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610682576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806109df6032913960400191505060405180910390fd5b600060405180807f6f776e6572000000000000000000000000000000000000000000000000000000815250600501905060405180910390209050600080905082825580845550505050565b6106d5610934565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561075b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d815260200180610a11602d913960400191505060405180910390fd5b600061076561040e565b90508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156107ec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180610a3e6028913960400191505060405180910390fd5b600060405180807f696d706c656d656e746174696f6e000000000000000000000000000000000000815250600e01905060405180910390209050828155505050565b610837836106cd565b600082829050111561092f5760003073ffffffffffffffffffffffffffffffffffffffff1634848460405180838380828437808301925050509250505060006040518083038185875af1925050503d80600081146108b1576040519150601f19603f3d011682016040523d82523d6000602084013e6108b6565b606091505b505090508061092d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f44656c656761746563616c6c20686173206661696c656400000000000000000081525060200191505060405180910390fd5b505b505050565b61093c61057b565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146109dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f53656e646572206d757374206265206f776e657200000000000000000000000081525060200191505060405180910390fd5b56fe4f6e6c792074686520617574686f72697a6564206e6577206f776e65722063616e20616363657074206f776e6572736869704e657720696d706c656d656e746174696f6e206d7573742068617665206e6f6e2d7a65726f20616464726573734e657720696d706c656d656e746174696f6e206d7573742068617665206e65772061646472657373a265627a7a72315820e1816660ace09e38b9369ba9afacbab79cbf8deed4648318ca45cae1c33d593e64736f6c63430005110032

Deployed ByteCode Sourcemap

129:214:3:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;717:1:4;699:8;;:15;;:19;691:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;759:13;775:19;:17;:19::i;:::-;759:35;;895:4;889:11;1052:12;1047:3;1042;1029:36;1227:1;1222:3;1208:12;1203:3;1196:5;1191:3;1178:51;1306:14;1457:4;1452:3;1447;1432:30;1523:6;1551:1;1546:126;;;;1807:4;1802:3;1795:17;1546:126;1649:4;1644:3;1637:17;140:18:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;140:18:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;140:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1401:240:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1401:240:1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;2025:272;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2025:272:1;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;2025:272:1;;;;;;;;;;;;;;;;;;;:::i;:::-;;1160:182;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1160:182:1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;2402:580;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2402:580:1;;;:::i;:::-;;757:207:5;;8:9:-1;5:2;;;30:1;27;20:12;5:2;757:207:5;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;1108:489;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1108:489:5;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;1108:489:5;;;;;;;;;;;;;;;;;;;:::i;:::-;;2026:441;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;2026:441:5;;;;;;;;;;;;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;2026:441:5;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;2026:441:5;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;2026:441:5;;;;;;;;;;;;:::i;:::-;;757:207;807:22;841:16;517:41;;;;;;;;;;;;;;;;;;;841;;939:8;933:15;915:33;;901:57;;:::o;140:18:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1401:240:1:-;1455:16;1483:34;573:31;;;;;;;;;;;;;;;;;;;1483:64;;1598:26;1592:33;1580:45;;1566:69;;:::o;2025:272::-;2107:14;:12;:14::i;:::-;2131:34;573:31;;;;;;;;;;;;;;;;;;;2131:64;;2263:17;2235:26;2228:53;2214:77;;:::o;1160:182::-;1201:13;1226:21;424:18;;;;;;;;;;;;;;;;;;;1226:38;;1312:13;1306:20;1297:29;;1283:53;;:::o;2402:580::-;2448:34;573:31;;;;;;;;;;;;;;;;;;;2448:64;;2522:16;2590:26;2584:33;2572:45;;2672:8;2658:22;;:10;:22;;;2637:119;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2775:21;424:18;;;;;;;;;;;;;;;;;;;2775:38;;2823:12;2846:1;2823:25;;2904:8;2889:13;2882:31;2961:4;2933:26;2926:40;2868:108;;;;:::o;1108:489:5:-;1180:14;:12;:14::i;:::-;1242:1;1212:32;;:18;:32;;;;1204:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1304:29;1336:19;:17;:19::i;:::-;1304:51;;1398:18;1373:43;;:21;:43;;;;1365:96;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1471:16;517:41;;;;;;;;;;;;;;;;;;;1471;;1562:18;1552:8;1545:36;1531:60;;;:::o;2026:441::-;2179:37;2197:18;2179:17;:37::i;:::-;2265:1;2230:25;;:32;;:36;2226:235;;;2283:12;2309:4;2301:18;;2326:9;2354:25;;2301:92;;;;;30:3:-1;22:6;14;1:33;57:3;49:6;45:16;35:26;;2301:92:5;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;2282:111:5;;;2415:7;2407:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2226:235;;2026:441;;;:::o;961:146:1:-;1044:10;:8;:10::i;:::-;1030:24;;:10;:24;;;1009:91;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;961:146::o

Swarm Source

bzzr://e1816660ace09e38b9369ba9afacbab79cbf8deed4648318ca45cae1c33d593e
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.