LRTAddressCalculator
Functions
getCoordinator
Calculates the address of the LRT coordinator.
Parameters
issuer
address
The address of the LRT issuer.
token
address
The LRT contract address.
getAssetRegistry
Calculates the address of the LRT asset registry.
Parameters
issuer
address
The address of the LRT issuer.
token
address
The LRT contract address.
getOperatorRegistry
Calculates the address of the LRT operator registry.
Parameters
issuer
address
The address of the LRT issuer.
token
address
The LRT contract address.
getAVSRegistry
Calculates the address of the LRT AVS registry.
Parameters
issuer
address
The address of the LRT issuer.
token
address
The LRT contract address.
getDepositPool
Calculates the address of the LRT deposit pool.
Parameters
issuer
address
The address of the LRT issuer.
token
address
The LRT contract address.
getWithdrawalQueue
Calculates the address of the LRT withdrawal queue.
Parameters
issuer
address
The address of the LRT issuer.
token
address
The LRT contract address.
getRewardDistributor
Calculates the address of the LRT reward distributor.
Parameters
issuer
address
The address of the LRT issuer.
token
address
The LRT contract address.
getOperatorDelegatorAddress
Calculates the address of an operator delegator.
Parameters
operatorRegistry
address
The operator registry address.
operatorId
uint8
The operator's ID.
getContractAddress
Calculates the address of a deployed contract using CREATE3, based on a computed salt (token & contract type), and the deployer's address.
Parameters
issuer
address
The LRT issuer contract address.
token
address
The LRT contract address.
contractType
ContractType
The type of supporting contract.
computeSalt
Computes the salt for a supporting contract using the token address and contract type.
Parameters
token
address
The token address.
contractType
ContractType
The contract type.
computeOperatorSalt
Computes the salt for an operator delegator, which is the operator ID converted to bytes32
.
Parameters
operatorId
uint8
The operator's ID.
Last updated