Build
Architecture
contracts
contracts
zevm
interfaces
IZRC20.sol
Interface.izrc20

Git Source (opens in a new tab)

totalSupply

function totalSupply() external view returns (uint256);

balanceOf

function balanceOf(address account) external view returns (uint256);

transfer

function transfer(address recipient, uint256 amount) external returns (bool);

allowance

function allowance(address owner, address spender) external view returns (uint256);

approve

function approve(address spender, uint256 amount) external returns (bool);

decreaseAllowance

function decreaseAllowance(address spender, uint256 amount) external returns (bool);

increaseAllowance

function increaseAllowance(address spender, uint256 amount) external returns (bool);

transferFrom

function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

deposit

function deposit(address to, uint256 amount) external returns (bool);

burn

function burn(address account, uint256 amount) external returns (bool);

withdraw

function withdraw(bytes memory to, uint256 amount) external returns (bool);

withdrawGasFee

function withdrawGasFee() external view returns (address, uint256);

PROTOCOL_FEE

function PROTOCOL_FEE() external view returns (uint256);

Transfer

event Transfer(address indexed from, address indexed to, uint256 value);

Approval

event Approval(address indexed owner, address indexed spender, uint256 value);

Deposit

event Deposit(bytes from, address indexed to, uint256 value);

Withdrawal

event Withdrawal(address indexed from, bytes to, uint256 value, uint256 gasFee, uint256 protocolFlatFee);

UpdatedSystemContract

event UpdatedSystemContract(address systemContract);

UpdatedGasLimit

event UpdatedGasLimit(uint256 gasLimit);

UpdatedProtocolFlatFee

event UpdatedProtocolFlatFee(uint256 protocolFlatFee);