The getTokensDeployedByUser
function in the Clanker
contract retrieves an array of deployment information for tokens that have been deployed by a specified user. It returns a list of DeploymentInfo
structs, which include details about each token's address, position ID, and associated locker.
user
(address
): The Ethereum address of the user whose deployed tokens are being queried.DeploymentInfo[]
): An array of structs containing:
token
(address
): The address of the deployed token.positionId
(uint256
): The unique identifier for the token's position.locker
(address
): The address of the locker associated with the token.