PoolBase

Git Source

Inherits: IPoolBase, ERC1155Base, ERC1155Enumerable, ERC165Base, Multicall

Functions

name

get token collection name

function name() external view returns (string memory);

Returns

NameTypeDescription
<none>stringcollection name

_beforeTokenTransfer

_beforeTokenTransfer wrapper, reverts if transferring LP tokens

function _beforeTokenTransfer(
    address operator,
    address from,
    address to,
    uint256[] memory ids,
    uint256[] memory amounts,
    bytes memory data
) internal virtual override(ERC1155BaseInternal, ERC1155EnumerableInternal);