PreKlimaTokenUpgradeable

Git Source

Inherits: ERC20PresetFixedSupplyUpgradeable, OwnableUpgradeable

State Variables

requireSellerApproval

bool public requireSellerApproval;

allowMinting

bool public allowMinting;

isApprovedSeller

mapping(address => bool) public isApprovedSeller;

Functions

constructor

constructor();

initialize

function initialize(address _Klimadmin) public initializer;

__PreKlimaTokenUpgradeable_init

function __PreKlimaTokenUpgradeable_init(address _Klimadmin) internal;

allowOpenTrading

function allowOpenTrading() external onlyOwner returns (bool);

disableMinting

function disableMinting() external onlyOwner returns (bool);

_addApprovedSeller

function _addApprovedSeller(address approvedSeller_) internal;

addApprovedSeller

function addApprovedSeller(address approvedSeller_) external onlyOwner returns (bool);

addApprovedSellers

function addApprovedSellers(address[] calldata approvedSellers_) external onlyOwner returns (bool);

_removeApprovedSeller

function _removeApprovedSeller(address disapprovedSeller_) internal;

removeApprovedSeller

function removeApprovedSeller(address disapprovedSeller_) external onlyOwner returns (bool);

removeApprovedSellers

function removeApprovedSellers(address[] calldata disapprovedSellers_) external onlyOwner returns (bool);

_beforeTokenTransfer

function _beforeTokenTransfer(address from_, address to_, uint256 amount_) internal override;

mint

function mint(address recipient_, uint256 amount_) public virtual onlyOwner;