โš™๏ธSafety Tools

For PairAdmin / PairAdminDao

Safety Tools

Disable timekeeper : If you no longer wish to use your Timekeeper, you can disable it and return to 24-7. The open/closed module on the swap page will also indicate that your pair's timekeeper is no longer active.

function setEnable
WokenFactory.sol
function setEnable(address _pair, bool _enable) public isPairAdmin(_pair) {
        isTimekeeperEnabledLP[_pair] = _enable;
        emit TimekeeperEnable(_pair);

Transfer Ownership : if you want to transfer the ownership of your Timekeeper to a new address.

function setPairAdmin
WokenFactory.sol
function setPairAdmin(address _addr, address _pair) public isPairAdmin(_pair){
        address temp = pairAdmin[_pair];
        pairAdmin[_pair] = _addr;
        emit PairAdminChanged(temp, _addr);
    }

Last updated