@ecp.eth/sdk / defaultExports
defaultExports
Ethereum Comments Protocol SDK default exports
Type Aliases
| Type Alias | Description |
|---|---|
| ERC165ContractReadFunctions | - |
| ERC20ContractReadFunctions | - |
| LegacyTakesChannelContractReadFunctions | - |
| SupportedChainConfig | - |
Variables
| Variable | Description |
|---|---|
| BaseHookABI | ABI of the BaseHook contract. |
| CHANNEL_MANAGER_ADDRESS | The address of the ChannelManager contract. |
| ChannelManagerABI | ABI of the ChannelManager contract. |
| COMMENT_MANAGER_ADDRESS | The address of the CommentManager contract. It is created using the CREATE2 opcode so should be identical across chains if no collisions occur. |
| COMMENT_TYPE_COMMENT | Comment type constants |
| COMMENT_TYPE_REACTION | - |
| CommentManagerABI | ABI of the CommentManager contract. |
| COMMENTS_EMBED_DEFAULT_BY_AUTHOR_URL | The default embedUri for the CommentsByAuthorEmbed component. It runs a service that creates app signatures for requests and submits the transaction to the CommentManager contract. |
| COMMENTS_EMBED_DEFAULT_BY_REPLIES_URL | The default embedUri for the CommentsByRepliesEmbed component. It runs a service that creates app signatures for requests and submits the transaction to the CommentManager contract. |
| COMMENTS_EMBED_DEFAULT_URL | The default embedUri for the CommentsEmbed component. It runs a service that creates app signatures for requests and submits the transaction to the CommentManager contract. |
| DEFAULT_CHAIN_ID | - |
| DEFAULT_CHAIN_ID_DEV | - |
| DEFAULT_CHANNEL_ID | The default channel ID for the CommentManager contract. |
| DEFAULT_COMMENT_TYPE | The default comment type for the CommentManager contract. |
| EMPTY_PARENT_ID | The parent ID for comments that are not replies. |
| ERC165_ABI | - |
| ERC20_ABI | - |
| INDEXER_API_URL | The default URL for the Indexer API. |
| INTERFACE_ID_ERC1155 | The ERC165 interface ID for the ERC1155 contracts. |
| INTERFACE_ID_ERC165 | The ERC165 interface ID for the ERC165 contracts. |
| INTERFACE_ID_ERC721 | The ERC165 interface ID for the ERC721 contracts. |
| LEGACY_TAKES_CHANNEL_ABI | - |
| MAX_COMMENT_REPORT_MESSAGE_LENGTH | The maximum length of a message for comment report. |
| NATIVE_ASSET_ADDRESS | Asset address used for representing native assets. |
| SUPPORTED_CHAINS | The supported chains and their corresponding contract addresses. |
| ZERO_ADDRESS | The zero address. |