Function isDeployingContract

  • Determines whether the smart contract is currently being deployed.

    Remarks

    This method is typically used in the constructor to ensure a one-time deployment and initialization, usually by the creator of the contract. Under the hood, this method verifies that the account calling this function (either the user creating the operation or an upper contract) has write access to the data of the current account

    Returns

    true if the contract is currently being deployed, false otherwise.

    Returns bool

Generated using TypeDoc