token_register.gno
Used for interacting with tokens without manual imports.
RegisterGRC20Interface
Registers a GRC20 token to the registry.
Parameters
Name | Type | Description |
---|---|---|
| string | The path of the GRC20 to register. |
| GRC20Interface | The interface of the GRC20 token. Includes the functions that the interface will call, including |
UnregisterGRC20Interface
Unregisters a GRC20 token to the registry.
Parameters
Name | Type | Description |
---|---|---|
| string | The path of the GRC20 token to unregister. |
Last updated