contract_address

The ContractAddress type represents a Starknet contract address, with a value range of [0, 2**251).A variable of type ContractAddress can be created from a felt252 value using the contract_address_const function, or using the TryInto trait. # Examples

use starknet::contract_address::contract_address_const;

let contract_address = contract_address_const::<0x0>();

Fully qualified path: core::starknet::contract_address

Extern types

Extern functions