You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

25 lines
736 B

// SPDX-License-Identifier: MIT
pragma solidity 0.8.1;
import "./SponsorWhitelistControl.sol";
contract BaseInternal{
SponsorWhitelistControl public constant SPONSOR =
SponsorWhitelistControl(
address(0x0888000000000000000000000000000000000001)
);
function add_privege(address account) public payable{
// register all users as sponsees
address[] memory users = new address[](1);
users[0] = account;
SPONSOR.addPrivilege(users);
}
function remove_privege(address account) public payable{
// register all users as sponsees
address[] memory users = new address[](1);
users[0] = account;
SPONSOR.addPrivilege(users);
}
}