Contract 0xb562AD0f2c2fC1aA800ae70B9716f8009C1b7Bb8

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
Ad
Ad
Txn Hash
Block
From
To
Value [Txn Fee]
0x60fb4e39e6494dc1196cda0c78e7b876ab85316c606450f49dea5c277b8a33fe65931882021-04-15 17:29:465 mins ago0x6974ac3b04f5ba9d523a51c0a13645d3030c553a IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.00029698
0x090f23d2c0c9e7a39b1f00c5a62faa68764d694f11ab5c9de8b94729d140bd0e65931792021-04-15 17:29:195 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.0004210875
0x5d0c0e648ce41695d44c77c4015482427e4d3e76f446a2aba98b1d95f9eca4ec65930312021-04-15 17:21:5513 mins ago0x952f954f31bd29273e6dd2b1893100f91d7f227d IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.00029698
0x6f89a09ecb7fa1e793a7790aae70ccfb6f8804c8fbb38e0f8b6dc1f40be2016065930192021-04-15 17:21:1913 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.0004209975
0x5e7f5c71c519a29597edf9b658cba2c1709d1b6b0a101de0b2c523bce598c3d865926882021-04-15 17:04:4630 mins ago0xa0081a1037b577fe97b06fddb4bb309c4e70a89f IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.00029698
0x027e64f0b0550934888aa9a6c5ee866d7ee33e89c9ecf6afbf73c2dfb0ffcdaa65926852021-04-15 17:04:3730 mins ago0x693b7c6bced40c1bea99a4737870d6384b2315d4 IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.000395025
0x8e6d726583093c7b64b93f16e2b5672a80ef2e2a3107a54a8e0435fa863ace8665926782021-04-15 17:04:1630 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.0004210875
0x8b0be4416bfa5e6e221d9f3cc6afb6a62c71d1d725c9855d4dd9477b4e81687765926662021-04-15 17:03:4031 mins ago0x7e1d7a0b73318d2d2168f826bfb64fb102707f32 IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.00029698
0x47baa63a4df09968a89e600328d716697ef25d92b87a76615dd9f5e95aea952e65926582021-04-15 17:03:1631 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.0004210875
0xa1b8a1a05a262bf7a7794543d26d09576c09f752e8c5d55c640bf25dc9591c2d65912732021-04-15 15:54:011 hr 40 mins ago0xefc5b4526329c5f1798efa4bf861b8358edefcc4 IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.00029698
0xbe85e89386537848194184a693ebc650b84f6ff45b1573f980958ff79a49f94265911972021-04-15 15:50:131 hr 44 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.0004209975
0xe628acfd787a3d6aa13a51f671cf4c13a5818de73a134f478b9fa85608cf4f0d65908962021-04-15 15:35:101 hr 59 mins ago0x6ce3fa5f90f3b4e789a2fbd18b714161890eaff0 IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.00029698
0x6a09a975d19e11f105be0ac27bfee71c937e30b087ff499ce5d9d17b8dec91a365908662021-04-15 15:33:402 hrs 1 min ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.0004209975
0xdd56416e875622d98cd0cde62a7af235d56a507708ff05f18ecdbbb60d06144e65907442021-04-15 15:27:342 hrs 7 mins ago0x759489f621fb31f94ae7812b0a43c5ccda3f8c4a IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.00022198
0x95484f8be31e334d6061d2d705f9b2015ac09074c00a2d10c55c3abe3946e9b665907362021-04-15 15:27:102 hrs 7 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.0004210875
0xeefe88235d68576cc9b39fcd8884f40df293d40ed995fe0e76b6ce82cc8916d265907162021-04-15 15:26:102 hrs 8 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.0004209975
0x8e4a3c8aadee701d4f84f8cd2758604bc32b79b5fda9a577fcb403f2146ef5ba65905482021-04-15 15:17:462 hrs 17 mins ago0x7f13b66a616bcda6761be437db10597bfb2424e5 IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.000470205
0xacb06183ca74dc93069a0b19e2a89606901159bc2c79dd6c6ddcbd5d70682c2565900582021-04-15 14:52:552 hrs 42 mins ago0x0c943968545b58c30c18f1fd024baf7d39743564 IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.00029698
0x2f59f823d7f5bc4b6428f8c6b5a3139e932953d652b02cc94e2ce014b20a44a865900332021-04-15 14:51:402 hrs 43 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.0004209975
0x7ece2dae389dba82d837cc5bf9a244e6b06c69e7a2628fee64bf092fe36ed43565898802021-04-15 14:44:012 hrs 50 mins ago0x9901c3cc5ef062465131d4d39c275ec2e0daebe6 IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.00022198
0x0c54693046c6960d47fb8a2a4c9a8f1635f456a12257609e5e1e01a27e28402965898622021-04-15 14:43:072 hrs 51 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.0004209975
0x15f76f6be351f9d6b5c415b8a16ce515d58fa5bb6a554d7b6b7dc6da08cba2a865891112021-04-15 14:05:343 hrs 29 mins ago0xaa404762daf89d4d91ada6c3555245f4ab18dd46 IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.00029698
0x40b7dbdbc1966dd0b8f1f1360513a22fb27c1a25573e830a721de0cd82d3719265891022021-04-15 14:05:073 hrs 29 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.0004209975
0x65460c479d4d9593026da201e24243018a10a76361c74afd84ed1c65f88b12c865888882021-04-15 13:54:253 hrs 40 mins ago0x17e25db72f6de3240667dcf5e378b4c9b6a3a984 IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.000266376
0x74411981294b41d69801c8466cb21f2b88966cd6f9e4adce78b6e691d5f69f0465888612021-04-15 13:53:043 hrs 41 mins ago0xa829304535efd9fad6cba9d41c171362cc0a8ccd IN  0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb80 BNB0.0004209975
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x0d01f102b7fc4c2b8b510eab568114528f24f9cd115cc59237641dbbc2d498fe54711532021-03-07 11:50:3639 days 5 hrs ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0x995de0316e1885abdd87a0fc9f64a8dc029466383f800bdddcd76b4605214b7f54709932021-03-07 11:42:3639 days 5 hrs ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0x69aa9670634bf516a718db62f6b6ee63f3567aa693cb31ea4b8c3c6b22bb32bf54708532021-03-07 11:35:3639 days 5 hrs ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0x13ed528b8e43bda328ce85ea6802545302cc0f1527f6b5f597d435c5748652d854708322021-03-07 11:34:3339 days 6 hrs ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0x46035e641f48e4d9089b7576f5931c1adcde7d35eed42e3c6e84f0f9922cf56d54707322021-03-07 11:29:3339 days 6 hrs ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0xac33de3987963a4018d1a1ff850421b570c110ef49614ee1013789b1bdf1926054706232021-03-07 11:24:0639 days 6 hrs ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0xc69c7fd5ebf9038039b9ee19a34e160528980b9f89091d4e071241757bd404cd54703512021-03-07 11:10:3039 days 6 hrs ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0x15c147be8b2666dbf4638f2dfb2d97402630c6fbdf46a991f1493a620cf3f83854703212021-03-07 11:09:0039 days 6 hrs ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0x4d67ef73a7c8bfb80da3d13b5d6030f9070b05c7d6661673d0b8515a75ada2d754701002021-03-07 10:57:5739 days 6 hrs ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0x63db9bd13a9f1054a8d11214ed4d4e6c9bebdf7309501f4247d776bdd4c30ac554700912021-03-07 10:57:3039 days 6 hrs ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0xa50a500128c95371d494d6817e1e118d0f4a7593bc6b21bc1d684fc57a92d6be54699602021-03-07 10:50:5739 days 6 hrs ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0x3bf024cdd5fcc5b628ccbe42fc80ff2fecb6e31086c8cfaaed9989638fa1dc1754695992021-03-07 10:32:5439 days 7 hrs ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0xa83ff169130e3aaf6cbaed5a972bdd2ed4a89c312796d07cc0a4e7e62db4186e54694292021-03-07 10:24:2439 days 7 hrs ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0xa62aac947926592609ad6dd07a173bb794769178d039bc26c1c6cdc38f3be88954693492021-03-07 10:20:2439 days 7 hrs ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0x2e86d184fd776a5dba0940001819f8fe883f8af43306d0c1e8e98a5e64ee030e54690992021-03-07 10:07:5439 days 7 hrs ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0xd5a51b351133f1703b933ed2e2a38a23d0f6708ad5a81feb2a84b7ead434e8eb54688102021-03-07 9:53:2739 days 7 hrs ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x47bead2563dcbf3bf2c9407fea4dc236faba485a0 BNB
0xd5a51b351133f1703b933ed2e2a38a23d0f6708ad5a81feb2a84b7ead434e8eb54688102021-03-07 9:53:2739 days 7 hrs ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0xc33099ff40cfab49a89f561dbf6be0119bc0f0dead8dfd6d675dc5b59ddf9ddc54686752021-03-07 9:46:4239 days 7 hrs ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x47bead2563dcbf3bf2c9407fea4dc236faba485a0 BNB
0xc33099ff40cfab49a89f561dbf6be0119bc0f0dead8dfd6d675dc5b59ddf9ddc54686752021-03-07 9:46:4239 days 7 hrs ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0x34b78bfd208161f8694c67ba8736544af7ef2c7f422612b865ac2fbce4db6c1154686182021-03-07 9:43:5139 days 7 hrs ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0x634d4168a4bc08b734d34ed5f0b542f98e97d4cff3293836cdd305872ab87ca054685372021-03-07 9:39:4839 days 7 hrs ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0x20ad6b7e2504396826385e38e68f8e85b895c6988ae0acc1ff625d6f32f7a65954678672021-03-07 9:06:1839 days 8 hrs ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0x7a775cc447b873ac4729ce026e1033922871bbaac6d4e7c7e6a6c06fa34b7a4954677762021-03-07 9:01:4539 days 8 hrs ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0x9561c88c1720476c9fafbd3e9334038654241468c0f11cadc43581b2fcf2670b54677272021-03-07 8:59:1839 days 8 hrs ago 0xb562ad0f2c2fc1aa800ae70b9716f8009c1b7bb8 0x93988a00177fd0ffcc8122306daf736753d7de4c0 BNB
0x41e0842f78d44617b928516731981c76de63b7601c499d4e96747d2f8868bcdc54676662021-03-07 8:56:1539 days 8 hrs 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.