ZetaNonEth
Git Source (opens in a new tab)
Inherits: ZetaNonEthInterface, ERC20Burnable, ZetaErrors
State Variables
connectorAddress
address public connectorAddress;
tssAddress
Collectively held by Zeta blockchain validators
address public tssAddress;
tssAddressUpdater
Initially a multi-sig, eventually held by Zeta blockchain validators (via renounceTssAddressUpdater)
address public tssAddressUpdater;
Functions
constructor
constructor(address tssAddress_, address tssAddressUpdater_) ERC20("Zeta", "ZETA");
updateTssAndConnectorAddresses
function updateTssAndConnectorAddresses(address tssAddress_, address connectorAddress_) external;
renounceTssAddressUpdater
Sets tssAddressUpdater to be tssAddress
function renounceTssAddressUpdater() external;
mint
function mint(address mintee, uint256 value, bytes32 internalSendHash) external override;
burnFrom
Only Connector can mint. Minting requires burning the equivalent amount on another chain
function burnFrom(address account, uint256 amount) public override(ZetaNonEthInterface, ERC20Burnable);
Events
Minted
event Minted(address indexed mintee, uint256 amount, bytes32 indexed internalSendHash);
Burnt
event Burnt(address indexed burnee, uint256 amount);
TSSAddressUpdated
event TSSAddressUpdated(address callerAddress, address newTssAddress);
TSSAddressUpdaterUpdated
event TSSAddressUpdaterUpdated(address callerAddress, address newTssUpdaterAddress);
ConnectorAddressUpdated
event ConnectorAddressUpdated(address callerAddress, address newConnectorAddress);