tempo_contracts/precompiles/
tip20_factory.rs

1pub use ITIP20Factory::ITIP20FactoryEvents as TIP20FactoryEvent;
2use alloy::sol;
3
4sol! {
5  #[derive(Debug, PartialEq, Eq)]
6    #[sol(rpc, abi)]
7    interface ITIP20Factory {
8        event TokenCreated(address indexed token, uint256 indexed tokenId, string name, string symbol, string currency, address quoteToken, address admin);
9
10        function createToken(
11            string memory name,
12            string memory symbol,
13            string memory currency,
14            address quoteToken,
15            address admin
16        ) external returns (address);
17
18        function tokenIdCounter() external view returns (uint256);
19
20        function isTIP20(address token) public view returns (bool);
21    }
22}