Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.starknet.io/llms.txt

Use this file to discover all available pages before exploring further.

Sets the contract address to the provided value.

Signature

pub fn set_contract_address(address: ContractAddress)

Arguments

address - The contract address to set. After a call to set_contract_address, starknet::get_execution_info().contract_address will return the set value.