Skip to main content

TokenRepresentationProxy

Git Source

Inherits: ERC20

ERC20 wrapper for TicketBooth calls that return both staked + unstaked for a project's token supply.

State Variables

ticketBooth

ITicketBooth ticketBooth;

projectId

uint256 projectId;

Functions

constructor

constructor(ITicketBooth _ticketBooth, uint256 _projectId, string memory name, string memory ticker)
ERC20(name, ticker);

totalSupply

function totalSupply() public view virtual override returns (uint256);

balanceOf

function balanceOf(address _account) public view virtual override returns (uint256);