Constructors
constructor
- new AddressComputer(numberOfShardsWithoutMeta?: number): AddressComputer
Parameters
Optional
numberOfShardsWithoutMeta: number
Methods
computeContractAddress
- computeContractAddress(deployer: IAddress, deploymentNonce: bigint): Address
Parameters
- deployer: IAddress
- deploymentNonce: bigint
getShardOfAddress
- getShardOfAddress(address: IAddress): number
Returns number