ILENDEFI

Git Source

Inherits: IERC20, IERC20Metadata

Note: security-contact: security@nebula-labs.xyz

Functions

initializeUUPS

UUPS deploy proxy initializer.

function initializeUUPS(address admin) external;

Parameters

Name
Type
Description

admin

address

address

initializeTGE

Performs TGE.

function initializeTGE(address ecosystem, address treasury) external;

Parameters

Name
Type
Description

ecosystem

address

contract address

treasury

address

contract address Emits a TGE event.

pause

ERC20 pause contract.

function pause() external;

unpause

ERC20 unpause contract.

function unpause() external;

burn

ERC20 Burn.

function burn(uint256 amount) external;

Parameters

Name
Type
Description

amount

uint256

of tokens to burn Emits a {Burn} event.

burnFrom

ERC20 burn from.

function burnFrom(address account, uint256 amount) external;

Parameters

Name
Type
Description

account

address

address

amount

uint256

of tokens to burn from Emits a {Burn} event.

bridgeMint

Facilitates Bridge BnM functionality.

function bridgeMint(address to, uint256 amount) external;

Parameters

Name
Type
Description

to

address

beneficiary address

amount

uint256

to bridge

initialSupply

Getter for the Initial supply.

function initialSupply() external view returns (uint256);

Returns

Name
Type
Description

<none>

uint256

initial supply at TGE

maxBridge

Getter for the maximum amount alowed to pass through bridge in a single transaction.

function maxBridge() external view returns (uint256);

Returns

Name
Type
Description

<none>

uint256

maximum bridge transaction size

version

Getter for the UUPS version, incremented with every upgrade.

function version() external view returns (uint32);

Returns

Name
Type
Description

<none>

uint32

version number (1,2,3)

Events

TGE

TGE Event.

event TGE(uint256 amount);

Parameters

Name
Type
Description

amount

uint256

of initial supply

BridgeMint

BridgeMint Event.

event BridgeMint(address indexed src, address indexed to, uint256 amount);

Parameters

Name
Type
Description

src

address

sender address

to

address

beneficiary address

amount

uint256

to bridge

Upgrade

event emitted on UUPS upgrades

event Upgrade(address indexed src, address indexed implementation);

Parameters

Name
Type
Description

src

address

sender address

implementation

address

new implementation address

Last updated