LRTAddressCalculator
Functions
getCoordinator
Calculates the address of the LRT coordinator.
Parameters
Name | Type | Description |
---|---|---|
|
| The address of the LRT issuer. |
|
| The LRT contract address. |
getAssetRegistry
Calculates the address of the LRT asset registry.
Parameters
Name | Type | Description |
---|---|---|
|
| The address of the LRT issuer. |
|
| The LRT contract address. |
getOperatorRegistry
Calculates the address of the LRT operator registry.
Parameters
Name | Type | Description |
---|---|---|
|
| The address of the LRT issuer. |
|
| The LRT contract address. |
getAVSRegistry
Calculates the address of the LRT AVS registry.
Parameters
Name | Type | Description |
---|---|---|
|
| The address of the LRT issuer. |
|
| The LRT contract address. |
getDepositPool
Calculates the address of the LRT deposit pool.
Parameters
Name | Type | Description |
---|---|---|
|
| The address of the LRT issuer. |
|
| The LRT contract address. |
getWithdrawalQueue
Calculates the address of the LRT withdrawal queue.
Parameters
Name | Type | Description |
---|---|---|
|
| The address of the LRT issuer. |
|
| The LRT contract address. |
getRewardDistributor
Calculates the address of the LRT reward distributor.
Parameters
Name | Type | Description |
---|---|---|
|
| The address of the LRT issuer. |
|
| The LRT contract address. |
getOperatorDelegatorAddress
Calculates the address of an operator delegator.
Parameters
Name | Type | Description |
---|---|---|
|
| The operator registry address. |
|
| 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
Name | Type | Description |
---|---|---|
|
| The LRT issuer contract address. |
|
| The LRT contract address. |
|
| The type of supporting contract. |
computeSalt
Computes the salt for a supporting contract using the token address and contract type.
Parameters
Name | Type | Description |
---|---|---|
|
| The token address. |
|
| The contract type. |
computeOperatorSalt
Computes the salt for an operator delegator, which is the operator ID converted to bytes32
.
Parameters
Name | Type | Description |
---|---|---|
|
| The operator's ID. |
Last updated