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.

unpause

ERC20 unpause contract.

burn

ERC20 Burn.

Parameters

Name
Type
Description

amount

uint256

of tokens to burn Emits a {Burn} event.

burnFrom

ERC20 burn from.

Parameters

Name
Type
Description

account

address

address

amount

uint256

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

bridgeMint

Facilitates Bridge BnM functionality.

Parameters

Name
Type
Description

to

address

beneficiary address

amount

uint256

to bridge

initialSupply

Getter for the Initial supply.

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.

Returns

Name
Type
Description

<none>

uint256

maximum bridge transaction size

version

Getter for the UUPS version, incremented with every upgrade.

Returns

Name
Type
Description

<none>

uint32

version number (1,2,3)

Events

TGE

TGE Event.

Parameters

Name
Type
Description

amount

uint256

of initial supply

BridgeMint

BridgeMint Event.

Parameters

Name
Type
Description

src

address

sender address

to

address

beneficiary address

amount

uint256

to bridge

Upgrade

event emitted on UUPS upgrades

Parameters

Name
Type
Description

src

address

sender address

implementation

address

new implementation address

Last updated