Extended InterchainTokenService with Hyperliquid-specific deployer management
Inherits from InterchainTokenService and adds functionality to manage token deployers This keeps ITS logic separate from token logic, reducing coupling
event TokenDeployerUpdated(address token, address newDeployer, address operator)
Event emitted when a token deployer is updated
Name | Type | Description |
---|---|---|
token | address | The address of the token contract |
newDeployer | address | The new deployer address |
operator | address | The operator who performed the update |
constructor(address tokenManagerDeployer_, address interchainTokenDeployer_, address gateway_, address gasService_, address interchainTokenFactory_, string chainName_, string itsHubAddress_, address tokenManagerImplementation_, address tokenHandler_) public
function updateTokenDeployer(bytes32 tokenId, address newDeployer) external
Updates the deployer for a specific Hyperliquid token
Only callable by the operator or owner for security. This keeps permissioning logic in the service layer
Name | Type | Description |
---|---|---|
tokenId | bytes32 | The tokenId of the Hyperliquid token |
newDeployer | address | The new deployer address |