Skip to main content

Module ITIP20Factory

Module ITIP20Factory 

Expand description

Module containing a contract’s types and functions.

interface ITIP20Factory {
    error AddressReserved();
    error AddressNotReserved();
    error InvalidQuoteToken();
    error TokenAlreadyExists(address token);
    event TokenCreated(address indexed token, string name, string symbol, string currency, address quoteToken, address admin, bytes32 salt);
    function createToken(string memory name, string memory symbol, string memory currency, address quoteToken, address admin, bytes32 salt) external returns (address);
    function isTIP20(address token) public view returns (bool);
    function getTokenAddress(address sender, bytes32 salt) public view returns (address);
}

Modules§

abi
Contains dynamic ABI definitions for this contract.

Structs§

AddressNotReserved
Custom error with signature AddressNotReserved() and selector 0xa3503be9.
AddressReserved
Custom error with signature AddressReserved() and selector 0x98387502.
ITIP20FactoryInstance
A ITIP20Factory instance.
InvalidQuoteToken
Custom error with signature InvalidQuoteToken() and selector 0xd15b4fe2.
TokenAlreadyExists
Custom error with signature TokenAlreadyExists(address) and selector 0x15ef3a57.
TokenCreated
Event with signature TokenCreated(address,string,string,string,address,address,bytes32) and selector 0x44f7b8011db3e3647a530b4ff635726de5fafc8fa8ad10f0f31c0eb9dd52fc65.
createTokenCall
Function with signature createToken(string,string,string,address,address,bytes32) and selector 0x68130445.
createTokenReturn
Container type for the return parameters of the createToken(string,string,string,address,address,bytes32) function.
getTokenAddressCall
Function with signature getTokenAddress(address,bytes32) and selector 0x9ed7cd64.
getTokenAddressReturn
Container type for the return parameters of the getTokenAddress(address,bytes32) function.
isTIP20Call
Function with signature isTIP20(address) and selector 0x35ec42c9.
isTIP20Return
Container type for the return parameters of the isTIP20(address) function.

Enums§

ITIP20FactoryCalls
Container for all the ITIP20Factory function calls.
ITIP20FactoryErrors
Container for all the ITIP20Factory custom errors.
ITIP20FactoryEvents
Container for all the ITIP20Factory events.

Functions§

new
Creates a new wrapper around an on-chain ITIP20Factory contract instance.