Skip to content

AddressListLib

Description

Source: contracts/AddressListLib.sol

Structs

AddressList

Source

Field Type Description
elements address[] TBA
indices mapping(address => uint256) TBA

Internal Functions

contains

Source

Details

Signature

contains(struct AddressListLib.AddressList list, address candidate) returns (bool)

Visibility

internal

State Mutability

view

getPage

Source

Details

Signature

getPage(struct AddressListLib.AddressList list, uint256 index, uint256 pageSize) returns (address[])

Visibility

internal

State Mutability

view

push

Source

Details

Signature

push(struct AddressListLib.AddressList list, address element)

Visibility

internal

State Mutability

nonpayable

remove

Source

Details

Signature

remove(struct AddressListLib.AddressList list, address element)

Visibility

internal

State Mutability

nonpayable

Requires