Skip to content

Honey

0x0E4aaF1351de4c0264C5c7056Ef3777b41BD8e03 | ABI JSON

This is the ERC20 token representation of Berachain's native stablecoin, Honey.

State Variables

vaultAdmin

solidity
address public vaultAdmin;

NAME

solidity
string private constant NAME = "Honey";

SYMBOL

solidity
string private constant SYMBOL = "HONEY";

Functions

constructor

solidity
constructor();

initialize

solidity
function initialize(address _governance, address _vaultAdmin) external initializer;

onlyVaultAdmin

solidity
modifier onlyVaultAdmin();

_authorizeUpgrade

solidity
function _authorizeUpgrade(address) internal override onlyOwner;

mint

Mint Honey to the receiver. Only VaultAdmin can call this function.

solidity
function mint(address to, uint256 amount) external onlyVaultAdmin;

Parameters

NameTypeDescription
toaddressThe receiver address.
amountuint256The amount of Honey to mint.

burn

Burn Honey from an account. Only VaultAdmin can call this function.

solidity
function burn(address from, uint256 amount) external onlyVaultAdmin;

Parameters

NameTypeDescription
fromaddressThe account to burn Honey from.
amountuint256The amount of Honey to burn.

name

solidity
function name() public pure override returns (string memory);

symbol

solidity
function symbol() public pure override returns (string memory);