def METHOD_NAME(self, node: NearNodeProxy, parent: Account):
    """
    Deploy and initialize the contract on chain.
    The account is created if it doesn't exist yet.
    """
    existed = node.prepare_account(self.account, parent,
                                   FTContract.INIT_BALANCE,
                                   "create contract account")
    if not existed:
        node.send_tx_retry(Deploy(self.account, self.code, "FT"),
                           "deploy ft")
        self.init_contract(node)