ERC1155Builder
Builders
Constructor
new ERC1155Builder(client: IClient);
Param | Type | Description |
---|---|---|
client | IClient |
Methods
get(address)
Parameters
Name Type Description address Address Returns
Type: ERC1155
setAccessControl()
a contract with AccessControl
allows role-based accesscontrol mechanisms. this extension allows to access all functions related to roles management.
Returns The updated builder with
AccessControl
extension.Type: ERC1155Builder<ERC1155 & AccessControl>
setAccessManaged()
a contract with AccessManager
allows certain callers to access certain functions. this extension allows to access all functions related to authority management.
Returns The updated builder with
AccessManager
extension.Type: ERC1155Builder<ERC1155 & AccessManaged>
setMintable()
Returns
Type: ERC1155Builder<ERC1155 & ERC1155Mintable>
setOwnable()
a contract with Ownable
allows an owner to access certain functions. this extension allows to access all functions related ownership management.
Returns The updated builder with
Ownable
extension.Type: ERC1155Builder<ERC1155 & Ownable>