• chicken@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    4
    ·
    9 hours ago

    I was going to say it shouldn’t matter whether they block the website because Polymarket is largely decentralized and runs on smart contracts, and so should be accessible through a third party frontend even if the main site is blocked, but it seems that they did it wrong and set things up so that all user wallets must be explicitly approved by the company to use it and so it has no properties of permissionlessness, if I am reading this right:

    /// @notice Adds a new operator
    /// Can only be called by a current admin
    /// @param _operator - The new operator
    function addOperator(address _operator) external onlyAdmin {
        require(!operators[_operator], AlreadyOperator());
        operators[_operator] = true;
        emit NewOperator(_operator, msg.sender);
    }