StakedIPRWA

Inherits: ERC20Upgradeable, ERC20PermitUpgradeable, AccessControlUpgradeable, UUPSUpgradeable

Author: Aria Protocol

ERC20 contract representing liquid staked IPRWA tokens.

State Variables

STAKED_IPRWA_MINTER_BURNER_ROLE

CONSTANTS

bytes32 public constant STAKED_IPRWA_MINTER_BURNER_ROLE =
    0x61422bb1aed0fd47fe58f64cad18f106f0dbc262decd5fd435187cb36ab5a827;

Functions

constructor

CONSTRUCTOR

Note: oz-upgrades-unsafe-allow: constructor

constructor();

initialize

INITIALIZER

mint

MINT/BURN FUNCTIONS

Mints tokens to the receiver

Only callable by an address that has the STAKED_IPRWA_MINTER_BURNER_ROLE role

Parameters

Name
Type
Description

_receiver

address

Address of user receiving the tokens

_amount

uint256

Number of tokens being minted

burn

Burns tokens owned by a user

Only callable by an address that has the STAKED_IPRWA_MINTER_BURNER_ROLE role

Parameters

Name
Type
Description

_from

address

Address of user whose tokens are being burned

_amount

uint256

Number of tokens being burned

_authorizeUpgrade

ADMIN FUNCTIONS

Events

StakedIPRWAMinted

EVENTS

Event emitted when Staked IPRWA tokens are minted

StakedIPRWABurned

Event emitted when Staked IPRWA tokens are burned